/external/icu4c/common/ |
H A D | unisetspan.cpp | 166 int32_t length8=0; local 167 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); 169 return length8; 181 int32_t length8=0; local 182 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); 184 return length8; 241 int32_t length8=getUTF8Length(s16, length16); local 242 utf8Length+=length8; 243 if(length8>maxLength8) { 244 maxLength8=length8; 327 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 365 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 975 int32_t length8; local 1155 int32_t length8; local 1447 int32_t length8; local 1490 int32_t length8; local [all...] |
H A D | unistr.cpp | 786 int32_t length8; local 788 u_strToUTF8WithSub(target, capacity, &length8, 793 return length8; 835 int32_t length8 = 0; local 837 u_strToUTF8WithSub(utf8, capacity, &length8, 843 utf8 = (char *)uprv_malloc(length8); 847 u_strToUTF8WithSub(utf8, length8, &length8, 857 sink.Append(utf8, length8);
|
H A D | ucnv.c | 479 int32_t cloneSize, length8; local 485 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); 519 length8 = length * U_SIZEOF_UCHAR; 526 if (length8 > UCNV_MAX_SUBCHAR_LEN) { 541 if (length8 == 0) { 544 uprv_memcpy(cnv->subChars, subChars, length8); 546 cnv->subCharLen = (int8_t)length8;
|
/external/icu4c/test/cintltst/ |
H A D | ucnvseltst.c | 445 int32_t length8, length16; local 447 s = text_nextString(&text, &length8); 453 s, length8, 457 s, length8, 462 verifyResult(ucnvsel_selectForUTF8(sel_rt, s, length8, &status), manual_rt); 463 verifyResult(ucnvsel_selectForUTF8(sel_fb, s, length8, &status), manual_fb); 468 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status);
|
H A D | creststn.c | 2808 int32_t length16, length8, i16, i8; local 2829 length8 = (int32_t)sizeof(buffer8); 2831 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); 2833 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2835 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2843 p8 = (char *)malloc(++length8); 2848 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); 2850 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2852 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2869 if((p8 != buffer8 || length8 < sizeo 2916 int32_t length8; local 2988 int32_t length8; local [all...] |
/external/icu4c/test/intltest/ |
H A D | usettest.cpp | 2249 int32_t length8=0; local 2250 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2252 return length8; 2275 int32_t length8, utf8Count=0; local 2282 utf8Lengths[stringsLength]=length8= 2285 if(length8==0) { 2288 s8+=length8; 2603 int32_t length8; local 2605 while((s8=iter.nextUTF8(length8))!=NULL) { 2606 if(length8! 2627 int32_t length8; local 2715 int32_t length8; local 2738 int32_t length8; local 3196 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
H A D | ustrtest.cpp | 249 int32_t length8=from16.extract(0, 0x7fffffff, buffer, (uint32_t)sizeof(buffer)); local 250 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { 253 length8=from16.extract(1, 2, buffer, (uint32_t)sizeof(buffer)); 254 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) {
|