/external/chromium_org/third_party/icu/source/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 | 798 int32_t length8; local 800 u_strToUTF8WithSub(target, capacity, &length8, 805 return length8; 847 int32_t length8 = 0; local 849 u_strToUTF8WithSub(utf8, capacity, &length8, 855 utf8 = (char *)uprv_malloc(length8); 859 u_strToUTF8WithSub(utf8, length8, &length8, 869 sink.Append(utf8, length8);
|
H A D | ucnv.c | 481 int32_t cloneSize, length8; local 487 length8 = ucnv_fromUChars(clone, chars, (int32_t)sizeof(chars), s, length, err); 521 length8 = length * U_SIZEOF_UCHAR; 528 if (length8 > UCNV_MAX_SUBCHAR_LEN) { 543 if (length8 == 0) { 546 uprv_memcpy(cnv->subChars, subChars, length8); 548 cnv->subCharLen = (int8_t)length8;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
H A D | 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);
|
H A D | creststn.c | 2817 int32_t length16, length8, i16, i8; local 2838 length8 = (int32_t)sizeof(buffer8); 2840 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); 2842 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2844 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2852 p8 = (char *)malloc(++length8); 2857 s8 = ures_getUTF8StringByIndex(resB, index, p8, &length8, forceCopy, status); 2859 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2861 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2878 if((p8 != buffer8 || length8 < sizeo 2925 int32_t length8; local [all...] |
/external/icu4c/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 | 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;
|
H A D | unistr.cpp | 844 int32_t length8; local 846 u_strToUTF8WithSub(target, capacity, &length8, 851 return length8; 893 int32_t length8 = 0; local 895 u_strToUTF8WithSub(utf8, capacity, &length8, 901 utf8 = (char *)uprv_malloc(length8); 905 u_strToUTF8WithSub(utf8, length8, &length8, 915 sink.Append(utf8, length8);
|
/external/icu4c/test/cintltst/ |
H A D | 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);
|
H A D | creststn.c | 2830 int32_t length16, length8, i16, i8; local 2851 length8 = (int32_t)sizeof(buffer8); 2853 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2855 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2857 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2865 p8 = (char *)malloc(++length8); 2870 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2872 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2874 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2891 if((p8 != buffer8 || length8 < sizeo 2938 int32_t length8; local [all...] |
/external/chromium_org/third_party/icu/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 | 2297 int32_t length8=0; local 2298 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2300 return length8; 2323 int32_t length8, utf8Count=0; local 2330 utf8Lengths[stringsLength]=length8= 2333 if(length8==0) { 2336 s8+=length8; 2651 int32_t length8; local 2653 while((s8=iter.nextUTF8(length8))!=NULL) { 2654 if(length8! 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...] |
/external/icu4c/test/intltest/ |
H A D | 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)) {
|
H A D | usettest.cpp | 2297 int32_t length8=0; local 2298 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2300 return length8; 2323 int32_t length8, utf8Count=0; local 2330 utf8Lengths[stringsLength]=length8= 2333 if(length8==0) { 2336 s8+=length8; 2645 int32_t length8; local 2647 while((s8=iter.nextUTF8(length8))!=NULL) { 2648 if(length8! 2666 int32_t length8; local 2748 int32_t length8; local 2768 int32_t length8; local 3226 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |