Home
last modified time | relevance | path

Searched refs:uString (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dutexttst.c69 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
74 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
91 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
97 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
104 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
111 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
119 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
125 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
130 TEST_ASSERT(c==uString[0]); in TestAPI()
133 TEST_ASSERT(c==uString[0]); in TestAPI()
[all …]
Duenumtst.c213 const UChar *uString = NULL; in EnumerationTest() local
218 while ((uString = uenum_unext(en, &len, &status))) { in EnumerationTest()
219 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in EnumerationTest()
284 const UChar *uString = NULL; in DefaultNextTest() local
285 while ((uString = uenum_unext(en, &len, &status))) { in DefaultNextTest()
286 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in DefaultNextTest()
Dcapitst.c1684 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { in doOverrunTest() argument
1690 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0); in doOverrunTest()
1694 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i); in doOverrunTest()
1714 UChar uString[256]; in TestSortKeyBufferOverrun() local
1717 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1722 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1726 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1730 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1736 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
/external/icu/icu4c/source/test/letest/
Dletsutil.cpp34 char *getCString(const UnicodeString *uString) in getCString() argument
36 if (uString == NULL) { in getCString()
40 le_int32 uLength = uString->length(); in getCString()
41 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); in getCString()
44 uString->extract(0, uLength, cString, cLength, US_INV); in getCString()
61 char *getUTF8String(const UnicodeString *uString) in getUTF8String() argument
63 if (uString == NULL) { in getUTF8String()
67 le_int32 uLength = uString->length(); in getUTF8String()
68 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8"); in getUTF8String()
71 uString->extract(0, uLength, cString, cLength, "UTF-8"); in getUTF8String()
Dletsutil.h34 char *getCString(const UnicodeString *uString);
36 char *getUTF8String(const UnicodeString *uString);
/external/fonttools/Lib/fontTools/ttLib/tables/
DM_E_T_A_.py233 uString = unicode()
249 uString = uString + unichr(eval('0x' + valStr))
251 uString = uString + unichr(byteord(string[i]))
254 return uString.encode('utf_8')
258 uString = string.decode('utf_8')
260 for uChar in uString:
/external/cldr/tools/c/genldml/
Dgenldml.h97 void printString( UnicodeString* uString, FILE* file);
98 void printString( UnicodeString* uString);
Dgenldml.cpp391 void GenerateXML::printString(UnicodeString* uString){ in printString() argument
392 printString(uString,mFile); in printString()
394 void GenerateXML::printString(UnicodeString* uString, FILE* file){ in printString() argument
400 const UChar* src = uString->getBuffer(); in printString()
401 int32_t srcLen=uString->length(); in printString()
414 uString->releaseBuffer(); in printString()
/external/gptfdisk/
Dgdisk.cc17 UnicodeString uString; in main() local
/external/sqlite/dist/orig/
Dsqlite3.c171482 uint32_t uString;
171483 SQLITE_ICU_READ_UTF8(zString, uString);
171484 uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT);
171486 if( uString!=uPattern ){
/external/sqlite/dist/
Dsqlite3.c171510 uint32_t uString;
171511 SQLITE_ICU_READ_UTF8(zString, uString);
171512 uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT);
171514 if( uString!=uPattern ){