tree: 978d31eb0cab7b91682427b6513f1e7368ea55fa [search]
  1. crypto/
  2. json/
  3. trace_logging/
  4. alarm.cc
  5. alarm.h
  6. alarm_unittest.cc
  7. base64.cc
  8. base64.h
  9. base64_unittest.cc
  10. big_endian.cc
  11. big_endian.h
  12. big_endian_unittest.cc
  13. bit_vector.cc
  14. bit_vector.h
  15. bit_vector_unittest.cc
  16. BUILD.gn
  17. chrono_helpers.h
  18. DEPS
  19. enum_name_table.h
  20. enum_name_table_unittest.cc
  21. flat_map.h
  22. flat_map_unittest.cc
  23. hashing.h
  24. integer_division.h
  25. integer_division_unittest.cc
  26. no_destructor.h
  27. osp_logging.h
  28. raw_ptr.h
  29. raw_ptr_unittest.cc
  30. raw_ref.h
  31. raw_ref_unittest.cc
  32. read_file.cc
  33. read_file.h
  34. README.md
  35. saturate_cast.h
  36. saturate_cast_unittest.cc
  37. scoped_wake_lock.cc
  38. scoped_wake_lock.h
  39. scoped_wake_lock_linux.cc
  40. scoped_wake_lock_linux_unittest.cc
  41. scoped_wake_lock_mac.cc
  42. simple_fraction.cc
  43. simple_fraction.h
  44. simple_fraction_unittest.cc
  45. std_util.h
  46. std_util_unittest.cc
  47. string_parse.h
  48. string_parse_unittest.cc
  49. string_util.h
  50. string_util_unittest.cc
  51. thread_annotations.h
  52. trace_logging.h
  53. trace_logging_unittest.cc
  54. uuid.cc
  55. uuid.h
  56. uuid_unittest.cc
  57. weak_ptr.h
  58. weak_ptr_unittest.cc
util/README.md

Utility Code

The util/ folder is meant to house core utility classes and logic that can be used by everything else in the Open Screen repository.

Code here is permitted to include platform/api and platform/base -- same as the rest of the repository. However, platform/api and platform/base are not allowed to use code in util/ to avoid circular dependencies.

Includes things like string utils, JSON parsing and serialization, our std_util.h header, numeric helpers, additional container classes, URL handling, and the alarm.

crypto contains helper classes for working with cryptographic functions and X.509 certificates.