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

/external/icu/icu4c/source/common/
H A Ducnv_ext.cpp39 ucnv_extFindToU(const uint32_t *toUSection, int32_t length, uint8_t byte) { argument
44 start=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[0]);
45 limit=(int32_t)UCNV_EXT_TO_U_GET_BYTE(toUSection[length-1]);
52 return UCNV_EXT_TO_U_GET_VALUE(toUSection[byte-start]); /* could be 0 */
55 /* word0 is suitable for <=toUSection[] comparison, word for <toUSection[] */
80 if(word0<=toUSection[start]) {
83 if(++start<limit && word0<=toUSection[start]) {
86 if(++start<limit && word0<=toUSection[start]) {
95 if(word<toUSection[
129 const uint32_t *toUTable, *toUSection; local
[all...]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetMBCS.java1531 static int findToU(IntBuffer toUSection, int length, short byt) { argument
1536 // agljport:comment instead of receiving a start position parameter for toUSection we'll rely on its position
1538 start = TO_U_GET_BYTE(toUSection.get(toUSection.position()));
1539 limit = TO_U_GET_BYTE(toUSection.get(toUSection.position() + length - 1));
1546 return TO_U_GET_VALUE(toUSection.get(toUSection.position() + byt - start)); /* could be 0 */
1549 /* word0 is suitable for <=toUSection[] comparison, word for <toUSection[] */
[all...]

Completed in 406 milliseconds