Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DError.h56 virtual bool isA(const void *const ClassID) const { in isA() function
61 template <typename ErrorInfoT> bool isA() const { in isA() function
62 return isA(ErrorInfoT::classID()); in isA()
216 template <typename ErrT> bool isA() const { in isA() function
217 return getPtr() && getPtr()->isA(ErrT::classID()); in isA()
298 bool isA(const void *const ClassID) const override { in isA() function
299 return ClassID == classID() || ParentErrT::isA(ClassID); in isA()
334 assert(!Payload1->isA<ErrorList>() && !Payload2->isA<ErrorList>() && in ErrorList()
345 if (E1.isA<ErrorList>()) { in join()
347 if (E2.isA<ErrorList>()) { in join()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DError.h69 virtual bool isA(const void *const ClassID) const { in isA() function
74 template <typename ErrorInfoT> bool isA() const { in isA() function
75 return isA(ErrorInfoT::classID()); in isA()
232 template <typename ErrT> bool isA() const { in isA() function
233 return getPtr() && getPtr()->isA(ErrT::classID()); in isA()
319 bool isA(const void *const ClassID) const override { in isA() function
320 return ClassID == classID() || ParentErrT::isA(ClassID); in isA()
354 assert(!Payload1->isA<ErrorList>() && !Payload2->isA<ErrorList>() && in ErrorList()
365 if (E1.isA<ErrorList>()) { in join()
367 if (E2.isA<ErrorList>()) { in join()
[all …]
/external/jcommander/src/test/java/com/beust/jcommander/
DParametersDelegateTest.java21 public boolean isA; in delegatingEmptyClassHasNoEffect() field in ParametersDelegateTest.MainParams
31 Assert.assertTrue(p.isA); in delegatingEmptyClassHasNoEffect()
46 public boolean isA; in delegatingSetsFieldsOnBothMainParamsAndTheDelegatedParams() field in ParametersDelegateTest.MainParams
56 Assert.assertFalse(p.isA); in delegatingSetsFieldsOnBothMainParamsAndTheDelegatedParams()
100 public boolean isA; in combinedAndNestedDelegates() field in ParametersDelegateTest.MainParams
118 Assert.assertTrue(p.isA); in combinedAndNestedDelegates()
/external/mockito/src/test/java/org/mockitousage/verification/
DVerificationUsingMatchersTest.java71 …verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123")… in shouldVerifyUsingMixedMatchers()
79 …verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123")… in shouldVerifyUsingMixedMatchers()
87 …verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123")… in shouldVerifyUsingMixedMatchers()
94 …verify(mock).threeArgumentMethod(and(geq(7), leq(10)), isA(String.class), Matchers.contains("123")… in shouldVerifyUsingMixedMatchers()
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DMultipleServletInjectorsTest.java22 import static org.easymock.EasyMock.isA;
50 fakeContextOne.setAttribute(eq(INJECTOR_NAME), isA(Injector.class)); in testTwoInjectors()
53 fakeContextTwo.setAttribute(eq(INJECTOR_NAME), isA(Injector.class)); in testTwoInjectors()
DInjectedFilterPipelineTest.java6 import static org.easymock.EasyMock.isA;
99 proceedingFilterChain.doFilter(isA(HttpServletRequest.class), (ServletResponse) isNull()); in testDispatchThruInjectedGuiceFilter()
138 proceedingFilterChain2.doFilter(isA(HttpServletRequest.class), (ServletResponse) isNull()); in testDispatchThruInjectedGuiceFilter()
DFilterPipelineTest.java6 import static org.easymock.EasyMock.isA;
83 proceedingFilterChain.doFilter(isA(HttpServletRequest.class), (ServletResponse) isNull()); in testDispatchThruGuiceFilter()
/external/llvm/unittests/Support/
DErrorTest.cpp158 EXPECT_TRUE(E.isA<CustomError>()); in TEST()
159 EXPECT_FALSE(E.isA<CustomSubError>()); in TEST()
160 EXPECT_TRUE(F.isA<CustomError>()); in TEST()
161 EXPECT_TRUE(F.isA<CustomSubError>()); in TEST()
162 EXPECT_FALSE(G.isA<CustomError>()); in TEST()
445 if (E.isA<CustomSubError>()) in TEST()
525 EXPECT_TRUE(E.isA<CustomError>()) << "Incorrect Expected error value"; in TEST()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsTest.java8 import static org.hamcrest.core.Is.isA;
46 final Matcher matcher = isA(Integer.class); in providesConvenientShortcutForIsInstanceOf()
/external/mockito/src/test/java/org/mockitousage/bugs/
DNPEWithCertainMatchersTest.java30 verify(mock).intArgumentMethod(isA(Integer.class)); in shouldNotThrowNPEWhenIntegerPassed()
37 verify(mock).intArgumentMethod(isA(Integer.class)); in shouldNotThrowNPEWhenIntPassed()
/external/guava/guava-tests/test/com/google/common/collect/
DConcurrentHashMultisetTest.java25 import static org.easymock.EasyMock.isA;
148 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null);
197 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existingZero);
199 expect(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class)))
202 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing);
207 expect(backingMap.replace(eq(KEY), eq(existingZero), isA(AtomicInteger.class)))
209 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing);
/external/mockito/src/test/java/org/mockitousage/stubbing/
DBasicStubbingTest.java32 when(mock.objectReturningMethod(isA(Integer.class))).thenReturn(100); in should_evaluate_latest_stubbing_first()
105 when(localMock.objectReturningMethod(isA(Integer.class))).thenReturn(100); in test_stub_only_not_verifiable()
/external/mockito/src/test/java/org/mockitousage/matchers/
DMoreMatchersTest.java44 verify(mock).simpleMethod(isA(List.class)); in any_class_should_be_actual_alias_to_isA()
50 verify(mock).simpleMethod(isA(String.class)); in any_class_should_be_actual_alias_to_isA()
DMatchersTest.java51 import static org.mockito.Mockito.isA;
79 when(mock.oneArg(and(isA(Class.class), eq(Object.class)))).thenReturn("9"); in and_overloaded()
141 when(mock.oneArg(not(isA(Class.class)))).thenReturn("9"); in not_overloaded()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIs.java72 public static <T> Matcher<T> isA(Class<T> type) { in isA() method in Is
/external/mockito/src/main/java/org/mockito/
DArgumentMatchers.java221 public static <T> T isA(Class<T> type) { in isA() method in ArgumentMatchers
1091 AdditionalMatchers.or(isNull(), isA(clazz)); in nullable()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java140 public static <T> org.hamcrest.Matcher<T> isA(java.lang.Class<T> type) { in isA() method in CoreMatchers
141 return org.hamcrest.core.Is.isA(type); in isA()
/external/mockito/src/test/java/org/mockitousage/basicapi/
DResetTest.java51 when(mock.objectReturningMethod(isA(Integer.class))).thenReturn(100); in shouldRemoveAllStubbing()
/external/hamcrest/
DCHANGES.txt49 * Correct inadvertent deprecation of the Is.isA factory method
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DMoreExecutorsTest.java278 assertThat(getOnlyElement(results)).isA(ListenableFutureTask.class); in testListeningDecorator()
281 assertThat(getOnlyElement(results)).isA(ListenableFutureTask.class); in testListeningDecorator()
/external/easymock/src/org/easymock/
DEasyMock.java677 public static <T> T isA(Class<T> clazz) { in isA() method in EasyMock
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java226 public static <T> org.hamcrest.Matcher<T> isA(java.lang.Class<T> type) { in isA() method in Matchers
227 return org.hamcrest.core.Is.<T>isA(type); in isA()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp51 if (E.isA<InstrProfError>()) { in exitWithError()
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/
DDeqpTestRunnerTest.java2304 EasyMock.isA(TimeUnit.class)); in runInstrumentationLineAndAnswer()
/external/valgrind/VEX/priv/
Dguest_amd64_toIR.c25895 Bool isA = have66noF2noF3(pfx); in dis_ESC_0F__VEX() local
25896 HChar ch = isA ? 'a' : 'u'; in dis_ESC_0F__VEX()
25905 if (isA) in dis_ESC_0F__VEX()
25920 Bool isA = have66noF2noF3(pfx); in dis_ESC_0F__VEX() local
25921 HChar ch = isA ? 'a' : 'u'; in dis_ESC_0F__VEX()
25930 if (isA) in dis_ESC_0F__VEX()
26457 Bool isA = have66noF2noF3(pfx); in dis_ESC_0F__VEX() local
26458 HChar ch = isA ? 'a' : 'u'; in dis_ESC_0F__VEX()
26468 if (isA) in dis_ESC_0F__VEX()
26482 Bool isA = have66noF2noF3(pfx); in dis_ESC_0F__VEX() local
[all …]