Home
last modified time | relevance | path

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

12

/third_party/musl/src/locale/
H A Dstrtod_l.c82 double icu_parse_double(void *fmt, u_char *ustr, int32_t *parse_pos, int *cur_status) in icu_parse_double() argument
92 double res = g_icu_opt_func.unum_parse_double(fmt, ustr, -1, parse_pos, &icu_status); in icu_parse_double()
112 u_char *ustr = (u_char *)calloc((n + 1), sizeof(u_char)); in icu_strtod_l() local
113 *cur_status = icu_char_trans(s, ustr, n); in icu_strtod_l()
115 free(ustr); in icu_strtod_l()
120 double res = icu_parse_double(fmt, ustr, parse_pos, cur_status); in icu_strtod_l()
122 free(ustr); in icu_strtod_l()
126 free(ustr); in icu_strtod_l()
H A Dwcstod_l.c54 u_char *ustr = (u_char *)calloc((n + 1), sizeof(u_char)); in icu_wcstod_l() local
55 *cur_status = icu_wchar_trans(s, ustr, n); in icu_wcstod_l()
57 free(ustr); in icu_wcstod_l()
62 double res = icu_parse_double(fmt, ustr, parse_pos, cur_status); in icu_wcstod_l()
64 free(ustr); in icu_wcstod_l()
68 free(ustr); in icu_wcstod_l()
/third_party/icu/icu4c/source/test/cintltst/
H A Dusettest.c312 UChar ustr[4096]; in expectContainment() local
318 length = uset_toPattern(set, ustr, sizeof(ustr), true, &ec); in expectContainment()
323 pat=aescstrdup(ustr, length); in expectContainment()
337 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
339 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
353 u_charsToUChars(p, ustr, 1); in expectContainment()
354 c = ustr[0]; in expectContainment()
413 UChar ustr[4096], itemStr[4096]; in expectItems() local
426 length = uset_toPattern(set, ustr, sizeo in expectItems()
[all...]
H A Dcposxtst.c80 const UChar* ustr; in TestMessageCatalog() local
85 ustr = u_catgets(catd, set_num, msg_num, FAIL, &len, &ec); in TestMessageCatalog()
86 u_austrcpy(str, ustr); in TestMessageCatalog()
92 if (u_strcmp(ustr, exp) != 0) { in TestMessageCatalog()
H A Duenumtst.c369 const UChar *ustr = uenum_unext(u,&len, &status); in verifyEnumeration() local
374 if(ustr==NULL) { in verifyEnumeration()
380 if(u_strncmp(ustr,buf,len)) { in verifyEnumeration()
382 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, compareToChar[i], austrdup(ustr)); in verifyEnumeration()
383 for(j=0;ustr[j]&&buf[j];j++) { in verifyEnumeration()
384 log_verbose(" @ %d\t<U+%04X> vs <U+%04X>\n", j, ustr[j],buf[j]); in verifyEnumeration()
398 if(u_strcmp(ustr,compareToUChar[i])) { in verifyEnumeration()
400 log_err("%s:%d: FAIL: ustring #%d expected '%s' got '%s'\n", __FILE__, line, i, austrdup(compareToUChar[i]), austrdup(ustr)); in verifyEnumeration()
401 for(j=0;ustr[j]&&compareToUChar[j];j++) { in verifyEnumeration()
402 log_verbose(" @ %d\t<U+%04X> vs <U+%04X>\n", j, ustr[ in verifyEnumeration()
[all...]
/third_party/mesa3d/src/glx/
H A Drender2.c174 __indirect_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustr, in __indirect_glMap2d() argument
187 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) { in __indirect_glMap2d()
211 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, (GLdouble *) (pc + 48)); in __indirect_glMap2d()
229 if ((vstr != k) || (ustr != k * vord)) { in __indirect_glMap2d()
240 __glFillMap2d(k, uord, vord, ustr, vstr, pnts, buf); in __indirect_glMap2d()
252 __indirect_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustr, in __indirect_glMap2f() argument
265 else if (vstr < k || ustr < k || vord <= 0 || uord <= 0) { in __indirect_glMap2f()
291 __glFillMap2f(k, uord, vord, ustr, vstr, pnts, (GLfloat *) (pc + 32)); in __indirect_glMap2f()
305 if ((vstr != k) || (ustr != k * vord)) { in __indirect_glMap2f()
316 __glFillMap2f(k, uord, vord, ustr, vst in __indirect_glMap2f()
[all...]
/third_party/python/Lib/test/test_email/
H A Dtest_asian_codecs.py66 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset())
67 self.assertEqual(jhello, ustr)
75 ustr = msg.get_payload(decode=True).decode(msg.get_content_charset())
76 self.assertEqual(jhello, ustr)
/third_party/icu/icu4c/source/test/intltest/
H A Dformatted_string_builder_test.cpp316 // Setup the test fixture in sb, sb2, ustr. in testInsertOverflow()
321 UnicodeString ustr(data_length, u'a', data_length); // set ustr to length 1073741823 in testInsertOverflow()
322 sb.append(ustr, kUndefinedField, status); // set sb to length 1073741823 in testInsertOverflow()
323 infoln("# log: setup 1 done, ustr len %d, sb len %d, status %s", ustr.length(), sb.length(), u_errorName(status)); in testInsertOverflow()
327 sb2.append(ustr, kUndefinedField, status); in testInsertOverflow()
328 sb2.insert(0, ustr, 0, data_length / 2, kUndefinedField, status); // set sb2 to length 1610612734 in testInsertOverflow()
333 // The following should set ustr to have length 1610612734, but is currently crashing in testInsertOverflow()
337 ustr in testInsertOverflow()
[all...]
H A Drbbitst.cpp217 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { in printStringBreaks() argument
220 tstr = utext_openConstUnicodeString(NULL, &ustr, &status); in printStringBreaks()
3424 static void testBreakBoundPreceding(RBBITest *test, UnicodeString ustr, in testBreakBoundPreceding() argument
3432 bi->setText(ustr); in testBreakBoundPreceding()
3443 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3452 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3459 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3470 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3477 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3485 int j = ustr in testBreakBoundPreceding()
3559 UnicodeString ustr = CharsToUnicodeString(strlist[loop]); TestWordBreaks() local
[all...]
H A Dutxttest.cpp1218 UnicodeString ustr("Hello, World."); in FreezeTest()
1242 ut = utext_openUnicodeString(ut, &ustr, &status); in FreezeTest()
1253 ut = utext_openUnicodeString(ut, &ustr, &status); in FreezeTest()
1267 ut = utext_openConstUnicodeString(ut, (const UnicodeString *)&ustr, &status); in FreezeTest()
1276 ut = utext_openUnicodeString(ut, &ustr, &status); in FreezeTest()
1531 const UChar *ustr = str.getTerminatedBuffer(); in Ticket12130() local
1533 utext_openUChars(&ut, ustr, -1, &status); in Ticket12130()
1563 utext_openUChars(&ut, ustr, str.length(), &status); in Ticket12130()
H A Drbbiapts.cpp1170 static void prtbrks(BreakIterator* brk, const UnicodeString &ustr, IntlTest &it) { in prtbrks() argument
1172 it.logln(UnicodeString("String:'")+ustr+UnicodeString("'")); in prtbrks()
1174 int32_t *pos = new int32_t[ustr.length()]; in prtbrks()
1181 if(posCount>=ustr.length()) { in prtbrks()
1191 out.append(ustr.tempSubString(prev,n-prev)); in prtbrks()
1195 out.append(ustr.tempSubString(prev,ustr.length()-prev)); in prtbrks()
/third_party/python/Lib/test/
H A Dtest_weakset.py5 from collections import UserString as ustr namespace
30 self.items = [ustr(c) for c in ('a', 'b', 'c')]
31 self.items2 = [ustr(c) for c in ('x', 'y', 'z')]
32 self.ab_items = [ustr(c) for c in 'ab']
33 self.abcde_items = [ustr(c) for c in 'abcde']
34 self.def_items = [ustr(c) for c in 'def']
38 self.letters = [ustr(c) for c in string.ascii_letters]
41 self.obj = ustr('F')
70 self.assertNotIn(ustr('F'), self.fs)
220 x = ustr('
[all...]
/third_party/icu/icu4c/source/common/
H A Duenum.cpp93 UChar *ustr = NULL; in uenum_unextDefault() local
98 ustr = (UChar*) _getBuffer(en, (len+1) * sizeof(UChar)); in uenum_unextDefault()
99 if (ustr == NULL) { in uenum_unextDefault()
102 u_charsToUChars(cstr, ustr, len+1); in uenum_unextDefault()
111 return ustr; in uenum_unextDefault()
/third_party/node/deps/icu-small/source/common/
H A Duenum.cpp93 char16_t *ustr = nullptr; in uenum_unextDefault() local
98 ustr = (char16_t*) _getBuffer(en, (len+1) * sizeof(char16_t)); in uenum_unextDefault()
99 if (ustr == nullptr) { in uenum_unextDefault()
102 u_charsToUChars(cstr, ustr, len+1); in uenum_unextDefault()
111 return ustr; in uenum_unextDefault()
/third_party/skia/third_party/externals/icu/source/common/
H A Duenum.cpp93 UChar *ustr = NULL; in uenum_unextDefault() local
98 ustr = (UChar*) _getBuffer(en, (len+1) * sizeof(UChar)); in uenum_unextDefault()
99 if (ustr == NULL) { in uenum_unextDefault()
102 u_charsToUChars(cstr, ustr, len+1); in uenum_unextDefault()
111 return ustr; in uenum_unextDefault()
/third_party/python/Modules/clinic/
H A Darraymodule.c.h443 "fromunicode($self, ustr, /)\n"
446 "Extends this array with data from the unicode string ustr.\n"
449 "Use array.frombytes(ustr.encode(...)) to append Unicode data to an array of\n"
456 array_array_fromunicode_impl(arrayobject *self, PyObject *ustr);
462 PyObject *ustr; in array_array_fromunicode() local
471 ustr = arg; in array_array_fromunicode()
472 return_value = array_array_fromunicode_impl(self, ustr); in array_array_fromunicode()
482 "Extends this array with data from the unicode string ustr.\n"
/third_party/icu/icu4c/source/test/iotest/
H A Dstream.cpp134 UnicodeString ustr("string"); in TestStream()
136 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; in TestStream() local
/third_party/icu/icu4c/source/i18n/
H A Dregion.cpp518 const UnicodeString *ustr = pv->snext(status); in getInstance() local
519 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
559 const UnicodeString *ustr = pv->snext(status); in getInstance() local
560 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
/third_party/node/deps/icu-small/source/i18n/
H A Dregion.cpp518 const UnicodeString *ustr = pv->snext(status); in getInstance() local
519 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
559 const UnicodeString *ustr = pv->snext(status); in getInstance() local
560 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dregion.cpp490 const UnicodeString *ustr = pv->snext(status); in getInstance() local
491 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
531 const UnicodeString *ustr = pv->snext(status); in getInstance() local
532 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
/third_party/musl/src/internal/
H A Dlocale_impl.h76 hidden double icu_parse_double(void *fmt, u_char *ustr, int32_t *parse_pos, int *cur_status);
/third_party/ntfs-3g/libntfs-3g/
H A Dinode.c1424 ntfschar *ustr; in ntfs_inode_badclus_bad() local
1438 if ((ustr = ntfs_str2ucs("$Bad", &len)) == NULL) { in ntfs_inode_badclus_bad()
1443 if (ustr && ntfs_names_are_equal(ustr, len, in ntfs_inode_badclus_bad()
1448 ntfs_ucsfree(ustr); in ntfs_inode_badclus_bad()
/third_party/icu/icu4c/source/tools/toolutil/
H A Dudbgutil.cpp668 const icu::UnicodeString ustr(msg); in add()
670 fTable[ticket][where].insert(std::string(icu::CStr(ustr)())); in add()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dudbgutil.cpp671 const icu::UnicodeString ustr(msg); in add()
673 fTable[ticket][where].insert(std::string(icu::CStr(ustr)())); in add()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dudbgutil.cpp668 const icu::UnicodeString ustr(msg); in add()
670 fTable[ticket][where].insert(std::string(icu::CStr(ustr)())); in add()

Completed in 31 milliseconds

12