Home
last modified time | relevance | path

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

12

/art/runtime/native/
Djava_lang_Object.cc30 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()
Djava_lang_reflect_Field.cc50 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/
DMain.java19 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/
DMain.java47 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()
DObjectOverridingInterface.java21 public boolean equals(Object o); in equals() argument
/art/runtime/entrypoints/quick/
Dquick_jni_entrypoints.cc87 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/
DMain.java96 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/
Dportable_jni_entrypoints.cc68 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/
DMain.java85 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/
Dreflection.cc604 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 …]
Djni_internal_test.cc111 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 …]
Ddebugger.cc406 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 …]
Dreflection.h38 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)
Ddex_instruction_visitor.h35 #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
Dutils_test.cc119 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()
Ddex_instruction.cc30 #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/
Dobject_registry.cc43 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()
Dobject_registry.h63 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/
DMain.java32 Object o = null; in main() local
33 int hash = o.hashCode(); in main()
/art/runtime/mirror/
Dobject_array-inl.h203 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/
DREADME.mips15 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/
Dstringpiece.cc90 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/
DMain.java84 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/
Dentrypoint_utils.cc215 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/
DMain.java79 private static void checkTimeout(Object o) { in checkTimeout() argument
80 checkTimeout(o != null); in checkTimeout()

12