Home
last modified time | relevance | path

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

12345678

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DBMPSet.java105 int lead = c >> 12; in contains() local
106 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in contains()
113 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]); in contains()
157 int lead = c >> 12; in span() local
158 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span()
167 if (!containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span()
196 int lead = c >> 12; in span() local
197 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; in span()
206 if (containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1])) { in span()
253 int lead = c >> 12; in spanBack() local
[all …]
DCharacterIteration.java65 public static int nextTrail32(CharacterIterator ci, int lead) { in nextTrail32() argument
66 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { in nextTrail32()
69 int retVal = lead; in nextTrail32()
70 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { in nextTrail32()
73 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in nextTrail32()
90 char lead = ci.previous(); in previous32() local
91 if (UTF16.isLeadSurrogate(lead)) { in previous32()
92 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + in previous32()
103 char lead = ci.current(); in current32() local
104 int retVal = lead; in current32()
[all …]
DIntTrie.java161 public final int getSurrogateValue(char lead, char trail) in getSurrogateValue() argument
163 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue()
168 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue()
264 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument
271 int offset = m_dataManipulate_.getFoldingOffset(getLeadValue(lead)); in getSurrogateOffset()
DCharTrie.java163 public final char getSurrogateValue(char lead, char trail) in getSurrogateValue() argument
165 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue()
254 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument
262 int offset = m_dataManipulate_.getFoldingOffset(getLeadValue(lead)); in getSurrogateOffset()
/external/icu/icu4c/source/common/
Dbmpset.cpp70 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. in set32x64Bits() local
74 uint32_t bits=(uint32_t)1<<lead; in set32x64Bits()
83 if(lead==limitLead) { in set32x64Bits()
96 ++lead; in set32x64Bits()
98 if(lead<limitLead) { in set32x64Bits()
99 bits=~((1<<lead)-1); in set32x64Bits()
283 int lead=c>>12; in contains() local
284 uint32_t twoBits=(bmpBlockBits[(c>>6)&0x3f]>>lead)&0x10001; in contains()
291 return containsSlow(c, list4kStarts[lead], list4kStarts[lead+1]); in contains()
324 int lead=c>>12; in span() local
[all …]
Dutrie2_builder.cpp366 UChar lead; in utrie2_cloneAsThawed() local
388 for(lead=0xd800; lead<0xdc00; ++lead) { in utrie2_cloneAsThawed()
391 value=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(other, lead); in utrie2_cloneAsThawed()
393 value=UTRIE2_GET32_FROM_U16_SINGLE_LEAD(other, lead); in utrie2_cloneAsThawed()
396 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_cloneAsThawed()
410 UChar lead; in utrie2_fromUTrie() local
427 for(lead=0xd800; lead<0xdc00; ++lead) { in utrie2_fromUTrie()
430 value=UTRIE_GET16_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
432 value=UTRIE_GET32_FROM_LEAD(trie1, lead); in utrie2_fromUTrie()
435 utrie2_set32ForLeadSurrogateCodeUnit(context.trie, lead, value, pErrorCode); in utrie2_fromUTrie()
/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-graph277 my ($pid, $lead) = @_;
301 print "$lead [$elapsed] @$argv\n";
304 print "$lead @$argv\n";
308 if ($lead =~ /-$/) {
309 display_pid_trace($$elem[1], "$lead--+--");
311 display_pid_trace($$elem[1], "$lead +--");
314 display_pid_trace($$elem[1], "$lead `--");
316 display_pid_trace($$elem[1], "$lead +--");
320 $lead =~ s/\`--/ /g;
321 $lead =~ s/-/ /g;
[all …]
/external/icu/icu4c/source/layout/
DHangulLayoutEngine.cpp111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) in compose() argument
113 le_int32 lIndex = lead - LJMO_FIRST; in compose()
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in decompose() argument
140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT); in decompose()
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in getCharClass() argument
153 lead = LJMO_FILL; in getCharClass()
158 lead = ch; in getCharClass()
172 le_int32 c = decompose(ch, lead, vowel, trail); in getCharClass()
248 LEUnicode lead = 0; in characterProcessing() local
251 int32_t chClass = getCharClass(chars[i], lead, vowel, trail); in characterProcessing()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java858 final CoderResult handleSurrogates(CharBuffer source, char lead) { in handleSurrogates() argument
859 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates()
860 fromUChar32 = lead; in handleSurrogates()
865 fromUChar32 = lead; in handleSurrogates()
872 fromUChar32 = lead; in handleSurrogates()
877 fromUChar32 = UCharacter.getCodePoint(lead, trail); in handleSurrogates()
900 int sourceLimit, char lead) { in handleSurrogates() argument
901 if (!UTF16.isLeadSurrogate(lead)) { in handleSurrogates()
902 fromUChar32 = lead; in handleSurrogates()
907 fromUChar32 = lead; in handleSurrogates()
[all …]
DCharsetUTF16.java194 …final CoderResult decodeTrail(ByteBuffer source, CharBuffer target, IntBuffer offsets, char lead) { in decodeTrail() argument
195 if (!UTF16.isLeadSurrogate(lead)) { in decodeTrail()
204 toUnicodeStatus = lead; in decodeTrail()
225 target.put(lead); in decodeTrail()
/external/icu/icu4c/source/test/cintltst/
Dbocu1tst.c120 #define BOCU1_LENGTH_FROM_LEAD(lead) \ argument
121 ((BOCU1_START_NEG_2<=(lead) && (lead)<BOCU1_START_POS_2) ? 1 : \
122 (BOCU1_START_NEG_3<=(lead) && (lead)<BOCU1_START_POS_3) ? 2 : \
123 (BOCU1_START_NEG_4<=(lead) && (lead)<BOCU1_START_POS_4) ? 3 : 4)
286 int32_t result, m, lead, count, shift; in packDiff() local
296 lead=BOCU1_START_POS_2; in packDiff()
301 lead=BOCU1_START_POS_3; in packDiff()
306 lead=BOCU1_START_POS_4; in packDiff()
314 lead=BOCU1_START_NEG_2; in packDiff()
319 lead=BOCU1_START_NEG_3; in packDiff()
[all …]
Dtrie2test.c1332 UChar lead; in testTrie2FromTrie1() local
1375 for(lead=0xd800; lead<0xdc00; ++lead) { in testTrie2FromTrie1()
1377 value1=UTRIE_GET16_FROM_LEAD(&trie1_16, lead); in testTrie2FromTrie1()
1378 value2=UTRIE2_GET16_FROM_U16_SINGLE_LEAD(trie2, lead); in testTrie2FromTrie1()
1382 name, (long)value2, (long)value1, (long)lead); in testTrie2FromTrie1()
1394 for(lead=0xd800; lead<0xdc00; ++lead) { in testTrie2FromTrie1()
1396 value1=UTRIE_GET32_FROM_LEAD(&trie1_32, lead); in testTrie2FromTrie1()
1397 value2=UTRIE2_GET32_FROM_U16_SINGLE_LEAD(trie2, lead); in testTrie2FromTrie1()
1401 name, (long)value2, (long)value1, (long)lead); in testTrie2FromTrie1()
/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 …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DUTF16Util.java343 char lead = source[offset16]; in charAt() local
344 if (isLeadSurrogate(lead)) in charAt()
345 return getRawSupplementary(lead, single); in charAt()
372 public static int getRawSupplementary(char lead, char trail) in getRawSupplementary() argument
374 return (lead << LEAD_SURROGATE_SHIFT_) + trail + SURROGATE_OFFSET_; in getRawSupplementary()
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c884 register int lead; in dumptime() local
910 lead = timeptr->tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + in dumptime()
913 if (trail < 0 && lead > 0) { in dumptime()
915 --lead; in dumptime()
916 } else if (lead < 0 && trail > 0) { in dumptime()
918 ++lead; in dumptime()
920 if (lead == 0) in dumptime()
922 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail)); in dumptime()
987 register int lead; in dumptimeICU() local
995 lead = loc.tm_year / DIVISOR + TM_YEAR_BASE / DIVISOR + trail / DIVISOR; in dumptimeICU()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUTF16.java247 char lead = source.charAt(offset16); in _charAt() local
248 if (lead >= LEAD_SURROGATE_MIN_VALUE && lead <= LEAD_SURROGATE_MAX_VALUE) { in _charAt()
249 return UCharacterProperty.getRawSupplementary(lead, single); in _charAt()
302 char lead = source.charAt(offset16); in _charAt() local
303 if (lead >= UTF16.LEAD_SURROGATE_MIN_VALUE in _charAt()
304 && lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { in _charAt()
305 return UCharacterProperty.getRawSupplementary(lead, single); in _charAt()
353 char lead = source.charAt(offset16); in charAt() local
354 if (isLeadSurrogate(lead)) { in charAt()
355 return UCharacterProperty.getRawSupplementary(lead, single); in charAt()
[all …]
/external/v8/src/
Dunicode.h82 static inline bool IsSurrogatePair(int lead, int trail) { in IsSurrogatePair() argument
83 return IsLeadSurrogate(lead) && IsTrailSurrogate(trail); in IsSurrogatePair()
94 static inline int CombineSurrogatePair(uchar lead, uchar trail) { in CombineSurrogatePair() argument
95 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff); in CombineSurrogatePair()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java169 char lead = UTF16.getLeadSurrogate(c); in _testTrieIteration() local
171 if (lead == 0 in _testTrieIteration()
173 : !UTF16.isLeadSurrogate(lead) in _testTrieIteration()
174 || !UTF16.isTrailSurrogate(trail) || lead != s.charAt(p - 2) in _testTrieIteration()
180 if (lead != 0) { in _testTrieIteration()
181 value = trie.getLeadValue(lead); in _testTrieIteration()
183 if (value != trie.getSurrogateValue(lead, trail) in _testTrieIteration()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DUTF16CollationIterator.java90 char lead; in previousCodePoint() local
92 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) { in previousCodePoint()
94 return Character.toCodePoint(lead, c); in previousCodePoint()
/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp366 UChar32 lead=m.char32At(0); in addComposition() local
368 if(getCC(lead)!=0) { in addComposition()
373 (long)start, (long)lead); in addComposition()
380 Norm *leadNorm=createNorm(lead); in addComposition()
395 (long)start, (long)lead, (long)trail); in addComposition()
703 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); in writeMapping() local
704 smallFCD[lead>>8]|=(uint8_t)1<<((lead>>5)&7); in writeMapping()
845 UChar32 lead= c<=0xffff ? c : U16_LEAD(c); in writeExtraData() local
846 smallFCD[lead>>8]|=(uint8_t)1<<((lead>>5)&7); in writeExtraData()
1123 for(UChar lead=0xd800; lead<0xdc00; ++lead) { in processData() local
[all …]
/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp111 UChar lead; in previousCodePoint() local
112 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint()
114 return U16_GET_SUPPLEMENTARY(lead, c); in previousCodePoint()
314 UChar lead; in previousCodePoint() local
315 if(U16_IS_TRAIL(c) && pos != start && U16_IS_LEAD(lead = *(pos - 1))) { in previousCodePoint()
317 return U16_GET_SUPPLEMENTARY(lead, c); in previousCodePoint()

12345678