Home
last modified time | relevance | path

Searched refs:toUSection (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_ext.cpp39 ucnv_extFindToU(const uint32_t *toUSection, int32_t length, uint8_t byte) { in ucnv_extFindToU() argument
44 start=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[0]); in ucnv_extFindToU()
45 limit=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[length-1]); in ucnv_extFindToU()
52 return UCNV_EXT_TO_U_GET_VALUE(toUSection[byte-start]); /* could be 0 */ in ucnv_extFindToU()
80 if(word0<=toUSection[start]) { in ucnv_extFindToU()
83 if(++start<limit && word0<=toUSection[start]) { in ucnv_extFindToU()
86 if(++start<limit && word0<=toUSection[start]) { in ucnv_extFindToU()
95 if(word<toUSection[i]) { in ucnv_extFindToU()
103 if(start<limit && byte==UCNV_EXT_TO_U_GET_BYTE(word=toUSection[start])) { in ucnv_extFindToU()
129 const uint32_t *toUTable, *toUSection; in ucnv_extMatchToU() local
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1531 static int findToU(IntBuffer toUSection, int length, short byt) { in findToU() argument
1538 start = TO_U_GET_BYTE(toUSection.get(toUSection.position())); in findToU()
1539 limit = TO_U_GET_BYTE(toUSection.get(toUSection.position() + length - 1)); in findToU()
1546 … return TO_U_GET_VALUE(toUSection.get(toUSection.position() + byt - start)); /* could be 0 */ in findToU()
1572 …if (word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MAS… in findToU()
1576 …&& word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK… in findToU()
1580 …&& word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK… in findToU()
1589 … if (word < (toUSection.get(toUSection.position() + i) & UConverterConstants.UNSIGNED_INT_MASK)) { in findToU()
1598 … word = (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK); in findToU()
1716 IntBuffer toUTable, toUSection; in matchToU() local
[all …]