Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnv_ext.cpp36 ucnv_extFindToU(const uint32_t *toUSection, int32_t length, uint8_t byte) { in ucnv_extFindToU() argument
41 start=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[0]); in ucnv_extFindToU()
42 limit=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[length-1]); in ucnv_extFindToU()
49 return UCNV_EXT_TO_U_GET_VALUE(toUSection[byte-start]); /* could be 0 */ in ucnv_extFindToU()
77 if(word0<=toUSection[start]) { in ucnv_extFindToU()
80 if(++start<limit && word0<=toUSection[start]) { in ucnv_extFindToU()
83 if(++start<limit && word0<=toUSection[start]) { in ucnv_extFindToU()
92 if(word<toUSection[i]) { in ucnv_extFindToU()
100 if(start<limit && byte==UCNV_EXT_TO_U_GET_BYTE(word=toUSection[start])) { in ucnv_extFindToU()
126 const uint32_t *toUTable, *toUSection; in ucnv_extMatchToU() local
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java1537 static int findToU(IntBuffer toUSection, int length, short byt) { in findToU() argument
1544 start = TO_U_GET_BYTE(toUSection.get(toUSection.position())); in findToU()
1545 limit = TO_U_GET_BYTE(toUSection.get(toUSection.position() + length - 1)); in findToU()
1552 … return TO_U_GET_VALUE(toUSection.get(toUSection.position() + byt - start)); /* could be 0 */ in findToU()
1578 …if (word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MAS… in findToU()
1582 …&& word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK… in findToU()
1586 …&& word0 <= (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK… in findToU()
1595 … if (word < (toUSection.get(toUSection.position() + i) & UConverterConstants.UNSIGNED_INT_MASK)) { in findToU()
1604 … word = (toUSection.get(toUSection.position() + start) & UConverterConstants.UNSIGNED_INT_MASK); in findToU()
1721 IntBuffer toUTable, toUSection; in matchToU() local
[all …]