/third_party/icu/icu4c/source/common/ |
H A D | ucnv_u16.cpp | 60 UChar c, trail; in _UTF16BEFromUnicodeWithOffsets() local 95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets() 101 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 102 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 133 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 138 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 139 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 155 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 160 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 161 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 264 UChar c, trail; _UTF16BEToUnicodeWithOffsets() local 528 UChar trail; _UTF16BEGetNextUChar() local 661 UChar c, trail; _UTF16LEFromUnicodeWithOffsets() local 865 UChar c, trail; _UTF16LEToUnicodeWithOffsets() local 1129 UChar trail; _UTF16LEGetNextUChar() local [all...] |
H A D | bmpset.cpp | 75 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() 80 table[trail]|=bits; in set32x64Bits() 89 while(trail<limitTrail) { in set32x64Bits() 90 table[trail++]|=bits; in set32x64Bits() 96 if(trail>0) { in set32x64Bits() 98 table[trail++]|=bits; in set32x64Bits() 99 } while(trail<64); in set32x64Bits() 107 for(trail=0; trail<6 in set32x64Bits() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnv_u16.cpp | 60 char16_t c, trail; in _UTF16BEFromUnicodeWithOffsets() local 95 if((c=(char16_t)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets() 101 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 102 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 133 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 138 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 139 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 155 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 160 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 161 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 264 char16_t c, trail; _UTF16BEToUnicodeWithOffsets() local 528 char16_t trail; _UTF16BEGetNextUChar() local 661 char16_t c, trail; _UTF16LEFromUnicodeWithOffsets() local 865 char16_t c, trail; _UTF16LEToUnicodeWithOffsets() local 1129 char16_t trail; _UTF16LEGetNextUChar() local [all...] |
H A D | bmpset.cpp | 75 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() 80 table[trail]|=bits; in set32x64Bits() 89 while(trail<limitTrail) { in set32x64Bits() 90 table[trail++]|=bits; in set32x64Bits() 96 if(trail>0) { in set32x64Bits() 98 table[trail++]|=bits; in set32x64Bits() 99 } while(trail<64); in set32x64Bits() 107 for(trail=0; trail<6 in set32x64Bits() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv_u16.cpp | 60 UChar c, trail; in _UTF16BEFromUnicodeWithOffsets() local 95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets() 101 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 102 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 133 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 138 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 139 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 155 } else if(U16_IS_SURROGATE_LEAD(c) && count>=2 && U16_IS_TRAIL(trail=*source)) { in _UTF16BEFromUnicodeWithOffsets() 160 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 161 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 264 UChar c, trail; _UTF16BEToUnicodeWithOffsets() local 528 UChar trail; _UTF16BEGetNextUChar() local 661 UChar c, trail; _UTF16LEFromUnicodeWithOffsets() local 865 UChar c, trail; _UTF16LEToUnicodeWithOffsets() local 1129 UChar trail; _UTF16LEGetNextUChar() local [all...] |
H A D | bmpset.cpp | 75 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() 80 table[trail]|=bits; in set32x64Bits() 89 while(trail<limitTrail) { in set32x64Bits() 90 table[trail++]|=bits; in set32x64Bits() 96 if(trail>0) { in set32x64Bits() 98 table[trail++]|=bits; in set32x64Bits() 99 } while(trail<64); in set32x64Bits() 107 for(trail=0; trail<6 in set32x64Bits() [all...] |
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | dataURL.js | 579 let trail = str.length - 1 586 for (; trail > 0 && isHTTPWhiteSpace(str[trail]); trail--); 589 return str.slice(lead, trail + 1) 605 let trail = str.length - 1 612 for (; trail > 0 && isASCIIWhitespace(str[trail]); trail--); 615 return str.slice(lead, trail [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | BMPSet.java | 37 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead) 135 * sufficient length for trail unit for each surrogate pair. Handle single surrogates as surrogate code points 330 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() 335 table[trail] |= bits; in set32x64Bits() 344 while (trail < limitTrail) { in set32x64Bits() 345 table[trail++] |= bits; in set32x64Bits() 351 if (trail > 0) { in set32x64Bits() 353 table[trail in set32x64Bits() [all...] |
H A D | CharacterIteration.java | 32 // If the current position is at a surrogate pair, move to the trail surrogate in next32() 45 // If we might have a lead surrogate, we need to peak ahead to get the trail in next32() 89 char trail = ci.previous(); in previous32() 90 int retVal = trail; in previous32() 91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32() 95 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in previous32() 111 int trail = ci.next(); in current32() 113 if (UTF16.isTrailSurrogate(trail)) { in current32() 115 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in current32()
|
H A D | IntTrie.java | 140 * This method does not guarantee correct results for trail surrogates. 164 * @param trail a trail surrogate 166 public final int getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 168 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue() 172 // get fold position for the next trail surrogate in getSurrogateValue() 173 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 175 // get the real data from the folded lead/trail units in getSurrogateValue() 186 * and a trail surrogate. 189 * @param trail surrogat 192 getTrailValue(int leadvalue, char trail) getTrailValue() argument 270 getSurrogateOffset(char lead, char trail) getSurrogateOffset() argument [all...] |
H A D | CharTrie.java | 139 * This method does not guarantee correct results for trail surrogates. 163 * @param trail a trail surrogate 165 public final char getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 167 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 176 * and a trail surrogate.</p> 180 * @param trail surrogate 181 * @return trie data value associated with the trail character 183 public final char getTrailValue(int leadvalue, char trail) in getTrailValue() argument 192 (char)(trail in getTrailValue() 257 getSurrogateOffset(char lead, char trail) getSurrogateOffset() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | BMPSet.java | 39 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead) 137 * sufficient length for trail unit for each surrogate pair. Handle single surrogates as surrogate code points 332 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() 337 table[trail] |= bits; in set32x64Bits() 346 while (trail < limitTrail) { in set32x64Bits() 347 table[trail++] |= bits; in set32x64Bits() 353 if (trail > 0) { in set32x64Bits() 355 table[trail in set32x64Bits() [all...] |
H A D | CharacterIteration.java | 36 // If the current position is at a surrogate pair, move to the trail surrogate in next32() 49 // If we might have a lead surrogate, we need to peak ahead to get the trail in next32() 93 char trail = ci.previous(); in previous32() 94 int retVal = trail; in previous32() 95 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32() 99 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in previous32() 115 int trail = (int)ci.next(); in current32() 117 if (UTF16.isTrailSurrogate((char)trail)) { in current32() 119 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in current32()
|
H A D | IntTrie.java | 141 * This method does not guarantee correct results for trail surrogates. 165 * @param trail a trail surrogate 167 public final int getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 169 if (!UTF16.isLeadSurrogate(lead) || !UTF16.isTrailSurrogate(trail)) { in getSurrogateValue() 173 // get fold position for the next trail surrogate in getSurrogateValue() 174 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 176 // get the real data from the folded lead/trail units in getSurrogateValue() 187 * and a trail surrogate. 190 * @param trail surrogat 193 getTrailValue(int leadvalue, char trail) getTrailValue() argument 271 getSurrogateOffset(char lead, char trail) getSurrogateOffset() argument [all...] |
H A D | CharTrie.java | 140 * This method does not guarantee correct results for trail surrogates. 164 * @param trail a trail surrogate 166 public final char getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 168 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 177 * and a trail surrogate.</p> 181 * @param trail surrogate 182 * @return trie data value associated with the trail character 184 public final char getTrailValue(int leadvalue, char trail) in getTrailValue() argument 193 (char)(trail in getTrailValue() 258 getSurrogateOffset(char lead, char trail) getSurrogateOffset() argument [all...] |
/third_party/icu/icu4c/source/tools/gennorm2/ |
H A D | norms.cpp | 55 UChar32 Norm::combine(UChar32 trail) const { in combine() 59 if(trail==pairs[i].trail) { in combine() 62 if(trail<pairs[i].trail) { in combine() 147 uint8_t trailCC=getCC(pairs[i].trail); in combinesWithCCBetween() 190 UChar32 trail=m.char32At(m.length()-1); in rangeHandler() local 200 norms.createNorm(trail)->combinesBack=true; in rangeHandler() 201 // Insert (trail, composite) pair into compositions list for the lead character. in rangeHandler() 210 // Insertion sort, and check for duplicate trail character in rangeHandler() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gennorm2/ |
H A D | norms.cpp | 55 UChar32 Norm::combine(UChar32 trail) const { in combine() 59 if(trail==pairs[i].trail) { in combine() 62 if(trail<pairs[i].trail) { in combine() 147 uint8_t trailCC=getCC(pairs[i].trail); in combinesWithCCBetween() 190 UChar32 trail=m.char32At(m.length()-1); in rangeHandler() local 200 norms.createNorm(trail)->combinesBack=TRUE; in rangeHandler() 201 // Insert (trail, composite) pair into compositions list for the lead character. in rangeHandler() 210 // Insertion sort, and check for duplicate trail character in rangeHandler() [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | FCDIterCollationIterator.java | 71 int trail = iter.next(); in nextCodePoint() 72 if(isTrailSurrogate(trail)) { in nextCodePoint() 73 return Character.toCodePoint((char)c, (char)trail); in nextCodePoint() 74 } else if(trail >= 0) { in nextCodePoint() 119 // hasLccc(trail)=true for all trail surrogates in previousCodePoint() 188 int trail = iter.next(); in handleGetTrailSurrogate() 189 if(isTrailSurrogate(trail)) { in handleGetTrailSurrogate() 191 } else if(trail >= 0) { in handleGetTrailSurrogate() 194 return (char)trail; in handleGetTrailSurrogate() [all...] |
H A D | UTF16CollationIterator.java | 76 char trail; in nextCodePoint() 78 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 80 return Character.toCodePoint(c, trail); in nextCodePoint() 114 char trail; in handleGetTrailSurrogate() 115 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 116 return trail; in handleGetTrailSurrogate()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | FCDIterCollationIterator.java | 73 int trail = iter.next(); in nextCodePoint() 74 if(isTrailSurrogate(trail)) { in nextCodePoint() 75 return Character.toCodePoint((char)c, (char)trail); in nextCodePoint() 76 } else if(trail >= 0) { in nextCodePoint() 121 // hasLccc(trail)=true for all trail surrogates in previousCodePoint() 190 int trail = iter.next(); in handleGetTrailSurrogate() 191 if(isTrailSurrogate(trail)) { in handleGetTrailSurrogate() 193 } else if(trail >= 0) { in handleGetTrailSurrogate() 196 return (char)trail; in handleGetTrailSurrogate() [all...] |
H A D | UTF16CollationIterator.java | 78 char trail; in nextCodePoint() 80 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 82 return Character.toCodePoint(c, trail); in nextCodePoint() 116 char trail; in handleGetTrailSurrogate() 117 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 118 return trail; in handleGetTrailSurrogate()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | uitercollationiterator.cpp | 55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate() 57 return (char16_t)trail; in handleGetTrailSurrogate() 146 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 147 if(U16_IS_TRAIL(trail)) { in handleGetTrailSurrogate() 149 } else if(trail >= 0) { in handleGetTrailSurrogate() 152 return (char16_t)trail; in handleGetTrailSurrogate() 155 char16_t trail; in handleGetTrailSurrogate() 156 if(U16_IS_TRAIL(trail in handleGetTrailSurrogate() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | uitercollationiterator.cpp | 55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate() 57 return (UChar)trail; in handleGetTrailSurrogate() 146 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 147 if(U16_IS_TRAIL(trail)) { in handleGetTrailSurrogate() 149 } else if(trail >= 0) { in handleGetTrailSurrogate() 152 return (UChar)trail; in handleGetTrailSurrogate() 155 UChar trail; in handleGetTrailSurrogate() 156 if(U16_IS_TRAIL(trail in handleGetTrailSurrogate() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | uitercollationiterator.cpp | 55 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 56 if(!U16_IS_TRAIL(trail) && trail >= 0) { iter.previous(&iter); } in handleGetTrailSurrogate() 57 return (UChar)trail; in handleGetTrailSurrogate() 146 UChar32 trail = iter.next(&iter); in handleGetTrailSurrogate() local 147 if(U16_IS_TRAIL(trail)) { in handleGetTrailSurrogate() 149 } else if(trail >= 0) { in handleGetTrailSurrogate() 152 return (UChar)trail; in handleGetTrailSurrogate() 155 UChar trail; in handleGetTrailSurrogate() 156 if(U16_IS_TRAIL(trail in handleGetTrailSurrogate() [all...] |
/third_party/node/deps/npm/node_modules/iconv-lite/lib/ |
H A D | index.js | 23 var trail = encoder.end(); 25 return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; 41 var trail = decoder.end(); 43 return trail ? (res + trail) : res;
|