Home | History | Annotate | Download | only in impl

Lines Matching refs:lead

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();
97 if (UTF16.isLeadSurrogate(lead)) {
98 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
109 char lead = ci.current();
110 int retVal = lead;
114 if (UTF16.isLeadSurrogate(lead)) {
118 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
123 if (lead == CharacterIterator.DONE) {