Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dutexttst.c73 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
78 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
95 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
101 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
108 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
115 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local
123 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI()
129 TEST_ASSERT(len == u_strlen(uString)); in TestAPI()
134 TEST_ASSERT(c==uString[0]); in TestAPI()
137 TEST_ASSERT(c==uString[0]); in TestAPI()
[all …]
Duenumtst.c220 const UChar *uString = NULL; in EnumerationTest() local
225 while ((uString = uenum_unext(en, &len, &status))) { in EnumerationTest()
226 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in EnumerationTest()
291 const UChar *uString = NULL; in DefaultNextTest() local
292 while ((uString = uenum_unext(en, &len, &status))) { in DefaultNextTest()
293 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in DefaultNextTest()
Dcapitst.c1685 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { in doOverrunTest() argument
1691 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0); in doOverrunTest()
1695 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i); in doOverrunTest()
1715 UChar uString[256]; in TestSortKeyBufferOverrun() local
1718 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun()
1723 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1727 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1731 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
1737 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_.py232 uString = str()
248 uString = uString + chr(eval('0x' + valStr))
250 uString = uString + chr(byteord(string[i]))
253 return uString.encode('utf_8')
257 uString = string.decode('utf_8')
259 for uChar in uString:
/external/gptfdisk/
Dgdisk.cc17 UnicodeString uString; in main() local
/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/rust/crates/libsqlite3-sys/sqlite3/
Dsqlite3.c194604 uint32_t uString;
194605 SQLITE_ICU_READ_UTF8(zString, uString);
194606 uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT);
194608 if( uString!=uPattern ){
/external/sqlite/dist/orig/
Dsqlite3.c193843 uint32_t uString;
193844 SQLITE_ICU_READ_UTF8(zString, uString);
193845 uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT);
193847 if( uString!=uPattern ){
/external/sqlite/dist/
Dsqlite3.c193871 uint32_t uString;
193872 SQLITE_ICU_READ_UTF8(zString, uString);
193873 uString = (uint32_t)u_foldCase((UChar32)uString, U_FOLD_CASE_DEFAULT);
193875 if( uString!=uPattern ){