Searched defs:cLength (Results 1 - 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/letest/
H A Dletsutil.cpp41 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); local
42 char *cString = NEW_ARRAY(char, cLength + 1);
44 uString->extract(0, uLength, cString, cLength, US_INV);
45 cString[cLength] = '\0';
68 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8"); local
69 char *cString = NEW_ARRAY(char, cLength + 1);
71 uString->extract(0, uLength, cString, cLength, "UTF-8");
73 cString[cLength] = '\0';
/external/icu/icu4c/source/test/cintltst/
H A Ducsdetst.c170 int32_t beLength = 0, leLength = 0, cLength = UPRV_LENGTHOF(chars); local
171 char *beBytes = extractBytes(chars, cLength, "UTF-16BE", &beLength);
172 char *leBytes = extractBytes(chars, cLength, "UTF-16LE", &leLength);
474 int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_reverse); local
476 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength);
552 int32_t bLength = 0, brLength = 0, cLength = UPRV_LENGTHOF(chars), crLength = UPRV_LENGTHOF(chars_reverse); local
554 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength);
/external/icu/icu4c/source/test/intltest/
H A Ducharstrietest.cpp840 int32_t cLength=U16_LENGTH(c); local
841 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0;
H A Dtstnorm.cpp1357 int32_t cLength=s.length(); local
1372 s.truncate(cLength);
/external/icu/icu4c/source/i18n/
H A Dcollationdatabuilder.cpp549 int32_t cLength = U16_LENGTH(c); local
551 UBool hasContext = !prefix.isEmpty() || s.length() > cLength;
588 UnicodeString suffix(s, cLength);
/external/icu/icu4c/source/common/
H A Dunistr.cpp1871 int32_t cLength = 0; local
1873 U16_APPEND(buffer, cLength, U16_MAX_LENGTH, c, isError);
1874 return !isError && str.doAppend(buffer, 0, cLength).isWritable();

Completed in 227 milliseconds