Lines Matching refs:result
447 int result = offset16 + start;
454 if (offset16<0 || result>limit) {
458 if (shift32 + result > size) {
459 throw new StringIndexOutOfBoundsException(result);
462 while (result < limit && count > 0)
464 ch = source[result];
465 if (isLeadSurrogate(ch) && (result+1 < limit) &&
466 isTrailSurrogate(source[result+1])) {
467 result ++;
470 result ++;
473 if (result + shift32 < start) {
474 throw new StringIndexOutOfBoundsException(result);
477 result--;
478 if (result<start) {
481 ch = source[result];
482 if (isTrailSurrogate(ch) && result>start && isLeadSurrogate(source[result-1])) {
483 result--;
490 result -= start;
491 return result;
522 * <p>The result is a string whose length is 1 for non-supplementary code
533 StringBuffer result = new StringBuffer();
534 result.append(getLeadSurrogate(ch));
535 result.append(getTrailSurrogate(ch));
536 return result.toString();