HomeSort by relevance Sort by last modified time
    Searched refs:uString (Results 1 - 12 of 12) sorted by null

  /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/icu/icu4c/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/chromium_org/third_party/icu/source/test/cintltst/
utexttst.c 18 #include "unicode/ustring.h"
67 UChar uString[] = {0x41, 0x42, 0x43, 0};
72 uta = utext_openUChars(NULL, uString, -1, &status);
89 UChar uString[] = {0x41, 0x42, 0x43, 0};
95 uta = utext_openUChars(NULL, uString, -1, &status);
102 TEST_ASSERT(len == u_strlen(uString));
109 UChar uString[] = {0x41, 0x42, 0x43, 0};
117 uta = utext_openUChars(NULL, uString, -1, &status);
123 TEST_ASSERT(len == u_strlen(uString));
128 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/icu/icu4c/source/test/cintltst/
utexttst.c 18 #include "unicode/ustring.h"
67 UChar uString[] = {0x41, 0x42, 0x43, 0};
72 uta = utext_openUChars(NULL, uString, -1, &status);
89 UChar uString[] = {0x41, 0x42, 0x43, 0};
95 uta = utext_openUChars(NULL, uString, -1, &status);
102 TEST_ASSERT(len == u_strlen(uString));
109 UChar uString[] = {0x41, 0x42, 0x43, 0};
117 uta = utext_openUChars(NULL, uString, -1, &status);
123 TEST_ASSERT(len == u_strlen(uString));
128 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/fonttools/Lib/fontTools/ttLib/tables/
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/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 ){

Completed in 1408 milliseconds