Home
last modified time | relevance | path

Searched refs:doTest (Results 1 – 25 of 84) sorted by relevance

1234

/external/smali/util/src/test/java/org/jf/util/
DLinearSearchTest.java46 doTest(list, 5, 10); in testLinearSearch()
47 doTest(list, 5, 4); in testLinearSearch()
48 doTest(list, 5, 3); in testLinearSearch()
49 doTest(list, 5, 2); in testLinearSearch()
50 doTest(list, 5, 1); in testLinearSearch()
51 doTest(list, 5, 0); in testLinearSearch()
53 doTest(list, 4, 10); in testLinearSearch()
54 doTest(list, 4, 4); in testLinearSearch()
55 doTest(list, 4, 3); in testLinearSearch()
56 doTest(list, 4, 2); in testLinearSearch()
[all …]
/external/chromium_org/v8/test/webkit/
Dcomparison-operators.js39 function doTest(lhs, rhs, relationship) { function
63 doTest('"a"', '"b"', -1);
64 doTest('"a"', '"a"', 0);
65 doTest('"b"', '"a"', 1);
66 doTest('letterA', '"b"', -1);
67 doTest('letterA', '"a"', 0);
68 doTest('"b"', '"a"', 1);
69 doTest('letterA', '"b"', -1);
70 doTest('letterA', 'letterA', 0);
71 doTest('"b"', 'letterA', 1);
[all …]
Dcomparison-operators-less.js39 function doTest(lhs, rhs, relationship) { function
62 doTest('"a"', '"b"', -1);
63 doTest('"a"', '"a"', 0);
64 doTest('"b"', '"a"', 1);
65 doTest('letterA', '"b"', -1);
66 doTest('letterA', '"a"', 0);
67 doTest('"b"', '"a"', 1);
68 doTest('letterA', '"b"', -1);
69 doTest('letterA', 'letterA', 0);
70 doTest('"b"', 'letterA', 1);
[all …]
Dcomparison-operators-greater.js39 function doTest(lhs, rhs, relationship) { function
63 doTest('"a"', '"b"', -1);
64 doTest('"a"', '"a"', 0);
65 doTest('"b"', '"a"', 1);
66 doTest('letterA', '"b"', -1);
67 doTest('letterA', '"a"', 0);
68 doTest('"b"', '"a"', 1);
69 doTest('letterA', '"b"', -1);
70 doTest('letterA', 'letterA', 0);
71 doTest('"b"', 'letterA', 1);
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp70 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
88 doTest(formatter, 0, 12345678); in TestDurationsRT()
106 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
124 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
142 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
160 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
178 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
196 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
214 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
232 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
Djacoll.cpp114 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
124 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], Collator::LESS); in TestBase()
133doTest(myCollation, testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], in TestPlainDakutenHandakuten()
147 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], Collator::LESS); in TestSmallLarge()
160 doTest(myCollation, testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], in TestKatakanaHiragana()
175 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], Collator::LESS); in TestChooonKigoo()
Dallcoll.cpp98 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
116 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
126 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
138 doTest(myCollation, testCases[i], testCases[j], Collator::LESS); in TestExtra()
149 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
Dtransapi.cpp259 doTest(message, name, dispNames[i+1]); in TestGetDisplayName()
303 doTest(message, gotResult, Data[i+2]); in TestTransliterate1()
312 doTest(message, temp, Data[i+2]); in TestTransliterate1()
350doTest(t->getID() + ".transliterate(UnicodeString, int32_t, int32_t, UnicodeString):(" + start + "… in TestTransliterate2()
354doTest(t->getID() + ".transliterate(Replaceable, int32_t, int32_t, ):(" + start + "," + limit + ")… in TestTransliterate2()
407 doTest(message, rs, Data[i+2]); in TestTransliterate3()
439 doTest(message, rs, expected); in TestSimpleKeyboardTransliterator()
627 doTest((UnicodeString)"nulTrans->transliterate", replaceable, s); in TestNullTransliterator()
639 doTest((UnicodeString)"NullTransliterator->handleTransliterate", replaceable, s); in TestNullTransliterator()
800 doTest(message, got, exp); in TestGetAdoptFilter()
[all …]
Dg7coll.cpp142doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales()
174 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1()
208 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2()
242doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3()
271doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
Dfrcoll.cpp151 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
180 doTest(myCollation, testAcute[i], testAcute[j], expected ); in TestSecondary()
194 doTest(myCollation, testBugs[i], testBugs[j], Collator::LESS); in TestExtra()
Dencoll.cpp249 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
257 doTest(myCollation, testBugs[i], testBugs[j], Collator::LESS); in TestTertiary()
274 doTest(myCollation, testMore[i], testMore[j], expected ); in TestTertiary()
286 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
296 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
313 doTest(myCollation, testAcute[i], testAcute[j], expected ); in TestSecondary()
/external/chromium_org/third_party/icu/source/test/intltest/
Ditrbnfrt.cpp70 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
88 doTest(formatter, 0, 12345678); in TestDurationsRT()
106 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
124 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
142 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
160 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
178 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
196 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
214 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
232 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
Djacoll.cpp114 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
124 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], Collator::LESS); in TestBase()
133doTest(myCollation, testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], in TestPlainDakutenHandakuten()
147 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], Collator::LESS); in TestSmallLarge()
160 doTest(myCollation, testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], in TestKatakanaHiragana()
175 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], Collator::LESS); in TestChooonKigoo()
Dallcoll.cpp98 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
116 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
126 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
138 doTest(myCollation, testCases[i], testCases[j], Collator::LESS); in TestExtra()
149 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
Dtransapi.cpp259 doTest(message, name, dispNames[i+1]); in TestGetDisplayName()
303 doTest(message, gotResult, Data[i+2]); in TestTransliterate1()
312 doTest(message, temp, Data[i+2]); in TestTransliterate1()
350doTest(t->getID() + ".transliterate(UnicodeString, int32_t, int32_t, UnicodeString):(" + start + "… in TestTransliterate2()
354doTest(t->getID() + ".transliterate(Replaceable, int32_t, int32_t, ):(" + start + "," + limit + ")… in TestTransliterate2()
407 doTest(message, rs, Data[i+2]); in TestTransliterate3()
439 doTest(message, rs, expected); in TestSimpleKeyboardTransliterator()
627 doTest((UnicodeString)"nulTrans->transliterate", replaceable, s); in TestNullTransliterator()
639 doTest((UnicodeString)"NullTransliterator->handleTransliterate", replaceable, s); in TestNullTransliterator()
800 doTest(message, got, exp); in TestGetAdoptFilter()
[all …]
Dg7coll.cpp149doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales()
184 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1()
218 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2()
252doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3()
281doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
Dfrcoll.cpp151 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
180 doTest(myCollation, testAcute[i], testAcute[j], expected ); in TestSecondary()
194 doTest(myCollation, testBugs[i], testBugs[j], Collator::LESS); in TestExtra()
/external/chromium_org/third_party/libjpeg_turbo/
Dtjunittest.c480 void doTest(int w, int h, const int *formats, int nformats, int subsamp, in doTest() function
639 doTest(35, 39, _3byteFormats, 2, TJSAMP_444, "test"); in main()
640 doTest(39, 41, _4byteFormats, 4, TJSAMP_444, "test"); in main()
641 doTest(41, 35, _3byteFormats, 2, TJSAMP_422, "test"); in main()
642 doTest(35, 39, _4byteFormats, 4, TJSAMP_422, "test"); in main()
643 doTest(39, 41, _3byteFormats, 2, TJSAMP_420, "test"); in main()
644 doTest(41, 35, _4byteFormats, 4, TJSAMP_420, "test"); in main()
645 doTest(35, 39, _3byteFormats, 2, TJSAMP_440, "test"); in main()
646 doTest(39, 41, _4byteFormats, 4, TJSAMP_440, "test"); in main()
647 doTest(35, 39, _onlyGray, 1, TJSAMP_GRAY, "test"); in main()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcjaptst.c130 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
151 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS); in TestBase()
172 doTest(myCollation, testPlainDakutenHandakutenCases[i], in TestPlainDakutenHandakuten()
197 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], in TestSmallLarge()
222 doTest(myCollation, testKatakanaHiraganaCases[i], in TestKatakanaHiragana()
248 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], in TestChooonKigoo()
Dcg7coll.c190 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales()
222 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1()
252 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2()
282 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3()
311 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
Dcfrtst.c163 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
193 doTest(myCollation, testAcute[i], testAcute[j], expected ); in TestSecondary()
214 doTest(myCollation, testBugs[i], testBugs[j], UCOL_LESS); in TestExtra()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcjaptst.c130 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
151 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS); in TestBase()
172 doTest(myCollation, testPlainDakutenHandakutenCases[i], in TestPlainDakutenHandakuten()
197 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], in TestSmallLarge()
222 doTest(myCollation, testKatakanaHiraganaCases[i], in TestKatakanaHiragana()
248 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], in TestChooonKigoo()
Dcg7coll.c178 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales()
211 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1()
241 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2()
271 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3()
300 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
Dcfrtst.c163 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
193 doTest(myCollation, testAcute[i], testAcute[j], expected ); in TestSecondary()
214 doTest(myCollation, testBugs[i], testBugs[j], UCOL_LESS); in TestExtra()
/external/llvm/tools/bugpoint/
DListReducer.h44 virtual TestResult doTest(std::vector<ElTy> &Prefix,
55 switch (doTest(TheList, empty, Error)) { in reduceList()
100 if (doTest(ShuffledList, empty, Error) == KeepPrefix) { in reduceList()
119 switch (doTest(Prefix, Suffix, Error)) { in reduceList()
180 if (doTest(EmptyList, TestList, Error) == KeepSuffix) { in reduceList()

1234