Searched refs:ustr (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/base/i18n/
H A Dnumber_formatting.cc56 icu::UnicodeString ustr; local
57 number_format->format(number, ustr);
59 return string16(ustr.getBuffer(), static_cast<size_t>(ustr.length()));
72 icu::UnicodeString ustr; local
73 number_format->format(number, ustr);
75 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/bison/src/
H A Duniqstr.c94 uniqstr_print (uniqstr ustr) argument
96 fprintf (stderr, "%s\n", ustr);
101 uniqstr_print_processor (void *ustr, void *null ATTRIBUTE_UNUSED) argument
103 return uniqstr_print (ustr);
/external/chromium_org/third_party/icu/source/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 Duenumtst.c360 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[
[all...]
/external/icu/icu4c/source/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 Duenumtst.c360 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[
[all...]
/external/chromium_org/third_party/icu/source/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;
H A Dlistformatter.cpp157 const UChar* ustr = ures_getStringByKeyWithFallback(rb, key, &len, &errorCode); local
161 result.setTo(ustr, len);
/external/icu/icu4c/source/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/chromium_org/third_party/mesa/src/src/glx/
H A Drender2.c172 __indirect_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustr, argument
185 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) {
209 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, (GLdouble *) (pc + 48));
227 if ((vstr != k) || (ustr != k * vord)) {
238 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, buf);
250 __indirect_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustr, argument
263 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) {
289 __glFillMap2f(k, uord, vord, ustr, vstr, pnts, (GLfloat *) (pc + 32));
303 if ((vstr != k) || (ustr != k * vord)) {
314 __glFillMap2f(k, uord, vord, ustr, vst
[all...]
/external/mesa3d/src/glx/
H A Drender2.c172 __indirect_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustr, argument
185 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) {
209 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, (GLdouble *) (pc + 48));
227 if ((vstr != k) || (ustr != k * vord)) {
238 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, buf);
250 __indirect_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustr, argument
263 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) {
289 __glFillMap2f(k, uord, vord, ustr, vstr, pnts, (GLfloat *) (pc + 32));
303 if ((vstr != k) || (ustr != k * vord)) {
314 __glFillMap2f(k, uord, vord, ustr, vst
[all...]
/external/chromium_org/third_party/webrtc/examples/android/media_demo/jni/
H A Djni_helpers.cc41 UnicodeString ustr(jchars, jni->GetStringLength(j_string));
46 return ustr.toUTF8String(ret);
/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/chromium_org/third_party/icu/source/test/iotest/
H A Dstream.cpp132 UnicodeString ustr("string");
134 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; local
/external/chromium_org/third_party/icu/source/tools/genrb/
H A DMakefile.in37 OBJECTS = errmsg.o genrb.o parse.o read.o reslist.o ustr.o rbutil.o \
/external/chromium_org/third_party/webrtc/modules/video_capture/android/
H A Ddevice_info_android.cc108 icu::UnicodeString ustr(jchars, jni->GetStringLength(j_json_info));
111 ustr.toUTF8String(json_info);
/external/icu/icu4c/source/test/iotest/
H A Dstream.cpp132 UnicodeString ustr("string");
134 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; local
/external/icu/icu4c/source/tools/genrb/
H A DMakefile.in38 OBJECTS = errmsg.o genrb.o parse.o read.o reslist.o ustr.o rbutil.o \
/external/strace/
H A Dutil.c436 const unsigned char *ustr = (const unsigned char *) instr; local
453 c = ustr[i];
478 c = ustr[i];
489 c = ustr[i];
525 && ustr[i + 1] >= '0'
526 && ustr[i + 1] <= '9'
550 if (len == -1 && ustr[i] == '\0') {
/external/chromium_org/third_party/icu/source/i18n/
H A Dregion.cpp432 const UnicodeString *ustr = pv->snext(status); local
433 r = (Region *)uhash_get(regionIDMap,(void *)ustr);
477 const UnicodeString *ustr = pv->snext(status); local
478 r = (Region *)uhash_get(regionIDMap,(void *)ustr);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Drbbitst.cpp357 static void printStringBreaks(UnicodeString ustr, int expected[], argument
364 for (j = 0; j < ustr.length(); j ++) {
374 UChar32 c = ustr.char32At(j);
3422 static void testBreakBoundPreceding(RBBITest *test, UnicodeString ustr, argument
3430 bi->setText(ustr);
3441 printStringBreaks(ustr, expected, expectedcount);
3450 printStringBreaks(ustr, expected, expectedcount);
3456 printStringBreaks(ustr, expected, expectedcount);
3466 printStringBreaks(ustr, expected, expectedcount);
3473 printStringBreaks(ustr, expecte
3552 UnicodeString ustr = CharsToUnicodeString(strlist[loop]); local
[all...]

Completed in 2394 milliseconds

12