/external/icu4c/common/ |
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...] |
unistr.cpp | 846 int32_t length8; local 848 u_strToUTF8WithSub(target, capacity, &length8, 853 return length8; 895 int32_t length8 = 0; local 897 u_strToUTF8WithSub(utf8, capacity, &length8, 903 utf8 = (char *)uprv_malloc(length8); 907 u_strToUTF8WithSub(utf8, length8, &length8, 917 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/icu4c/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, LENGTHOF(utf16), &length16, s, length8, &status);
|
creststn.c | 2805 int32_t length16, length8, i16, i8; local 2913 int32_t length8; local [all...] |
/external/icu4c/test/intltest/ |
usettest.cpp | 2297 int32_t length8=0; local 2323 int32_t length8, utf8Count=0; local 2651 int32_t length8; local 2675 int32_t length8; local 2763 int32_t length8; local 2786 int32_t length8; local 3244 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
ustrtest.cpp | 251 int32_t length8=from16.extract(0, 0x7fffffff, buffer, (uint32_t)sizeof(buffer)); local 252 if(length8!=((int32_t)sizeof(utf8)-1) || 0!=uprv_memcmp(buffer, utf8, sizeof(utf8))) { 255 length8=from16.extract(1, 2, buffer, (uint32_t)sizeof(buffer)); 256 if(length8!=4 || buffer[length8]!=0 || 0!=uprv_memcmp(buffer, utf8+1, length8)) { [all...] |