/third_party/curl/tests/data/ |
D | test8 | 49 Set-Cookie: cookie1=%hex[%01-junk]hex% 50 Set-Cookie: cookie2=%hex[%02-junk]hex% 51 Set-Cookie: cookie3=%hex[%03-junk]hex% 52 Set-Cookie: cookie4=%hex[%04-junk]hex% 53 Set-Cookie: cookie5=%hex[%05-junk]hex% 54 Set-Cookie: cookie6=%hex[%06-junk]hex% 55 Set-Cookie: cookie7=%hex[%07-junk]hex% 56 Set-Cookie: cookie8=%hex[%08-junk]hex% 57 Set-Cookie: cookie9=%hex[junk-%09-]hex% 58 Set-Cookie: cookie11=%hex[%0b-junk]hex% [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | inet_pton.c | 29 #define V6(src,ret,hex) do{\ argument 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,… 51 if (strncmp(hex,"00000000000000000000ffff",24)==0 && !strchr(txtaddr,'.')) \ 52 t_error("inet_ntop(AF_INET6, <"#hex">, buf, size) got %s, should be ipv4 mapped\n", txtaddr); \ [all …]
|
/third_party/boost/libs/algorithm/doc/ |
D | hex.qbk | 1 [/ File hex.qbk] 3 [section:hex hex] 12 …hex.hpp'` contains three variants each of two algorithms, `hex` and `unhex`. They are inverse algo… 14 `hex` and `unhex` come from MySQL, where they are used in database queries and stored procedures. 18 The function `hex` takes a sequence of values and writes hexadecimal characters. There are three di… 24 OutputIterator hex ( InputIterator first, InputIterator last, OutputIterator out ); 27 OutputIterator hex ( const T *ptr, OutputIterator out ); 30 OutputIterator hex ( const Range &r, OutputIterator out ); 33 `hex` writes only values in the range '0'..'9' and 'A'..'F', but is not limited to character output… 35 The function `unhex` takes the output of `hex` and turns it back into a sequence of values. [all …]
|
/third_party/boost/libs/spirit/test/karma/ |
D | int2.cpp | 107 BOOST_TEST(test("ff", hex, 0xff)); in main() 112 BOOST_TEST(test_delimited("ff ", hex, 0xff, char_(' '))); in main() 117 BOOST_TEST(test("ff", hex, (signed char)'\xff')); in main() 118 BOOST_TEST(test_delimited("ff ", hex, (signed char)'\xff', char_(' '))); in main() 121 BOOST_TEST(test("ff", lower[hex], 0xff)); in main() 126 BOOST_TEST(test_delimited("ff ", lower[hex], 0xff, char_(' '))); in main() 131 BOOST_TEST(test("FF", upper[hex], 0xff)); in main() 136 BOOST_TEST(test_delimited("FF ", upper[hex], 0xff, char_(' '))); in main() 151 BOOST_TEST(test("FF", upper[upper[hex]], 0xff)); in main() 152 BOOST_TEST(test("FF", upper[lower[hex]], 0xff)); in main() [all …]
|
D | int1.cpp | 128 BOOST_TEST(test("ff", hex(0xff))); in main() 133 BOOST_TEST(test_delimited("ff ", hex(0xff), char_(' '))); in main() 138 BOOST_TEST(test("ff", lower[hex(0xff)])); in main() 143 BOOST_TEST(test_delimited("ff ", lower[hex(0xff)], char_(' '))); in main() 148 BOOST_TEST(test("FF", upper[hex(0xff)])); in main() 153 BOOST_TEST(test_delimited("FF ", upper[hex(0xff)], char_(' '))); in main() 157 BOOST_TEST(test("FF", upper[upper[hex(0xff)]])); in main() 158 BOOST_TEST(test("FF", upper[lower[hex(0xff)]])); in main() 159 BOOST_TEST(test("ff", lower[upper[hex(0xff)]])); in main() 160 BOOST_TEST(test("ff", lower[lower[hex(0xff)]])); in main() [all …]
|
/third_party/libpsl/include/ |
D | meson.build | 13 hex = '0123456789abcdef' variable 17 hex[major / 16], hex[major % 16], 18 hex[minor / 16], hex[minor % 16], 19 hex[patch / 16], hex[patch % 16]))
|
/third_party/skia/src/utils/ |
D | SkParseColor.cpp | 345 uint32_t hex; in FindColor() local 346 const char* end = SkParse::FindHex(value + 1, &hex); in FindColor() 352 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; in FindColor() 353 unsigned r = nib2byte((hex >> 8) & 0xF); in FindColor() 354 unsigned g = nib2byte((hex >> 4) & 0xF); in FindColor() 355 unsigned b = nib2byte(hex & 0xF); in FindColor() 360 hex |= oldAlpha << 24; in FindColor() 361 *colorPtr = hex; in FindColor()
|
/third_party/boost/libs/spirit/test/qi/ |
D | uint3.cpp | 79 using boost::spirit::qi::hex; in main() 82 BOOST_TEST(test("95BC8DF", hex(0x95BC8DF))); in main() 83 BOOST_TEST(!test("95BC8DF", hex(0xFD8CB59))); in main() 84 BOOST_TEST(test_attr("95BC8DF", hex(0x95BC8DF), u)); in main() 86 BOOST_TEST(!test_attr("95BC8DF", hex(0xFD8CB59), u)); in main() 88 BOOST_TEST(test("abcdef12", hex(0xabcdef12))); in main() 89 BOOST_TEST(!test("abcdef12", hex(0x12fedcba))); in main() 90 BOOST_TEST(test_attr("abcdef12", hex(0xabcdef12), u)); in main() 92 BOOST_TEST(!test_attr("abcdef12", hex(0x12fedcba), u)); in main() 94 BOOST_TEST(test(max_hex, hex(UINT_MAX))); in main() [all …]
|
/third_party/protobuf/js/experimental/runtime/ |
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); 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); 149 expect(int64ToHex(unsigned)).toEqual(hex); [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
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() 349 logln("Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b)); in TestZeroIndex() 351 errln("FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b) + in TestZeroIndex() 352 ", expect " + hex(exp)); in TestZeroIndex() 357 logln("Ok: " + hex(b) + " x DECOMP => " + hex(a)); in TestZeroIndex() [all …]
|
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(comp)); in TestRoundTrip()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
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() 346 logln("Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b)); in TestZeroIndex() 348 errln("FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b) + in TestZeroIndex() 349 ", expect " + hex(exp)); in TestZeroIndex() 354 logln("Ok: " + hex(b) + " x DECOMP => " + hex(a)); in TestZeroIndex() [all …]
|
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(comp)); in TestRoundTrip()
|
/third_party/flutter/skia/src/utils/ |
D | SkParseColor.cpp | 244 uint32_t hex; in FindColor() local 245 const char* end = SkParse::FindHex(value + 1, &hex); in FindColor() 251 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; in FindColor() 252 unsigned r = nib2byte((hex >> 8) & 0xF); in FindColor() 253 unsigned g = nib2byte((hex >> 4) & 0xF); in FindColor() 254 unsigned b = nib2byte(hex & 0xF); in FindColor() 259 hex |= oldAlpha << 24; in FindColor() 260 *colorPtr = hex; in FindColor()
|
/third_party/ffmpeg/tests/ref/fate/ |
D | hash | 1 MD5 hex: 3b5d3c7d207e37dceeedd301e35e2e58 4 murmur3 hex: 6e484695e1d7b4e37d838791cc263395 7 RIPEMD128 hex: 082bfa9b829ef3a9e220dcc54e4c6383 10 RIPEMD160 hex: 9b8ccc2f374ae313a914763cc9cdfb47bfe1c229 13 RIPEMD256 hex: 26ba693759787f275f47dd5ab16e78c2fcd763b004fd05fc554e354223d6eab5 16 RIPEMD320 hex: 409a3111ffd3d4c8058ff5c231401c1d47210a5d22e6c90bf95d45c1c95c528463c69ce4bff3b884 19 SHA160 hex: c8d7d0ef0eedfa82d2ea1aa592845b9a6d4b02b7 22 SHA224 hex: 750d81a39c18d3ce27ff3e5ece30b0088f12d8fd0450fe435326294b 25 SHA256 hex: f5a5fd42d16a20302798ef6ed309979b43003d2320d9f0e8ea9831a92759fb4b 28 SHA512/224 hex: 1319d9b322452068e6f43c0ed3da115fbeccc169711dbbaee2846f90 [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
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(target) in doTestVariant() 269 errln("CE(U+fffe)=0x" + Utility.hex(ce) + " != 02.."); in TestMinMax() [all …]
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
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(target) in doTestVariant() 266 errln("CE(U+fffe)=0x" + Utility.hex(ce) + " != 02.."); in TestMinMax() [all …]
|
/third_party/libxml2/result/schemas/ |
D | hexbinary_0_1.err | 1 ./test/schemas/hexbinary_1.xml:6: element hex: Schemas validity error : Element 'hex': '0' is not a… 2 ./test/schemas/hexbinary_1.xml:7: element hex: Schemas validity error : Element 'hex': '0123456789A… 3 ./test/schemas/hexbinary_1.xml:8: element hex: Schemas validity error : Element 'hex': '+abcdef0123… 4 ./test/schemas/hexbinary_1.xml:9: element hex: Schemas validity error : Element 'hex': '-0123456789…
|
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/ |
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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
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(spaces[i]) + " and \\u" + in TestSpaces() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
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(spaces[i]) + " and \\u" + in TestSpaces() [all …]
|
/third_party/mesa3d/src/asahi/lib/ |
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/flutter/skia/gm/ |
D | multipicturedraw.cpp | 47 SkPath hex; in make_hex_path() local 48 hex.moveTo(originX-kHexSide, originY); in make_hex_path() 49 hex.rLineTo(SkScalarHalf(kHexSide), kRoot3Over2 * kHexSide); in make_hex_path() 50 hex.rLineTo(SkIntToScalar(kHexSide), 0); in make_hex_path() 51 hex.rLineTo(SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2); in make_hex_path() 52 hex.rLineTo(-SkScalarHalf(kHexSide), -kHexSide * kRoot3Over2); in make_hex_path() 53 hex.rLineTo(-SkIntToScalar(kHexSide), 0); in make_hex_path() 54 hex.close(); in make_hex_path() 55 return hex; in make_hex_path() 64 SkPath hex = make_hex_path(0, 0); in make_hex_plane_picture() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/iterator/ |
D | TestUCharacterIterator.java | 167 …errln("moveCodePointIndex(1) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(te… in TestIterationUChar32() 172 …errln("moveCodePointIndex(2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(te… in TestIterationUChar32() 177 …errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(t… in TestIterationUChar32() 183 …errln("moveCodePointIndex(-2) didn't work correctly expected "+ hex(c) +" got "+hex(UTF16.charAt(t… in TestIterationUChar32() 194 … errln("first32PostInc failed. Expected->"+hex(UTF16.charAt(text,i))+" Got-> "+hex(c)); in TestIterationUChar32() 209 …errln("Character mismatch at position "+i+", iterator has "+hex(c)+", string has "+hex(UTF16.charA… in TestIterationUChar32() 379 +"got c1= " + hex(c1) +" != expected c2= "+ hex(c2)); in previousNext() 425 +"got c1= " + hex(c1) +" != expected c2= "+ hex(c2)); in TestUCharacterIteratorWrapper()
|