Home
last modified time | relevance | path

Searched refs:kHex (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/src/google/protobuf/util/internal/
Djson_escaping.cc44 static const char kHex[] = "0123456789abcdef"; variable
251 buffer[5] = kHex[cp & 0x0f]; in ToHex()
253 buffer[4] = kHex[cp & 0x0f]; in ToHex()
255 buffer[3] = kHex[cp & 0x0f]; in ToHex()
257 buffer[2] = kHex[cp & 0x0f]; in ToHex()
268 buffer[11] = kHex[low & 0x0f]; in ToSurrogateHex()
270 buffer[10] = kHex[low & 0x0f]; in ToSurrogateHex()
272 buffer[9] = kHex[low & 0x0f]; in ToSurrogateHex()
274 buffer[8] = kHex[low & 0x0f]; in ToSurrogateHex()
276 buffer[5] = kHex[high & 0x0f]; in ToSurrogateHex()
[all …]
/external/image_io/includes/image_io/base/
Dbyte_data.h19 kHex, enumerator
48 return type_ != kHex || ((value_.length() % 2) == 0u); in IsValidLength()
55 if (type_ != kHex) { in HasValidCharacters()
71 } else if (type_ == kHex) { in GetByteCount()
/external/webrtc/webrtc/base/
Dhelpers.cc177 static const char kHex[16] = {'0', '1', '2', '3', '4', '5', '6', '7', variable
260 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
264 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
269 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
274 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
278 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
/external/image_io/src/jpeg/
Djpeg_apple_depth_builder.cc214 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex0); in TransferNewMpfSegment()
215 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
217 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex1); in TransferNewMpfSegment()
218 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
220 mpf_bytes.emplace_back(ByteData::kHex, in TransferNewMpfSegment()
222 mpf_bytes.emplace_back(ByteData::kHex, kMpfHex2); in TransferNewMpfSegment()
Djpeg_segment_builder.cc51 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSize()
60 byte_data_.emplace_back(ByteData::kHex, hex_string); in AddMarkerAndSizePlaceholder()
69 if (byte_datum.GetType() != ByteData::kHex) { in ReplaceSizePlaceholder()
88 byte_data_[index] = ByteData(ByteData::kHex, value); in ReplaceSizePlaceholder()
/external/pdfium/core/fxcrt/
Dfx_extension.cpp101 static const char kHex[] = "0123456789ABCDEF"; in FXSYS_IntToTwoHexChars() local
102 buf[0] = kHex[n / 16]; in FXSYS_IntToTwoHexChars()
103 buf[1] = kHex[n % 16]; in FXSYS_IntToTwoHexChars()
/external/image_io/src/base/
Dbyte_buffer.cc19 if (byte_data.GetType() == ByteData::kHex) { in WriteBytes()
/external/boringssl/src/crypto/test/
Dabi_test.cc165 static const char kHex[] = "0123456789abcdef"; in WordToHex() local
170 ret[i * 2] = kHex[b >> 4]; in WordToHex()
171 ret[i * 2 + 1] = kHex[b & 0xf]; in WordToHex()