/external/mockito/src/test/java/org/mockito/internal/matchers/ |
InstanceOfTest.java | 14 assertThat(new InstanceOf(Object.class).toString()).contains("isA") 16 assertThat(new InstanceOf(Object[].class).toString()).contains("isA") 18 assertThat(new InstanceOf(Object.class, "matches something").toString()).isEqualTo("matches something"); 23 assertThat(new InstanceOf(Object.class).matches(new Object())).isTrue(); 24 assertThat(new InstanceOf(Object.class).matches(new ArrayList())).isTrue(); 25 assertThat(new InstanceOf(List.class).matches(new ArrayList())).isTrue(); 26 assertThat(new InstanceOf(List.class).matches(new Object())).isFalse(); 31 assertThat(new InstanceOf(int.class).matches(1000)).isTrue(); 32 assertThat(new InstanceOf(Integer.class).matches(1000)).isTrue(); 33 assertThat(new InstanceOf(int.class).matches(new Integer(1000))).isTrue() [all...] |
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
InstanceOf.java | 14 public class InstanceOf implements ArgumentMatcher<Object>, Serializable { 19 public InstanceOf(Class<?> clazz) { 23 public InstanceOf(Class<?> clazz, String describedAs) { 38 public static class VarArgAware extends InstanceOf implements VarargMatcher {
|
/external/easymock/src/org/easymock/internal/matchers/ |
InstanceOf.java | 22 public class InstanceOf implements IArgumentMatcher, Serializable {
28 public InstanceOf(Class<?> clazz) {
|
/external/mockito/src/main/java/org/mockito/ |
ArgumentMatchers.java | 19 import org.mockito.internal.matchers.InstanceOf; 207 reportMatcher(new InstanceOf.VarArgAware(type, "<any " + type.getCanonicalName() + ">")); 222 reportMatcher(new InstanceOf(type)); 282 reportMatcher(new InstanceOf(Boolean.class, "<any boolean>")); 305 reportMatcher(new InstanceOf(Byte.class, "<any byte>")); 328 reportMatcher(new InstanceOf(Character.class, "<any char>")); 351 reportMatcher(new InstanceOf(Integer.class, "<any integer>")); 374 reportMatcher(new InstanceOf(Long.class, "<any long>")); 397 reportMatcher(new InstanceOf(Float.class, "<any float>")); 420 reportMatcher(new InstanceOf(Double.class, "<any double>")) [all...] |
/art/runtime/entrypoints/quick/ |
quick_cast_entrypoints.cc | 35 return obj->InstanceOf(ref_class) ? 1 : 0;
|
/external/r8/src/main/java/com/android/tools/r8/ir/code/ |
InstanceOf.java | 14 public class InstanceOf extends Instruction { 18 public InstanceOf(Value dest, Value value, DexType type) { 39 builder.add(this, new com.android.tools.r8.code.InstanceOf(dest, value, type)); 73 public InstanceOf asInstanceOf() {
|
Instruction.java | 494 public InstanceOf asInstanceOf() {
|
/external/r8/src/main/java/com/android/tools/r8/code/ |
InstanceOf.java | 11 public class InstanceOf extends Format22c { 14 public static final String NAME = "InstanceOf"; 17 InstanceOf(int high, BytecodeStream stream, OffsetToObjectMapping mapping) { 21 public InstanceOf(int dest, int value, DexType type) {
|
BaseInstructionFactory.java | 77 case InstanceOf.OPCODE: 78 return new InstanceOf(high, stream, mapping);
|
/art/test/486-checker-must-do-null-check/src/ |
Main.java | 19 /// CHECK: InstanceOf must_do_null_check:false 22 if (o instanceof Main) { 27 /// CHECK-START: void Main.InstanceOf(java.lang.Object) instruction_simplifier (after) 28 /// CHECK: InstanceOf must_do_null_check:true 29 public void InstanceOf(Object o) throws Exception { 30 if (o instanceof Main) {
|
/art/runtime/ |
reflection-inl.h | 123 } else if (UNLIKELY(!o->InstanceOf(c.Ptr()))) {
|
reflection.cc | 247 if (UNLIKELY(arg == nullptr || !arg->InstanceOf(dst_class))) { 395 if (argument != nullptr && !argument->InstanceOf(param_type)) { 777 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { [all...] |
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/ |
LensCodeRewriter.java | 23 import com.android.tools.r8.ir.code.InstanceOf; 75 if (arg instanceof DexValueMethodHandle) { 175 InstanceOf instanceOf = current.asInstanceOf(); 176 DexType newType = graphLense.lookupType(instanceOf.type(), method); 177 if (newType != instanceOf.type()) { 178 InstanceOf newInstanceOf = new InstanceOf(makeOutValue(instanceOf, code), 179 instanceOf.value(), newType) [all...] |
/art/runtime/mirror/ |
throwable.cc | 72 if (InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_Error))) { 75 return !InstanceOf(WellKnownClasses::ToClass(WellKnownClasses::java_lang_RuntimeException));
|
object_test.cc | 525 TEST_F(ObjectTest, InstanceOf) { 541 EXPECT_TRUE(x->InstanceOf(X)); 542 EXPECT_FALSE(x->InstanceOf(Y)); 543 EXPECT_TRUE(y->InstanceOf(X)); 544 EXPECT_TRUE(y->InstanceOf(Y)); 549 EXPECT_FALSE(java_lang_Class->InstanceOf(Object_array_class)); 550 EXPECT_TRUE(Object_array_class->InstanceOf(java_lang_Class)); 558 EXPECT_TRUE(array->InstanceOf(java_lang_Cloneable)); 559 EXPECT_TRUE(array->InstanceOf(java_io_Serializable));
|
object_array-inl.h | 79 if (UNLIKELY(!object->InstanceOf(element_class))) {
|
/external/mockito/src/test/java/org/mockito/internal/invocation/ |
MatcherApplicationStrategyTest.java | 23 import org.mockito.internal.matchers.InstanceOf; 99 matchers = asList(new Equals("1"), Any.ANY, new InstanceOf(String.class));
|
/art/compiler/optimizing/ |
scheduler_arm.h | 84 M(InstanceOf , unused) \
|
scheduler_arm64.h | 75 M(InstanceOf , unused) \
|
/external/v8/src/runtime/ |
runtime-operators.cc | 193 Object::InstanceOf(isolate, object, callable));
|
/art/runtime/entrypoints/ |
entrypoint_utils.cc | 50 if (!o->InstanceOf(return_type)) {
|
/external/v8/src/ |
code-factory.h | 78 static Callable InstanceOf(Isolate* isolate);
|
/external/easymock/src/org/easymock/ |
EasyMock.java | 678 reportMatcher(new InstanceOf(clazz));
[all...] |
/external/guice/extensions/persist/lib/ |
easymock.jar | |
/external/guice/lib/build/ |
easymock.jar | |