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

  /external/icu/icu4c/source/test/letest/
letsutil.h 34 char *getCString(const UnicodeString *uString);
36 char *getUTF8String(const UnicodeString *uString);
letsutil.cpp 34 char *getCString(const UnicodeString *uString)
36 if (uString == NULL) {
40 le_int32 uLength = uString->length();
41 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV);
44 uString->extract(0, uLength, cString, cLength, US_INV);
56 const UnicodeString ustring(uChars);
58 return getCString(&ustring);
61 char *getUTF8String(const UnicodeString *uString)
63 if (uString == NULL) {
67 le_int32 uLength = uString->length()
    [all...]
  /external/icu/icu4c/source/test/cintltst/
utexttst.c 20 #include "unicode/ustring.h"
69 UChar uString[] = {0x41, 0x42, 0x43, 0};
74 uta = utext_openUChars(NULL, uString, -1, &status);
91 UChar uString[] = {0x41, 0x42, 0x43, 0};
97 uta = utext_openUChars(NULL, uString, -1, &status);
104 TEST_ASSERT(len == u_strlen(uString));
111 UChar uString[] = {0x41, 0x42, 0x43, 0};
119 uta = utext_openUChars(NULL, uString, -1, &status);
125 TEST_ASSERT(len == u_strlen(uString));
130 TEST_ASSERT(c==uString[0])
    [all...]
uenumtst.c 23 #include "unicode/ustring.h"
213 const UChar *uString = NULL;
218 while ((uString = uenum_unext(en, &len, &status))) {
219 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len);
284 const UChar *uString = NULL;
285 while ((uString = uenum_unext(en, &len, &status))) {
286 log_verbose("read \"%s\" (UChar), length %i\n", quikU2C(uString, len), len);
375 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(ustr));
380 log_verbose("%s:%d: OK: ustring #%d got '%s'\n", __FILE__, line, i, compareToChar[i]);
384 log_err("%s:%d: FAIL: ustring #%d expected len %d got %d\n", __FILE__, line, i, strlen(compareToChar[i]), len)
    [all...]
capitst.c 27 #include "unicode/ustring.h"
    [all...]
  /external/gptfdisk/
gdisk.cc 17 UnicodeString uString;
  /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:

Completed in 888 milliseconds