/third_party/mesa3d/src/panfrost/bifrost/valhall/ |
H A D | va_pack.c | 318 uint64_t hex = 0; in va_pack_alu() local 326 if (I->sqrt) hex |= 1ull << 24; in va_pack_alu() 327 if (I->log) hex |= 1ull << 25; in va_pack_alu() 334 hex |= (uint64_t) I->mux << 32; in va_pack_alu() 342 if (I->cmpf == BI_CMPF_EQ) hex |= (1ull << 36); in va_pack_alu() 345 hex |= (0x1ull << 40); /* Absolute */ in va_pack_alu() 347 hex |= ((uint64_t) I->branch_offset & BITFIELD_MASK(27)) << 8; in va_pack_alu() 361 hex |= (uint64_t) I->arithmetic << 34; in va_pack_alu() 366 hex |= 0xD << 8; in va_pack_alu() 370 hex | in va_pack_alu() 561 uint64_t hex = (uint64_t) load_lane_identity[memory_size] << 36; va_pack_load() local 591 uint64_t hex = va_pack_memory_access(I) << 24; va_pack_store() local 656 uint64_t hex = info.exact | (((uint64_t) I->flow) << 59); va_pack_instr() local 948 uint64_t hex = va_pack_instr(I); bi_pack_valhall() local [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | inet_pton.c | 29 #define V6(src,ret,hex) do{\ 40 if (strcmp(hexaddr,hex)) \ 41 t_error("inet_pton(AF_INET6, "#src", addr) got addr %s, want %s\n", hexaddr, hex); \ 43 tobin(binaddr,hex); \ 45 t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) did not return buf\n"); \ 47 t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s, it is rejected by inet_pton\n", txtaddr); \ 49 if (strcmp(hexaddr,hex)) \ 50 t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s that is %s, want %s\n", txtaddr, hexaddr, hex); \ 51 if (strncmp(hex,"0000000000000000000 [all...] |
/third_party/node/deps/v8/tools/ |
H A D | windbg.js | 130 function hex(number) { function 203 // using hex string representation. 205 l = hex(l); 207 r = hex(r); 442 `No object found within ${max_slots} slots prior to ${hex(addr)}`); 446 `found object: ${hex(obj_addr + 1)} : ${hex(poim(obj_addr))}`); 454 `No object found within ${max_slots} slots following ${hex(addr)}`); 458 `found object: ${hex(obj_addr + 1)} : ${hex(poi [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 282 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 283 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 284 hex(c)); in TestCompositionExclusion() 286 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 287 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 288 hex(c)); in TestCompositionExclusion() 311 // errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 312 // hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 313 // hex(c)); in TestCompositionExclusion() 315 // logln("Ok: " + hex( in TestCompositionExclusion() [all...] |
H A D | TestDeprecatedNormalizerAPI.java | 108 errln("ERROR: " + hex(ch) + " has identical decomp"); in doTestComposedChars() 111 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" in doTestComposedChars() 112 + " != iter decomp (" + hex(iterDecomp) + ")" ); in doTestComposedChars() 124 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 145 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); in TestRoundTrip() 153 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 154 + " --> " + hex(com in TestRoundTrip() [all...] |
H A D | ConformanceTest.java | 337 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 343 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 350 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 357 errln("cross test failed s1: " + Utility.hex(s1) + " s2: " in cross() 358 +Utility.hex(s2)); in cross() 432 errln((" " + msg + ": " + op + op2 + '(' + s + ")=" + hex(got) + in assertEqual() 433 ", exp. " + hex(ex in assertEqual() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 279 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 280 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 281 hex(c)); in TestCompositionExclusion() 283 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 284 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 285 hex(c)); in TestCompositionExclusion() 308 // errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 309 // hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 310 // hex(c)); in TestCompositionExclusion() 312 // logln("Ok: " + hex( in TestCompositionExclusion() [all...] |
H A D | TestDeprecatedNormalizerAPI.java | 105 errln("ERROR: " + hex(ch) + " has identical decomp"); in doTestComposedChars() 108 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" in doTestComposedChars() 109 + " != iter decomp (" + hex(iterDecomp) + ")" ); in doTestComposedChars() 121 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 142 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); in TestRoundTrip() 150 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 151 + " --> " + hex(com in TestRoundTrip() [all...] |
H A D | ConformanceTest.java | 334 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 340 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 347 +Utility.hex(s1) + " s2: " + Utility.hex(s2)); in compare() 354 errln("cross test failed s1: " + Utility.hex(s1) + " s2: " in cross() 355 +Utility.hex(s2)); in cross() 429 errln((" " + msg + ": " + op + op2 + '(' + s + ")=" + hex(got) + in assertEqual() 430 ", exp. " + hex(ex in assertEqual() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | float16_helper.cc | 78 uint32_t hex = sign | exponent | mantissa; in HexFloat16ToFloat() local 82 memcpy(&hex_float, &hex, sizeof(float)); in HexFloat16ToFloat() 95 uint32_t hex = exponent | mantissa; in HexFloat11ToFloat() local 99 memcpy(&hex_float, &hex, sizeof(float)); in HexFloat11ToFloat() 112 uint32_t hex = exponent | mantissa; in HexFloat10ToFloat() local 116 memcpy(&hex_float, &hex, sizeof(float)); in HexFloat10ToFloat() 137 const uint32_t* hex = reinterpret_cast<const uint32_t*>(&value); in FloatToHexFloat16() local 138 uint16_t sign = FloatSign(*hex); in FloatToHexFloat16() 139 uint16_t exponent = FloatExponent(*hex); in FloatToHexFloat16() 141 uint32_t mantissa = ((exponent == 0) ? 0U : FloatMantissa(*hex)); in FloatToHexFloat16() [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | ostreams.cc | 175 std::ostream& operator<<(std::ostream& os, const AsHex& hex) { in operator <<() argument 178 DCHECK_GE(sizeof(hex.value) * 2, hex.min_width); in operator <<() 179 static constexpr size_t kMaxHexLength = 3 + sizeof(hex.value) * 2; in operator <<() 181 snprintf(buf, kMaxHexLength, "%s%.*" PRIx64, hex.with_prefix ? "0x" : "", in operator <<() 182 hex.min_width, hex.value); in operator <<() 186 std::ostream& operator<<(std::ostream& os, const AsHexBytes& hex) { in operator <<() argument 187 uint8_t bytes = hex.min_bytes; in operator <<() 188 while (bytes < sizeof(hex in operator <<() [all...] |
/third_party/protobuf/js/experimental/runtime/ |
H A D | int64_test.js | 118 for (const [hex, decimals] of Object.entries(decimalHexPairs)) { 119 const int64 = hexToInt64(hex); 125 for (const [hex, decimals] of Object.entries(decimalHexPairs)) { 126 const int64 = hexToInt64(hex); 132 it('serializes to unsigned hex strings', () => { 133 for (const [hex, decimals] of Object.entries(decimalHexPairs)) { 134 const int64 = hexToInt64(hex); 135 let shortHex = hex.replace(/0x0*/, '0x'); 144 for (const [hex, decimals] of Object.entries(decimalHexPairs)) { 146 expect(int64ToHex(signed)).toEqual(hex); [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
H A D | TestUtility.java | 19 public static String hex(char ch) { in hex() method in TestUtility 24 public static String hex(int ch) { in hex() method in TestUtility 29 public static String hex(String s) { in hex() method in TestUtility 30 return hex(s,","); in hex() 33 public static String hex(String s, String sep) { in hex() method in TestUtility 35 String result = hex(s.charAt(0)); in hex() 38 result += hex(s.charAt(i)); in hex() 131 System.out.println(TestUtility.hex(cc) + "\t" + block); 141 System.out.println(TestUtility.hex(cc) + "\t" + script);
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | TestUtility.java | 16 public static String hex(char ch) { in hex() method in TestUtility 21 public static String hex(int ch) { in hex() method in TestUtility 26 public static String hex(String s) { in hex() method in TestUtility 27 return hex(s,","); in hex() 30 public static String hex(String s, String sep) { in hex() method in TestUtility 32 String result = hex(s.charAt(0)); in hex() 35 result += hex(s.charAt(i)); in hex() 128 System.out.println(TestUtility.hex(cc) + "\t" + block); 138 System.out.println(TestUtility.hex(cc) + "\t" + script);
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationTest.java | 141 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 159 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 165 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 222 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 223 + Utility.hex(target) + "\" expected " + result in doTestVariant() 230 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 231 + "\" with \"" + Utility.hex(target) in doTestVariant() 242 + Utility.hex(source) in doTestVariant() 243 + "\" with \"" + Utility.hex(targe in doTestVariant() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationTest.java | 144 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 162 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 168 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 225 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 226 + Utility.hex(target) + "\" expected " + result in doTestVariant() 233 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 234 + "\" with \"" + Utility.hex(target) in doTestVariant() 245 + Utility.hex(source) in doTestVariant() 246 + "\" with \"" + Utility.hex(targe in doTestVariant() [all...] |
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/util/ |
H A D | unesc.js | 15 var hex = ''; 19 // check to see if we are dealing with a valid hex char [a-f|0-9] 26 hex += lower[i]; 28 if (hex.length === 0) { 31 var codePoint = parseInt(hex, 16); 37 return ["\uFFFD", hex.length + (spaceTerminated ? 1 : 0)]; 39 return [String.fromCodePoint(codePoint), hex.length + (spaceTerminated ? 1 : 0)];
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UCharacterTest.java | 83 errln("FAIL \\u" + hex(i) + " expected to be a letter"); in TestLetterNumber() 87 errln("FAIL \\u" + hex(i) + " expected not to be a letter"); in TestLetterNumber() 91 errln("FAIL \\u" + hex(i) + " expected to be a digit"); in TestLetterNumber() 95 errln("FAIL \\u" + hex(i) + " expected not to be a digit"); in TestLetterNumber() 99 errln("FAIL \\u" + hex(i) + in TestLetterNumber() 156 errln("FAIL \\u" + hex(spaces[i]) + in TestSpaces() 163 errln("FAIL \\u" + hex(nonspaces[i]) + in TestSpaces() 170 errln("FAIL \\u" + hex(whitespaces[i]) + in TestSpaces() 176 errln("FAIL \\u" + hex(nonwhitespaces[i]) + in TestSpaces() 180 logln("Ok \\u" + hex(space in TestSpaces() [all...] |
H A D | UCharacterCaseTest.java | 70 hex(CHARACTER_LOWER_[i])); in TestCharacter() 77 hex(CHARACTER_UPPER_[i])); in TestCharacter() 87 hex(CHARACTER_UPPER_[i]) + in TestCharacter() 88 " to \\u" + hex(CHARACTER_LOWER_[i])); in TestCharacter() 94 hex(CHARACTER_LOWER_[i])); in TestCharacter() 102 hex(CHARACTER_UPPER_[i])); in TestCharacter() 105 logln("Ok \\u" + hex(CHARACTER_UPPER_[i]) + " and \\u" + in TestCharacter() 106 hex(CHARACTER_LOWER_[i])); in TestCharacter() 117 errln("FAIL: foldCase(\\u" + hex(FOLDING_SIMPLE_[i]) + in TestFolding() 118 ", true) should be \\u" + hex(FOLDING_SIMPLE in TestFolding() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UCharacterTest.java | 80 errln("FAIL \\u" + hex(i) + " expected to be a letter"); in TestLetterNumber() 84 errln("FAIL \\u" + hex(i) + " expected not to be a letter"); in TestLetterNumber() 88 errln("FAIL \\u" + hex(i) + " expected to be a digit"); in TestLetterNumber() 92 errln("FAIL \\u" + hex(i) + " expected not to be a digit"); in TestLetterNumber() 96 errln("FAIL \\u" + hex(i) + in TestLetterNumber() 153 errln("FAIL \\u" + hex(spaces[i]) + in TestSpaces() 160 errln("FAIL \\u" + hex(nonspaces[i]) + in TestSpaces() 167 errln("FAIL \\u" + hex(whitespaces[i]) + in TestSpaces() 173 errln("FAIL \\u" + hex(nonwhitespaces[i]) + in TestSpaces() 177 logln("Ok \\u" + hex(space in TestSpaces() [all...] |
H A D | UCharacterCaseTest.java | 69 hex(CHARACTER_LOWER_[i])); in TestCharacter() 76 hex(CHARACTER_UPPER_[i])); in TestCharacter() 86 hex(CHARACTER_UPPER_[i]) + in TestCharacter() 87 " to \\u" + hex(CHARACTER_LOWER_[i])); in TestCharacter() 93 hex(CHARACTER_LOWER_[i])); in TestCharacter() 101 hex(CHARACTER_UPPER_[i])); in TestCharacter() 104 logln("Ok \\u" + hex(CHARACTER_UPPER_[i]) + " and \\u" + in TestCharacter() 105 hex(CHARACTER_LOWER_[i])); in TestCharacter() 116 errln("FAIL: foldCase(\\u" + hex(FOLDING_SIMPLE_[i]) + in TestFolding() 117 ", true) should be \\u" + hex(FOLDING_SIMPLE in TestFolding() [all...] |
/third_party/mesa3d/src/asahi/lib/ |
H A D | hexdump.h | 28 hexdump(FILE *fp, const uint8_t *hex, size_t cnt, bool with_strings) in hexdump() argument 34 uint8_t v = hex[i]; in hexdump() 41 if (hex[j] == 0) in hexdump() 54 fprintf(fp, "%02X ", hex[i]); in hexdump() 58 uint8_t c = hex[j]; in hexdump()
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | sha.rs | 25 //! println!("Hashed \"Hello, world\" to {}", hex::encode(hash)); 36 //! println!("Hash = {}", hex::encode(hash)); 351 assert_eq!(hex::encode(sha1(data)), expected); in standalone_1() 362 assert_eq!(hex::encode(hasher.finish()), expected); in struct_1() 376 assert_eq!(hex::encode(incr_hasher.finish()), expected); in cloning_allows_incremental_hashing() 377 assert_ne!(hex::encode(hasher.finish()), expected); in cloning_allows_incremental_hashing() 385 assert_eq!(hex::encode(sha224(data)), expected); in standalone_224() 396 assert_eq!(hex::encode(hasher.finish()), expected); in struct_224() 404 assert_eq!(hex::encode(sha256(data)), expected); in standalone_256() 415 assert_eq!(hex in struct_256() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/ |
H A D | TestUCharacterIterator.java | 167 errln("moveCodePointIndex(1) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i); in TestIterationUChar32() 172 errln("moveCodePointIndex(2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,4)) + " i= " + i); in TestIterationUChar32() 177 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i); in TestIterationUChar32() 183 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,(text.length()-3)) ) + " i= " + i); in TestIterationUChar32() 194 errln("first32PostInc failed. Expected->"+hex(UTF16.charAt(text,i))+" Got-> "+hex( in TestIterationUChar32() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/iterator/ |
H A D | TestUCharacterIterator.java | 164 errln("moveCodePointIndex(1) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i); in TestIterationUChar32() 169 errln("moveCodePointIndex(2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,4)) + " i= " + i); in TestIterationUChar32() 174 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,1)) + " i= " + i); in TestIterationUChar32() 180 errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(text,(text.length()-3)) ) + " i= " + i); in TestIterationUChar32() 191 errln("first32PostInc failed. Expected->"+hex(UTF16.charAt(text,i))+" Got-> "+hex( in TestIterationUChar32() [all...] |