/external/image_io/includes/image_io/base/ |
D | byte_data.h | 122 std::string hex_string = Byte2Hex((value >> 24) & 0xFF); in Size2BigEndianHex() local 123 hex_string += Byte2Hex((value >> 16) & 0xFF); in Size2BigEndianHex() 124 hex_string += Byte2Hex((value >> 8) & 0xFF); in Size2BigEndianHex() 125 hex_string += Byte2Hex(value & 0xFF); in Size2BigEndianHex() 126 return hex_string; in Size2BigEndianHex()
|
/external/image_io/src/jpeg/ |
D | jpeg_segment_builder.cc | 46 string hex_string = marker.GetHexString("FF"); in AddMarkerAndSize() local 48 hex_string += ByteData::Byte2Hex((size >> 8) & 0xFF); in AddMarkerAndSize() 49 hex_string += ByteData::Byte2Hex(size & 0xFF); in AddMarkerAndSize() 51 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSize() 56 string hex_string = marker.GetHexString("FF"); in AddMarkerAndSizePlaceholder() local 58 hex_string += "0000"; in AddMarkerAndSizePlaceholder() 60 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSizePlaceholder()
|
D | jpeg_segment_lister.cc | 79 string SegmentLine(string type, string begin, string count, string hex_string, in SegmentLine() argument 84 hex_string = string(kHexWidth, '-'); in SegmentLine() 91 << std::setw(kHexWidth) << std::right << hex_string << " " in SegmentLine()
|
D | jpeg_segment.cc | 146 std::string* hex_string, in GetPayloadHexDumpStrings() argument 169 *hex_string = hex_stream.str(); in GetPayloadHexDumpStrings()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | tpm_json_serialize.c | 1163 char hex_string[(size) * 2 + 1]; in ifapi_json_TPMU_HA_serialize() local 1165 sprintf(&hex_string[off], "%02x", buffer[i]); in ifapi_json_TPMU_HA_serialize() 1166 hex_string[(size) * 2] = '\0'; in ifapi_json_TPMU_HA_serialize() 1167 *jso = json_object_new_string(hex_string); in ifapi_json_TPMU_HA_serialize() 1225 char hex_string[((size_t)in->size)*2+1]; in ifapi_json_TPM2B_DIGEST_serialize() local 1228 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_DIGEST_serialize() 1229 hex_string[(in->size)*2] = '\0'; in ifapi_json_TPM2B_DIGEST_serialize() 1230 *jso = json_object_new_string (hex_string); in ifapi_json_TPM2B_DIGEST_serialize() 1255 char hex_string[sizeof(TPMT_HA)*2+1]; in ifapi_json_TPM2B_DATA_serialize() local 1258 sprintf(&hex_string[off], "%02x", in->buffer[i]); in ifapi_json_TPM2B_DATA_serialize() [all …]
|
D | ifapi_json_serialize.c | 59 char hex_string[(in->size) * 2 + 1]; in ifapi_json_UINT8_ARY_serialize() local 65 sprintf(&hex_string[off], "%02x", buffer[i]); in ifapi_json_UINT8_ARY_serialize() 67 hex_string[(in->size) * 2] = '\0'; in ifapi_json_UINT8_ARY_serialize() 68 *jso = json_object_new_string(hex_string); in ifapi_json_UINT8_ARY_serialize()
|
D | tpm_json_deserialize.c | 308 const char *hex_string = json_object_get_string(jso); in ifapi_json_UINT8_ARY_deserialize() local 309 out->size = strlen(hex_string) / 2; in ifapi_json_UINT8_ARY_deserialize() 313 r = ifapi_hex_to_byte_ary(hex_string, out->size, &out->buffer[0]); in ifapi_json_UINT8_ARY_deserialize() 1348 const char *hex_string = json_object_get_string(jso); in ifapi_json_TPMU_HA_deserialize() local 1349 size_t size = strlen(hex_string) / 2; in ifapi_json_TPMU_HA_deserialize() 1382 r = ifapi_hex_to_byte_ary(hex_string, size, buffer); in ifapi_json_TPMU_HA_deserialize()
|
/external/openscreen/cast/streaming/ |
D | offer_messages.cc | 77 auto hex_string = json::ParseString(parent, field); in ParseAesHexBytes() local 78 if (!hex_string) { in ParseAesHexBytes() 79 return hex_string.error(); in ParseAesHexBytes() 86 if (hex_string.value().size() == kAesStringLength && in ParseAesHexBytes() 87 sscanf(hex_string.value().c_str(), "%16" SCNx64 "%16" SCNx64 "%n", in ParseAesHexBytes() 90 std::none_of(hex_string.value().begin(), hex_string.value().end(), in ParseAesHexBytes()
|
/external/python/cryptography/src/cryptography/ |
D | utils.py | 79 hex_string = '%x' % integer 81 n = len(hex_string) 84 return binascii.unhexlify(hex_string.zfill(n + (n & 1)))
|
/external/capstone/suite/arm/ |
D | test_arm_regression.c | 27 static char *hex_string(unsigned char *str, size_t len) in hex_string() function 204 hex_str = hex_string(invalid_code->code, invalid_code->size); in test_invalids() 333 hex_str = hex_string(valid_code->code, valid_code->size); in test_valids()
|
/external/webrtc/sdk/objc/components/video_codec/ |
D | RTCH264ProfileLevelId.mm | 112 absl::optional<std::string> hex_string = 116 [NSString stringWithCString:hex_string.value_or("").c_str() encoding:NSUTF8StringEncoding];
|
/external/pigweed/pw_hex_dump/ |
D | hex_dump_test.cc | 96 #define EXPECTED_SIGNIFICANT_BYTES(hex_string) \ argument 97 sizeof(uintptr_t) == sizeof(uint64_t) ? "0x00000000" hex_string \ 98 : "0x" hex_string
|
/external/image_io/includes/image_io/jpeg/ |
D | jpeg_segment.h | 159 void GetPayloadHexDumpStrings(size_t byte_count, std::string* hex_string,
|
/external/libbrillo/brillo/ |
D | secure_blob_test.cc | 207 std::string hex_string("112233445566778899aabbccddeeff0f"); in TEST_F() local 210 SecureBlob::HexStringToSecureBlob(hex_string, &blob); in TEST_F()
|
/external/ImageMagick/MagickCore/ |
D | string.c | 2343 hex_string[MagickPathExtent]; in StringToStrings() local 2375 (void) FormatLocaleString(hex_string,MagickPathExtent,"%02x",*(p+j)); in StringToStrings() 2376 (void) CopyMagickString(q,hex_string,MagickPathExtent); in StringToStrings()
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/ |
D | vscode.py | 19 hex_string = binascii.hexlify(data) 32 curr_hex_str = hex_string[hex_start_idx:hex_end_idx]
|