/external/icu4c/tools/ctestfw/ |
D | tstdtmod.cpp | 29 UnicodeString msg(testName, -1, US_INV); in logIfFailureAndReset() 30 … msg.append(UNICODE_STRING_SIMPLE(" failure: ")).append(UnicodeString(errorName(), -1, US_INV)); in logIfFailureAndReset() 31 msg.append(UNICODE_STRING_SIMPLE(" - ")).append(UnicodeString(buffer, -1, US_INV)); in logIfFailureAndReset() 48 UnicodeString msg(testName, -1, US_INV); in logDataIfFailureAndReset() 49 … msg.append(UNICODE_STRING_SIMPLE(" failure: ")).append(UnicodeString(errorName(), -1, US_INV)); in logDataIfFailureAndReset() 50 msg.append(UNICODE_STRING_SIMPLE(" - ")).append(UnicodeString(buffer, -1, US_INV)); in logDataIfFailureAndReset() 62 UnicodeString msg(testName, -1, US_INV); in handleFailure() 63 msg.append(UNICODE_STRING_SIMPLE(" failure: ")).append(UnicodeString(errorName(), -1, US_INV)); in handleFailure() 219 …_SIMPLE("Could not load test data from resourcebundle: ") + UnicodeString(bundleName, -1, US_INV)); in getTestBundle()
|
D | datamap.cpp | 75 fData->put(UnicodeString(ures_getKey(t), -1, US_INV), new ResourceBundle(t, status), status); in init() 106 UnicodeString hashKey(key, -1, US_INV); in getItem()
|
/external/icu4c/i18n/ |
D | locdspnm.cpp | 126 return result.setTo(UnicodeString(itemKey, -1, US_INV)); in get() 206 return result = UnicodeString(locale.getName(), -1, US_INV); 212 return result = UnicodeString(localeId, -1, US_INV); 218 return result = UnicodeString(lang, -1, US_INV); 224 return result = UnicodeString(script, -1, US_INV); 232 return result = UnicodeString(name, -1, US_INV); 240 return result = UnicodeString(region, -1, US_INV); 246 return result = UnicodeString(variant, -1, US_INV); 252 return result = UnicodeString(key, -1, US_INV); 259 return result = UnicodeString(value, -1, US_INV); [all …]
|
D | utrans.cpp | 186 UnicodeString ID(id, -1, US_INV); // use invariant converter in utrans_open() 242 return ((Transliterator*) trans)->getID().extract(0, 0x7fffffff, buf, bufCapacity, US_INV); in utrans_getID() 261 UnicodeString ID(id, -1, US_INV); // use invariant converter in utrans_unregister() 299 return Transliterator::getAvailableID(index).extract(0, 0x7fffffff, buf, bufCapacity, US_INV); in utrans_getAvailableID()
|
D | uni2name.cpp | 101 str.append(UnicodeString(buf, len, US_INV)).append(CLOSE_DELIM); in handleTransliterate()
|
D | anytrans.cpp | 281 UnicodeString sourceName(uscript_getName(source), -1, US_INV); in getTransliterator() 318 name.extract(0, nameLen, buf, (int32_t)sizeof(buf), US_INV); in scriptNameToCode()
|
D | uspoof_wsconf.cpp | 85 s.extract(0, len, destBuf, destCapacity, US_INV); in extractGroup() 118 UnicodeString pattern(parseExp, -1, US_INV); in buildWSConfusableData()
|
D | name2uni.cpp | 190 name.extract(0, len, cbuf, maxLen, US_INV); in handleTransliterate()
|
/external/icu4c/tools/toolutil/ |
D | xmlparser.cpp | 64 mXMLDecl(UnicodeString("(?s)\\uFEFF?<\\?xml.+?\\?>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 69 mXMLComment(UnicodeString("(?s)<!--.+?-->", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 73 mXMLSP(UnicodeString(XML_SPACES "+", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 84 "(?s)<!DOCTYPE.*?(>|\\[.*?\\].*?>)", -1, US_INV in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 89 mXMLPI(UnicodeString("(?s)<\\?.+?\\?>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 100 XML_SPACES "*?>", -1, US_INV), 0, status), // match " >" in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 104 mXMLElemEnd (UnicodeString("</(" XML_NAME ")" XML_SPACES "*>", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 113 XML_SPACES "*?/>", -1, US_INV), 0, status), // match " />" in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 117 mXMLCharData(UnicodeString("(?s)[^<]*", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 129 "((?:\\\'[^<\\\']*?\\\')|(?:\\\"[^<\\\"]*?\\\"))", -1, US_INV), 0, status), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() [all …]
|
/external/icu4c/test/intltest/ |
D | plurfmts.cpp | 520 UnicodeString fmtString(fmt, -1, US_INV); in pluralFormatExtendedTest() 536 UnicodeString expected(targets[i], -1, US_INV); in pluralFormatExtendedTest() 538 UnicodeString message("PluralFormat.format(): Expected '", -1, US_INV); in pluralFormatExtendedTest() 540 message.append(UnicodeString("' but got '", -1, US_INV)); in pluralFormatExtendedTest() 542 message.append("'", -1, US_INV); in pluralFormatExtendedTest() 552 UnicodeString message("MessageFormat.format(): Expected '", -1, US_INV); in pluralFormatExtendedTest() 554 message.append(UnicodeString("' but got '", -1, US_INV)); in pluralFormatExtendedTest() 556 message.append("'", -1, US_INV); in pluralFormatExtendedTest() 575 UnicodeString fmt(failures[i], -1, US_INV); in pluralFormatExtendedParseTest()
|
D | jamotest.cpp | 29 UnicodeString(JAMO_NAMES_RULES, -1, US_INV), in JamoTest() 38 UnicodeString(JAMO_NAMES_RULES, -1, US_INV), in JamoTest() 403 UnicodeString hangul = UnicodeString(WHAT_IS_UNICODE[i], -1, US_INV); in TestRealText()
|
D | ucharstrietest.cpp | 786 builder_->add(UnicodeString(data[index].s, -1, US_INV).unescape(), in buildTrie() 824 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkFirst() 860 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNext() 938 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextWithState() 993 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkNextString() 1034 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); in checkIterator() 1038 invString.extract(0, invString.length(), buffer, LENGTHOF(buffer), US_INV); in checkIterator()
|
D | ucdtest.cpp | 43 unknownPropertyNames->puti(UnicodeString(ignorePropNames[i], -1, US_INV), 1, errorCode); in UnicodeTest() 304 pattern.insert(pattern.length()-2, UnicodeString(falseValues[i], -1, US_INV)); in TestBinaryValues() 318 pattern.insert(pattern.length()-2, UnicodeString(trueValues[i], -1, US_INV)); in TestBinaryValues()
|
D | transtst.cpp | 1739 … UnicodeString(DATA[d+1], -1, US_INV), UTRANS_FORWARD, parseError, status); in TestToRules() 1748 UnicodeString expEscapedRules(DATA[d+2], -1, US_INV); in TestToRules() 1750 logln((UnicodeString)"Ok: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1753 errln((UnicodeString)"FAIL: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1757 logln((UnicodeString)"Ok: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1760 errln((UnicodeString)"FAIL: " + UnicodeString(DATA[d+1], -1, US_INV) + in TestToRules() 1768 UnicodeString pat(DATA[d+1], -1, US_INV); in TestToRules() 1769 UnicodeString expToPat(DATA[d+2], -1, US_INV); in TestToRules() 2849 …\\u0913\\u0914 \\u093e-\\u0942\\u0947\\u0948\\u094B\\u094C\\u094D]", -1, US_INV).unescape(), statu… in TestGurmukhiDevanagari() 2850 …UnicodeSet non_vowel(UnicodeString("[\\u0915-\\u0928\\u092A-\\u0930]", -1, US_INV).unescape(), sta… in TestGurmukhiDevanagari() [all …]
|
D | usettest.cpp | 1064 expectContainment(UnicodeString(DATA[i], -1, US_INV), CharsToUnicodeString(DATA[i+1]), in TestPropertySet() 1286 UnicodeString pat(DATA[i+1], -1, US_INV); in TestCloseOver() 1287 UnicodeString exp(DATA[i+2], -1, US_INV); in TestCloseOver() 1395 UnicodeString pat(pattern, -1, US_INV); in TestEscapePattern() 1418 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 | dtptngts.cpp | 179 UnicodeString("1999-1", -1, US_INV), // 00: yM in testAPI() 374 expectedResult=UnicodeString("14. Okt 08:58", -1, US_INV); in testAPI() 380 …conflictingStatus = gen->addPattern(UnicodeString("d'. von' MMMM", -1, US_INV), true, conflictingP… in testAPI() 390 expectedResult=UnicodeString("14. von Oktober 08:58", -1, US_INV); in testAPI()
|
D | dcfmtest.cpp | 114 s.extract(0, len, buf.getAlias(), len+1, US_INV); in InvariantStringPiece() 332 expectedType.extract(0, 1, expectedTypeC, 2, US_INV); in execParseTest()
|
D | plurults.cpp | 480 UnicodeString ruleDescription(data[i], -1, US_INV); in testGetAllKeywordValues() 502 UnicodeString keyword(rp, ep - rp, US_INV); in testGetAllKeywordValues()
|
/external/icu4c/test/letest/ |
D | xmlreader.cpp | 57 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 75 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 103 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray() 125 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray()
|
D | letsutil.cpp | 37 le_int32 cLength = uString->extract(0, uLength, NULL, 0, US_INV); in getCString() 40 uString->extract(0, uLength, cString, cLength, US_INV); in getCString()
|
D | letest.cpp | 463 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 481 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getHexArray() 509 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray() 531 len = numbers.extract(start, end - start, number, ARRAY_SIZE(number), US_INV); in getFloatArray()
|
/external/icu4c/common/ |
D | locutil.cpp | 155 id.extract(prev, INT32_MAX, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 159 id.extract(prev, i - prev, buffer + prev, BUFLEN - prev, US_INV); in initLocaleFromName() 176 result.append(UnicodeString(locale.getName(), -1, US_INV)); in initNameFromLocale()
|
D | servrbf.cpp | 62 length=_bundleName.extract(0, INT32_MAX, pkg, (int32_t)sizeof(pkg), US_INV); in handleCreate()
|
D | charstr.cpp | 105 len+=s.extract(0, 0x7fffffff, buffer.getAlias()+len, buffer.getCapacity()-len, US_INV); in appendInvariantChars()
|
/external/chromium/chrome/common/ |
D | time_format.cc | 199 icu::UnicodeString fallback_rules("one: n is 1", -1, US_INV); in BuildFormats() 246 icu::UnicodeString suffix(GetFallbackFormatSuffix(format_type), -1, US_INV); in createFallbackFormat()
|