HomeSort by relevance Sort by last modified time
    Searched refs:lead (Results 1 - 25 of 267) sorted by null

1 2 3 4 5 6 7 8 91011

  /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 31 * For Supplementary chars, the iterator is left positioned at the lead surrogate.
49 // If we might have a lead surrogate, we need to peak ahead to get the trail
57 // of the lead surrogate.
71 public static int nextTrail32(CharacterIterator ci, int lead) {
72 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) {
75 int retVal = lead;
76 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) {
79 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
96 char lead = ci.previous(); local
97 if (UTF16.isLeadSurrogate(lead)) {
109 char lead = ci.current(); local
    [all...]
BMPSet.java 38 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6}
39 * trail=c{5..0} it is set.contains(c)==(table7FF[trail] bit lead)
47 * correspond to the same bit position in consecutive table words. With code point parts lead=c{15..12}
48 * t1=c{11..6} test bits (lead+16) and lead in bmpBlockBits[t1]. If the upper bit is 0, then the lower bit
108 int lead = c >> 12; local
109 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001;
116 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]);
160 int lead = c >> 12 local
199 int lead = c >> 12; local
256 int lead = c >> 12; local
296 int lead = c >> 12; local
331 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local
    [all...]
CharTrie.java 53 * or the leadUnitValue for lead surrogate code points.
57 * @param leadUnitValue the value for lead surrogate code _units_ that do not
90 /* indexes for lead surrogate code units to the block after Latin-1 */
98 /* data for lead surrogate code units */
136 * Gets the value to the data which this lead surrogate character points
141 * @param ch lead surrogate character
151 * Lead surrogate code points are treated as normal code points, with
163 * @param lead a lead surrogate
166 public final char getSurrogateValue(char lead, char trail
    [all...]
IntTrie.java 57 * or the leadUnitValue for lead surrogate code points.
61 * @param leadUnitValue the value for lead surrogate code _units_ that do not
94 /* indexes for lead surrogate code units to the block after Latin-1 */
102 /* data for lead surrogate code units */
137 * Gets the value to the data which this lead surrogate character points
142 * @param ch lead surrogate character
152 * Lead surrogate code points are treated as normal code points, with
164 * @param lead a lead surrogate
167 public final int getSurrogateValue(char lead, char trail
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharacterIteration.java 27 * For Supplementary chars, the iterator is left positioned at the lead surrogate.
45 // If we might have a lead surrogate, we need to peak ahead to get the trail
53 // of the lead surrogate.
67 public static int nextTrail32(CharacterIterator ci, int lead) {
68 if (lead == CharacterIterator.DONE && ci.getIndex() >= ci.getEndIndex()) {
71 int retVal = lead;
72 if (lead <= UTF16.LEAD_SURROGATE_MAX_VALUE) {
75 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
92 char lead = ci.previous(); local
93 if (UTF16.isLeadSurrogate(lead)) {
105 char lead = ci.current(); local
    [all...]
BMPSet.java 36 * correspond to the same bit positions in consecutive table words. With code point parts lead=c{10..6}
37 * 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
106 int lead = c >> 12; local
107 int twoBits = (bmpBlockBits[(c >> 6) & 0x3f] >> lead) & 0x10001;
114 return containsSlow(c, list4kStarts[lead], list4kStarts[lead + 1]);
158 int lead = c >> 12 local
197 int lead = c >> 12; local
254 int lead = c >> 12; local
294 int lead = c >> 12; local
329 int lead = start >> 6; \/\/ Named for UTF-8 2-byte lead byte with upper 5 bits. local
    [all...]
CharTrie.java 52 * or the leadUnitValue for lead surrogate code points.
56 * @param leadUnitValue the value for lead surrogate code _units_ that do not
89 /* indexes for lead surrogate code units to the block after Latin-1 */
97 /* 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 char getSurrogateValue(char lead, char trail
    [all...]
IntTrie.java 56 * or the leadUnitValue for lead surrogate code points.
60 * @param leadUnitValue the value for lead surrogate code _units_ that do not
93 /* indexes for lead surrogate code units to the block after Latin-1 */
101 /* data for lead surrogate code units */
136 * Gets the value to the data which this lead surrogate character points
141 * @param ch lead surrogate character
151 * Lead surrogate code points are treated as normal code points, with
163 * @param lead a lead surrogate
166 public final int getSurrogateValue(char lead, char trail
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UTF8.java 10 * Counts the trail bytes for a UTF-8 lead byte.
27 * Counts the bytes of any whole valid sequence for a UTF-8 lead byte.
48 * Each bit indicates whether one lead byte + first trail byte pair starts a valid sequence.
49 * Lead byte E0..EF bits 3..0 are used as data int index,
61 * @param lead E0..EF
63 * @return true if lead byte E0..EF and first trail byte 00..FF start a valid sequence.
65 static boolean isValidLead3AndT1(int lead, byte t1) {
66 return (U8_LEAD3_T1_BITS[lead & 0xf] & (1 << ((t1 & 0xff) >> 5))) != 0;
71 * Each bit indicates whether one lead byte + first trail byte pair starts a valid sequence.
72 * Lead byte F0..F4 bits 2..0 are used as data int index
    [all...]
CharsetEncoderICU.java 847 * a lead surrogate followed by a trail surrogate. This method can change
    [all...]
  /frameworks/support/samples/SupportAnimationDemos/src/main/java/com/example/android/support/animation/
MainActivity.java 41 final View lead = findViewById(R.id.lead); local
46 lead.getTranslationX());
48 lead.getTranslationY());
70 ((View) lead.getParent()).setOnTouchListener(new View.OnTouchListener() {
78 if (motionEvent.getX() < lead.getX()
79 || motionEvent.getX() > lead.getX() + lead.getWidth()
80 || motionEvent.getY() < lead.getY()
81 || motionEvent.getY() > lead.getY() + lead.getHeight())
    [all...]
  /external/icu/icu4c/source/common/
bmpset.cpp 74 int32_t lead=start>>6; // Named for UTF-8 2-byte lead byte with upper 5 bits.
78 uint32_t bits=(uint32_t)1<<lead;
87 if(lead==limitLead) {
100 ++lead;
102 if(lead<limitLead) {
103 bits=~((1<<lead)-1);
234 bits=3; // Lead bytes 0xC0 and 0xC1.
239 bits=1; // Lead byte 0xE0.
244 mask=~(0x10001<<0xd); // Lead byte 0xED
    [all...]
  /external/strace/
strace-graph 302 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/icu/android_icu4j/src/main/java/android/icu/impl/coll/
UTF16CollationIterator.java 94 char lead; local
96 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
98 return Character.toCodePoint(lead, c);
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
UTF16CollationIterator.java 92 char lead; local
94 Character.isHighSurrogate(lead = seq.charAt(pos - 1))) {
96 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.27/gas/testsuite/gas/arm/
mapdir.s 2 # generated. This could lead to duplicate mapping symbols at
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue14136.go 8 // don't lead to early exit. Specifically, here test
  /prebuilts/go/linux-x86/test/fixedbugs/
issue14136.go 8 // don't lead to early exit. Specifically, here test
  /external/icu/icu4c/source/test/cintltst/
bocu1tst.c 75 /* number of lead bytes */
91 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
110 /* The lead byte start values. */
121 /* The length of a byte sequence, according to the lead byte (!=BOCU1_RESET). */
122 #define BOCU1_LENGTH_FROM_LEAD(lead) \
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; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
UTF16Util.java 242 * Lead surrogate maximum value
247 * Lead surrogate minimum value
287 * Determines whether the character is a lead surrogate.
289 * @return true iff the input character is a lead surrogate
349 char lead = source[offset16]; local
350 if (isLeadSurrogate(lead))
351 return getRawSupplementary(lead, single);
356 * Shift value for lead surrogate to form a supplementary character.
374 * @param lead lead surrogate characte
    [all...]
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
UTF16Util.java 238 * Lead surrogate maximum value
243 * Lead surrogate minimum value
283 * Determines whether the character is a lead surrogate.
285 * @return true iff the input character is a lead surrogate
345 char lead = source[offset16]; local
346 if (isLeadSurrogate(lead))
347 return getRawSupplementary(lead, single);
352 * Shift value for lead surrogate to form a supplementary character.
370 * @param lead lead surrogate characte
    [all...]
  /bionic/libc/tzcode/
strftime.c 690 register int lead; local
695 lead = a / DIVISOR + b / DIVISOR + trail / DIVISOR;
697 if (trail < 0 && lead > 0) {
699 --lead;
700 } else if (lead < 0 && trail > 0) {
702 ++lead;
705 if (lead == 0 && trail < 0)
707 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);

Completed in 464 milliseconds

1 2 3 4 5 6 7 8 91011