Searched refs:hex_bytes (Results 1 - 3 of 3) sorted by relevance
/third_party/openssl/test/ |
H A D | sm2_internal_test.c | 54 static int start_fake_rand(const char *hex_bytes) in start_fake_rand() argument 58 fake_rand_size = strlen(hex_bytes) / 2; in start_fake_rand() 59 if (!TEST_ptr(fake_rand_bytes = OPENSSL_hexstr2buf(hex_bytes, NULL))) in start_fake_rand()
|
/third_party/json/include/nlohmann/detail/output/ |
H A D | serializer.hpp | 513 JSON_THROW(type_error::create(316, concat("invalid UTF-8 byte at index ", std::to_string(i), ": 0x", hex_bytes(byte | 0)), nullptr)); in dump_escaped() 605 JSON_THROW(type_error::create(316, concat("incomplete UTF-8 string; last byte: 0x", hex_bytes(static_cast<std::uint8_t>(s.back() | 0))), nullptr)); in dump_escaped() 677 static std::string hex_bytes(std::uint8_t byte) in hex_bytes() function in detail::serializer
|
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 18397 JSON_THROW(type_error::create(316, concat("invalid UTF-8 byte at index ", std::to_string(i), ": 0x", hex_bytes(byte | 0)), nullptr)); 18489 JSON_THROW(type_error::create(316, concat("incomplete UTF-8 string; last byte: 0x", hex_bytes(static_cast<std::uint8_t>(s.back() | 0))), nullptr)); 18561 static std::string hex_bytes(std::uint8_t byte)
|
Completed in 26 milliseconds