/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | BMPSet.java | 106 int lead = c >> 12; in contains() local 107 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in contains() 114 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]); in contains() 158 int lead = c >> 12; in span() local 159 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span() 168 if (!containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span() 197 int lead = c >> 12; in span() local 198 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span() 207 if (containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span() 254 int lead = c >> 12; in spanBack() local [all …]
|
D | CharacterIteration.java | 67 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32() argument 68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32() 71 int retVal = lead; in nextTrail32() 72 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { in nextTrail32() 75 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32() 92 char lead = ci.previous(); in previous32() local 93 if (UTF16.isLeadSurrogate(lead)) { in previous32() 94 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32() 105 char lead = ci.current(); in current32() local 106 int retVal = lead; in current32() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | BMPSet.java | 108 int lead = c >> 12; in contains() local 109 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in contains() 116 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]); in contains() 160 int lead = c >> 12; in span() local 161 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span() 170 if (!containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span() 199 int lead = c >> 12; in span() local 200 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span() 209 if (containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span() 256 int lead = c >> 12; in spanBack() local [all …]
|
D | CharacterIteration.java | 71 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32() argument 72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32() 75 int retVal = lead; in nextTrail32() 76 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { in nextTrail32() 79 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32() 96 char lead = ci.previous(); in previous32() local 97 if (UTF16.isLeadSurrogate(lead)) { in previous32() 98 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32() 109 char lead = ci.current(); in current32() local 110 int retVal = lead; in current32() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | bmpset.cpp | 74 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. in set32x64Bits() local 78 uint32_t bits=(uint32_t)1<<lead; in set32x64Bits() 87 if(lead==limitLead) { in set32x64Bits() 100 ++lead; in set32x64Bits() 102 if(lead<limitLead) { in set32x64Bits() 103 bits=~(((unsigned)1<<lead)-1); in set32x64Bits() 298 int lead=c>>12; in contains() local 299 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001; in contains() 306 return containsSlow(c, list4kStarts[lead], list4kStarts[lead+1]); in contains() 339 int lead=c>>12; in span() local [all …]
|
D | ucasemap.cpp | 227 uint8_t lead = src[srcIndex++]; in toLower() local 228 if (lead <= 0x7f) { in toLower() 229 int8_t d = latinToLower[lead]; in toLower() 232 c = lead; in toLower() 238 char ascii = (char)(lead + d); in toLower() 245 } else if (lead < 0xe3) { in toLower() 247 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 251 c = ((lead - 0xc0) << 6) | t; in toLower() 267 } else if ((lead <= 0xe9 || lead == 0xeb || lead == 0xec) && in toLower() 335 uint8_t lead = src[srcIndex++]; in toUpper() local [all …]
|
/third_party/icu/icu4c/source/common/ |
D | bmpset.cpp | 74 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. in set32x64Bits() local 78 uint32_t bits=(uint32_t)1<<lead; in set32x64Bits() 87 if(lead==limitLead) { in set32x64Bits() 100 ++lead; in set32x64Bits() 102 if(lead<limitLead) { in set32x64Bits() 103 bits=~(((unsigned)1<<lead)-1); in set32x64Bits() 298 int lead=c>>12; in contains() local 299 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001; in contains() 306 return containsSlow(c, list4kStarts[lead], list4kStarts[lead+1]); in contains() 339 int lead=c>>12; in span() local [all …]
|
D | ucasemap.cpp | 227 uint8_t lead = src[srcIndex++]; in toLower() local 228 if (lead <= 0x7f) { in toLower() 229 int8_t d = latinToLower[lead]; in toLower() 232 c = lead; in toLower() 238 char ascii = (char)(lead + d); in toLower() 245 } else if (lead < 0xe3) { in toLower() 247 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 251 c = ((lead - 0xc0) << 6) | t; in toLower() 267 } else if ((lead <= 0xe9 || lead == 0xeb || lead == 0xec) && in toLower() 335 uint8_t lead = src[srcIndex++]; in toUpper() local [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | bmpset.cpp | 74 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. in set32x64Bits() local 78 uint32_t bits=(uint32_t)1<<lead; in set32x64Bits() 87 if(lead==limitLead) { in set32x64Bits() 100 ++lead; in set32x64Bits() 102 if(lead<limitLead) { in set32x64Bits() 103 bits=~(((unsigned)1<<lead)-1); in set32x64Bits() 298 int lead=c>>12; in contains() local 299 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001; in contains() 306 return containsSlow(c, list4kStarts[lead], list4kStarts[lead+1]); in contains() 339 int lead=c>>12; in span() local [all …]
|
D | ucasemap.cpp | 228 uint8_t lead = src[srcIndex++]; in toLower() local 229 if (lead <= 0x7f) { in toLower() 230 int8_t d = latinToLower[lead]; in toLower() 233 c = lead; in toLower() 239 char ascii = (char)(lead + d); in toLower() 246 } else if (lead < 0xe3) { in toLower() 248 if (0xc2 <= lead && lead <= 0xc5 && srcIndex < srcLimit && in toLower() 252 c = ((lead - 0xc0) << 6) | t; in toLower() 268 } else if ((lead <= 0xe9 || lead == 0xeb || lead == 0xec) && in toLower() 336 uint8_t lead = src[srcIndex++]; in toUpper() local [all …]
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-printers.cc | 386 unsigned char lead = s[i++]; in IsValidUTF8() local 388 if (lead <= 0x7f) { in IsValidUTF8() 391 if (lead < 0xc2) { in IsValidUTF8() 393 } else if (lead <= 0xdf && (i + 1) <= length && IsUTF8TrailByte(s[i])) { in IsValidUTF8() 395 } else if (0xe0 <= lead && lead <= 0xef && (i + 2) <= length && in IsValidUTF8() 399 (lead != 0xe0 || s[i] >= 0xa0) && in IsValidUTF8() 400 (lead != 0xed || s[i] < 0xa0)) { in IsValidUTF8() 402 } else if (0xf0 <= lead && lead <= 0xf4 && (i + 3) <= length && in IsValidUTF8() 407 (lead != 0xf0 || s[i] >= 0x90) && in IsValidUTF8() 408 (lead != 0xf4 || s[i] < 0x90)) { in IsValidUTF8()
|
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/iso-2022-jp/ |
D | iso2022jp-decoder.js | 36 var cp, ptr, lead; 176 lead = isoLead; 179 if (lead == 0x28 && byte == 0x42) state = "ascii"; 180 if (lead == 0x28 && byte == 0x4a) state = "roman"; 181 if (lead == 0x28 && byte == 0x49) state = "katakana"; 182 if (lead == 0x24 && (byte == 0x40 || byte == 0x42)) 197 bytes.unshift(lead, byte);
|
/third_party/typescript/tests/baselines/reference/ |
D | typeGuardFunctionOfFormThis.js | 12 lead(): void {}; 21 a.lead(); 31 b.lead(); 120 lead(): void {} 176 LeadGuard.prototype.lead = function () { }; method in LeadGuard 191 a.lead(); 198 b.lead(); 281 MimicLeader.prototype.lead = function () { }; method in MimicLeader 307 lead(): void; 348 lead(): void;
|
D | typeGuardFunctionOfFormThis.types | 27 lead(): void {}; 28 >lead : () => void 50 a.lead(); 51 >a.lead() : void 52 >a.lead : () => void 54 >lead : () => void 80 b.lead(); 81 >b.lead() : void 82 >b.lead : () => void 84 >lead : () => void [all …]
|
D | typeGuardFunctionOfFormThis.symbols | 27 lead(): void {}; 28 >lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36)) 49 a.lead(); 50 >a.lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36)) 52 >lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36)) 78 b.lead(); 79 >b.lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36)) 81 >lead : Symbol(LeadGuard.lead, Decl(typeGuardFunctionOfFormThis.ts, 9, 36)) 95 // a.lead(); 102 // a.lead(); [all …]
|
/third_party/node/deps/googletest/src/ |
D | gtest-printers.cc | 487 unsigned char lead = s[i++]; in IsValidUTF8() local 489 if (lead <= 0x7f) { in IsValidUTF8() 492 if (lead < 0xc2) { in IsValidUTF8() 494 } else if (lead <= 0xdf && (i + 1) <= length && IsUTF8TrailByte(s[i])) { in IsValidUTF8() 496 } else if (0xe0 <= lead && lead <= 0xef && (i + 2) <= length && in IsValidUTF8() 499 (lead != 0xe0 || s[i] >= 0xa0) && in IsValidUTF8() 500 (lead != 0xed || s[i] < 0xa0)) { in IsValidUTF8() 502 } else if (0xf0 <= lead && lead <= 0xf4 && (i + 3) <= length && in IsValidUTF8() 506 (lead != 0xf0 || s[i] >= 0x90) && in IsValidUTF8() 507 (lead != 0xf4 || s[i] < 0x90)) { in IsValidUTF8()
|
/third_party/googletest/googletest/src/ |
D | gtest-printers.cc | 485 unsigned char lead = s[i++]; in IsValidUTF8() local 487 if (lead <= 0x7f) { in IsValidUTF8() 490 if (lead < 0xc2) { in IsValidUTF8() 492 } else if (lead <= 0xdf && (i + 1) <= length && IsUTF8TrailByte(s[i])) { in IsValidUTF8() 494 } else if (0xe0 <= lead && lead <= 0xef && (i + 2) <= length && in IsValidUTF8() 497 (lead != 0xe0 || s[i] >= 0xa0) && in IsValidUTF8() 498 (lead != 0xed || s[i] < 0xa0)) { in IsValidUTF8() 500 } else if (0xf0 <= lead && lead <= 0xf4 && (i + 3) <= length && in IsValidUTF8() 504 (lead != 0xf0 || s[i] >= 0x90) && in IsValidUTF8() 505 (lead != 0xf4 || s[i] < 0x90)) { in IsValidUTF8()
|
/third_party/node/deps/undici/src/lib/fetch/ |
D | dataURL.js | 578 let lead = 0 582 for (; lead < str.length && isHTTPWhiteSpace(str[lead]); lead++); 589 return str.slice(lead, trail + 1) 604 let lead = 0 608 for (; lead < str.length && isASCIIWhitespace(str[lead]); lead++); 615 return str.slice(lead, trail + 1)
|
/third_party/ffmpeg/libavfilter/ |
D | af_hdcd.c | 1371 int lead = 0; in hdcd_process() local 1377 while (count > lead) { in hdcd_process() 1381 av_assert0(samples + lead * stride + stride * (count - lead) <= samples_end); in hdcd_process() 1382 run = hdcd_scan(ctx, state, 1, samples + lead * stride, count - lead, 0) + lead; in hdcd_process() 1393 lead = run - envelope_run; in hdcd_process() 1396 if (lead > 0) { in hdcd_process() 1397 av_assert0(samples + lead * stride <= samples_end); in hdcd_process() 1399 …gain = hdcd_analyze(samples, lead, stride, gain, target_gain, peak_extend, ctx->analyze_mode, stat… in hdcd_process() 1401 … gain = hdcd_envelope(samples, lead, stride, ctx->bits_per_sample, gain, target_gain, peak_extend); in hdcd_process() 1413 int lead = 0; in hdcd_process_stereo() local [all …]
|
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetEncoderICU.java | 867 final CoderResult handleSurrogates(CharBuffer source, char lead) { in handleSurrogates() argument 868 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates() 869 fromUChar32 = lead; in handleSurrogates() 874 fromUChar32 = lead; in handleSurrogates() 881 fromUChar32 = lead; in handleSurrogates() 886 fromUChar32 = UCharacter.getCodePoint(lead, trail); in handleSurrogates() 909 int sourceLimit, char lead) { in handleSurrogates() argument 910 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates() 911 fromUChar32 = lead; in handleSurrogates() 916 fromUChar32 = lead; in handleSurrogates() [all …]
|
D | UTF8.java | 65 static boolean isValidLead3AndT1(int lead, byte t1) { in isValidLead3AndT1() argument 66 return (U8_LEAD3_T1_BITS[lead & 0xf] & (1 << ((t1 & 0xff) >> 5))) != 0; in isValidLead3AndT1() 88 static boolean isValidLead4AndT1(int lead, byte t1) { in isValidLead4AndT1() argument 89 return (U8_LEAD4_T1_BITS[lead & 7] & (1 << ((t1 & 0xff) >> 4))) != 0; in isValidLead4AndT1()
|
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/ |
D | eucjp-decoder.js | 22 var lead, byte, offset, ptr, cp; 52 lead = eucjpLead; 57 lead >= 0xa1 && 58 lead <= 0xfe && 61 ptr = (lead - 0xa1) * 94 + byte - 0xa1;
|
/third_party/benchmark/src/ |
D | perf_counters.cc | 38 for (int lead : leaders) { in Read() local 39 auto read_bytes = ::read(lead, ptr, size); in Read() 50 GetErrorLogInstance() << "Error reading lead " << lead << " errno:" << err in Read() 212 for (int lead : leader_ids) { in Create() local 213 if (ioctl(lead, PERF_EVENT_IOC_ENABLE) != 0) { in Create() 238 for (int lead : leader_ids_) { in CloseCounters() local 239 ioctl(lead, PERF_EVENT_IOC_DISABLE); in CloseCounters()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | bocu1tst.c | 124 #define BOCU1_LENGTH_FROM_LEAD(lead) \ argument 125 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \ 126 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \ 127 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4) 290 int32_t result, m, lead, count, shift; in packDiff() local 300 lead=BOCU1_START_POS_2; in packDiff() 305 lead=BOCU1_START_POS_3; in packDiff() 310 lead=BOCU1_START_POS_4; in packDiff() 318 lead=BOCU1_START_NEG_2; in packDiff() 323 lead=BOCU1_START_NEG_3; in packDiff() [all …]
|
/third_party/gn/src/base/third_party/icu/ |
D | icu_utf.h | 133 #define CBU8_IS_VALID_LEAD3_AND_T1(lead, t1) \ argument 134 (CBU8_LEAD3_T1_BITS[(lead)&0xf] & (1 << ((uint8_t)(t1) >> 5))) 154 #define CBU8_IS_VALID_LEAD4_AND_T1(lead, t1) \ argument 155 (CBU8_LEAD4_T1_BITS[(uint8_t)(t1) >> 4] & (1 << ((lead)&7))) 363 #define CBU16_GET_SUPPLEMENTARY(lead, trail) \ argument 364 (((::base_icu::UChar32)(lead) << 10UL) + \
|