Home
last modified time | relevance | path

Searched refs:Hex (Results 1 - 25 of 48) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
H A DtcuFormatUtil.hpp41 class Hex class
44 Hex (deUint64 value_) : value(value_) {} in Hex() function in tcu::Format::Hex
71 std::ostream& operator<< (std::ostream& stream, tcu::Format::Hex<NumDigits> hex) in operator <<()
118 stream << Hex<BitfieldSize/4>(bitsLeft); in toStream()
156 return stream << Hex<NumBytes*2>((deUint64)m_value); in toStream()
165 return Hex<NumBytes*2>((deUint64)m_value).toString(); in toString()
221 // Hex format iterator (useful for combining with ArrayFormatter).
238 Hex<sizeof(T)*2> operator* (void) const { return Hex<sizeof(T)*2>(*m_iter); } in operator *()
253 inline Format::Hex<NumDigit
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc47 // Hex format in TEST()
50 absl::Hex(0), absl::Hex(1, absl::kSpacePad2), in TEST()
51 absl::Hex(0xf, absl::kSpacePad2), in TEST()
52 absl::Hex(int16_t{-1}, absl::kSpacePad5), in TEST()
53 absl::Hex(int16_t{-1}, absl::kZeroPad5), in TEST()
54 absl::Hex(0x123456789abcdef, absl::kZeroPad16))); in TEST()
68 EXPECT_EQ(absl::StrCat("0x", absl::Hex(int_p)), str); in TEST()
H A Dstr_cat.h47 // `Hex` type contained here. To do so, pass `Hex(my_int)` as a parameter to
81 // Enum that specifies the number of significant digits to return in a `Hex` or
129 // Hex
132 // `Hex` stores a set of hexadecimal string conversion parameters for use
134 struct Hex { struct
140 explicit Hex( in Hex() function
144 : Hex(spec, static_cast<uint8_t>(v)) {} in Hex()
146 explicit Hex( in Hex() function
150 : Hex(spe in Hex()
152 explicit Hex( Hex() function
158 explicit Hex( Hex() function
164 explicit Hex(Pointee* v, PadSpec spec = absl::kNoPad) Hex() function
168 Hex(PadSpec spec, uint64_t v) Hex() function
[all...]
H A Dstr_cat_test.cc486 std::string actual = absl::StrCat(absl::Hex(v, absl::kNoPad)); in CheckHex()
492 absl::StrCat(absl::Hex(v, static_cast<absl::PadSpec>(spec))); in CheckHex()
500 absl::StrCat(absl::Hex(v, static_cast<absl::PadSpec>(spec))); in CheckHex()
600 EXPECT_EQ("ff", absl::StrCat(absl::Hex(minus_one_8bit))); in TestFastPrints()
603 EXPECT_EQ("ffff", absl::StrCat(absl::Hex(minus_one_16bit))); in TestFastPrints()
H A Dstr_cat_benchmark.cc99 absl::StrCat(kStringOne, " ", absl::Hex(int64_t{i} + 0x10000000)); in BM_HexCat_By_StrCat()
H A Dsubstitute.cc117 Arg::Arg(Hex hex) { in Arg()
/third_party/json/tests/thirdparty/Fuzzer/
H A DFuzzerUtil.cpp111 char Hex[] = "0xAA"; in ParseOneDictionaryEntry() local
112 Hex[2] = Str[Pos + 2]; in ParseOneDictionaryEntry()
113 Hex[3] = Str[Pos + 3]; in ParseOneDictionaryEntry()
114 U->push_back(strtol(Hex, nullptr, 16)); in ParseOneDictionaryEntry()
/third_party/ltp/tools/sparse/sparse-src/
H A Dtokenize.c498 Hex = 4, enumerator
506 ['0' + 1 ... '9' + 1] = Digit | Hex,
507 ['A' + 1 ... 'D' + 1] = Letter | Hex,
508 ['E' + 1] = Letter | Hex | Exp, /* E<exp> */
509 ['F' + 1] = Letter | Hex,
513 ['a' + 1 ... 'd' + 1] = Letter | Hex,
514 ['e' + 1] = Letter | Hex | Exp, /* e<exp> */
515 ['f' + 1] = Letter | Hex,
611 if (want_hex && !(cclass[next + 1] & Hex)) in eat_string()
/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_print.c14 static const char Hex[] = "0123456789ABCDEF"; variable
45 if (BIO_write(bp, &Hex[v], 1) != 1) in BN_print()
H A Dbn_conv.c14 static const char Hex[] = "0123456789ABCDEF"; variable
38 *p++ = Hex[v >> 4]; in BN_bn2hex()
39 *p++ = Hex[v & 0x0f]; in BN_bn2hex()
/third_party/openssl/crypto/bn/
H A Dbn_print.c14 static const char Hex[] = "0123456789ABCDEF"; variable
45 if (BIO_write(bp, &Hex[v], 1) != 1) in BN_print()
H A Dbn_conv.c14 static const char Hex[] = "0123456789ABCDEF"; variable
38 *p++ = Hex[v >> 4]; in BN_bn2hex()
39 *p++ = Hex[v & 0x0f]; in BN_bn2hex()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc99 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
102 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8), "u;"); in SetHasBitIndex()
H A Dcpp_message.cc84 std::string m = StrCat("0x", strings::Hex(masks[i], strings::ZERO_PAD_8)); in ConditionalToCheckBitmasks()
108 StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in PrintPresenceCheck()
541 format.Set("mask", strings::Hex(mask, strings::ZERO_PAD_8)); in OnStartChunk()
803 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateSingularFieldHasBits()
939 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateFieldClear()
2915 StrCat(strings::Hex(chunk_mask, strings::ZERO_PAD_8)); in GenerateClear()
3219 StrCat(strings::Hex(chunk_mask, strings::ZERO_PAD_8)); in GenerateClassSpecificMergeFrom()
3268 strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateClassSpecificMergeFrom()
3464 StrCat(strings::Hex(1u << (has_bit_index % 32), strings::ZERO_PAD_8)); in GenerateSerializeOneField()
3842 StrCat(strings::Hex(chunk_mas in GenerateByteSize()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DJsonFormatter.cs773 private const string Hex = "0123456789abcdef"; field in Google.Protobuf.JsonFormatter
777 writer.Write(Hex[(c >> 12) & 0xf]); in HexEncodeUtf16CodeUnit()
778 writer.Write(Hex[(c >> 8) & 0xf]); in HexEncodeUtf16CodeUnit()
779 writer.Write(Hex[(c >> 4) & 0xf]); in HexEncodeUtf16CodeUnit()
780 writer.Write(Hex[(c >> 0) & 0xf]); in HexEncodeUtf16CodeUnit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFormat.h168 bool Hex; member in llvm::FormattedNumber
176 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), in FormattedNumber()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DFormat.h159 bool Hex; member in llvm::FormattedNumber
167 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U), in FormattedNumber()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp456 << ": expected minimum " << minValue << " (" << tcu::Format::Hex<8>((deUint32)minValue) << ")"
457 << ", got " << groupOutput << " (" << tcu::Format::Hex<8>(groupOutput) << ")"
471 << " (" << tcu::Format::Hex<8>(outputValue) << ")"
538 << ": expected maximum " << maxValue << " (" << tcu::Format::Hex<8>((deUint32)maxValue) << ")"
539 << ", got " << groupOutput << " (" << tcu::Format::Hex<8>(groupOutput) << ")"
553 << " (" << tcu::Format::Hex<8>(outputValue) << ")"
H A Des31fSampleVariableTests.cpp1193 m_testCtx.getLog() << tcu::TestLog::Message << "Setting sample mask " << tcu::Format::Hex<4>(effectiveMask) << tcu::TestLog::EndMessage;
1862 << "Pixel (" << x << ", " << y << "): Invalid mask, got " << tcu::Format::Hex<8>(mask) << ", expected " << tcu::Format::Hex<8>(0x01) << "\n"
1913 << "\tMask" << sampleNdxA << " = " << tcu::Format::Hex<8>(maskA) << "\n"
1914 << "\tMask" << sampleNdxB << " = " << tcu::Format::Hex<8>(maskB) << "\n"
1967 << "\tMask: " << tcu::Format::Hex<8>(*it) << "\n"
2078 m_testCtx.getLog() << tcu::TestLog::Message << "Setting sample mask " << tcu::Format::Hex<4>(mask) << tcu::TestLog::EndMessage;
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.h593 struct Hex { struct
597 explicit Hex(Int v, PadSpec s = NO_PAD) in Hex() function
650 AlphaNum(Hex hex);
/third_party/vk-gl-cts/modules/glshared/
H A DglsStateQueryUtil.cpp239 buf << "Boolean value was not neither GL_TRUE nor GL_FALSE, got " << de::toString(tcu::Format::Hex<2>(v)); in verifyBooleanValidity()
261 buf << (i > 0 ? ", " : "") << de::toString(tcu::Format::Hex<2>(v[i])); in verifyBooleanVec4Validity()
1060 buf << "Expected " << reference << "(" << de::toString(tcu::Format::Hex<8>(reference)) in verifyInteger()
1061 << ") , got " << state.getIntAccess() << "(" << de::toString(tcu::Format::Hex<8>(state.getIntAccess())) << ")"; in verifyInteger()
1073 buf << "Expected " << reference << "(" << de::toString(tcu::Format::Hex<8>(reference)) << "), got " in verifyInteger()
1074 << state.getInt64Access() << "(" << de::toString(tcu::Format::Hex<8>(state.getInt64Access())) << ")"; in verifyInteger()
1107 buf << "Expected " << reference << "(" << de::toString(tcu::Format::Hex<8>(reference)) << "), got " in verifyInteger()
1108 << state.getUintAccess() << "(" << de::toString(tcu::Format::Hex<8>(state.getUintAccess())) << ")"; in verifyInteger()
/third_party/typescript/tests/baselines/reference/
H A DconstructorWithIncompleteTypeAnnotation.js79 var hex = 0xBADC0DE, Hex = 0XDEADBEEF;
371 var hex = 0xBADC0DE, Hex = 0XDEADBEEF;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DStringExtras.h183 uint8_t Hex = hexFromNibbles(Input[0], Input[1]); in fromHex() local
184 Output.push_back(Hex); in fromHex()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_test.cc187 return MakeFlat(absl::StrCat("0x", absl::Hex(i, absl::kZeroPad4))); in MakeHexFlat()
1215 str, AllOf(HasSubstr(absl::StrCat("0x", absl::Hex(flat))), in TEST()
1216 HasSubstr(absl::StrCat("0x", absl::Hex(external))), in TEST()
1217 HasSubstr(absl::StrCat("0x", absl::Hex(substr_flat))), in TEST()
1218 HasSubstr(absl::StrCat("0x", absl::Hex(substr_external))))); in TEST()
/third_party/skia/src/core/
H A DSkVM.cpp194 struct Hex { int bits; }; struct
247 static void write(SkWStream* o, Hex h) { in write()
314 case Op::load64: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}); break; in write_one_instruction()
315 case Op::load128: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}); break; in write_one_instruction()
317 case Op::gather8: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}, V{x}); break; in write_one_instruction()
318 case Op::gather16: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}, V{x}); break; in write_one_instruction()
319 case Op::gather32: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}, V{x}); break; in write_one_instruction()
321 case Op::uniform32: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}); break; in write_one_instruction()
322 case Op::array32: write(o, V{id}, "=", op, Ptr{immA}, Hex{immB}, Hex{imm in write_one_instruction()
[all...]

Completed in 27 milliseconds

12