Home
last modified time | relevance | path

Searched refs:length8 (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/common/
Dunisetspan.cpp166 int32_t length8=0; in getUTF8Length() local
167 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); in getUTF8Length()
169 return length8; in getUTF8Length()
181 int32_t length8=0; in appendUTF8() local
182 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); in appendUTF8()
184 return length8; in appendUTF8()
241 int32_t length8=getUTF8Length(s16, length16); in UnicodeSetStringSpan() local
242 utf8Length+=length8; in UnicodeSetStringSpan()
243 if(length8>maxLength8) { in UnicodeSetStringSpan()
244 maxLength8=length8; in UnicodeSetStringSpan()
[all …]
Ducnv.c479 int32_t cloneSize, length8; in ucnv_setSubstString() local
485 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); in ucnv_setSubstString()
519 length8 = length * U_SIZEOF_UCHAR; in ucnv_setSubstString()
526 if (length8 > UCNV_MAX_SUBCHAR_LEN) { in ucnv_setSubstString()
541 if (length8 == 0) { in ucnv_setSubstString()
544 uprv_memcpy(cnv->subChars, subChars, length8); in ucnv_setSubstString()
546 cnv->subCharLen = (int8_t)length8; in ucnv_setSubstString()
/external/icu4c/test/intltest/
Dusettest.cpp2235 int32_t length8=0; in appendUTF8() local
2236 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); in appendUTF8()
2238 return length8; in appendUTF8()
2261 int32_t length8, utf8Count=0; in UnicodeSetWithStrings() local
2268 utf8Lengths[stringsLength]=length8= in UnicodeSetWithStrings()
2271 if(length8==0) { in UnicodeSetWithStrings()
2274 s8+=length8; in UnicodeSetWithStrings()
2589 int32_t length8; in containsSpanUTF8() local
2591 while((s8=iter.nextUTF8(length8))!=NULL) { in containsSpanUTF8()
2592 if(length8!=0 && length8<=(length-start) && 0==memcmp(s+start, s8, length8)) { in containsSpanUTF8()
[all …]
/external/icu4c/test/cintltst/
Dcreststn.c2801 int32_t length16, length8, i16, i8; in tres_getString() local
2822 length8 = (int32_t)sizeof(buffer8); in tres_getString()
2824 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); in tres_getString()
2826 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString()
2828 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString()
2836 p8 = (char *)malloc(++length8); in tres_getString()
2841 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); in tres_getString()
2843 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); in tres_getString()
2845 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); in tres_getString()
2862 if((p8 != buffer8 || length8 < sizeof(buffer8)) && s8[length8] != 0) { in tres_getString()
[all …]