Home
last modified time | relevance | path

Searched refs:prettify (Results 1 – 25 of 63) sorted by relevance

123

/external/icu/icu4c/source/test/intltest/
Dthcoll.cpp104 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestNamesList()
151 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestDictionary()
164 + " compare(" + IntlTest::prettify(lastWord, str); in TestDictionary()
166 + IntlTest::prettify(word, str) + ") returned " + result in TestDictionary()
176 msg.append("key1: ").append(prettify(k1, str)).append("\n"); in TestDictionary()
177 msg.append("key2: ").append(prettify(k2, str)); in TestDictionary()
284 i/3 + ": compare(" + IntlTest::prettify(s1, t1) in compareArray()
285 + " , " + IntlTest::prettify(s2, t2) in compareArray()
295 errln((UnicodeString)" key1: " + prettify(k1, t1) ); in compareArray()
296 errln((UnicodeString)" key2: " + prettify(k2, t2) ); in compareArray()
[all …]
Duts46test.cpp217 prettify(result).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestNotSTD3()
231 prettify(result).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestNotSTD3()
615 prettify(uN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
633 prettify(uT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
646 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
652 prettify(aT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
659 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
663 prettify(aT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
681 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
682 prettify(uNaN).extract(0, 0x7fffffff, buffer2, LENGTHOF(buffer2)); in TestSomeCases()
[all …]
Dtransapi.cpp296 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTransliterate1()
302 …t->getID() + "->transliterate(UnicodeString, UnicodeString) for\n\t Source:" + prettify(Data[i+1]); in TestTransliterate1()
342 dataerrln("FAIL: construction: " + prettify(Data2[i+0]) + " - " + u_errorName(status)); in TestTransliterate2()
350 …2_t, UnicodeString):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), gotR… in TestTransliterate2()
354 …int32_t, int32_t, ):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), temp… in TestTransliterate2()
894 logln("OK:" + prettify(log)); in displayOutput()
896 errln("FAIL: " + prettify(log) + ", expected " + prettify(expected)); in displayOutput()
902 if (prettify(result) == prettify(expected)) in doTest()
903 logln((UnicodeString)"Ok: " + prettify(message) + " passed \"" + prettify(expected) + "\""); in doTest()
905 …UnicodeString)"FAIL:" + message + " failed Got-->" + prettify(result)+ ", Expected--> " + prettif… in doTest()
Dtestidna.cpp442 errln("Failed. Expected: " + prettify(UnicodeString(transOut, transOutLength)) in debug()
443 + " Got: " + prettify(UnicodeString(prepOut,prepOutLength))); in debug()
480 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
481 + " Got: " + prettify(UnicodeString(dest,destLen)) in testAPI()
494 + " Source: " + prettify(UnicodeString(src)) in testAPI()
511 " null terminated source "+ prettify(src) + in testAPI()
512 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
513 "Got: " + prettify(UnicodeString(dest,destLen))); in testAPI()
528 + " Source: " + prettify(UnicodeString(src)) in testAPI()
556 + " Source: " + prettify(UnicodeString(src)) in testAPI()
[all …]
Dtsnmfmt.cpp303 errMsg = "**** FAIL: Parse of " + prettify(string[i-1]) + " failed."; in tryIt()
315 errMsg = ("**** FAIL: Parse of " + prettify(string[i-1]) in tryIt()
356 prettify(string[k]) + " P> "); in tryIt()
378 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed."); in tryIt()
383 errln("**** FAIL: Parse of " + prettify(stringNum) in tryIt()
392 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed. Got:" + number.getLong() in tryIt()
Didnaconf.cpp249 …logln(UnicodeString("namebase: ") + prettify(namebase) + UnicodeString(" result: ") + prettify(res… in Call()
263 …E-Prefixes. ") + UnicodeString("namebase: ") + prettify(namebase) + UnicodeString(" result: ") + p… in Call()
Dmiscdtfm.cpp362 … errln("*** Should have been " + prettify(jstLong)+ " but it is: " + prettify(zones[index][1])); in test4117335()
372 … errln("*** Should have been " + prettify(jstLong) + " but it is: " + prettify(zones[index][3])); in test4117335()
Daliastst.cpp227 …"+ UnicodeString(oldLoc.getName()) +" oldCountry= "+ prettify(oldCountry) +" newCountry = "+pretti… in TestDisplayName()
233 …or " + UnicodeString(oldLoc.getName()) + " oldLang = "+ prettify(oldLang) +" newLang = "+prettify(… in TestDisplayName()
Dtscoll.cpp294 IntlTest::prettify(source, prettySource); in reportCResult()
295 IntlTest::prettify(target, prettyTarget); in reportCResult()
319 prettify(sourceKey, prettySource); in reportCResult()
320 prettify(targetKey, prettyTarget); in reportCResult()
365 UnicodeString &IntlTestCollator::prettify(const CollationKey &source, UnicodeString &target) in prettify() function in IntlTestCollator
Dnormconf.cpp64 errln("Normalizer::compare() failed for s1: " + prettify(s1) + " s2: " +prettify(s2)); in compare()
496 UnicodeString sPretty(prettify(s)); in assertEqual()
497 UnicodeString gotPretty(prettify(got)); in assertEqual()
498 UnicodeString expPretty(prettify(exp)); in assertEqual()
Dtranstst.cpp250 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
251 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
275 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
276 ", rules: " + prettify(rules, TRUE)); in TestInstantiation()
749 logln(UnicodeString("Pattern: ") + prettify(DATA[i])); in TestPatternQuoting()
834 logln(prettify(data[i] + " -> " + out)); in TestJ277()
836 errln(UnicodeString("FAIL: ") + prettify(data[i] + " -> " + out)); in TestJ277()
927 logln("Pattern: " + prettify(DATA[i])); in TestSegments()
959 logln("Pattern: " + prettify(DATA[i])); in TestCursorOffset()
1000 logln("Pattern: " + prettify(DATA[i])); in TestArbitraryVariableValues()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dthcoll.cpp102 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestNamesList()
149 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); in TestDictionary()
164 + " compare(" + IntlTest::prettify(lastWord, str); in TestDictionary()
166 + IntlTest::prettify(word, str) + ") returned " + result in TestDictionary()
176 msg.append("key1: ").append(prettify(k1, str)).append("\n"); in TestDictionary()
177 msg.append("key2: ").append(prettify(k2, str)); in TestDictionary()
284 i/3 + ": compare(" + IntlTest::prettify(s1, t1) in compareArray()
285 + " , " + IntlTest::prettify(s2, t2) in compareArray()
295 errln((UnicodeString)" key1: " + prettify(k1, t1) ); in compareArray()
296 errln((UnicodeString)" key2: " + prettify(k2, t2) ); in compareArray()
[all …]
Duts46test.cpp216 prettify(result).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestNotSTD3()
230 prettify(result).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestNotSTD3()
589 prettify(uN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
607 prettify(uT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
620 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
626 prettify(aT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
633 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
637 prettify(aT).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
655 prettify(aN).extract(0, 0x7fffffff, buffer, LENGTHOF(buffer)); in TestSomeCases()
656 prettify(uNaN).extract(0, 0x7fffffff, buffer2, LENGTHOF(buffer2)); in TestSomeCases()
[all …]
Dmiscdtfm.cpp359 … errln("*** Should have been " + prettify(jstLong)+ " but it is: " + prettify(zones[index][1])); in test4117335()
364 … errln("*** Should have been " + prettify(jstShort) + " but it is: " + prettify(zones[index][2])); in test4117335()
369 … errln("*** Should have been " + prettify(jstLong) + " but it is: " + prettify(zones[index][3])); in test4117335()
374 … errln("*** Should have been " + prettify(jstShort)+ " but it is: " + prettify(zones[index][4])); in test4117335()
Dtransapi.cpp296 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTransliterate1()
302 …t->getID() + "->transliterate(UnicodeString, UnicodeString) for\n\t Source:" + prettify(Data[i+1]); in TestTransliterate1()
342 dataerrln("FAIL: construction: " + prettify(Data2[i+0]) + " - " + u_errorName(status)); in TestTransliterate2()
350 …2_t, UnicodeString):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), gotR… in TestTransliterate2()
354 …int32_t, int32_t, ):(" + start + "," + limit + ") for \n\t source: " + prettify(Data2[i+1]), temp… in TestTransliterate2()
894 logln("OK:" + prettify(log)); in displayOutput()
896 errln("FAIL: " + prettify(log) + ", expected " + prettify(expected)); in displayOutput()
902 if (prettify(result) == prettify(expected)) in doTest()
903 logln((UnicodeString)"Ok: " + prettify(message) + " passed \"" + prettify(expected) + "\""); in doTest()
905 …UnicodeString)"FAIL:" + message + " failed Got-->" + prettify(result)+ ", Expected--> " + prettif… in doTest()
Dtestidna.cpp442 errln("Failed. Expected: " + prettify(UnicodeString(transOut, transOutLength)) in debug()
443 + " Got: " + prettify(UnicodeString(prepOut,prepOutLength))); in debug()
480 + prettify(UnicodeString(expected,expectedLen)) in testAPI()
481 + " Got: " + prettify(UnicodeString(dest,destLen)) in testAPI()
494 + " Source: " + prettify(UnicodeString(src)) in testAPI()
511 " null terminated source "+ prettify(src) + in testAPI()
512 … " with both options set. Expected: "+ prettify(UnicodeString(expected,expectedLen))+ in testAPI()
513 "Got: " + prettify(UnicodeString(dest,destLen))); in testAPI()
528 + " Source: " + prettify(UnicodeString(src)) in testAPI()
556 + " Source: " + prettify(UnicodeString(src)) in testAPI()
[all …]
Dtsnmfmt.cpp292 errMsg = "**** FAIL: Parse of " + prettify(string[i-1]) + " failed."; in tryIt()
304 errMsg = ("**** FAIL: Parse of " + prettify(string[i-1]) in tryIt()
345 prettify(string[k]) + " P> "); in tryIt()
367 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed."); in tryIt()
372 errln("**** FAIL: Parse of " + prettify(stringNum) in tryIt()
381 errln("**** FAIL: Parse of " + prettify(stringNum) + " failed. Got:" + number.getLong() in tryIt()
Didnaconf.cpp250 …logln(UnicodeString("namebase: ") + prettify(namebase) + UnicodeString(" result: ") + prettify(res… in Call()
264 …E-Prefixes. ") + UnicodeString("namebase: ") + prettify(namebase) + UnicodeString(" result: ") + p… in Call()
Daliastst.cpp227 …"+ UnicodeString(oldLoc.getName()) +" oldCountry= "+ prettify(oldCountry) +" newCountry = "+pretti… in TestDisplayName()
233 …or " + UnicodeString(oldLoc.getName()) + " oldLang = "+ prettify(oldLang) +" newLang = "+prettify(… in TestDisplayName()
Dtscoll.cpp308 IntlTest::prettify(source, prettySource); in reportCResult()
309 IntlTest::prettify(target, prettyTarget); in reportCResult()
333 prettify(sourceKey, prettySource); in reportCResult()
334 prettify(targetKey, prettyTarget); in reportCResult()
379 UnicodeString &IntlTestCollator::prettify(const CollationKey &source, UnicodeString &target) in prettify() function in IntlTestCollator
Dnormconf.cpp64 errln("Normalizer::compare() failed for s1: " + prettify(s1) + " s2: " +prettify(s2)); in compare()
496 UnicodeString sPretty(prettify(s)); in assertEqual()
497 UnicodeString gotPretty(prettify(got)); in assertEqual()
498 UnicodeString expPretty(prettify(exp)); in assertEqual()
Dtranstst.cpp250 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
251 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
275 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
276 ", rules: " + prettify(rules, TRUE)); in TestInstantiation()
749 logln(UnicodeString("Pattern: ") + prettify(DATA[i])); in TestPatternQuoting()
834 logln(prettify(data[i] + " -> " + out)); in TestJ277()
836 errln(UnicodeString("FAIL: ") + prettify(data[i] + " -> " + out)); in TestJ277()
927 logln("Pattern: " + prettify(DATA[i])); in TestSegments()
959 logln("Pattern: " + prettify(DATA[i])); in TestCursorOffset()
1000 logln("Pattern: " + prettify(DATA[i])); in TestArbitraryVariableValues()
[all …]
Ducaconf.cpp217 prettify(CollationKey(oldSk, oldLen), oldS); in testConformance()
218 prettify(CollationKey(newSk, resLen), newS); in testConformance()
/external/chromium_org/third_party/markdown/extensions/
Dtoc.py210 prettify = self.markdown.treeprocessors.get('prettify')
211 if prettify: prettify.run(div)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
Dprettify.rb30 puts PrettyPatch.prettify(patch_data)

123