/external/icu/icu4c/source/common/ |
unisetspan.cpp | 170 int32_t length8=0; local 171 u_strToUTF8(NULL, 0, &length8, s, length, &errorCode); 173 return length8; 185 int32_t length8=0; local 186 u_strToUTF8((char *)t, capacity, &length8, s, length, &errorCode); 188 return length8; 245 int32_t length8=getUTF8Length(s16, length16); local 246 utf8Length+=length8; 247 if(length8>maxLength8) { 248 maxLength8=length8; 331 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 369 int32_t length8=appendUTF8(s16, length16, s8, utf8Length-utf8Count); local 979 int32_t length8; local 1159 int32_t length8; local 1451 int32_t length8; local 1494 int32_t length8; local [all...] |
unistr.cpp | 931 int32_t length8; local 933 u_strToUTF8WithSub(target, capacity, &length8, 938 return length8; 980 int32_t length8 = 0; local 982 u_strToUTF8WithSub(utf8, capacity, &length8, 988 utf8 = (char *)uprv_malloc(length8); 992 u_strToUTF8WithSub(utf8, length8, &length8, 1002 sink.Append(utf8, length8); [all...] |
ucnv.c | 483 int32_t cloneSize, length8; local 489 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); 523 length8 = length * U_SIZEOF_UCHAR; 530 if (length8 > UCNV_MAX_SUBCHAR_LEN) { 545 if (length8 == 0) { 548 uprv_memcpy(cnv->subChars, subChars, length8); 550 cnv->subCharLen = (int8_t)length8; [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ucnvseltst.c | 449 int32_t length8, length16; local 451 s = text_nextString(&text, &length8); 457 s, length8, 461 s, length8, 466 verifyResult(ucnvsel_selectForUTF8(sel_rt, s, length8, &status), manual_rt); 467 verifyResult(ucnvsel_selectForUTF8(sel_fb, s, length8, &status), manual_fb); 472 u_strFromUTF8(utf16, UPRV_LENGTHOF(utf16), &length16, s, length8, &status);
|
creststn.c | 2877 int32_t length16, length8, i16, i8; local 2985 int32_t length8; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
usettest.cpp | 2353 int32_t length8=0; local 2379 int32_t length8, utf8Count=0; local 2698 int32_t length8; local 2719 int32_t length8; local 2801 int32_t length8; local 2821 int32_t length8; local 3279 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
ustrtest.cpp | 243 int32_t length8=from16.extract(0, 0x7fffffff, buffer, (uint32_t)sizeof(buffer)); local 244 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { 247 length8=from16.extract(1, 2, buffer, (uint32_t)sizeof(buffer)); 248 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { [all...] |
/external/icu/icu4c/source/test/perf/collperf2/ |
collperf2.cpp | 1367 int32_t length8; local [all...] |