/external/guava/guava-tests/test/com/google/common/base/ |
D | ToStringHelperTest.java | 36 String toTest = MoreObjects.toStringHelper(this).toString(); in testConstructor_instance() local 37 assertEquals("ToStringHelperTest{}", toTest); in testConstructor_instance() 41 String toTest = MoreObjects.toStringHelper(this).toString(); in testConstructorLenient_instance() local 42 assertTrue(toTest, toTest.matches(".*\\{\\}")); in testConstructorLenient_instance() 47 String toTest = MoreObjects.toStringHelper(new TestClass()).toString(); in testConstructor_innerClass() local 48 assertEquals("TestClass{}", toTest); in testConstructor_innerClass() 52 String toTest = MoreObjects.toStringHelper(new TestClass()).toString(); in testConstructorLenient_innerClass() local 53 assertTrue(toTest, toTest.matches(".*\\{\\}")); in testConstructorLenient_innerClass() 58 String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); in testConstructor_anonymousClass() local 59 assertEquals("{}", toTest); in testConstructor_anonymousClass() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | ToStringHelperTest.java | 36 String toTest = MoreObjects.toStringHelper(this).toString(); in testConstructor_instance() local 37 assertEquals("ToStringHelperTest{}", toTest); in testConstructor_instance() 41 String toTest = MoreObjects.toStringHelper(this).toString(); in testConstructorLenient_instance() local 42 assertTrue(toTest, toTest.matches(".*\\{\\}")); in testConstructorLenient_instance() 47 String toTest = MoreObjects.toStringHelper(new TestClass()).toString(); in testConstructor_innerClass() local 48 assertEquals("TestClass{}", toTest); in testConstructor_innerClass() 52 String toTest = MoreObjects.toStringHelper(new TestClass()).toString(); in testConstructorLenient_innerClass() local 53 assertTrue(toTest, toTest.matches(".*\\{\\}")); in testConstructorLenient_innerClass() 58 String toTest = MoreObjects.toStringHelper(new Object() {}).toString(); in testConstructor_anonymousClass() local 59 assertEquals("{}", toTest); in testConstructor_anonymousClass() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | AlgorithmTests.c | 62 #define CLEAR_BOTH(alg) { CLEAR_BIT(alg, *toTest); \ 63 if(toTest != &g_toTest) \ 66 #define SET_BOTH(alg) { SET_BIT(alg, *toTest); \ 67 if(toTest != &g_toTest) \ 70 #define TEST_BOTH(alg) ((toTest != &g_toTest) \ 71 ? TEST_BIT(alg, *toTest) || TEST_BIT(alg, g_toTest) \ 72 : TEST_BIT(alg, *toTest)) 76 if(_plat__IsCanceled() && toTest != &g_toTest) \ 89 ALGORITHM_VECTOR *toTest in TestHash() argument 200 ALGORITHM_VECTOR *toTest in AllSymsAreDone() argument [all …]
|
D | CryptSelfTest.c | 57 ALGORITHM_VECTOR *toTest // IN: the vector of the algorithms to test in CryptRunSelfTests() argument 66 if(TEST_BIT(alg, *toTest)) in CryptRunSelfTests() 68 TPM_RC result = CryptTestAlgorithm(alg, toTest); in CryptRunSelfTests() 125 TPML_ALG *toTest, // IN: list of algorithms to be tested in CryptIncrementalSelfTest() argument 133 pAssert(toTest != NULL && toDoList != NULL); in CryptIncrementalSelfTest() 134 if(toTest->count > 0) in CryptIncrementalSelfTest() 137 for(i = 0; i < toTest->count; i++) in CryptIncrementalSelfTest() 139 alg = toTest->algorithms[i]; in CryptIncrementalSelfTest() 201 ALGORITHM_VECTOR *toTest in CryptTestAlgorithm() argument 206 result = TestAlgorithm(alg, toTest); in CryptTestAlgorithm() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsImplTest.java | 150 List<String> toTest = createList(String.class); in testAddAllImpl() local 172 .that(Lists.addAllImpl(toTest, index, iterableToAdd)) in testAddAllImpl() 175 .that(toTest) in testAddAllImpl() 181 List<Integer> toTest = createList(Integer.class, 5, 2, -1, 2, 1, 10, 5); in testIndexOfImpl_nonNull() local 183 checkIndexOf(toTest, expected); in testIndexOfImpl_nonNull() 187 List<String> toTest; in testIndexOfImpl_null() local 189 toTest = createList(String.class, null, "A", "B", null, "C", null); in testIndexOfImpl_null() 195 checkIndexOf(toTest, expected); in testIndexOfImpl_null() 199 List<Integer> toTest = createList(Integer.class, 1, 5, 6, 10, 1, 3, 2, 1, 6); in testLastIndexOfImpl_nonNull() local 201 checkLastIndexOf(toTest, expected); in testLastIndexOfImpl_nonNull() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | ListsImplTest.java | 150 List<String> toTest = createList(String.class); in testAddAllImpl() local 172 .that(Lists.addAllImpl(toTest, index, iterableToAdd)) in testAddAllImpl() 175 .that(toTest) in testAddAllImpl() 181 List<Integer> toTest = createList(Integer.class, 5, 2, -1, 2, 1, 10, 5); in testIndexOfImpl_nonNull() local 183 checkIndexOf(toTest, expected); in testIndexOfImpl_nonNull() 187 List<String> toTest; in testIndexOfImpl_null() local 189 toTest = createList(String.class, null, "A", "B", null, "C", null); in testIndexOfImpl_null() 195 checkIndexOf(toTest, expected); in testIndexOfImpl_null() 199 List<Integer> toTest = createList(Integer.class, 1, 5, 6, 10, 1, 3, 2, 1, 6); in testLastIndexOfImpl_nonNull() local 201 checkLastIndexOf(toTest, expected); in testLastIndexOfImpl_nonNull() [all …]
|
/external/tpm2-tss/src/tss2-sys/api/ |
D | Tss2_Sys_IncrementalSelfTest.c | 17 const TPML_ALG *toTest) in Tss2_Sys_IncrementalSelfTest_Prepare() argument 22 if (!ctx || !toTest) in Tss2_Sys_IncrementalSelfTest_Prepare() 29 rval = Tss2_MU_TPML_ALG_Marshal(toTest, ctx->cmdBuffer, in Tss2_Sys_IncrementalSelfTest_Prepare() 64 const TPML_ALG *toTest, in Tss2_Sys_IncrementalSelfTest() argument 71 if (!toTest) in Tss2_Sys_IncrementalSelfTest() 74 rval = Tss2_Sys_IncrementalSelfTest_Prepare(sysContext, toTest); in Tss2_Sys_IncrementalSelfTest()
|
/external/tpm2-tss/src/tss2-esys/api/ |
D | Esys_IncrementalSelfTest.c | 68 const TPML_ALG *toTest, in Esys_IncrementalSelfTest() argument 74 toTest); in Esys_IncrementalSelfTest() 140 const TPML_ALG *toTest) in Esys_IncrementalSelfTest_Async() argument 144 esysContext, toTest); in Esys_IncrementalSelfTest_Async() 162 r = Tss2_Sys_IncrementalSelfTest_Prepare(esysContext->sys, toTest); in Esys_IncrementalSelfTest_Async()
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 218 unsigned int toTest[] = { 64, 128, 256, 512, 1024, 2048, 4096, 0 }; //8192, 16384, 32768, 0 }; in test_large_compile() local 223 for( i = 0; toTest[ i ] != 0; i++ ) in test_large_compile() 225 log_info( " %d...\n", toTest[ i ] ); in test_large_compile() 234 if( test_large_single_compile( context, deviceID, toTest[ i ] ) != 0 ) in test_large_compile() 236 …log_error( "ERROR: long program test failed for %d lines! (in %s:%d)\n", toTest[ i ], __FILE__, __… in test_large_compile() 242 …at)( end - start ) / (float)CLOCKS_PER_SEC, false, "clock() time in secs", "%d lines", toTest[i] ); in test_large_compile() 245 …) + 1.0e-6 * (time2.tv_usec - time1.tv_usec) , false, "wall time in secs", "%d lines", toTest[i] ); in test_large_compile() 390 …unsigned int toTest[] = { 2, 4, 8, 16, 32, 64, 128, 256, 0 }; // 512, 1024, 2048, 4096, 8192, 1638… in test_multi_file_libraries() local 395 for( i = 0; toTest[ i ] != 0; i++ ) in test_multi_file_libraries() 397 log_info( " %d...\n", toTest[ i ] ); in test_multi_file_libraries() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | LsrvCanonicalizer.java | 463 String toTest = row[0]; in getTestData() local 465 testData2.put(toTest, expected); in getTestData() 474 String toTest = rule.getType().toLocaleString(); in getTestData() local 476 if (!allToTest.contains(toTest)) { in getTestData() 477 testData2.put(toTest,expected); in getTestData() 489 final String toTest = decon.toLocaleString(); in getTestData() local 490 if (!allToTest.contains(toTest)) { in getTestData() 491 testData2.put(toTest, newTag.toLocaleString()); in getTestData() 504 final String toTest = fluffedUp.toLocaleString(); in getTestData() local 505 if (!allToTest.contains(toTest)) { in getTestData() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | CryptSelfTest_fp.h | 76 TPML_ALG *toTest, // IN: list of algorithms to be tested 105 ALGORITHM_VECTOR *toTest
|
D | AlgorithmTests_fp.h | 68 ALGORITHM_VECTOR *toTest
|
D | IncrementalSelfTest_fp.h | 47 TPML_ALG toTest; member
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
D | GenerateLocaleIDTestData.java | 40 String toTest = entry.getKey(); in main() local 42 pw.println(toTest + "\t;\t" + expected); in main()
|
D | ListCoverageLevels.java | 52 … Set<String> toTest = sc.getLocaleCoverageLocales(Organization.cldr, EnumSet.allOf(Level.class)); in main() local 58 toTest.forEach(locale -> _ALL.add(CLDRLocale.getInstance(locale))); in main() 84 for (String locale : toTest) { in main()
|
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestLsrvCanonicalizer.java | 53 String toTest = entry.getKey(); in testAgainstData() local 55 final XLanguageTag source2 = XLanguageTag.fromTag(LstrType.language, toTest); in testAgainstData() 60 "source: " + toTest in testAgainstData() 68 + "source: " + toTest in testAgainstData()
|
D | TestCoverage.java | 90 Set<String> toTest = new HashSet( in TestLocales() local 101 if (DEBUG && (!toTest.contains(locale) || level != Level.MODERN)) { in TestLocales()
|
D | TestPathHeader.java | 160 Set<String> toTest; in TestCompleteness() local 163 toTest = StandardCodes.make().getLocaleCoverageLocales(Organization.cldr); in TestCompleteness() 166 toTest = factory.getAvailable(); in TestCompleteness() 169 toTest = ImmutableSet.<String> builder().add("en").addAll(toTest).build(); in TestCompleteness() 172 for (String locale : toTest) { in TestCompleteness()
|
D | TestSupplementalInfo.java | 696 Set<String> toTest = new TreeSet<>(testInfo.getCldrFactory() in TestEquivalentLocales() local 698 toTest.addAll(SUPPLEMENTAL.getLikelySubtags().keySet()); in TestEquivalentLocales() 699 toTest.addAll(SUPPLEMENTAL.getLikelySubtags().values()); in TestEquivalentLocales() 700 toTest.addAll(SUPPLEMENTAL.getDefaultContentLocales()); in TestEquivalentLocales() 702 main: for (String locale : toTest) { in TestEquivalentLocales()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/command/Testing/ |
D | IncrementalSelfTest.c | 59 result = CryptIncrementalSelfTest(&in->toTest, &out->toDoList); in TPM2_IncrementalSelfTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | TransliteratorDisorderedMarksTest.java | 202 UnicodeSet toTest = disorderedMarks; in TestSourceTargetSet2() local 209 for (String s : toTest) { in TestSourceTargetSet2()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | TransliteratorDisorderedMarksTest.java | 199 UnicodeSet toTest = disorderedMarks; in TestSourceTargetSet2() local 206 for (String s : toTest) { in TestSourceTargetSet2()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 1751 String toTest [][] = { in TestOrientation() local 1761 for (int i = 0; i < toTest.length; ++i) { in TestOrientation() 1762 ULocale loc = new ULocale(toTest[i][0]); in TestOrientation() 1765 if (!co.equals(toTest[i][1])) { in TestOrientation() 1766 …errln("Locale \"" + toTest[i][0] + "\" should have \"" + toTest[i][1] + "\" character orientation,… in TestOrientation() 1768 else if (!lo.equals(toTest[i][2])) { in TestOrientation() 1769 …errln("Locale \"" + toTest[i][0] + "\" should have \"" + toTest[i][2] + "\" line orientation, but … in TestOrientation()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleTest.java | 1754 String toTest [][] = { in TestOrientation() local 1764 for (int i = 0; i < toTest.length; ++i) { in TestOrientation() 1765 ULocale loc = new ULocale(toTest[i][0]); in TestOrientation() 1768 if (!co.equals(toTest[i][1])) { in TestOrientation() 1769 …errln("Locale \"" + toTest[i][0] + "\" should have \"" + toTest[i][1] + "\" character orientation,… in TestOrientation() 1771 else if (!lo.equals(toTest[i][2])) { in TestOrientation() 1772 …errln("Locale \"" + toTest[i][0] + "\" should have \"" + toTest[i][2] + "\" line orientation, but … in TestOrientation()
|
/external/skia/modules/canvaskit/tests/ |
D | canvas2d_test.js | 791 const toTest = ['font', 'lineWidth', 'strokeStyle', 'lineCap', variable 800 for(let attr of toTest) {
|