/bionic/libc/bionic/ |
c32rtomb.cpp | 67 uint8_t lead; local 70 lead = 0; 73 lead = 0xc0; 76 lead = 0xe0; 79 lead = 0xf0; 94 *s = (c32 & 0xff) | lead;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CharacterIteration.java | 29 * For Supplementary chars, the iterator is left positioned at the lead surrogate. 47 // If we might have a lead surrogate, we need to peak ahead to get the trail 55 // of the lead surrogate. 69 public static int nextTrail32(CharacterIterator ci, int lead) { 70 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { 73 int retVal = lead; 74 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { 77 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + 94 char lead = ci.previous(); local 95 if (UTF16.isLeadSurrogate(lead)) { 107 char lead = ci.current(); local [all...] |
BMPSet.java | 35 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6} 36 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead) 45 * correspond to the same bit position in consecutive table words. With code point parts lead=c{15..12} 46 * t1=c{11..6} test bits (lead+16) and lead in bmpBlockBits[t1]. If the upper bit is 0, then the lower bit 107 int lead = c >> 12; local 108 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; 115 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]); 159 int lead = c >> 12 local 198 int lead = c >> 12; local 255 int lead = c >> 12; local 295 int lead = c >> 12; local 330 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local [all...] |
CharTrie.java | 51 * or the leadUnitValue for lead surrogate code points. 55 * @param leadUnitValue the value for lead surrogate code _units_ that do not 88 /* indexes for lead surrogate code units to the block after Latin-1 */ 96 /* data for lead surrogate code units */ 134 * Gets the value to the data which this lead surrogate character points 139 * @param ch lead surrogate character 149 * Lead surrogate code points are treated as normal code points, with 161 * @param lead a lead surrogate 164 public final char getSurrogateValue(char lead, char trail [all...] |
IntTrie.java | 55 * or the leadUnitValue for lead surrogate code points. 59 * @param leadUnitValue the value for lead surrogate code _units_ that do not 92 /* indexes for lead surrogate code units to the block after Latin-1 */ 100 /* data for lead surrogate code units */ 135 * Gets the value to the data which this lead surrogate character points 140 * @param ch lead surrogate character 150 * Lead surrogate code points are treated as normal code points, with 162 * @param lead a lead surrogate 165 public final int getSurrogateValue(char lead, char trail [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CharacterIteration.java | 25 * For Supplementary chars, the iterator is left positioned at the lead surrogate. 43 // If we might have a lead surrogate, we need to peak ahead to get the trail 51 // of the lead surrogate. 65 public static int nextTrail32(CharacterIterator ci, int lead) { 66 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) { 69 int retVal = lead; 70 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) { 73 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) + 90 char lead = ci.previous(); local 91 if (UTF16.isLeadSurrogate(lead)) { 103 char lead = ci.current(); local [all...] |
BMPSet.java | 33 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6} 34 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead) 43 * correspond to the same bit position in consecutive table words. With code point parts lead=c{15..12} 44 * t1=c{11..6} test bits (lead+16) and lead in bmpBlockBits[t1]. If the upper bit is 0, then the lower bit 105 int lead = c >> 12; local 106 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001; 113 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]); 157 int lead = c >> 12 local 196 int lead = c >> 12; local 253 int lead = c >> 12; local 293 int lead = c >> 12; local 328 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local [all...] |
CharTrie.java | 50 * or the leadUnitValue for lead surrogate code points. 54 * @param leadUnitValue the value for lead surrogate code _units_ that do not 87 /* indexes for lead surrogate code units to the block after Latin-1 */ 95 /* data for lead surrogate code units */ 133 * Gets the value to the data which this lead surrogate character points 138 * @param ch lead surrogate character 148 * Lead surrogate code points are treated as normal code points, with 160 * @param lead a lead surrogate 163 public final char getSurrogateValue(char lead, char trail [all...] |
IntTrie.java | 54 * or the leadUnitValue for lead surrogate code points. 58 * @param leadUnitValue the value for lead surrogate code _units_ that do not 91 /* indexes for lead surrogate code units to the block after Latin-1 */ 99 /* data for lead surrogate code units */ 134 * Gets the value to the data which this lead surrogate character points 139 * @param ch lead surrogate character 149 * Lead surrogate code points are treated as normal code points, with 161 * @param lead a lead surrogate 164 public final int getSurrogateValue(char lead, char trail [all...] |
/external/strace/ |
strace-graph | 277 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/common/ |
bmpset.cpp | 70 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits. 74 uint32_t bits=(uint32_t)1<<lead; 83 if(lead==limitLead) { 96 ++lead; 98 if(lead<limitLead) { 99 bits=~((1<<lead)-1); 218 bits=3; // Lead bytes 0xC0 and 0xC1. 223 bits=1; // Lead byte 0xE0. 228 mask=~(0x10001<<0xd); // Lead byte 0xED [all...] |
/external/icu/icu4c/source/layout/ |
HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) 113 le_int32 lIndex = lead - LJMO_FIRST; 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT); 151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 153 lead = LJMO_FILL; 158 lead = ch; 172 le_int32 c = decompose(ch, lead, vowel, trail); 248 LEUnicode lead = 0; local 251 int32_t chClass = getCharClass(chars[i], lead, vowel, trail) 308 LEUnicode lead = outChars[outStart]; local [all...] |
/external/v8/test/mjsunit/regress/ |
regress-520029.js | 8 // lead to a parsing error 13 // This used to lead to a ReferenceError
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
UTF16CollationIterator.java | 92 char lead; local 94 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) { 96 return Character.toCodePoint(lead, c);
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetEncoderICU.java | 838 * a lead surrogate followed by a trail surrogate. This method can change 850 * @param lead [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
UTF16CollationIterator.java | 90 char lead; local 92 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) { 94 return Character.toCodePoint(lead, c);
|
/external/v8/src/ |
unicode.h | 96 static inline bool IsSurrogatePair(int lead, int trail) { 97 return IsLeadSurrogate(lead) && IsTrailSurrogate(trail); 108 static inline int CombineSurrogatePair(uchar lead, uchar trail) { 109 return 0x10000 + ((lead & 0x3ff) << 10) + (trail & 0x3ff); 116 // 4 bytes and the 3 bytes that were used to encode the lead surrogate
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/arm/ |
mapdir.s | 2 # generated. This could lead to duplicate mapping symbols at
|
/external/icu/icu4c/source/test/cintltst/ |
bocu1tst.c | 73 /* number of lead bytes */ 89 /* number of lead bytes for positive and negative 2/3/4-byte sequences */ 108 /* The lead byte start values. */ 119 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */ 120 #define BOCU1_LENGTH_FROM_LEAD(lead) \ 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; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
UTF16Util.java | 237 * Lead surrogate maximum value 242 * Lead surrogate minimum value 282 * Determines whether the character is a lead surrogate. 284 * @return true iff the input character is a lead surrogate 344 char lead = source[offset16]; local 345 if (isLeadSurrogate(lead)) 346 return getRawSupplementary(lead, single); 351 * Shift value for lead surrogate to form a supplementary character. 369 * @param lead lead surrogate characte [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
UTF16Util.java | 236 * Lead surrogate maximum value 241 * Lead surrogate minimum value 281 * Determines whether the character is a lead surrogate. 283 * @return true iff the input character is a lead surrogate 343 char lead = source[offset16]; local 344 if (isLeadSurrogate(lead)) 345 return getRawSupplementary(lead, single); 350 * Shift value for lead surrogate to form a supplementary character. 368 * @param lead lead surrogate characte [all...] |
/bionic/libc/tzcode/ |
strftime.c | 668 register int lead; local 673 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 675 if (trail < 0 && lead > 0) { 677 --lead; 678 } else if (lead < 0 && trail > 0) { 680 ++lead; 683 if (lead == 0 && trail < 0) 685 else pt = _conv(lead, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim);
|
/bionic/libc/upstream-openbsd/lib/libc/time/ |
wcsftime.c | 527 int lead; local 532 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR; 534 if (trail < 0 && lead > 0) { 536 --lead; 537 } else if (lead < 0 && trail > 0) { 539 ++lead; 542 if (lead == 0 && trail < 0) 544 else pt = _conv(lead, L"%02d", pt, ptlim);
|
/external/deqp/framework/delibs/debase/ |
deString.c | 100 deBool deStringBeginsWith (const char* str, const char* lead) 103 const char* b = lead;
|
/frameworks/base/core/java/android/text/format/ |
TimeFormatter.java | 418 int lead; local 423 lead = value / DIVISOR + trail / DIVISOR; 425 if (trail < 0 && lead > 0) { 427 --lead; 428 } else if (lead < 0 && trail > 0) { 430 ++lead; 433 if (lead == 0 && trail < 0) { 436 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), lead); local
|