Home | History | Annotate | Download | only in impl

Lines Matching refs:lead

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();
93 if (UTF16.isLeadSurrogate(lead)) {
94 retVal = (((int)lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
105 char lead = ci.current();
106 int retVal = lead;
110 if (UTF16.isLeadSurrogate(lead)) {
114 retVal = ((lead - UTF16.LEAD_SURROGATE_MIN_VALUE) << 10) +
119 if (lead == CharacterIterator.DONE) {