/external/icu/icu4c/source/test/cintltst/ |
D | utexttst.c | 67 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local 72 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI() 89 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local 95 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI() 102 TEST_ASSERT(len == u_strlen(uString)); in TestAPI() 109 UChar uString[] = {0x41, 0x42, 0x43, 0}; in TestAPI() local 117 uta = utext_openUChars(NULL, uString, -1, &status); in TestAPI() 123 TEST_ASSERT(len == u_strlen(uString)); in TestAPI() 128 TEST_ASSERT(c==uString[0]); in TestAPI() 131 TEST_ASSERT(c==uString[0]); in TestAPI() [all …]
|
D | uenumtst.c | 211 const UChar *uString = NULL; in EnumerationTest() local 216 while ((uString = uenum_unext(en, &len, &status))) { in EnumerationTest() 217 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in EnumerationTest() 282 const UChar *uString = NULL; in DefaultNextTest() local 283 while ((uString = uenum_unext(en, &len, &status))) { in DefaultNextTest() 284 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); in DefaultNextTest()
|
D | capitst.c | 1682 static void doOverrunTest(UCollator *coll, const UChar *uString, int32_t strLen) { in doOverrunTest() argument 1688 skLen = ucol_getSortKey(coll, uString, strLen, NULL, 0); in doOverrunTest() 1692 skLen2 = ucol_getSortKey(coll, uString, strLen, sortKey, i); in doOverrunTest() 1712 UChar uString[256]; in TestSortKeyBufferOverrun() local 1715 strLen = u_unescape(cString, uString, 256); in TestSortKeyBufferOverrun() 1720 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun() 1724 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun() 1728 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun() 1734 doOverrunTest(coll, uString, strLen); in TestSortKeyBufferOverrun()
|
/external/icu/icu4c/source/test/letest/ |
D | letsutil.cpp | 32 char *getCString(const UnicodeString *uString) in getCString() argument 34 if (uString == NULL) { in getCString() 38 le_int32 uLength = uString->length(); in getCString() 39 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); in getCString() 42 uString->extract(0, uLength, cString, cLength, US_INV); in getCString() 59 char *getUTF8String(const UnicodeString *uString) in getUTF8String() argument 61 if (uString == NULL) { in getUTF8String() 65 le_int32 uLength = uString->length(); in getUTF8String() 66 le_int32 cLength = uString->extract(0, uLength, NULL, 0, "UTF-8"); in getUTF8String() 69 uString->extract(0, uLength, cString, cLength, "UTF-8"); in getUTF8String()
|
D | letsutil.h | 32 char *getCString(const UnicodeString *uString); 34 char *getUTF8String(const UnicodeString *uString);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | M_E_T_A_.py | 234 uString = unicode() 250 uString = uString + unichr(eval('0x' + valStr)) 252 uString = uString + unichr(byteord(string[i])) 255 return uString.encode('utf8') 259 uString = string.decode('utf8') 261 for uChar in uString:
|
/external/gptfdisk/ |
D | gdisk.cc | 17 UnicodeString uString; in main() local
|
/external/sqlite/dist/ |
D | sqlite3.c | 157715 UChar32 uString; 157716 U8_NEXT_UNSAFE(zString, iString, uString); 157717 uString = u_foldCase(uString, U_FOLD_CASE_DEFAULT); 157719 if( uString!=uPattern ){
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 157685 UChar32 uString; 157686 U8_NEXT_UNSAFE(zString, iString, uString); 157687 uString = u_foldCase(uString, U_FOLD_CASE_DEFAULT); 157689 if( uString!=uPattern ){
|