/external/clang/test/SemaCXX/ |
cxx0x-type-convert-construct.cpp | 6 char16_t *ustr; local 7 ustr = u"a UTF-16 string"; // expected-error {{assigning to 'char16_t *' from incompatible type 'const char16_t [16]'}} 8 char32_t *Ustr; 9 Ustr = U"a UTF-32 string"; // expected-error {{assigning to 'char32_t *' from incompatible type 'const char32_t [16]'}}
|
/external/icu/icu4c/source/test/cintltst/ |
cposxtst.c | 78 const UChar* ustr; local 83 ustr = u_catgets(catd, set_num, msg_num, FAIL, &len, &ec); 84 u_austrcpy(str, ustr); 90 if (u_strcmp(ustr, exp) != 0) {
|
uenumtst.c | 360 const UChar *ustr = uenum_unext(u,&len, &status); local 365 if(ustr==NULL) { 371 if(u_strncmp(ustr,buf,len)) { 373 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(ustr)); 374 for(j=0;ustr[j]&&buf[j];j++) { 375 log_verbose(" @ %d\t<U+%04X> vs <U+%04X>\n", j, ustr[j],buf[j]); 389 if(u_strcmp(ustr,compareToUChar[i])) { 391 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, austrdup(compareToUChar[i]), austrdup(ustr)); 392 for(j=0;ustr[j]&&compareToUChar[j];j++) { 393 log_verbose(" @ %d\t<U+%04X> vs <U+%04X>\n", j, ustr[j],compareToUChar[j]) [all...] |
usettest.c | 256 UChar ustr[4096]; local 262 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec); 267 pat=aescstrdup(ustr, length); 281 u_charsToUChars(stringStart, ustr, stringLength); 283 if (uset_containsString(set, ustr, stringLength) == isIn) { 297 u_charsToUChars(p, ustr, 1); 298 c = ustr[0]; 357 UChar ustr[4096], itemStr[4096]; local 368 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec) [all...] |
custrtrn.c | 1400 UChar ustr[] = {'h', 'e', 'l', 'l', 'o', 0}; local [all...] |
cmsccoll.c | 3512 UChar ustr[256]; local 3996 UChar ustr[256]; local [all...] |
/external/icu/icu4c/source/common/ |
uenum.c | 91 UChar *ustr = NULL; local 96 ustr = (UChar*) _getBuffer(en, (len+1) * sizeof(UChar)); 97 if (ustr == NULL) { 100 u_charsToUChars(cstr, ustr, len+1); 109 return ustr;
|
listformatter.cpp | 209 const UChar* ustr = ures_getStringByKeyWithFallback(rb, key, &len, &errorCode); local 213 result.setTo(ustr, len);
|
/external/libpcap/missing/ |
snprintf.c | 607 unsigned char *ustr = (unsigned char *)str; local 611 state.str = ustr; 612 state.s = ustr; 613 state.theend = ustr + sz - 1;
|
/external/selinux/libsemanage/src/ |
utilities.c | 29 #include <ustr.h> 80 Ustr *ustr = USTR_NULL, *temp = USTR_NULL; local 84 if (!(ustr = ustr_dup_cstr(str))) 87 ustr_split_spn_chrs(ustr, &off, seps, slen, USTR_NULL, 94 rside_len = ustr_len(ustr) - off; 95 temp = ustr_dup_subustr(ustr, off + 1, rside_len); 102 ustr_sc_free(&ustr); 108 Ustr *ustr = USTR_NULL, *temp = USTR_NULL local [all...] |
/external/tcpdump/missing/ |
snprintf.c | 607 unsigned char *ustr = (unsigned char *)str; local 611 state.str = ustr; 612 state.s = ustr; 613 state.theend = ustr + sz - 1;
|
/external/icu/icu4c/source/test/iotest/ |
stream.cpp | 132 UnicodeString ustr("string"); 134 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; local 305 UnicodeString UStr; 308 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL); 309 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF); 310 UStr = UnicodeString(expectedResultC); 311 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL); 312 testString(UStr, u_austrcpy(testcase, testCase4), expectedResultD, IOSTREAM_EOF); 313 testString(UStr, u_austrcpy(testcase, testCase5), expectedResultD, IOSTREAM_GOOD); 314 testString(UStr, u_austrcpy(testcase, testCase6), expectedResultD, IOSTREAM_GOOD) [all...] |
/external/icu/icu4c/source/i18n/ |
region.cpp | 486 const UnicodeString *ustr = pv->snext(status); local 487 r = (Region *)uhash_get(regionIDMap,(void *)ustr); 534 const UnicodeString *ustr = pv->snext(status); local 535 r = (Region *)uhash_get(regionIDMap,(void *)ustr);
|
/external/strace/ |
util.c | 554 const unsigned char *ustr = (const unsigned char *) instr; local 571 c = ustr[i]; 597 c = ustr[i]; 608 c = ustr[i]; 644 && ustr[i + 1] >= '0' 645 && ustr[i + 1] <= '9' 670 if (style & QUOTE_0_TERMINATED && ustr[i] == '\0') {
|
/external/regex-re2/lib/codereview/ |
codereview.py | 123 # If we have to pass unicode instead of str, ustr does that conversion clearly. 124 def ustr(s): function [all...] |
/external/icu/icu4c/source/test/intltest/ |
rbbitst.cpp | 400 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { 403 tstr = utext_openConstUnicodeString(NULL, &ustr, &status); 3737 UnicodeString ustr = CharsToUnicodeString(strlist[loop]); local [all...] |