/external/icu/icu4c/source/common/ |
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() [all …]
|
D | bmpset.cpp | 75 int32_t trail=start&0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() local 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<64; ++trail) { in set32x64Bits() 108 table[trail]|=bits; in set32x64Bits() 115 for(trail=0; trail<limitTrail; ++trail) { in set32x64Bits() [all …]
|
/external/tcpdump/tests/ |
D | epgmv.out | 2 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 471 trail 0 lead 281 nla 10.… 4 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 472 trail 0 lead 281 nla 10.… 6 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 473 trail 0 lead 281 nla 10.… 8 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 474 trail 0 lead 281 nla 10.… 10 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 475 trail 0 lead 281 nla 10.… 12 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 1428 0x47e3fdad9a9c ODATA trail 0 s… 14 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 1428 0x47e3fdad9a9c ODATA trail 0 s… 16 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 121 0x47e3fdad9a9c ODATA trail 0 se… 18 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 476 trail 0 lead 284 nla 10.… 22 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 477 trail 0 lead 284 nla 10.… [all …]
|
D | pgmv.out | 2 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92190 trail 21618 lead 54950 n… 4 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92191 trail 21618 lead 54950 n… 6 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92192 trail 21618 lead 54950 n… 8 …0.0.0.45.13320 > 239.255.0.16.5563: PGM, length 1436 0x3329041eba74 ODATA trail 21618 seq 54951 [1… 10 …0.0.0.45.13320 > 239.255.0.16.5563: PGM, length 1436 0x3329041eba74 ODATA trail 21619 seq 54952 [1… 12 …10.0.0.45.13320 > 239.255.0.16.5563: PGM, length 105 0x3329041eba74 ODATA trail 21620 seq 54953 [1… 14 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92193 trail 21621 lead 54953 n… 18 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92194 trail 21621 lead 54953 n… 20 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92195 trail 21621 lead 54953 n… 22 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92196 trail 21621 lead 54953 n… [all …]
|
D | pgm_zmtp1v.out | 2 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92190 trail 21618 lead 54950 n… 4 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92191 trail 21618 lead 54950 n… 6 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92192 trail 21618 lead 54950 n… 8 …0.0.0.45.13320 > 239.255.0.16.5563: PGM, length 1436 0x3329041eba74 ODATA trail 21618 seq 54951 [1… 34 …0.0.0.45.13320 > 239.255.0.16.5563: PGM, length 1436 0x3329041eba74 ODATA trail 21619 seq 54952 [1… 47 …10.0.0.45.13320 > 239.255.0.16.5563: PGM, length 105 0x3329041eba74 ODATA trail 21620 seq 54953 [1… 62 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92193 trail 21621 lead 54953 n… 66 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92194 trail 21621 lead 54953 n… 68 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92195 trail 21621 lead 54953 n… 70 ….45.13320 > 239.255.0.16.5563: PGM, length 0 0x3329041eba74 SPM seq 92196 trail 21621 lead 54953 n… [all …]
|
D | epgm_zmtp1v.out | 2 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 471 trail 0 lead 281 nla 10.… 4 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 472 trail 0 lead 281 nla 10.… 6 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 473 trail 0 lead 281 nla 10.… 8 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 474 trail 0 lead 281 nla 10.… 10 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 475 trail 0 lead 281 nla 10.… 12 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 1428 0x47e3fdad9a9c ODATA trail 0 s… 38 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 1428 0x47e3fdad9a9c ODATA trail 0 s… 51 …10.0.0.45.40251 > 239.255.0.16.5563: 39236 > 5563: PGM, length 121 0x47e3fdad9a9c ODATA trail 0 se… 67 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 476 trail 0 lead 284 nla 10.… 71 …239.255.0.16.5563: 39236 > 5563: PGM, length 0 0x47e3fdad9a9c SPM seq 477 trail 0 lead 284 nla 10.… [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | BMPSet.java | 332 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() local 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++] |= bits; in set32x64Bits() 356 } while (trail < 64); in set32x64Bits() 364 for (trail = 0; trail < 64; ++trail) { in set32x64Bits() 365 table[trail] |= bits; in set32x64Bits() 373 for (trail = 0; trail < limitTrail; ++trail) { in set32x64Bits() [all …]
|
D | CharacterIteration.java | 93 char trail = ci.previous(); in previous32() local 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() local 117 if (UTF16.isTrailSurrogate((char)trail)) { in current32() 119 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in current32()
|
D | IntTrie.java | 167 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() 193 public final int getTrailValue(int leadvalue, char trail) in getTrailValue() argument 202 (char)(trail & SURROGATE_MASK_))]; in getTrailValue() 271 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument 282 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
D | CharTrie.java | 166 public final char getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 168 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 184 public final char getTrailValue(int leadvalue, char trail) in getTrailValue() argument 193 (char)(trail & SURROGATE_MASK_))]; in getTrailValue() 258 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument 270 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | BMPSet.java | 330 int trail = start & 0x3f; // Named for UTF-8 2-byte trail byte with lower 6 bits. in set32x64Bits() local 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++] |= bits; in set32x64Bits() 354 } while (trail < 64); in set32x64Bits() 362 for (trail = 0; trail < 64; ++trail) { in set32x64Bits() 363 table[trail] |= bits; in set32x64Bits() 371 for (trail = 0; trail < limitTrail; ++trail) { in set32x64Bits() [all …]
|
D | CharacterIteration.java | 89 char trail = ci.previous(); in previous32() local 90 int retVal = trail; in previous32() 91 if (UTF16.isTrailSurrogate(trail) && ci.getIndex()>ci.getBeginIndex()) { in previous32() 95 ((int)trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in previous32() 111 int trail = (int)ci.next(); in current32() local 113 if (UTF16.isTrailSurrogate((char)trail)) { in current32() 115 (trail - UTF16.TRAIL_SURROGATE_MIN_VALUE) + in current32()
|
D | IntTrie.java | 166 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() 192 public final int getTrailValue(int leadvalue, char trail) in getTrailValue() argument 201 (char)(trail & SURROGATE_MASK_))]; in getTrailValue() 270 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument 281 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
D | CharTrie.java | 165 public final char getSurrogateValue(char lead, char trail) in getSurrogateValue() argument 167 int offset = getSurrogateOffset(lead, trail); in getSurrogateValue() 183 public final char getTrailValue(int leadvalue, char trail) in getTrailValue() argument 192 (char)(trail & SURROGATE_MASK_))]; in getTrailValue() 257 protected final int getSurrogateOffset(char lead, char trail) in getSurrogateOffset() argument 269 return getRawOffset(offset, (char)(trail & SURROGATE_MASK_)); in getSurrogateOffset()
|
/external/icu/icu4c/source/tools/gennorm2/ |
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() 214 if(trail==pairs[i].trail) { in rangeHandler() 218 (long)start, (long)lead, (long)trail); in rangeHandler() 221 if(trail<pairs[i].trail) { in rangeHandler() 226 compositions->insertElementAt(trail, 2*i, errorCode); in rangeHandler()
|
/external/icu/icu4c/source/i18n/ |
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() local 156 if(U16_IS_TRAIL(trail = normalized[pos])) { ++pos; } in handleGetTrailSurrogate() 157 return trail; in handleGetTrailSurrogate() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | FCDIterCollationIterator.java | 71 int trail = iter.next(); in nextCodePoint() local 72 if(isTrailSurrogate(trail)) { in nextCodePoint() 73 return Character.toCodePoint((char)c, (char)trail); in nextCodePoint() 74 } else if(trail >= 0) { in nextCodePoint() 188 int trail = iter.next(); in handleGetTrailSurrogate() local 189 if(isTrailSurrogate(trail)) { in handleGetTrailSurrogate() 191 } else if(trail >= 0) { in handleGetTrailSurrogate() 194 return (char)trail; in handleGetTrailSurrogate() 197 char trail; in handleGetTrailSurrogate() 198 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() [all …]
|
D | UTF16CollationIterator.java | 76 char trail; in nextCodePoint() local 78 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 80 return Character.toCodePoint(c, trail); in nextCodePoint() 114 char trail; in handleGetTrailSurrogate() local 115 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 116 return trail; in handleGetTrailSurrogate()
|
D | IterCollationIterator.java | 61 int trail = iter.next(); in handleGetTrailSurrogate() local 62 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } in handleGetTrailSurrogate() 63 return (char)trail; in handleGetTrailSurrogate()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | FCDIterCollationIterator.java | 73 int trail = iter.next(); in nextCodePoint() local 74 if(isTrailSurrogate(trail)) { in nextCodePoint() 75 return Character.toCodePoint((char)c, (char)trail); in nextCodePoint() 76 } else if(trail >= 0) { in nextCodePoint() 190 int trail = iter.next(); in handleGetTrailSurrogate() local 191 if(isTrailSurrogate(trail)) { in handleGetTrailSurrogate() 193 } else if(trail >= 0) { in handleGetTrailSurrogate() 196 return (char)trail; in handleGetTrailSurrogate() 199 char trail; in handleGetTrailSurrogate() 200 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() [all …]
|
D | UTF16CollationIterator.java | 78 char trail; in nextCodePoint() local 80 Character.isLowSurrogate(trail = seq.charAt(pos))) { in nextCodePoint() 82 return Character.toCodePoint(c, trail); in nextCodePoint() 116 char trail; in handleGetTrailSurrogate() local 117 if(Character.isLowSurrogate(trail = seq.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 118 return trail; in handleGetTrailSurrogate()
|
D | IterCollationIterator.java | 63 int trail = iter.next(); in handleGetTrailSurrogate() local 64 if(!isTrailSurrogate(trail) && trail >= 0) { iter.previous(); } in handleGetTrailSurrogate() 65 return (char)trail; in handleGetTrailSurrogate()
|
/external/jemalloc_new/src/ |
D | large.c | 118 extent_t *trail = extent_split_wrapper(tsdn, arena, in large_ralloc_no_move_shrink() local 121 if (trail == NULL) { in large_ralloc_no_move_shrink() 126 large_dalloc_maybe_junk(extent_addr_get(trail), in large_ralloc_no_move_shrink() 127 extent_size_get(trail)); in large_ralloc_no_move_shrink() 130 arena_extents_dirty_dalloc(tsdn, arena, &extent_hooks, trail); in large_ralloc_no_move_shrink() 161 extent_t *trail; in large_ralloc_no_move_expand() local 163 if ((trail = extents_alloc(tsdn, arena, &extent_hooks, in large_ralloc_no_move_expand() 166 || (trail = extents_alloc(tsdn, arena, &extent_hooks, in large_ralloc_no_move_expand() 173 if ((trail = extent_alloc_wrapper(tsdn, arena, &extent_hooks, in large_ralloc_no_move_expand() 183 if (extent_merge_wrapper(tsdn, arena, &extent_hooks, extent, trail)) { in large_ralloc_no_move_expand() [all …]
|
/external/icu/icu4c/source/tools/tzcode/ |
D | zdump.c | 885 register int trail; in dumptime() local 909 trail = timeptr->tm_year % DIVISOR + TM_YEAR_BASE % DIVISOR; in dumptime() 911 trail / DIVISOR; in dumptime() 912 trail %= DIVISOR; in dumptime() 913 if (trail < 0 && lead > 0) { in dumptime() 914 trail += DIVISOR; in dumptime() 916 } else if (lead < 0 && trail > 0) { in dumptime() 917 trail -= DIVISOR; in dumptime() 921 (void) printf("%d", trail); in dumptime() 922 else (void) printf("%d%d", lead, ((trail < 0) ? -trail : trail)); in dumptime() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | CodePoints.java | 52 int trail = buffer.charAt(position); in next() local 53 if (trail >= Character.MIN_LOW_SURROGATE && trail <= Character.MAX_LOW_SURROGATE) { in next() 54 cp = (cp << 10) + trail - SUPPLEMENTAL_OFFSET; in next()
|