/external/icu/icu4c/source/tools/toolutil/ |
D | xmlparser.cpp | 66 mXMLDecl(UnicodeString("(?s)\\uFEFF?<\\?xml.+?\\?>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 71 mXMLComment(UnicodeString("(?s)<!--.+?-->", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 75 mXMLSP(UnicodeString(XML_SPACES "+", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 86 "(?s)<!DOCTYPE.*?(>|\\[.*?\\].*?>)", -1, US_INV in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 91 mXMLPI(UnicodeString("(?s)<\\?.+?\\?>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 102 XML_SPACES "*?>", -1, US_INV), 0, status), // match " >" in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 106 mXMLElemEnd (UnicodeString("</(" XML_NAME ")" XML_SPACES "*>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 115 XML_SPACES "*?/>", -1, US_INV), 0, status), // match " />" in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 119 mXMLCharData(UnicodeString("(?s)[^<]*", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 131 "((?:\\\'[^<\\\']*?\\\')|(?:\\\"[^<\\\"]*?\\\"))", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
/external/icu/icu4c/source/common/ |
D | locdspnm.cpp | 134 return result.setTo(UnicodeString(itemKey, -1, US_INV)); in get() 215 return result = UnicodeString(locale.getName(), -1, US_INV); 221 return result = UnicodeString(localeId, -1, US_INV); 227 return result = UnicodeString(lang, -1, US_INV); 233 return result = UnicodeString(script, -1, US_INV); 241 return result = UnicodeString(name, -1, US_INV); 249 return result = UnicodeString(region, -1, US_INV); 255 return result = UnicodeString(variant, -1, US_INV); 261 return result = UnicodeString(key, -1, US_INV); 268 return result = UnicodeString(value, -1, US_INV); [all …]
|
D | locutil.cpp | 177 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 181 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 198 result.append(UnicodeString(locale.getName(), -1, US_INV)); in initNameFromLocale()
|
D | servrbf.cpp | 64 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); in handleCreate()
|
/external/icu/icu4c/source/test/intltest/ |
D | listformattertest.cpp | 78 prefix("Prefix: ", -1, US_INV), in ListFormatterTest() 79 one("Alice", -1, US_INV), two("Bob", -1, US_INV), in ListFormatterTest() 80 three("Charlie", -1, US_INV), four("Delta", -1, US_INV) { in ListFormatterTest() 461 UnicodeString and_string = UnicodeString("\\u53CA", -1, US_INV).unescape(); in TestChineseTradHK() 462 UnicodeString comma_string = UnicodeString("\\u3001", -1, US_INV).unescape(); in TestChineseTradHK() 476 UnicodeString and_string = UnicodeString(" \\u0438 ", -1, US_INV).unescape(); in TestRussian() 492 …pair_string = UnicodeString(" \\u0d15\\u0d42\\u0d1f\\u0d3e\\u0d24\\u0d46 ", -1, US_INV).unescape(); in TestMalayalam() 493 …total_string = UnicodeString(" \\u0d0e\\u0d28\\u0d4d\\u0d28\\u0d3f\\u0d35", -1, US_INV).unescape(); in TestMalayalam()
|
D | numfmtspectest.cpp | 36 UnicodeString upattern(pattern, -1, US_INV); in nfWithPattern() 193 UnicodeString upattern("\\u00a4\\u00a4 **#######0", -1, US_INV); in TestPadding() 210 "\\u00a4\\u00a4 **#######0;\\u00a4\\u00a4 (#)", -1, US_INV); in TestPadding() 254 UnicodeString upattern(pattern, -1, US_INV); in assertPatternFr() 255 UnicodeString uexpected(expected, -1, US_INV); in assertPatternFr()
|
D | plurfmts.cpp | 565 UnicodeString fmtString(fmt, -1, US_INV); in pluralFormatExtendedTest() 581 UnicodeString expected(targets[i], -1, US_INV); in pluralFormatExtendedTest() 583 UnicodeString message("PluralFormat.format(): Expected '", -1, US_INV); in pluralFormatExtendedTest() 585 message.append(UnicodeString("' but got '", -1, US_INV)); in pluralFormatExtendedTest() 587 message.append("'", -1, US_INV); in pluralFormatExtendedTest() 597 UnicodeString message("MessageFormat.format(): Expected '", -1, US_INV); in pluralFormatExtendedTest() 599 message.append(UnicodeString("' but got '", -1, US_INV)); in pluralFormatExtendedTest() 601 message.append("'", -1, US_INV); in pluralFormatExtendedTest() 620 UnicodeString fmt(failures[i], -1, US_INV); in pluralFormatExtendedParseTest()
|
D | jamotest.cpp | 32 UnicodeString(JAMO_NAMES_RULES, -1, US_INV), in JamoTest() 41 UnicodeString(JAMO_NAMES_RULES, -1, US_INV), in JamoTest() 406 UnicodeString hangul = UnicodeString(WHAT_IS_UNICODE[i], -1, US_INV); in TestRealText()
|
D | ucharstrietest.cpp | 788 builder_->add(UnicodeString(data[index].s, -1, US_INV).unescape(), in buildTrie() 826 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst() 862 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext() 940 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextWithState() 995 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextString() 1036 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkIterator() 1040 invString.extract(0, invString.length(), buffer, UPRV_LENGTHOF(buffer), US_INV); in checkIterator()
|
D | transtst.cpp | 1742 … UnicodeString(DATA[d+1], -1, US_INV), UTRANS_FORWARD, parseError, status); in TestToRules() 1751 UnicodeString expEscapedRules(DATA[d+2], -1, US_INV); in TestToRules() 1753 logln((UnicodeString)"Ok: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1756 errln((UnicodeString)"FAIL: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1760 logln((UnicodeString)"Ok: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1763 errln((UnicodeString)"FAIL: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1771 UnicodeString pat(DATA[d+1], -1, US_INV); in TestToRules() 1772 UnicodeString expToPat(DATA[d+2], -1, US_INV); in TestToRules() 2852 …\\u0913\\u0914 \\u093e-\\u0942\\u0947\\u0948\\u094B\\u094C\\u094D]", -1, US_INV).unescape(), statu… in TestGurmukhiDevanagari() 2853 …UnicodeSet non_vowel(UnicodeString("[\\u0915-\\u0928\\u092A-\\u0930]", -1, US_INV).unescape(), sta… in TestGurmukhiDevanagari() [all …]
|
D | dtptngts.cpp | 454 expectedResult=UnicodeString("14. Okt., 08:58", -1, US_INV); in testAPI() 460 …conflictingStatus = gen->addPattern(UnicodeString("d'. von' MMMM", -1, US_INV), true, conflictingP… in testAPI() 470 expectedResult=UnicodeString("14. von Oktober, 08:58", -1, US_INV); in testAPI() 1032 UnicodeString skeleton(skelBuf, skelLen, US_INV); in testAllFieldPatterns() 1042 UnicodeString mustIncludeOneOf(testDataPtr->mustIncludeOneOf, -1, US_INV); in testAllFieldPatterns() 1057 UnicodeString(locale.getName(),-1,US_INV) + in testAllFieldPatterns()
|
D | usettest.cpp | 1063 expectContainment(UnicodeString(DATA[i], -1, US_INV), CharsToUnicodeString(DATA[i+1]), in TestPropertySet() 1285 UnicodeString pat(DATA[i+1], -1, US_INV); in TestCloseOver() 1286 UnicodeString exp(DATA[i+2], -1, US_INV); in TestCloseOver() 1394 UnicodeString pat(pattern, -1, US_INV); in TestEscapePattern() 1417 if (newpat == UnicodeString(exp, -1, US_INV)) { in TestEscapePattern() 1651 sym.add(UnicodeString(DATA[i], -1, US_INV), UnicodeString(DATA[i+1], -1, US_INV), ec); in TestSymbolTable() 1660 …UnicodeString inpat = UnicodeString(DATA[i], -1, US_INV), exppat = UnicodeString(DATA[i+1], -1, US… in TestSymbolTable() 1704 logln((UnicodeString)"Test pattern " + i + " :" + UnicodeString(DATA[i], -1, US_INV)); in TestSurrogate() 1705 UnicodeString str = UnicodeString(DATA[i], -1, US_INV); in TestSurrogate() 1715 errln((UnicodeString)"FAIL: " + UnicodeString(DATA[i], -1, US_INV) + ".size() == " + in TestSurrogate() [all …]
|
D | compactdecimalformattest.cpp | 337 if (subString != UnicodeString("1", -1, US_INV)) { in TestFieldPosition() 389 UnicodeString expected("123K", -1, US_INV); in TestAPIVariants() 539 UnicodeString expected(expectedResult->expected, -1, US_INV); in CheckExpectedResult()
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | tstdtmod.cpp | 106 scopeMessage.remove().append({ message, -1, US_INV }); in setScope() 118 UnicodeString msg(testName, -1, US_INV); in errlog() 120 msg.append(u" but got error: ").append(UnicodeString(errorName(), -1, US_INV)); in errlog() 127 msg.append(u" - ").append(UnicodeString(extraMessage, -1, US_INV)); in errlog() 284 …_SIMPLE("Could not load test data from resourcebundle: ") + UnicodeString(bundleName, -1, US_INV)); in getTestBundle()
|
D | datamap.cpp | 78 fData->put(UnicodeString(ures_getKey(t), -1, US_INV), new ResourceBundle(t, status), status); in init() 109 UnicodeString hashKey(key, -1, US_INV); in getItem()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | xmlreader.cpp | 63 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 81 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 109 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray() 131 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray()
|
/external/icu/icu4c/source/test/letest/ |
D | xmlreader.cpp | 59 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 77 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 105 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray() 127 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray()
|
D | letsutil.cpp | 41 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); in getCString() 44 uString->extract(0, uLength, cString, cLength, US_INV); in getCString()
|
D | letest.cpp | 466 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 484 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 512 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray() 534 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray()
|
/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
D | howExpensiveIs.cpp | 294 fPat(pat, -1, US_INV), in NumTest() 295 fString(num,-1,US_INV), in NumTest() 422 fPat(pat, -1, US_INV), in NumFmtTest() 423 fString(num,-1,US_INV), in NumFmtTest() 546 fPat(pat, -1, US_INV), in NumFmtInt64Test() 547 fString(num,-1,US_INV), in NumFmtInt64Test() 637 fPat(pat, -1, US_INV), in NumFmtStringPieceTest() 638 fString(num,-1,US_INV), in NumFmtStringPieceTest()
|
/external/icu/icu4c/source/i18n/ |
D | utrans.cpp | 189 UnicodeString ID(id, -1, US_INV); // use invariant converter in utrans_open() 245 return ((Transliterator*) trans)->getID().extract(0, 0x7fffffff, buf, bufCapacity, US_INV); in utrans_getID() 264 UnicodeString ID(id, -1, US_INV); // use invariant converter in utrans_unregister() 302 return Transliterator::getAvailableID(index).extract(0, 0x7fffffff, buf, bufCapacity, US_INV); in utrans_getAvailableID()
|
D | region.cpp | 177 UnicodeString *groupingName = new UnicodeString(ures_getKey(groupingBundle), -1, US_INV); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 192 r->idStr.extract(0,r->idStr.length(),r->id,sizeof(r->id),US_INV); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 213 LocalPointer<UnicodeString> aliasFromStr(new UnicodeString(aliasFrom, -1, US_INV), status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 231 ….extract(0,aliasFromRegion->idStr.length(),aliasFromRegion->id,sizeof(aliasFromRegion->id),US_INV); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 344 UnicodeString parentStr = UnicodeString(parent, -1 , US_INV); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 480 UnicodeString regionCodeString = UnicodeString(region_code, -1, US_INV); in getInstance()
|
D | anytrans.cpp | 293 UnicodeString sourceName(uscript_getShortName(source), -1, US_INV); in getTransliterator() 343 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
D | scriptset.cpp | 213 dest.append(UnicodeString(scriptName, -1, US_INV)); in displayScripts() 235 oneScriptName.extract(0, oneScriptName.length(), buf, sizeof(buf)-1, US_INV); in parseScripts()
|
D | uni2name.cpp | 104 str.append(UnicodeString(buf, len, US_INV)).append(CLOSE_DELIM); in handleTransliterate()
|