Home
last modified time | relevance | path

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

123

/art/test/923-monitors/src/art/
DTest923.java49 private static void simpleTests(long id) { in simpleTests() argument
50 unlock(id); // Should fail. in simpleTests()
52 lock(id); in simpleTests()
53 unlock(id); in simpleTests()
54 unlock(id); // Should fail. in simpleTests()
56 lock(id); in simpleTests()
57 lock(id); in simpleTests()
58 unlock(id); in simpleTests()
59 unlock(id); in simpleTests()
60 unlock(id); // Should fail. in simpleTests()
[all …]
/art/test/913-heaps/
Dexpected_jack.diff2 < root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
4 > root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
6 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location…
7 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
9 > root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=13,location…
10 > root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
12 < root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
14 > root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locat…
16 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location…
17 < root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location=…
[all …]
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=13,locatio…
5 root@root --(stack-local[id=1,tag=3000,depth=3,method=doFollowReferencesTest,vreg=1,location= 28])-…
6 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=136,…
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
48 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=136, length=…
49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=11,location= …
50 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 1…
52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=136,…
[all …]
/art/test/910-methods/
Dmethods.cc35 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodName() local
40 jvmtiError result = jvmti_env->GetMethodName(id, &name, &sig, &gen); in Java_art_Test910_getMethodName()
68 jvmtiError result2 = jvmti_env->GetMethodName(id, nullptr, nullptr, nullptr); in Java_art_Test910_getMethodName()
78 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodDeclaringClass() local
81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); in Java_art_Test910_getMethodDeclaringClass()
91 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodModifiers() local
94 jvmtiError result = jvmti_env->GetMethodModifiers(id, &modifiers); in Java_art_Test910_getMethodModifiers()
104 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMaxLocals() local
107 jvmtiError result = jvmti_env->GetMaxLocals(id, &max_locals); in Java_art_Test910_getMaxLocals()
117 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getArgumentsSize() local
[all …]
/art/runtime/jdwp/
Djdwp_request.cc91 FieldId id = Read8BE(); in ReadFieldId() local
92 VLOG(jdwp) << " field id " << DescribeField(id); in ReadFieldId()
93 return id; in ReadFieldId()
97 MethodId id = Read8BE(); in ReadMethodId() local
98 VLOG(jdwp) << " method id " << DescribeMethod(id); in ReadMethodId()
99 return id; in ReadMethodId()
103 ObjectId id = Read8BE(); in ReadObjectId() local
104 VLOG(jdwp) << android::base::StringPrintf(" %s id %#" PRIx64, specific_kind, id); in ReadObjectId()
105 return id; in ReadObjectId()
125 RefTypeId id = Read8BE(); in ReadRefTypeId() local
[all …]
Dobject_registry.cc32 << ",id=" << rhs.id << "]"; in operator <<()
107 entry->id = 0; in InternalAdd()
119 entry->id = next_id_++; in InternalAdd()
121 id_to_entry_.Put(entry->id, entry); in InternalAdd()
125 return entry->id; in InternalAdd()
179 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { in InternalGet() argument
182 auto it = id_to_entry_.find(id); in InternalGet()
192 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject() argument
193 if (id == 0) { in GetJObject()
198 auto it = id_to_entry_.find(id); in GetJObject()
[all …]
Dobject_registry.h49 JDWP::ObjectId id; member
84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get() argument
86 if (id == 0) { in Get()
90 return down_cast<T>(InternalGet(id, error)); in Get()
95 void DisableCollection(JDWP::ObjectId id)
98 void EnableCollection(JDWP::ObjectId id)
101 bool IsCollected(JDWP::ObjectId id)
104 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
109 jobject GetJObject(JDWP::ObjectId id) REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!lock_);
117 mirror::Object* InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error)
Djdwp.h71 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFieldId() argument
72 …c inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } in expandBufAddMethodId() argument
73 …c inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } in expandBufAddObjectId() argument
74 …inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } in expandBufAddRefTypeId() argument
75 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFrameId() argument
/art/runtime/openjdkjvmti/
Dti_monitor.cc180 static JvmtiMonitor* DecodeMonitor(jrawMonitorID id) { in DecodeMonitor() argument
181 return reinterpret_cast<JvmtiMonitor*>(id); in DecodeMonitor()
197 jvmtiError MonitorUtil::DestroyRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in DestroyRawMonitor() argument
198 if (id == nullptr) { in DestroyRawMonitor()
202 JvmtiMonitor* monitor = DecodeMonitor(id); in DestroyRawMonitor()
212 jvmtiError MonitorUtil::RawMonitorEnter(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorEnter() argument
213 if (id == nullptr) { in RawMonitorEnter()
217 JvmtiMonitor* monitor = DecodeMonitor(id); in RawMonitorEnter()
225 jvmtiError MonitorUtil::RawMonitorExit(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorExit() argument
226 if (id == nullptr) { in RawMonitorExit()
[all …]
/art/test/918-fields/
Dfields.cc33 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldName() local
39 jvmtiError result = jvmti_env->GetFieldName(klass, id, &name, &sig, &gen); in Java_art_Test918_getFieldName()
71 jvmtiError result2 = jvmti_env->GetFieldName(klass, id, nullptr, nullptr, nullptr); in Java_art_Test918_getFieldName()
85 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldDeclaringClass() local
88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); in Java_art_Test918_getFieldDeclaringClass()
102 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldModifiers() local
105 jvmtiError result = jvmti_env->GetFieldModifiers(klass, id, &modifiers); in Java_art_Test918_getFieldModifiers()
119 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_isFieldSynthetic() local
122 jvmtiError result = jvmti_env->IsFieldSynthetic(klass, id, &synth); in Java_art_Test918_isFieldSynthetic()
/art/tools/ahat/src/
DSubsetSelector.java46 public SubsetSelector(Query query, String id, List<T> elements) { in SubsetSelector() argument
48 mId = id; in SubsetSelector()
49 mLimit = getSelectedLimit(query, id, elements.size()); in SubsetSelector()
69 private static int getSelectedLimit(Query query, String id, int size) { in getSelectedLimit() argument
70 String value = query.get(id, null); in getSelectedLimit()
DDominatedList.java44 Doc doc, Query query, String id, Collection<AhatInstance> instances) { in render() argument
47 HeapTable.render(doc, query, id, new TableConfig(), snapshot, insts); in render()
DSitePrinter.java27 public static void printSite(AhatSnapshot snapshot, Doc doc, Query query, String id, Site site) { in printSite() argument
61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
DBitmapHandler.java40 long id = query.getLong("id", 0); in handle() local
42 AhatInstance inst = mSnapshot.findInstance(id); in handle()
DObjectsHandler.java39 int id = query.getInt("id", 0); in handle() local
43 Site site = mSnapshot.getSite(id, depth); in handle()
/art/test/923-monitors/
Dmonitors.cc32 static jlong MonitorToLong(jrawMonitorID id) { in MonitorToLong() argument
33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(id)); in MonitorToLong()
42 jrawMonitorID id; in Java_art_Test923_createRawMonitor() local
43 jvmtiError result = jvmti_env->CreateRawMonitor("dummy", &id); in Java_art_Test923_createRawMonitor()
47 return MonitorToLong(id); in Java_art_Test923_createRawMonitor()
/art/tools/ahat/src/heapdump/
DAhatSnapshot.java108 long id = inst.getId(); in AhatSnapshot()
110 mInstances.add(new AhatClassInstance(id)); in AhatSnapshot()
112 mInstances.add(new AhatArrayInstance(id)); in AhatSnapshot()
114 AhatClassObj classObj = new AhatClassObj(id); in AhatSnapshot()
188 public AhatInstance findInstance(long id) { in findInstance() argument
196 if (id == midId) { in findInstance()
198 } else if (id < midId) { in findInstance()
211 public AhatClassObj findClassObj(long id) { in findClassObj() argument
212 AhatInstance inst = findInstance(id); in findClassObj()
266 public Site getSite(int id, int depth) { in getSite() argument
[all …]
DAhatClassObj.java33 public AhatClassObj(long id) { in AhatClassObj() argument
34 super(id); in AhatClassObj()
/art/test/004-ThreadStress/src/
DMain.java487 int id = threadStress.id; in runTest()
489 System.out.println("Starting worker for " + id); in runTest()
495 Thread thread = new Thread(ts, "Worker thread " + id); in runTest()
501 "Thread exited for " + id + " with " + in runTest()
545 Thread t = new Thread(daemon, "Daemon thread " + daemon.id); in runTest()
563 protected final int id; field in Main
567 private Main(Object lock, int id, Operation[] operations) { in Main() argument
569 this.id = id; in Main()
576 System.out.println("Starting ThreadStress " + id); in run()
581 System.out.println("ThreadStress " + id in run()
[all …]
/art/compiler/optimizing/
Dside_effects_analysis.cc84 uint32_t id = info->GetHeader()->GetBlockId(); in UpdateLoopEffects() local
85 loop_effects_[id] = loop_effects_[id].Union(effects); in UpdateLoopEffects()
/art/runtime/
Dmonitor_pool.cc124 MonitorId id = mon_uninitialized->monitor_id_; in CreateMonitorInPool() local
127 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
137 MonitorId id = monitor->monitor_id_; in ReleaseMonitorToPool() local
148 monitor->monitor_id_ = id; in ReleaseMonitorToPool()
/art/tools/jfuzz/
Drun_jfuzz_test.py85 def id(self): member in TestRunner
90 return self.id + '_out.txt'
152 def id(self): member in TestRunnerRIOnHost
207 def id(self): member in TestRunnerArtIntOnHost
230 def id(self): member in TestRunnerArtOptOnHost
298 def id(self): member in TestRunnerArtIntOnTarget
322 def id(self): member in TestRunnerArtOptOnTarget
575 self._runner1.id)
578 self._runner2.id)
/art/test/095-switch-MAX_INT/
Dinfo.txt1 Bug: http://code.google.com/p/android/issues/detail?id=22344
/art/test/common/
Dstack_inspect.cc115 jmethodID id = env->FromReflectedMethod(method); in Java_Main_isInterpretedFunction() local
116 if (id == nullptr) { in Java_Main_isInterpretedFunction()
124 ArtMethod* goal = jni::DecodeArtMethod(id); in Java_Main_isInterpretedFunction()
/art/runtime/verifier/
Dreg_type_cache-inl.h30 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId() argument
31 DCHECK_LT(id, entries_.size()); in GetFromId()
32 const RegType* result = entries_[id]; in GetFromId()

123