/art/runtime/native/ |
D | java_lang_Object.cc | 30 mirror::Object* o = soa.Decode<mirror::Object*>(java_this); in Object_internalClone() local 31 return soa.AddLocalReference<jobject>(o->Clone(soa.Self())); in Object_internalClone() 36 mirror::Object* o = soa.Decode<mirror::Object*>(java_this); in Object_notify() local 37 o->Notify(soa.Self()); in Object_notify() 42 mirror::Object* o = soa.Decode<mirror::Object*>(java_this); in Object_notifyAll() local 43 o->NotifyAll(soa.Self()); in Object_notifyAll() 48 mirror::Object* o = soa.Decode<mirror::Object*>(java_this); in Object_wait() local 49 o->Wait(soa.Self()); in Object_wait() 54 mirror::Object* o = soa.Decode<mirror::Object*>(java_this); in Object_waitJI() local 55 o->Wait(soa.Self(), ms, ns); in Object_waitJI()
|
D | java_lang_reflect_Field.cc | 50 const ScopedFastNativeObjectAccess& soa, mirror::Object* o, mirror::ArtField* f, in GetFieldValue() argument 56 value->SetZ(f->GetBoolean(o)); in GetFieldValue() 59 value->SetB(f->GetByte(o)); in GetFieldValue() 62 value->SetC(f->GetChar(o)); in GetFieldValue() 65 value->SetD(f->GetDouble(o)); in GetFieldValue() 68 value->SetF(f->GetFloat(o)); in GetFieldValue() 71 value->SetI(f->GetInt(o)); in GetFieldValue() 74 value->SetJ(f->GetLong(o)); in GetFieldValue() 77 value->SetS(f->GetShort(o)); in GetFieldValue() 81 value->SetL(f->GetObject(o)); in GetFieldValue() [all …]
|
/art/test/120-hashcode/src/ |
D | Main.java | 19 Object o = new Object(); in main() local 21 int hashOrig = o.hashCode(); in main() 23 int hashSystemOrig = System.identityHashCode(o); in main() 26 synchronized (o) { in main() 27 hashInflated = o.hashCode(); in main() 28 hashSystemInflated = System.identityHashCode(o); in main()
|
/art/test/022-interface/src/ |
D | Main.java | 47 ObjectOverridingInterface o = in objectOverrideTests() local 49 public boolean equals(Object o) { in objectOverrideTests() 68 doObjectOverrideTests(o); in objectOverrideTests() 90 static void doObjectOverrideTests(ObjectOverridingInterface o) { in doObjectOverrideTests() argument 91 check(o.equals(null)); in doObjectOverrideTests() 92 check(o.hashCode() == 0xC001D00D); in doObjectOverrideTests() 93 check(o.toString().equals("Mallet's Mallet")); in doObjectOverrideTests()
|
D | ObjectOverridingInterface.java | 21 public boolean equals(Object o); in equals() argument
|
/art/runtime/entrypoints/quick/ |
D | quick_jni_entrypoints.cc | 87 mirror::Object* o = self->DecodeJObject(result); // Must decode before pop. in JniMethodEndWithReference() local 94 CheckReferenceResult(o, self); in JniMethodEndWithReference() 96 VerifyObject(o); in JniMethodEndWithReference() 97 return o; in JniMethodEndWithReference() 105 mirror::Object* o = self->DecodeJObject(result); in JniMethodEndWithReferenceSynchronized() local 112 CheckReferenceResult(o, self); in JniMethodEndWithReferenceSynchronized() 114 VerifyObject(o); in JniMethodEndWithReferenceSynchronized() 115 return o; in JniMethodEndWithReferenceSynchronized()
|
/art/test/201-built-in-exception-detail-messages/src/ |
D | Main.java | 96 Object o = os[2]; in arrayAccess() local 106 Object o = new Exception(); in arrayStore() local 107 array[0] = o; in arrayStore() 116 Object o = new Integer(5); in arrayStore() local 117 array[0] = o; in arrayStore() 126 Object o = new C[4]; in arrayStore() local 127 array[0] = o; in arrayStore() 196 Object o = new Exception(); in classCast() local 197 String s = (String) o; in classCast() 205 Object o = (C) makeArray(String.class); in classCast() local [all …]
|
/art/runtime/entrypoints/portable/ |
D | portable_jni_entrypoints.cc | 68 mirror::Object* o = self->DecodeJObject(result); // Must decode before pop. in art_portable_jni_method_end_with_reference() local 75 CheckReferenceResult(o, self); in art_portable_jni_method_end_with_reference() 77 return o; in art_portable_jni_method_end_with_reference() 87 mirror::Object* o = self->DecodeJObject(result); in art_portable_jni_method_end_with_reference_synchronized() local 94 CheckReferenceResult(o, self); in art_portable_jni_method_end_with_reference_synchronized() 96 return o; in art_portable_jni_method_end_with_reference_synchronized()
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 85 Object o = new byte[1024]; in main() local 108 Object o = new Object(); in privateMethod() local 147 Object o = new Object(); in $opt$TestReturnNewObject() local 149 return o; in $opt$TestReturnNewObject() 162 Object o = new Object(); in $opt$TestInvokeNew() local 164 printStaticMethodWithObjectArg(o); in $opt$TestInvokeNew() 205 m.o = new Main(); in $opt$SetFieldInOldObject() 208 Object o; field in Main
|
/art/runtime/ |
D | reflection.cc | 604 bool VerifyObjectIsClass(mirror::Object* o, mirror::Class* c) { in VerifyObjectIsClass() argument 605 if (o == NULL) { in VerifyObjectIsClass() 608 } else if (!o->InstanceOf(c)) { in VerifyObjectIsClass() 610 std::string actual_class_name(PrettyTypeOf(o)); in VerifyObjectIsClass() 693 static bool UnboxPrimitive(const ThrowLocation* throw_location, mirror::Object* o, in UnboxPrimitive() argument 699 if (UNLIKELY(o != nullptr && !o->InstanceOf(dst_class))) { in UnboxPrimitive() 705 PrettyTypeOf(o).c_str()).c_str()); in UnboxPrimitive() 709 PrettyTypeOf(o).c_str(), in UnboxPrimitive() 714 unboxed_value->SetL(o); in UnboxPrimitive() 723 if (UNLIKELY(o == nullptr)) { in UnboxPrimitive() [all …]
|
D | jni_internal_test.cc | 111 jobject o = env_->AllocObject(c); in TEST_F() local 112 ASSERT_NE(o, nullptr); in TEST_F() 115 ASSERT_TRUE(env_->IsInstanceOf(o, c)); in TEST_F() 118 ASSERT_EQ(0, env_->GetIntField(o, env_->GetFieldID(c, "count", "I"))); in TEST_F() 119 ASSERT_EQ(0, env_->GetIntField(o, env_->GetFieldID(c, "offset", "I"))); in TEST_F() 120 ASSERT_TRUE(env_->GetObjectField(o, env_->GetFieldID(c, "value", "[C")) == nullptr); in TEST_F() 1308 jobject o = env_->AllocObject(c); in TEST_F() local 1309 ASSERT_NE(o, nullptr); in TEST_F() 1320 EXPECT_PRIMITIVE_FIELD(o, Boolean, "iZ", "Z", JNI_TRUE, JNI_FALSE); in TEST_F() 1321 EXPECT_PRIMITIVE_FIELD(o, Byte, "iB", "B", 1, 2); in TEST_F() [all …]
|
D | debugger.cc | 406 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id); in DecodeArray() local 407 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in DecodeArray() 411 if (!o->IsArrayInstance()) { in DecodeArray() 416 return o->AsArray(); in DecodeArray() 421 mirror::Object* o = Dbg::GetObjectRegistry()->Get<mirror::Object*>(id); in DecodeClass() local 422 if (o == NULL || o == ObjectRegistry::kInvalidObject) { in DecodeClass() 426 if (!o->IsClass()) { in DecodeClass() 431 return o->AsClass(); in DecodeClass() 514 JDWP::JdwpTag Dbg::TagFromObject(const ScopedObjectAccessUnchecked& soa, mirror::Object* o) { in TagFromObject() argument 515 return (o == NULL) ? JDWP::JT_OBJECT : TagFromClass(soa, o->GetClass()); in TagFromObject() [all …]
|
D | reflection.h | 38 bool UnboxPrimitiveForField(mirror::Object* o, mirror::Class* dst_class, mirror::ArtField* f, 41 bool UnboxPrimitiveForResult(const ThrowLocation& throw_location, mirror::Object* o, 74 bool VerifyObjectIsClass(mirror::Object* o, mirror::Class* c)
|
D | dex_instruction_visitor.h | 35 #define INSTRUCTION_CASE(o, cname, p, f, r, i, a, v) \ in Visit() argument 53 #define INSTRUCTION_VISITOR(o, cname, p, f, r, i, a, v) \ argument
|
D | utils_test.cc | 119 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() local 120 EXPECT_EQ("java.lang.String[]", PrettyTypeOf(o)); in TEST_F() 121 EXPECT_EQ("java.lang.Class<java.lang.String[]>", PrettyTypeOf(o->GetClass())); in TEST_F() 129 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() local 130 EXPECT_EQ("java.lang.Class<java.lang.String[]>", PrettyClass(o->GetClass())); in TEST_F() 138 mirror::Object* o = mirror::ObjectArray<mirror::String>::Alloc(soa.Self(), c, 0); in TEST_F() local 139 EXPECT_EQ("java.lang.Class<java.lang.String[],null>", PrettyClassAndClassLoader(o->GetClass())); in TEST_F()
|
D | dex_instruction.cc | 30 #define INSTRUCTION_NAME(o, c, pname, f, r, i, a, v) pname, argument 38 #define INSTRUCTION_FORMAT(o, c, p, format, r, i, a, v) format, argument 46 #define INSTRUCTION_FLAGS(o, c, p, f, r, i, flags, v) flags, argument 54 #define INSTRUCTION_VERIFY_FLAGS(o, c, p, f, r, i, a, vflags) vflags, argument
|
/art/runtime/jdwp/ |
D | object_registry.cc | 43 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { in Add() argument 44 return InternalAdd(o); in Add() 47 JDWP::ObjectId ObjectRegistry::InternalAdd(mirror::Object* o) { in InternalAdd() argument 48 if (o == nullptr) { in InternalAdd() 54 Handle<mirror::Object> obj_h(hs.NewHandle(o)); in InternalAdd() 91 bool ObjectRegistry::ContainsLocked(Thread* self, mirror::Object* o, int32_t identity_hash_code, in ContainsLocked() argument 93 DCHECK(o != nullptr); in ContainsLocked() 97 if (o == self->DecodeJObject(entry->jni_reference)) { in ContainsLocked()
|
D | object_registry.h | 63 JDWP::ObjectId Add(mirror::Object* o) 97 JDWP::ObjectId InternalAdd(mirror::Object* o) 113 bool ContainsLocked(Thread* self, mirror::Object* o, int32_t identity_hash_code,
|
/art/test/004-SignalTest/src/ |
D | Main.java | 32 Object o = null; in main() local 33 int hash = o.hashCode(); in main()
|
/art/runtime/mirror/ |
D | object_array-inl.h | 203 Object* o = nullptr; in AssignableCheckingMemcpy() local 208 o = src->GetWithoutChecks(src_pos + i); in AssignableCheckingMemcpy() 209 if (o == nullptr) { in AssignableCheckingMemcpy() 214 Class* o_class = o->GetClass(); in AssignableCheckingMemcpy() 216 SetWithoutChecks<false>(dst_pos + i, o); in AssignableCheckingMemcpy() 219 SetWithoutChecks<false>(dst_pos + i, o); in AssignableCheckingMemcpy() 229 std::string actualSrcType(PrettyTypeOf(o)); in AssignableCheckingMemcpy()
|
/art/compiler/dex/quick/mips/ |
D | README.mips | 15 o Endianness. Focus was on little-endian support, and if a big-endian 20 o The memory model. Verify that GenMemoryBarrier() generates the 31 o Expand the def/use mask (which, unfortunately, is a significant change) 32 o The Arm target uses 52 of the 64 bits, so we could support float 34 o We could likely assign the 4 non-register bits (kDalvikReg, kLiteral,
|
/art/runtime/base/ |
D | stringpiece.cc | 90 std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { in operator <<() argument 91 o.write(piece.data(), piece.size()); in operator <<() 92 return o; in operator <<()
|
/art/test/004-ThreadStress/src/ |
D | Main.java | 84 int o = 0; in main() local 89 if (o == operations.length) { in main() 92 operations[o] = op; in main() 93 o++; in main()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 215 void CheckReferenceResult(mirror::Object* o, Thread* self) { in CheckReferenceResult() argument 216 if (o == NULL) { in CheckReferenceResult() 220 if (o == kInvalidIndirectRefObject) { in CheckReferenceResult() 228 if (!o->InstanceOf(return_type)) { in CheckReferenceResult() 229 JniAbortF(NULL, "attempt to return an instance of %s from %s", PrettyTypeOf(o).c_str(), in CheckReferenceResult()
|
/art/test/114-ParallelGC/src/ |
D | Main.java | 79 private static void checkTimeout(Object o) { in checkTimeout() argument 80 checkTimeout(o != null); in checkTimeout()
|