/third_party/python/Tools/scripts/ |
H A D | umarshal.py | 10 NULL = ord('0') 11 NONE = ord('N') 12 FALSE = ord('F') 13 TRUE = ord('T') 14 STOPITER = ord('S') 15 ELLIPSIS = ord('.') 16 INT = ord('i') 17 INT64 = ord('I') 18 FLOAT = ord('f') 19 BINARY_FLOAT = ord(' [all...] |
/third_party/mesa3d/src/amd/addrlib/src/core/ |
H A D | coord.cpp | 39 ord = 0; in Coordinate() 50 ord = static_cast<INT_8>(n); in set() 55 UINT_32 bit = static_cast<UINT_32>(1ull << static_cast<UINT_32>(ord)); in ison() 67 return ord; in getord() 72 return (dim == b.dim) && (ord == b.ord); in operator ==() 81 ret = ord < b.ord; in operator <() 93 else if (ord == b.ord) in operator <() [all...] |
/third_party/jerryscript/tools/ |
H A D | gen-unicode.py | 440 ranges.extend([prev_letter_id, ord(letter_case[prev_letter_id])]) 475 if ord(letter_case[letter_id]) == letter_id + 1: 517 character_pairs.extend([letter_id, ord(mapped_value)]) 521 del reverse_letter_case[ord(mapped_value)] 561 if (ord(prev_mapped_value[0]) - prev_letter_id) != (ord(mapped_value[0]) - letter_id): 571 special_ranges.extend([prev_letter_id, ord(prev_mapped_value[0]), ord(prev_mapped_value[1])]) 604 unicodes[0].extend([letter_id, ord(mapped_value)]) 614 unicodes[1].extend([letter_id, ord(mapped_valu [all...] |
/third_party/node/deps/v8/tools/wasm-compilation-hints/ |
H A D | wasm.py | 19 return ord(bs[0]), bs 30 return ord(bs[0]) | ord(bs[1]) << 8 | ord(bs[2]) << 16 | ord(bs[3]) << 24, bs 45 b = ord(bs[-1])
|
/third_party/mksh/ |
H A D | misc.c | 751 if (ord(c) == ORD('*') || ord(c) == ORD('?')) { in has_globbing() 754 } else if (ord(c) == ORD('[')) { in has_globbing() 756 if (ISMAGIC(p[0]) && ord(p[1]) == ORD('!')) in has_globbing() 758 if (ISMAGIC(p[0]) && ord(p[1]) == ORD(']')) in has_globbing() 770 if (ord(c) == ORD(']')) { in has_globbing() 777 if (ord(c) == ORD('[') && ( in has_globbing() 779 ord(*s) == ORD('.') || in has_globbing() 781 ord(*s) == ORD('=') || in has_globbing() 783 ord(* in has_globbing() [all...] |
H A D | eval.c | 291 c = ord(*sp++); in expand() 297 c = ord(*sp++); in expand() 302 c = ord(*sp++); in expand() 455 if (ord(mid[-1]) == ORD(/*{*/ '}')) { in expand() 461 if (ord(end[-1]) != ORD(/*{*/ '}')) in expand() 506 if (ord(p[-1]) == ORD(/*{*/ '}')) in expand() 553 if (ord(fpat) == ORD('#')) { in expand() 557 } else if (ord(fpat) == ORD('%')) { in expand() 575 if (ord(fpat) != ORD('#')) in expand() 584 if (ord(fpa in expand() [all...] |
/third_party/skia/third_party/externals/brotli/scripts/dictionary/ |
H A D | step-04-generate-java-literals.py | 29 value = ord(b) 63 elif ord(c) < 32 or ord(c) >= 127: 64 result.append("\\u%04X" % ord(c))
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | Period.java | 192 int ord = unit.ordinal; in getCount() 193 if (counts[ord] == 0) { in getCount() 196 return (counts[ord] - 1)/1000f; in getCount() 330 int ord = unit.ordinal; in setTimeUnitInternalValue() 331 if (counts[ord] != value) { in setTimeUnitInternalValue() 336 newCounts[ord] = value; in setTimeUnitInternalValue()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
H A D | Period.java | 194 int ord = unit.ordinal; in getCount() 195 if (counts[ord] == 0) { in getCount() 198 return (counts[ord] - 1)/1000f; in getCount() 332 int ord = unit.ordinal; in setTimeUnitInternalValue() 333 if (counts[ord] != value) { in setTimeUnitInternalValue() 338 newCounts[ord] = value; in setTimeUnitInternalValue()
|
/third_party/python/Lib/ |
H A D | stringprep.py | 14 c = ord(code) 21 return ord(code) in b1_set 190 r = b3_exceptions.get(ord(code)) 218 return ord(code) < 128 and unicodedata.category(code) == "Cc" 222 c = ord(code) 229 ord(code) in c22_specials 237 c = ord(code) 240 return (ord(code) & 0xFFFF) in (0xFFFE, 0xFFFF) 249 return ord(code) in c6_set 254 return ord(cod [all...] |
H A D | quopri.py | 39 c = ord(c) 183 i = ord('0') 185 i = ord('a')-10 187 i = ord(b'A')-10 190 bits = bits*16 + (ord(c) - i)
|
H A D | imghdr.py | 81 h[0] == ord(b'P') and h[1] in b'14' and h[2] in b' \t\n\r': 89 h[0] == ord(b'P') and h[1] in b'25' and h[2] in b' \t\n\r': 97 h[0] == ord(b'P') and h[1] in b'36' and h[2] in b' \t\n\r':
|
/third_party/libsnd/tests/ |
H A D | win32_ordinal_test.c | 59 void *name, *ord ; in test_ordinal() local 69 ord = GetProcAddress (hmod, LPCSTR_OF_ORDINAL (ordinal)) ; in test_ordinal() 76 if (name != NULL && ord != NULL && name == ord) in test_ordinal()
|
/third_party/python/Lib/encodings/ |
H A D | punycode.py | 15 if ord(c) < 128: 16 base.append(ord(c)) 26 if ord(c) < max: 55 char = ord(c) 134 char = ord(extended[extpos]) 175 char = ord('?')
|
/third_party/python/Lib/email/mime/ |
H A D | image.py | 103 h[0] == ord(b'P') and h[1] in b'14' and h[2] in b' \t\n\r': 111 h[0] == ord(b'P') and h[1] in b'25' and h[2] in b' \t\n\r': 119 h[0] == ord(b'P') and h[1] in b'36' and h[2] in b' \t\n\r':
|
/third_party/backends/backend/pixma/scripts/ |
H A D | pixma_gen_options.py | 23 if ((ord('A') <= i) and (i <= ord('Z'))) or \ 24 ((ord('a') <= i) and (i <= ord('z'))) or \ 25 ((ord('0') <= i) and (i <= ord('9'))):
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_prototypes.py | 105 self.assertEqual(ord(b"a"), func(pointer(ca))[0]) 106 self.assertEqual(ord(b"a"), func(byref(ca))[0]) 120 self.assertEqual(ord(b"a"), func(pointer(ca))[0]) 121 self.assertEqual(ord(b"a"), func(byref(ca))[0]) 135 self.assertEqual(ord(b"a"), func(pointer(ca))[0]) 136 self.assertEqual(ord(b"a"), func(byref(ca))[0])
|
H A D | test_slicing.py | 92 self.assertEqual(res[:len(s)], list(range(ord("a"), ord("z")+1))) 93 self.assertEqual(res[:len(s):], list(range(ord("a"), ord("z")+1))) 157 tmpl = list(range(ord("a"), ord("z")+1))
|
/third_party/python/Lib/test/ |
H A D | test_type_comments.py | 340 assert 0 <= ord(c) - ord('a') < len(t.args.posonlyargs + t.args.args) 342 arg = t.args.posonlyargs[ord(c) - ord('a')] 344 arg = t.args.args[ord(c) - ord('a') - len(t.args.posonlyargs)]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | compare.h | 79 enum class ord : value_type { less = -1, greater = 1 }; class 256 explicit constexpr partial_ordering(compare_internal::ord v) noexcept 339 ABSL_COMPARE_INLINE_INIT(partial_ordering, less, compare_internal::ord::less); 343 compare_internal::ord::greater); 351 explicit constexpr weak_ordering(compare_internal::ord v) noexcept 431 ABSL_COMPARE_INLINE_INIT(weak_ordering, less, compare_internal::ord::less); 435 compare_internal::ord::greater); 441 explicit constexpr strong_ordering(compare_internal::ord v) noexcept 530 ABSL_COMPARE_INLINE_INIT(strong_ordering, less, compare_internal::ord::less); 535 compare_internal::ord [all...] |
/third_party/python/Lib/test/test_capi/ |
H A D | test_unicode.py | 394 self.assertEqual(unicode_findchar(str, ord(ch), 0, len(str), 1), i) 395 self.assertEqual(unicode_findchar(str, ord(ch), 0, len(str), -1), i) 401 self.assertEqual(unicode_findchar(str, ord('!'), 1, len(str)+1, 1), 4) 402 self.assertEqual(unicode_findchar(str, ord('!'), 1, len(str)+1, -1), 4) 404 self.assertEqual(unicode_findchar(str, ord('!'), 0, 0, 1), -1) 405 self.assertEqual(unicode_findchar(str, ord('!'), len(str), 0, 1), -1) 407 self.assertEqual(unicode_findchar(str, ord('!'), -len(str), -1, 1), 0) 408 self.assertEqual(unicode_findchar(str, ord('!'), -len(str), -1, -1), 0)
|
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_main.py | 310 if len(result) != config_size or ord(result[0]) != JERRY_DEBUGGER_CONFIGURATION: 313 self.little_endian = ord(result[1]) & JERRY_DEBUGGER_LITTLE_ENDIAN 314 self.max_message_size = ord(result[6]) 315 self.cp_size = ord(result[7]) 687 buffer_type = ord(data[0]) 882 buffer_type = ord(data[0]) 1133 subtype = ord(data[-1]) 1140 buffer_type = ord(data[0]) 1194 name_length = ord(self.scope_vars[buff_pos:buff_pos + 1]) 1200 value_type = ord(sel [all...] |
/third_party/python/Tools/i18n/ |
H A D | pygettext.py | 225 escapes[ord('\\')] = r'\\' 226 escapes[ord('\t')] = r'\t' 227 escapes[ord('\r')] = r'\r' 228 escapes[ord('\n')] = r'\n' 229 escapes[ord('\"')] = r'\"' 233 return ''.join(escapes[ord(c)] if ord(c) < 128 else c for c in s)
|
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pyparse.py | 11 keepwhite = {ord(c): ord(c) for c in ' \t\n\r'} 13 self.assertEqual(mapping[ord('\t')], ord('\t')) 14 self.assertEqual(mapping[ord('a')], ord('x')) 15 self.assertEqual(mapping[1000], ord('x'))
|
/third_party/nghttp2/ |
H A D | gendowncasetbl.py | 20 sys.stdout.write('{} /* {} */, '.format(i - ord('A') + ord('a'), chr(i)))
|