Searched refs:cookie (Results 1 - 8 of 8) sorted by relevance

/art/runtime/
H A Dindirect_reference_table_test.cc62 const uint32_t cookie = IRT_FIRST_SEGMENT; local
67 EXPECT_FALSE(irt.Remove(cookie, iref0)) << "unexpectedly successful removal";
70 iref0 = irt.Add(cookie, obj0);
73 IndirectRef iref1 = irt.Add(cookie, obj1);
76 IndirectRef iref2 = irt.Add(cookie, obj2);
84 EXPECT_TRUE(irt.Remove(cookie, iref0));
86 EXPECT_TRUE(irt.Remove(cookie, iref1));
88 EXPECT_TRUE(irt.Remove(cookie, iref2));
98 iref0 = irt.Add(cookie, obj0);
100 iref1 = irt.Add(cookie, obj
[all...]
H A Dindirect_reference_table.cc87 IndirectRef IndirectReferenceTable::Add(uint32_t cookie, mirror::Object* obj) { argument
89 prevState.all = cookie;
148 // specified by the cookie, we don't remove anything. This is the behavior
153 bool IndirectReferenceTable::Remove(uint32_t cookie, IndirectRef iref) { argument
155 prevState.all = cookie;
194 << " (cookie=" << cookie << ") val="
H A Dindirect_reference_table.h133 /* use as initial value for "cookie", and when table has only one segment */
168 * Instead of a "bottom" argument we take a "cookie", which includes the
283 IndirectRef Add(uint32_t cookie, mirror::Object* obj)
307 * specified by the cookie, we don't remove anything. This is the behavior
312 bool Remove(uint32_t cookie, IndirectRef iref);
H A Djni_internal.cc853 uint32_t cookie = reinterpret_cast<JNIEnvExt*>(env)->local_ref_cookie; local
854 if (!locals.Remove(cookie, obj)) {
H A Dclass_linker.cc2087 const uint64_t cookie = cookie_field->GetLong(dex_file); local
2089 reinterpret_cast<std::vector<const DexFile*>*>(static_cast<uintptr_t>(cookie));
/art/runtime/entrypoints/quick/
H A Dquick_entrypoints_list.h61 V(JniMethodEnd, void, uint32_t cookie, Thread* self) \
62 V(JniMethodEndSynchronized, void, uint32_t cookie, jobject locked, Thread* self) \
63 V(JniMethodEndWithReference, mirror::Object*, jobject result, uint32_t cookie, Thread* self) \
64 V(JniMethodEndWithReferenceSynchronized, mirror::Object*, jobject result, uint32_t cookie, jobject locked, Thread* self) \
H A Dquick_trampoline_entrypoints.cc1347 // Adds space for the cookie. Note: may leave stack unaligned.
1349 // Reference cookie and padding
1353 // Re-layout the callee-save frame (insert a handle-scope). Then add space for the cookie.
1365 // Add space for cookie.
1610 uint64_t artQuickGenericJniEndJNIRef(Thread* self, uint32_t cookie, jobject l, jobject lock) { argument
1612 return reinterpret_cast<uint64_t>(JniMethodEndWithReferenceSynchronized(l, cookie, lock, self));
1614 return reinterpret_cast<uint64_t>(JniMethodEndWithReference(l, cookie, self));
1618 void artQuickGenericJniEndJNINonRef(Thread* self, uint32_t cookie, jobject lock) { argument
1620 JniMethodEndSynchronized(cookie, lock, self);
1622 JniMethodEnd(cookie, sel
1657 uint32_t cookie; local
1717 uint32_t cookie = *(sp32 - 1); local
[all...]
/art/runtime/native/
H A Ddalvik_system_DexFile.cc150 static void DexFile_closeDexFile(JNIEnv* env, jclass, jlong cookie) { argument
151 std::unique_ptr<std::vector<const DexFile*>> dex_files(toDexFiles(cookie, env));
170 jlong cookie) {
171 std::vector<const DexFile*>* dex_files = toDexFiles(cookie, env);
212 static jobjectArray DexFile_getClassNameList(JNIEnv* env, jclass, jlong cookie) { argument
214 std::vector<const DexFile*>* dex_files = toDexFiles(cookie, env);
169 DexFile_defineClassNative(JNIEnv* env, jclass, jstring javaName, jobject javaLoader, jlong cookie) argument

Completed in 1093 milliseconds