Home
last modified time | relevance | path

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

12

/third_party/glib/glib/tests/
Dutf8-performance.c90 gunichar *ustr; in grind_utf8_to_ucs4() local
91 ustr = g_utf8_to_ucs4 (str, -1, NULL, NULL, NULL); in grind_utf8_to_ucs4()
92 g_free (ustr); in grind_utf8_to_ucs4()
121 gunichar *ustr; in grind_utf8_to_ucs4_sized() local
122 ustr = g_utf8_to_ucs4 (str, len, NULL, NULL, NULL); in grind_utf8_to_ucs4_sized()
123 g_free (ustr); in grind_utf8_to_ucs4_sized()
134 gunichar *ustr; in grind_utf8_to_ucs4_fast() local
135 ustr = g_utf8_to_ucs4_fast (str, -1, NULL); in grind_utf8_to_ucs4_fast()
136 g_free (ustr); in grind_utf8_to_ucs4_fast()
147 gunichar *ustr; in grind_utf8_to_ucs4_fast_sized() local
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dusettest.c297 UChar ustr[4096]; in expectContainment() local
303 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec); in expectContainment()
308 pat=aescstrdup(ustr, length); in expectContainment()
322 u_charsToUChars(stringStart, ustr, stringLength); in expectContainment()
324 if (uset_containsString(set, ustr, stringLength) == isIn) { in expectContainment()
338 u_charsToUChars(p, ustr, 1); in expectContainment()
339 c = ustr[0]; in expectContainment()
398 UChar ustr[4096], itemStr[4096]; in expectItems() local
409 length = uset_toPattern(set, ustr, sizeof(ustr), TRUE, &ec); in expectItems()
414 pat=aescstrdup(ustr, length); in expectItems()
[all …]
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()
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 … 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 …ing #%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[j],compareToUChar[j]); in verifyEnumeration()
/third_party/mesa3d/src/glx/
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, vstr, pnts, buf); in __indirect_glMap2f()
/third_party/python/Lib/test/test_email/
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/common/
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/
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/flutter/skia/third_party/externals/icu/source/common/
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/skia/third_party/externals/icu/source/common/
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/Lib/test/
Dtest_weakset.py4 from collections import UserString as ustr unknown
23 self.items = [ustr(c) for c in ('a', 'b', 'c')]
24 self.items2 = [ustr(c) for c in ('x', 'y', 'z')]
25 self.ab_items = [ustr(c) for c in 'ab']
26 self.abcde_items = [ustr(c) for c in 'abcde']
27 self.def_items = [ustr(c) for c in 'def']
31 self.letters = [ustr(c) for c in string.ascii_letters]
34 self.obj = ustr('F')
63 self.assertNotIn(ustr('F'), self.fs)
213 x = ustr('Q')
[all …]
/third_party/python/Modules/clinic/
Darraymodule.c.h426 array_array_fromunicode_impl(arrayobject *self, PyObject *ustr);
432 PyObject *ustr; in array_array_fromunicode() local
441 ustr = arg; in array_array_fromunicode()
442 return_value = array_array_fromunicode_impl(self, ustr); in array_array_fromunicode()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dsources.txt10 ustr.c
/third_party/icu/icu4c/source/tools/genrb/
Dsources.txt10 ustr.c
/third_party/icu/icu4c/source/test/iotest/
Dstream.cpp134 UnicodeString ustr("string"); in TestStream() local
136 outFormatStream << "1234567890" << setw(10) << left << ustr << " " << "0123456789"; in TestStream()
/third_party/icu/icu4c/source/test/intltest/
Drbbitst.cpp208 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { in printStringBreaks() argument
211 tstr = utext_openConstUnicodeString(NULL, &ustr, &status); in printStringBreaks()
3519 static void testBreakBoundPreceding(RBBITest *test, UnicodeString ustr, in testBreakBoundPreceding() argument
3527 bi->setText(ustr); in testBreakBoundPreceding()
3538 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3547 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3554 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3565 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3572 printStringBreaks(ustr, expected, expectedcount); in testBreakBoundPreceding()
3580 int j = ustr.moveIndex32(expected[i], 1); in testBreakBoundPreceding()
[all …]
Dutxttest.cpp1218 UnicodeString ustr("Hello, World."); in FreezeTest() local
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()
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/icu/icu4c/source/i18n/
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/skia/third_party/externals/icu/source/i18n/
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/node/deps/icu-small/source/i18n/
Dregion.cpp500 const UnicodeString *ustr = pv->snext(status); in getInstance() local
501 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
541 const UnicodeString *ustr = pv->snext(status); in getInstance() local
542 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dregion.cpp495 const UnicodeString *ustr = pv->snext(status); in getInstance() local
496 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
543 const UnicodeString *ustr = pv->snext(status); in getInstance() local
544 r = (Region *)uhash_get(regionIDMap,(void *)ustr); in getInstance()
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/
DMakefile.in40 OBJECTS = errmsg.o genrb.o parse.o read.o reslist.o ustr.o rbutil.o \
/third_party/ntfs-3g/libntfs-3g/
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/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dudbgutil.cpp662 const icu::UnicodeString ustr(msg); in add() local
664 fTable[ticket][where].insert(std::string(icu::CStr(ustr)())); in add()

12