Home
last modified time | relevance | path

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

/external/abseil-cpp/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/numeric/
Dint128_stream_test.cc91 constexpr std::ios::fmtflags kHex = std::ios::hex; variable
102 CheckUint128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
105 CheckUint128Case({9, kHex, /*width = */ 0, "9"}); in TEST()
108 CheckUint128Case({12345, kHex, /*width = */ 0, "3039"}); in TEST()
114 {0x8000000000000000, kHex, /*width = */ 0, "8000000000000000"}); in TEST()
119 CheckUint128Case({std::numeric_limits<uint64_t>::max(), kHex, in TEST()
126 {absl::MakeUint128(1, 0), kHex, /*width = */ 0, "10000000000000000"}); in TEST()
132 CheckUint128Case({absl::MakeUint128(0x8000000000000000, 0), kHex, in TEST()
138 CheckUint128Case({absl::kuint128max, kHex, /*width = */ 0, in TEST()
170 CheckInt128Case({1, kHex, /*width = */ 0, "1"}); in TEST()
[all …]
/external/protobuf/src/google/protobuf/util/internal/
Djson_escaping.cc44 static const char kHex[] = "0123456789abcdef"; variable
194 buffer[5] = kHex[cp & 0x0f]; in ToHex()
196 buffer[4] = kHex[cp & 0x0f]; in ToHex()
198 buffer[3] = kHex[cp & 0x0f]; in ToHex()
200 buffer[2] = kHex[cp & 0x0f]; in ToHex()
211 buffer[11] = kHex[low & 0x0f]; in ToSurrogateHex()
213 buffer[10] = kHex[low & 0x0f]; in ToSurrogateHex()
215 buffer[9] = kHex[low & 0x0f]; in ToSurrogateHex()
217 buffer[8] = kHex[low & 0x0f]; in ToSurrogateHex()
219 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/rtc_base/
Dhelpers.cc76 static const char kHex[16] = {'0', '1', '2', '3', '4', '5', '6', '7', variable
171 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
175 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
180 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
185 str.push_back(kHex[bytes[i] % 16]); in CreateRandomUuid()
189 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.cpp145 static const char kHex[] = "0123456789ABCDEF"; in FXSYS_IntToTwoHexChars() local
146 buf[0] = kHex[n / 16]; in FXSYS_IntToTwoHexChars()
147 buf[1] = kHex[n % 16]; in FXSYS_IntToTwoHexChars()
/external/deqp-deps/amber/src/
Dtokenizer.h33 kHex, enumerator
42 bool IsHex() const { return type_ == TokenType::kHex; } in IsHex()
Dtokenizer.cc215 auto tok = MakeUnique<Token>(TokenType::kHex); in NextToken()
/external/image_io/src/base/
Dbyte_buffer.cc19 if (byte_data.GetType() == ByteData::kHex) { in WriteBytes()
/external/rust/crates/quiche/deps/boringssl/src/crypto/test/
Dabi_test.cc169 static const char kHex[] = "0123456789abcdef"; in WordToHex() local
174 ret[i * 2] = kHex[b >> 4]; in WordToHex()
175 ret[i * 2 + 1] = kHex[b & 0xf]; in WordToHex()
/external/boringssl/src/crypto/test/
Dabi_test.cc169 static const char kHex[] = "0123456789abcdef"; in WordToHex() local
174 ret[i * 2] = kHex[b >> 4]; in WordToHex()
175 ret[i * 2 + 1] = kHex[b & 0xf]; in WordToHex()