Searched refs:TestCondition (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/libc/utils/UnitTest/ |
D | Test.cpp | 73 bool test(RunContext *Ctx, TestCondition Cond, ValType LHS, ValType RHS, in test() 179 template bool Test::test<char, 0>(TestCondition Cond, char LHS, char RHS, 183 template bool Test::test<short, 0>(TestCondition Cond, short LHS, short RHS, 187 template bool Test::test<int, 0>(TestCondition Cond, int LHS, int RHS, 191 template bool Test::test<long, 0>(TestCondition Cond, long LHS, long RHS, 195 template bool Test::test<long long, 0>(TestCondition Cond, long long LHS, 200 template bool Test::test<unsigned char, 0>(TestCondition Cond, 207 Test::test<unsigned short, 0>(TestCondition Cond, unsigned short LHS, 212 template bool Test::test<unsigned int, 0>(TestCondition Cond, unsigned int LHS, 217 template bool Test::test<unsigned long, 0>(TestCondition Cond, [all …]
|
D | Test.h | 29 enum TestCondition { enum 42 bool test(RunContext *Ctx, TestCondition Cond, ValType LHS, ValType RHS, 85 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() 93 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test()
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AppDataDirGuesserTest.java | 174 private interface TestCondition { interface in AppDataDirGuesserTest 175 TestCondition withNonWriteable(String... files); in withNonWriteable() 176 TestCondition withProcessUid(Integer uid); in withProcessUid() 180 private TestCondition guessCacheDirFor(final String path) { in guessCacheDirFor() 182 return new TestCondition() { in guessCacheDirFor() 209 public TestCondition withNonWriteable(String... files) { in guessCacheDirFor() 215 public TestCondition withProcessUid(Integer uid) { in guessCacheDirFor()
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | UninterruptiblesTest.java | 106 Condition condition = TestCondition.create(); in testConditionAwaitTimeoutExceeded() 117 Condition condition = TestCondition.createAndSignalAfter(500, MILLISECONDS); in testConditionAwaitTimeoutNotExceeded() 128 Condition condition = TestCondition.create(); in testConditionAwaitInterruptedTimeoutExceeded() 140 Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); in testConditionAwaitInterruptedTimeoutNotExceeded() 859 private static class TestCondition implements Condition { 863 private TestCondition(Lock lock, Condition condition) { 868 static TestCondition createAndSignalAfter(long delay, TimeUnit unit) { 869 final TestCondition testCondition = create(); 887 static TestCondition create() { 890 return new TestCondition(lock, condition);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | UninterruptiblesTest.java | 107 Condition condition = TestCondition.create(); in testConditionAwaitTimeoutExceeded() 118 Condition condition = TestCondition.createAndSignalAfter(500, MILLISECONDS); in testConditionAwaitTimeoutNotExceeded() 129 Condition condition = TestCondition.create(); in testConditionAwaitInterruptedTimeoutExceeded() 141 Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS); in testConditionAwaitInterruptedTimeoutNotExceeded() 880 private static class TestCondition implements Condition { 884 private TestCondition(Lock lock, Condition condition) { 889 static TestCondition createAndSignalAfter(long delay, TimeUnit unit) { 890 final TestCondition testCondition = create(); 908 static TestCondition create() { 911 return new TestCondition(lock, condition);
|
/external/llvm-project/libc/utils/FPUtil/ |
D | TestHelpers.h | 25 template <typename T, __llvm_libc::testing::TestCondition Condition> 59 template <__llvm_libc::testing::TestCondition C, typename T>
|