Searched defs:ustr (Results 1 - 16 of 16) sorted by relevance

/external/chromium/base/i18n/
H A Dnumber_formatting.cc45 icu::UnicodeString ustr; local
46 number_format->format(number, ustr);
48 return string16(ustr.getBuffer(), static_cast<size_t>(ustr.length()));
/external/clang/test/SemaCXX/
H A Dcxx0x-type-convert-construct.cpp6 char16_t *ustr; local
7 ustr = u"a UTF-16 string"; // expected-error {{assigning to 'char16_t *' from incompatible type 'const char16_t [16]'}}
/external/icu4c/test/cintltst/
H A Dcposxtst.c78 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) {
H A Dusettest.c257 UChar ustr[4096]; local
263 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec);
268 pat=aescstrdup(ustr, length);
282 u_charsToUChars(stringStart, ustr, stringLength);
284 if (uset_containsString(set, ustr, stringLength) == isIn) {
298 u_charsToUChars(p, ustr, 1);
299 c = ustr[0];
358 UChar ustr[4096], itemStr[4096]; local
369 length = uset_toPattern(set, ustr, sizeo
[all...]
H A Dcustrtrn.c1389 UChar ustr[] = {'h', 'e', 'l', 'l', 'o', 0}; local
1390 int32_t ul = sizeof(ustr)/sizeof(*ustr) -1;
1396 wcs = u_strToWCS(ws, wcap, &wl, ustr, ul, &err);
1402 log_err("u_strToWCS: ustr = %s, ul = %d, ws = %S, wl = %d!\n", u_austrcpy(astr, ustr), ul, ws, wl);
H A Dcmsccoll.c4838 UChar ustr[256]; local
4839 int32_t ustr_length = u_unescape(test, ustr, 256);
4856 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, NULL, 0);
4863 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey,
4875 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, sortkey,
5303 UChar ustr[256]; local
5304 int32_t ustr_length = u_unescape(test, ustr, 256);
5323 sortkey_length = ucol_getSortKey(coll, ustr, ustr_length, shortKeyBuf, sizeof(shortKeyBuf));
/external/icu4c/common/
H A Duenum.c91 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;
/external/bison/src/
H A Duniqstr.c79 uniqstr_print (uniqstr ustr) argument
81 fprintf (stderr, "%s\n", ustr);
86 uniqstr_print_processor (void *ustr, void *null ATTRIBUTE_UNUSED) argument
88 return uniqstr_print (ustr);
/external/icu4c/test/iotest/
H A Dstream.cpp139 UnicodeString ustr("string");
141 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; local
/external/libpcap/missing/
H A Dsnprintf.c614 unsigned char *ustr = (unsigned char *)str; local
618 state.str = ustr;
619 state.s = ustr;
620 state.theend = ustr + sz - 1;
/external/tcpdump/missing/
H A Dsnprintf.c614 unsigned char *ustr = (unsigned char *)str; local
618 state.str = ustr;
619 state.s = ustr;
620 state.theend = ustr + sz - 1;
/external/webkit/Source/JavaScriptGlue/
H A DJSUtils.cpp286 UString ustr = propName.ustring(); local
287 const UniChar* uniChars = (const UniChar*)ustr.characters();
288 int size = ustr.length();
/external/strace/
H A Dutil.c450 const unsigned char *ustr = (const unsigned char *) instr; local
460 c = ustr[i];
481 c = ustr[i];
495 c = ustr[i];
533 && isdigit(ustr[i + 1])) {
/external/icu4c/test/intltest/
H A Dssearch.cpp2135 static void hexForUnicodeString(const UnicodeString &ustr, char * cbuf, int32_t cbuflen) argument
2137 int32_t ustri, ustrlen = ustr.length();
2141 int len = sprintf(cbuf, " %04X", ustr.charAt(ustri));
H A Drbbitst.cpp410 static void printStringBreaks(UnicodeString ustr, int expected[], argument
417 for (j = 0; j < ustr.length(); j ++) {
427 UChar32 c = ustr.char32At(j);
3885 static void testBreakBoundPreceding(RBBITest *test, UnicodeString ustr, argument
3893 bi->setText(ustr);
3904 printStringBreaks(ustr, expected, expectedcount);
3913 printStringBreaks(ustr, expected, expectedcount);
3919 printStringBreaks(ustr, expected, expectedcount);
3935 printStringBreaks(ustr, expected, expectedcount);
3943 int j = ustr
4011 UnicodeString ustr = CharsToUnicodeString(strlist[loop]); local
[all...]
/external/regex-re2/lib/codereview/
H A Dcodereview.py173 # If we have to pass unicode instead of str, ustr does that conversion clearly.
174 def ustr(s): function
1768 node = repo.commit(ustr(opts['message']), ustr(userline), opts.get('date'), m)
2255 f.feed(ustr(MySend(url))) # f.feed wants unicode

Completed in 347 milliseconds