/external/chromium_org/third_party/icu/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 | unistr.cpp | 840 int32_t length8; local 842 u_strToUTF8WithSub(target, capacity, &length8, 847 return length8; 889 int32_t length8 = 0; local 891 u_strToUTF8WithSub(utf8, capacity, &length8, 897 utf8 = (char *)uprv_malloc(length8); 901 u_strToUTF8WithSub(utf8, length8, &length8, 911 sink.Append(utf8, length8);
|
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;
|
/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 | unistr.cpp | 840 int32_t length8; local 842 u_strToUTF8WithSub(target, capacity, &length8, 847 return length8; 889 int32_t length8 = 0; local 891 u_strToUTF8WithSub(utf8, capacity, &length8, 897 utf8 = (char *)uprv_malloc(length8); 901 u_strToUTF8WithSub(utf8, length8, &length8, 911 sink.Append(utf8, length8);
|
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;
|
/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 | 2873 int32_t length16, length8, i16, i8; local 2894 length8 = (int32_t)sizeof(buffer8); 2896 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2898 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2900 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2908 p8 = (char *)malloc(++length8); 2913 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2915 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2917 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2934 if((p8 != buffer8 || length8 < sizeo 2981 int32_t length8; local [all...] |
/external/icu/icu4c/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 | 2878 int32_t length16, length8, i16, i8; local 2899 length8 = (int32_t)sizeof(buffer8); 2901 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2903 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2905 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2913 p8 = (char *)malloc(++length8); 2918 s8 = ures_getUTF8StringByIndex(resB, idx, p8, &length8, forceCopy, status); 2920 s8 = ures_getUTF8StringByKey(resB, key, p8, &length8, forceCopy, status); 2922 s8 = ures_getUTF8String(resB, p8, &length8, forceCopy, status); 2939 if((p8 != buffer8 || length8 < sizeo 2986 int32_t length8; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | usettest.cpp | 2298 int32_t length8=0; local 2299 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2301 return length8; 2324 int32_t length8, utf8Count=0; local 2331 utf8Lengths[stringsLength]=length8= 2334 if(length8==0) { 2337 s8+=length8; 2643 int32_t length8; local 2645 while((s8=iter.nextUTF8(length8))!=NULL) { 2646 if(length8! 2664 int32_t length8; local 2746 int32_t length8; local 2766 int32_t length8; local 3224 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
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)) {
|
/external/icu/icu4c/source/test/intltest/ |
H A D | usettest.cpp | 2298 int32_t length8=0; local 2299 u_strToUTF8(t, capacity, &length8, s, length, &errorCode); 2301 return length8; 2324 int32_t length8, utf8Count=0; local 2331 utf8Lengths[stringsLength]=length8= 2334 if(length8==0) { 2337 s8+=length8; 2643 int32_t length8; local 2645 while((s8=iter.nextUTF8(length8))!=NULL) { 2646 if(length8! 2664 int32_t length8; local 2746 int32_t length8; local 2766 int32_t length8; local 3224 int32_t length8=(int32_t)(t-(char *)s8); local [all...] |
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)) {
|
/external/icu/icu4c/source/test/perf/collperf2/ |
H A D | collperf2.cpp | 1483 int32_t length8; local 1484 u_strToUTF8(NULL, 0, &length8, s16, length16, &status); 1490 int32_t capacity8 = length8 + 1; // plus terminal NULL
|