Home | History | Annotate | Download | only in i18n

Lines Matching refs:schar

2499         UChar     schar,
2528 schar = getNextNormalizedChar(source);
2530 while (schar > (tchar = *UCharOffset)) {
2534 if (schar != tchar) {
2537 buffer.append(schar);
2541 if (u_getCombiningClass(schar) ==
2543 buffer.append(schar);
2779 UChar schar, tchar;
2796 schar = getPrevNormalizedChar(source, status);
2799 while(schar > (tchar = *UCharOffset)) { /* since the contraction codepoints should be ordered, we skip all that are smaller */
2803 if (schar == tchar) {
2843 UChar schar, tchar;
2870 schar = getNextNormalizedChar(source);
2871 while(schar > (tchar = *UCharOffset)) { /* since the contraction codepoints should be ordered, we skip all that are smaller */
2875 if (schar == tchar) {
2892 UChar32 miss = schar;
2896 if(U16_IS_LEAD(schar) && source->iterator->hasNext(source->iterator)) {
2900 miss = U16_GET_SUPPLEMENTARY(schar, surrNextChar);
2905 } else if (U16_IS_LEAD(schar)) {
2906 miss = U16_GET_SUPPLEMENTARY(schar, getNextNormalizedChar(source));
2932 /* find the next character if schar is not a base character
2949 } // else after if(schar == tchar)
3408 UChar schar;
3434 UChar schar, tchar;
3448 schar = getPrevNormalizedChar(source, status);
3451 while(schar > (tchar = *UCharOffset)) { /* since the contraction codepoints should be ordered, we skip all that are smaller */
3455 if (schar == tchar) {
3467 uint32_t isZeroCE = UTRIE_GET32_FROM_LEAD(&coll->mapping, schar);
3471 } else if(U16_IS_SURROGATE(schar)) {
3474 // 1. beginning of the string: schar is a lone surrogate
3475 // 2. schar is a lone surrogate
3476 // 3. schar is a trail surrogate in a valid surrogate sequence
3480 if(!U16_IS_SURROGATE_LEAD(schar) && U16_IS_LEAD(lead = getPrevNormalizedChar(source, status))) {
3483 uint32_t finalCE = UTRIE_GET32_FROM_OFFSET_TRAIL(&coll->mapping, isZeroCE&0xFFFFFF, schar);
3524 schar = peekCodeUnit(source, 0);
3539 while (ucol_unsafeCP(schar, coll)) {
3540 *(UCharOffset) = schar;
3543 schar = getPrevNormalizedChar(source, status);
3579 *(UCharOffset) = schar;
7691 UChar schar = 0, tchar = 0;
7698 schar = s[*index];
7704 schar = s[*index];
7708 while(schar > (tchar = *(UCharOffset+offset))) { /* since the contraction codepoints should be ordered, we skip all that are smaller */
7712 if (schar == tchar) {
7718 if(schar & 0xFF00 /*> UCOL_ENDOFLATIN1RANGE*/) {
7722 uint32_t isZeroCE = UTRIE_GET32_FROM_LEAD(&coll->mapping, schar);
7755 UChar sChar = 0, tChar = 0;
7770 sChar=source[sIndex++];
7771 if(sChar==0) {
7780 sChar=source[sIndex++];
7782 if(sChar&0xFF00) { // if we encounter non-latin-1, we bail out (sChar > 0xFF, but this is faster on win32)
7786 sOrder = elements[sChar];
7828 if(tChar&0xFF00) { // if we encounter non-latin-1, we bail out (sChar > 0xFF, but this is faster on win32)
7892 sChar=source[sIndex++];
7893 sOrder = elements[sChar];
7946 sChar=source[--sIndex];
7947 sOrder = elements[sChar];
7998 sChar=source[sIndex++];
7999 sOrder = elements[sChar];
8099 UChar32 schar = 0, tchar = 0;
8105 U8_GET_OR_FFFD((const uint8_t*)s, 0, *index, len, schar);
8106 if (len < 0 && schar == 0) {
8110 while(schar > (tchar = *(UCharOffset+offset))) { /* since the contraction codepoints should be ordered, we skip all that are smaller */
8114 if (schar == tchar) {
8120 if(schar & 0xFF00 /*> UCOL_ENDOFLATIN1RANGE*/) {
8124 uint32_t isZeroCE = UTRIE_GET32_FROM_LEAD(&coll->mapping, schar);
8148 UChar32 sChar = 0, tChar = 0;
8166 U8_NEXT_OR_FFFD(source, sIndex, sLen ,sChar);
8167 sChar == 0) {
8172 if(sChar&0xFFFFFF00) { // if we encounter non-latin-1, we bail out (sChar > 0xFF, but this is faster on win32)
8176 sOrder = elements[sChar];
8211 if(tChar&0xFFFFFF00) { // if we encounter non-latin-1, we bail out (sChar > 0xFF, but this is faster on win32)
8276 U8_NEXT_OR_FFFD(source, sIndex, sLen, sChar);
8277 U_ASSERT(sChar >= 0 && sChar <= 0xFF);
8278 sOrder = elements[sChar];
8333 U8_PREV_OR_FFFD(source, 0, sIndex, sChar);
8334 U_ASSERT(sChar >= 0 && sChar <= 0xFF);
8335 sOrder = elements[sChar];
8388 U8_NEXT_OR_FFFD(source, sIndex, sLen, sChar);
8389 U_ASSERT(sChar >= 0 && sChar <= 0xFF);
8390 sOrder = elements[sChar];
8488 UChar32 sChar = U_SENTINEL, tChar = U_SENTINEL;
8490 while((sChar = sColl.iterator->next(sColl.iterator)) ==
8492 if(sChar == U_SENTINEL) {
8498 if(sChar == U_SENTINEL) {
8503 sChar = sColl.iterator->previous(sColl.iterator);
8506 sChar = sColl.iterator->previous(sColl.iterator);
8509 if (ucol_unsafeCP((UChar)sChar, coll) || ucol_unsafeCP((UChar)tChar, coll))
8516 sChar = sColl.iterator->previous(sColl.iterator);
8519 while (sChar != U_SENTINEL && ucol_unsafeCP((UChar)sChar, coll));