Home
last modified time | relevance | path

Searched refs:lead (Results 1 – 25 of 536) sorted by relevance

12345678910>>...22

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DBMPSet.java108 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 …]
DCharacterIteration.java71 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 …]
DCaseMapImpl.java451 char lead; in internalToLower() local
456 lead = src.charAt(srcIndex); in internalToLower()
458 if (lead < UCaseProps.LatinCase.LONG_S) { in internalToLower()
459 byte d = latinToLower[lead]; in internalToLower()
464 } else if (lead >= 0xd800) { in internalToLower()
467 int props = CASE_TRIE.getFromU16SingleLead(lead); in internalToLower()
475 lead += delta; in internalToLower()
477 dest.append(lead); in internalToLower()
487 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
489 c = Character.toCodePoint(lead, trail); in internalToLower()
[all …]
DIntTrie.java167 public final int getSurrogateValue(char lead, char trail) in getSurrogateValue() argument
169 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue()
174 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue()
271 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument
278 int offset = m_dataManipulate_.getFoldingOffset(getLeadValue(lead)); in getSurrogateOffset()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DBMPSet.java106 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 …]
DCharacterIteration.java67 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 = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32()
105 char lead = ci.current(); in current32() local
106 int retVal = lead; in current32()
[all …]
DCaseMapImpl.java446 char lead; in internalToLower() local
451 lead = src.charAt(srcIndex); in internalToLower()
453 if (lead < UCaseProps.LatinCase.LONG_S) { in internalToLower()
454 byte d = latinToLower[lead]; in internalToLower()
459 } else if (lead >= 0xd800) { in internalToLower()
462 int props = CASE_TRIE.getFromU16SingleLead(lead); in internalToLower()
470 lead += delta; in internalToLower()
472 dest.append(lead); in internalToLower()
482 if (Character.isHighSurrogate(lead) && srcIndex < srcLimit && in internalToLower()
484 c = Character.toCodePoint(lead, trail); in internalToLower()
[all …]
DIntTrie.java166 public final int getSurrogateValue(char lead, char trail) in getSurrogateValue() argument
168 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue()
173 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue()
270 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument
277 int offset = m_dataManipulate_.getFoldingOffset(getLeadValue(lead)); in getSurrogateOffset()
/external/cldr/tools/java/org/unicode/cldr/util/
DUtf8StringByteConverter.java21 char lead = 0; field in Utf8StringByteConverter
26 if (lead != 0) { in toBytes()
28 int cp = UCharacter.getCodePoint(lead, ch); in toBytes()
33 lead = 0; in toBytes()
37 output[bytePosition++] = (byte) (0xE0 | (lead >>> 12)); in toBytes()
38 output[bytePosition++] = (byte) (0x80 | ((lead >>> 6) & 0x3F)); in toBytes()
39 output[bytePosition++] = (byte) (0x80 | (lead & 0x3F)); in toBytes()
40 lead = 0; in toBytes()
48 lead = ch; in toBytes()
59 if (lead != 0) { in toBytes()
[all …]
/external/icu/icu4c/source/common/
Dbmpset.cpp74 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 …]
Ducasemap.cpp228 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 …]
/external/tcpdump/tests/
Depgmv.out2 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 471 trail 0 lead 281 nla 10.0.0.45 […
4 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 472 trail 0 lead 281 nla 10.0.0.45 […
6 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 473 trail 0 lead 281 nla 10.0.0.45 […
8 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 474 trail 0 lead 281 nla 10.0.0.45 […
10 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 475 trail 0 lead 281 nla 10.0.0.45 […
18 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 476 trail 0 lead 284 nla 10.0.0.45 […
22 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 477 trail 0 lead 284 nla 10.0.0.45 […
24 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 478 trail 0 lead 284 nla 10.0.0.45 […
26 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 479 trail 0 lead 284 nla 10.0.0.45 […
28 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 480 trail 0 lead 284 nla 10.0.0.45 […
[all …]
Dpgmv.out2 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92190 trail 21618 lead 54950 nla 10.0.0.45…
4 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92191 trail 21618 lead 54950 nla 10.0.0.45…
6 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92192 trail 21618 lead 54950 nla 10.0.0.45…
14 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92193 trail 21621 lead 54953 nla 10.0.0.45…
18 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92194 trail 21621 lead 54953 nla 10.0.0.45…
20 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92195 trail 21621 lead 54953 nla 10.0.0.45…
22 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92196 trail 21621 lead 54953 nla 10.0.0.45…
24 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92197 trail 21621 lead 54953 nla 10.0.0.45…
26 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92198 trail 21621 lead 54953 nla 10.0.0.45…
28 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92199 trail 21621 lead 54953 nla 10.0.0.45…
Depgm_zmtp1v.out2 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 471 trail 0 lead 281 nla 10.0.0.45 […
4 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 472 trail 0 lead 281 nla 10.0.0.45 […
6 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 473 trail 0 lead 281 nla 10.0.0.45 […
8 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 474 trail 0 lead 281 nla 10.0.0.45 […
10 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 475 trail 0 lead 281 nla 10.0.0.45 […
67 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 476 trail 0 lead 284 nla 10.0.0.45 […
71 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 477 trail 0 lead 284 nla 10.0.0.45 […
73 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 478 trail 0 lead 284 nla 10.0.0.45 […
75 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 479 trail 0 lead 284 nla 10.0.0.45 […
77 …0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 480 trail 0 lead 284 nla 10.0.0.45 […
[all …]
Dpgm_zmtp1v.out2 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92190 trail 21618 lead 54950 nla 10.0.0.45…
4 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92191 trail 21618 lead 54950 nla 10.0.0.45…
6 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92192 trail 21618 lead 54950 nla 10.0.0.45…
62 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92193 trail 21621 lead 54953 nla 10.0.0.45…
66 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92194 trail 21621 lead 54953 nla 10.0.0.45…
68 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92195 trail 21621 lead 54953 nla 10.0.0.45…
70 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92196 trail 21621 lead 54953 nla 10.0.0.45…
72 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92197 trail 21621 lead 54953 nla 10.0.0.45…
74 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92198 trail 21621 lead 54953 nla 10.0.0.45…
76 …239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92199 trail 21621 lead 54953 nla 10.0.0.45…
/external/strace/
Dstrace-graph302 my ($pid, $lead) = @_;
326 print "$lead [$elapsed] $pid @$argv\n";
329 print "$lead $pid @$argv\n";
333 if ($lead =~ /-$/) {
334 display_pid_trace($$elem[1], "$lead--+--");
336 display_pid_trace($$elem[1], "$lead +--");
339 display_pid_trace($$elem[1], "$lead `--");
341 display_pid_trace($$elem[1], "$lead +--");
345 $lead =~ s/\`--/ /g;
346 $lead =~ s/-/ /g;
[all …]
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-printers.cc383 unsigned char lead = s[i++]; in IsValidUTF8() local
385 if (lead <= 0x7f) { in IsValidUTF8()
388 if (lead < 0xc2) { in IsValidUTF8()
390 } else if (lead <= 0xdf && (i + 1) <= length && IsUTF8TrailByte(s[i])) { in IsValidUTF8()
392 } else if (0xe0 <= lead && lead <= 0xef && (i + 2) <= length && in IsValidUTF8()
396 (lead != 0xe0 || s[i] >= 0xa0) && in IsValidUTF8()
397 (lead != 0xed || s[i] < 0xa0)) { in IsValidUTF8()
399 } else if (0xf0 <= lead && lead <= 0xf4 && (i + 3) <= length && in IsValidUTF8()
404 (lead != 0xf0 || s[i] >= 0x90) && in IsValidUTF8()
405 (lead != 0xf4 || s[i] < 0x90)) { in IsValidUTF8()
/external/googletest/googletest/src/
Dgtest-printers.cc382 unsigned char lead = s[i++]; in IsValidUTF8() local
384 if (lead <= 0x7f) { in IsValidUTF8()
387 if (lead < 0xc2) { in IsValidUTF8()
389 } else if (lead <= 0xdf && (i + 1) <= length && IsUTF8TrailByte(s[i])) { in IsValidUTF8()
391 } else if (0xe0 <= lead && lead <= 0xef && (i + 2) <= length && in IsValidUTF8()
395 (lead != 0xe0 || s[i] >= 0xa0) && in IsValidUTF8()
396 (lead != 0xed || s[i] < 0xa0)) { in IsValidUTF8()
398 } else if (0xf0 <= lead && lead <= 0xf4 && (i + 3) <= length && in IsValidUTF8()
403 (lead != 0xf0 || s[i] >= 0x90) && in IsValidUTF8()
404 (lead != 0xf4 || s[i] < 0x90)) { in IsValidUTF8()
/external/boringssl/src/third_party/wycheproof_testvectors/
Ddsa_test.txt886 # implementations where values such as r=1, s=0 lead to forgeries.
895 # implementations where values such as r=1, s=0 lead to forgeries.
904 # implementations where values such as r=1, s=0 lead to forgeries.
913 # implementations where values such as r=1, s=0 lead to forgeries.
922 # implementations where values such as r=1, s=0 lead to forgeries.
931 # implementations where values such as r=1, s=0 lead to forgeries.
940 # implementations where values such as r=1, s=0 lead to forgeries.
949 # implementations where values such as r=1, s=0 lead to forgeries.
958 # implementations where values such as r=1, s=0 lead to forgeries.
967 # implementations where values such as r=1, s=0 lead to forgeries.
[all …]
Decdsa_secp224r1_sha224_test.txt910 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
918 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
926 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
934 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
942 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
950 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
958 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
966 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
974 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
982 # Edge case values such as r=1 and s=0 can lead to forgeries if the ECDSA
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java867 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 …]
DUTF8.java65 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()
/external/libchrome/base/third_party/icu/
Dicu_utf.h130 #define CBU8_IS_VALID_LEAD3_AND_T1(lead, t1) (CBU8_LEAD3_T1_BITS[(lead)&0xf]&(1<<((uint8_t)(t1)>>5)… argument
147 #define CBU8_IS_VALID_LEAD4_AND_T1(lead, t1) (CBU8_LEAD4_T1_BITS[(uint8_t)(t1)>>4]&(1<<((lead)&7))) argument
349 #define CBU16_GET_SUPPLEMENTARY(lead, trail) \ argument
350 (((::base_icu::UChar32)(lead)<<10UL)+(::base_icu::UChar32)(trail)-CBU16_SURROGATE_OFFSET)
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c122 #define BOCU1_LENGTH_FROM_LEAD(lead) \ argument
123 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
124 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \
125 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4)
288 int32_t result, m, lead, count, shift; in packDiff() local
298 lead=BOCU1_START_POS_2; in packDiff()
303 lead=BOCU1_START_POS_3; in packDiff()
308 lead=BOCU1_START_POS_4; in packDiff()
316 lead=BOCU1_START_NEG_2; in packDiff()
321 lead=BOCU1_START_NEG_3; in packDiff()
[all …]
/external/clang/test/SemaObjC/
Dwarn-retain-cycle.m12 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
14 …}; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
17 …]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}
31 … // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retain cycle}}…
74 …// expected-warning {{capturing 'self' strongly in this block is likely to lead to a retain cycle}}
94 …// expected-warning {{capturing 'self' strongly in this block is likely to lead to a retain cycle}}
126 …// expected-warning {{capturing 'self' strongly in this block is likely to lead to a retain cycle}}
149 …b1(); // expected-warning{{capturing 'b1' strongly in this block is likely to lead to a retain cyc…
154 …b2(); // expected-warning{{capturing 'b2' strongly in this block is likely to lead to a retain cyc…
170 …[obj actNow]; // expected-warning{{capturing 'obj' strongly in this block is likely to lead to a r…
[all …]

12345678910>>...22