/external/icu/icu4c/source/test/cintltst/ |
H A D | ucnvseltst.c | 447 int32_t length8, length16; local 449 s = text_nextString(&text, &length8); 455 s, length8, 459 s, length8, 464 verifyResult(ucnvsel_selectForUTF8(sel_rt, s, length8, &status), manual_rt); 465 verifyResult(ucnvsel_selectForUTF8(sel_fb, s, length8, &status), manual_fb); 470 u_strFromUTF8(utf16, UPRV_LENGTHOF(utf16), &length16, s, length8, &status);
|
H A D | creststn.c | 2874 int32_t length16, length8, i16, i8; local 2895 length8 = (int32_t)sizeof(buffer8); 2897 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2899 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2901 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2909 p8 = (char *)malloc(++length8); 2914 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2916 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2918 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2935 if((p8 != buffer8 || length8 < sizeo 2982 int32_t length8; local [all...] |
/external/icu/icu4c/source/common/ |
H A D | unisetspan.cpp | 168 int32_t length8=0; local 169 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); 171 return length8; 183 int32_t length8=0; local 184 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); 186 return length8; 243 int32_t length8=getUTF8Length(s16, length16); local 244 utf8Length+=length8; 245 if(length8>maxLength8) { 246 maxLength8=length8; 329 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 367 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 977 int32_t length8; local 1157 int32_t length8; local 1449 int32_t length8; local 1492 int32_t length8; local [all...] |
H A D | ucnv.c | 491 int32_t cloneSize, length8; local 497 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); 531 length8 = length * U_SIZEOF_UCHAR; 538 if (length8 > UCNV_MAX_SUBCHAR_LEN) { 553 if (length8 == 0) { 556 uprv_memcpy(cnv->subChars, subChars, length8); 558 cnv->subCharLen = (int8_t)length8;
|
H A D | unistr.cpp | 815 int32_t length8; local 817 u_strToUTF8WithSub(target, capacity, &length8, 822 return length8; 864 int32_t length8 = 0; local 866 u_strToUTF8WithSub(utf8, capacity, &length8, 872 utf8 = (char *)uprv_malloc(length8); 876 u_strToUTF8WithSub(utf8, length8, &length8, 886 sink.Append(utf8, length8);
|
/external/icu/icu4c/source/test/intltest/ |
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)) {
|
H A D | usettest.cpp | 2296 int32_t length8=0; local 2297 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2299 return length8; 2322 int32_t length8, utf8Count=0; local 2329 utf8Lengths[stringsLength]=length8= 2332 if(length8==0) { 2335 s8+=length8; 2641 int32_t length8; local 2643 while((s8=iter.nextUTF8(length8))!=NULL) { 2644 if(length8! 2662 int32_t length8; local 2744 int32_t length8; local 2764 int32_t length8; local 3222 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
/external/icu/icu4c/source/test/perf/collperf2/ |
H A D | collperf2.cpp | 1363 int32_t length8; local 1364 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); 1370 int32_t capacity8 = length8 + 1; // plus terminal NULL
|