/external/chromium_org/third_party/icu/source/test/letest/ |
letsutil.h | 30 char *getCString(const UnicodeString *uString); 32 char *getUTF8String(const UnicodeString *uString);
|
letsutil.cpp | 30 char *getCString(const UnicodeString *uString) 32 if (uString == NULL) { 36 le_int32 uLength = uString->length(); 37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); 40 uString->extract(0, uLength, cString, cLength, US_INV); 52 const UnicodeString ustring(uChars); 54 return getCString(&ustring); 57 char *getUTF8String(const UnicodeString *uString) 59 if (uString == NULL) { 63 le_int32 uLength = uString->length() [all...] |
/external/icu4c/test/letest/ |
letsutil.h | 30 char *getCString(const UnicodeString *uString); 32 char *getUTF8String(const UnicodeString *uString);
|
letsutil.cpp | 30 char *getCString(const UnicodeString *uString) 32 if (uString == NULL) { 36 le_int32 uLength = uString->length(); 37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); 40 uString->extract(0, uLength, cString, cLength, US_INV); 52 const UnicodeString ustring(uChars); 54 return getCString(&ustring); 57 char *getUTF8String(const UnicodeString *uString) 59 if (uString == NULL) { 63 le_int32 uLength = uString->length() [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
utexttst.c | 18 #include "unicode/ustring.h" 66 UChar uString[] = {0x41, 0x42, 0x43, 0}; 71 uta = utext_openUChars(NULL, uString, -1, &status); 88 UChar uString[] = {0x41, 0x42, 0x43, 0}; 94 uta = utext_openUChars(NULL, uString, -1, &status); 101 TEST_ASSERT(len == u_strlen(uString)); 108 UChar uString[] = {0x41, 0x42, 0x43, 0}; 116 uta = utext_openUChars(NULL, uString, -1, &status); 122 TEST_ASSERT(len == u_strlen(uString)); 127 TEST_ASSERT(c==uString[0]) [all...] |
uenumtst.c | 21 #include "unicode/ustring.h" 211 const UChar *uString = NULL; 216 while ((uString = uenum_unext(en, &len, &status))) { 217 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); 282 const UChar *uString = NULL; 283 while ((uString = uenum_unext(en, &len, &status))) { 284 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len);
|
capitst.c | 25 #include "unicode/ustring.h" [all...] |
/external/icu4c/test/cintltst/ |
utexttst.c | 18 #include "unicode/ustring.h" 66 UChar uString[] = {0x41, 0x42, 0x43, 0}; 71 uta = utext_openUChars(NULL, uString, -1, &status); 88 UChar uString[] = {0x41, 0x42, 0x43, 0}; 94 uta = utext_openUChars(NULL, uString, -1, &status); 101 TEST_ASSERT(len == u_strlen(uString)); 108 UChar uString[] = {0x41, 0x42, 0x43, 0}; 116 uta = utext_openUChars(NULL, uString, -1, &status); 122 TEST_ASSERT(len == u_strlen(uString)); 127 TEST_ASSERT(c==uString[0]) [all...] |
uenumtst.c | 21 #include "unicode/ustring.h" 211 const UChar *uString = NULL; 216 while ((uString = uenum_unext(en, &len, &status))) { 217 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); 282 const UChar *uString = NULL; 283 while ((uString = uenum_unext(en, &len, &status))) { 284 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len); 373 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(ustr)); 378 log_verbose("%s:%d: OK: ustring #%d got '%s'\n", __FILE__, line, i, compareToChar[i]); 382 log_err("%s:%d: FAIL: ustring #%d expected len %d got %d\n", __FILE__, line, i, strlen(compareToChar[i]), len) [all...] |
capitst.c | 25 #include "unicode/ustring.h" [all...] |
/external/chromium_org/third_party/sqlite/src/ext/icu/ |
icu.c | 36 #include <unicode/ustring.h> 132 UChar32 uString; 133 U8_NEXT_UNSAFE(zString, iString, uString); 134 uString = u_foldCase(uString, U_FOLD_CASE_DEFAULT); 136 if( uString!=uPattern ){
|