/external/icu4c/common/ |
H A D | unisetspan.cpp | 229 int32_t length16=string.length(); local 231 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); 232 if(spanLength<length16) { // Relevant string. 237 if((which&UTF16) && length16>maxLength16) { 238 maxLength16=length16; 241 int32_t length8=getUTF8Length(s16, length16); 309 int32_t length16=string.length(); local 310 spanLength=spanSet.span(s16, length16, USET_SPAN_CONTAINED); 311 if(spanLength<length16) { // Relevant string. 318 spanLength=length16 656 int32_t length16=string.length(); local 695 int32_t length16=string.length(); local 820 int32_t length16=string.length(); local 861 int32_t length16=string.length(); local 1364 int32_t length16=string.length(); local 1407 int32_t length16=string.length(); local [all...] |
H A D | unistr.cpp | 429 int32_t length16; local 431 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, 436 result.releaseBuffer(length16); 438 capacity = length16 + 1; // +1 for the terminating NUL. 839 int32_t length16 = length(); local 840 if(length16 != 0) { 844 char *utf8 = sink.GetAppendBuffer(length16 < capacity ? length16 : capacity, 845 3*length16, 851 getBuffer(), length16, 1172 int32_t length16; local [all...] |
H A D | uresbund.c | 1191 ures_toUTF8String(const UChar *s16, int32_t length16, argument 1210 if (length16 == 0) { 1223 if (capacity < length16) { 1225 return u_strToUTF8(NULL, 0, pLength, s16, length16, status); 1227 if (!forceCopy && (length16 <= 0x2aaaaaaa)) { 1242 int32_t maxLength = 3 * length16 + 1; 1248 return u_strToUTF8(dest, capacity, pLength, s16, length16, status); 1257 int32_t length16; local 1258 const UChar *s16 = ures_getString(resB, &length16, status); 1259 return ures_toUTF8String(s16, length16, des 1579 int32_t length16; local 1911 int32_t length16; local [all...] |
/external/icu4c/test/cintltst/ |
H A D | trie2test.c | 1333 int32_t length16, length32; local 1356 length16=utrie_serialize(newTrie1_16, memory1_16, sizeof(memory1_16), 1360 utrie_unserialize(&trie1_16, memory1_16, length16, &errorCode);
|
H A D | ucnvseltst.c | 449 int32_t length8, length16; local 472 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status); 482 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt); 483 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb);
|
H A D | creststn.c | 2828 int32_t length16, length8, i16, i8; local 2832 length = &length16; 2844 length16 = *length; 2895 while(i16 < length16 && i8 < length8) { 2896 U16_NEXT(s16, i16, length16, c16); 2904 if(i16 < length16) { 2905 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too short, length8=%ld, length16=%ld\n", 2906 resB, (long)index, key, (long)length8, (long)length16); 2909 log_err("ures_getUTF8String(%p, %ld, '%s') UTF-8 string too long, length8=%ld, length16=%ld\n", 2910 resB, (long)index, key, (long)length8, (long)length16); [all...] |
/external/icu4c/test/intltest/ |
H A D | usettest.cpp | 3211 const UChar *s16, int32_t length16, 3220 testSpan(sets, s16, length16, TRUE, whichSpans, expectLimits, expectCount, testName, index); 3230 const UChar *s16Limit=s16+length16; 3250 if(expect==length16) { 3791 int32_t length16=string16.length(); local 3811 length16=string16.length(); 3828 length16=string16.length(); 3210 testSpanBothUTFs(const UnicodeSetWithStrings *sets[4], const UChar *s16, int32_t length16, uint32_t whichSpans, const char *testName, int32_t index) argument
|