tree: dfb879cced3dd2eaf73816cc7c9f90b0c3fdb020
  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. read_file.cc
  29. read_file.h
  30. README.md
  31. saturate_cast.h
  32. saturate_cast_unittest.cc
  33. scoped_wake_lock.cc
  34. scoped_wake_lock.h
  35. scoped_wake_lock_mac.cc
  36. simple_fraction.cc
  37. simple_fraction.h
  38. simple_fraction_unittest.cc
  39. std_util.cc
  40. std_util.h
  41. std_util_unittest.cc
  42. string_parse.h
  43. string_parse_unittest.cc
  44. string_util.cc
  45. string_util.h
  46. string_util_unittest.cc
  47. stringprintf.cc
  48. stringprintf.h
  49. stringprintf_unittest.cc
  50. trace_logging.h
  51. trace_logging_unittest.cc
  52. uuid.cc
  53. uuid.h
  54. uuid_unittest.cc
  55. weak_ptr.h
  56. 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.