Searched defs:id (Results 1 - 25 of 28) sorted by relevance

12

/art/compiler/optimizing/
H A Dside_effects_analysis.cc84 int id = info->GetHeader()->GetBlockId(); local
85 loop_effects_.Put(id, loop_effects_.Get(id).Union(effects));
H A Ddead_code_elimination.cc77 int id = block->GetBlockId(); local
78 if (live_blocks.IsBitSet(id)) {
79 if (affected_loops.IsBitSet(id)) {
H A Dssa_test.cc66 int id = 0; local
70 it.Current()->SetId(id++);
73 it.Current()->SetId(id++);
H A Dgraph_checker.cc138 AddError(StringPrintf("Instruction id %d is duplicate in graph.",
314 int id = loop_header->GetBlockId(); local
322 id));
331 id,
338 id));
345 id));
357 id));
364 id,
375 id,
380 id));
[all...]
H A Dgraph_visualizer.cc63 void PrintProperty(const char* name, const char* property, int id) { argument
65 output_ << name << " \"" << property << id << "\"" << std::endl;
H A Dcode_generator.cc756 int id = location.reg(); local
757 if (slow_path != nullptr && slow_path->IsCoreRegisterSaved(id)) {
758 uint32_t offset = slow_path->GetStackOffsetOfCoreRegister(id);
766 stack_map_stream_.AddDexRegisterEntry(i, DexRegisterLocation::Kind::kInRegister, id);
768 stack_map_stream_.AddDexRegisterEntry(++i, DexRegisterLocation::Kind::kInRegister, id);
776 int id = location.reg(); local
777 if (slow_path != nullptr && slow_path->IsFpuRegisterSaved(id)) {
778 uint32_t offset = slow_path->GetStackOffsetOfFpuRegister(id);
786 stack_map_stream_.AddDexRegisterEntry(i, DexRegisterLocation::Kind::kInFpuRegister, id);
789 ++i, DexRegisterLocation::Kind::kInFpuRegister, id);
[all...]
H A Dnodes.cc83 int id = block->GetBlockId(); local
84 if (visited->IsBitSet(id)) return;
86 visited->SetBit(id);
87 visiting->SetBit(id);
96 visiting->ClearBit(id);
308 // id and/or any invariants the graph is assuming when adding new instructions.
392 for (uint32_t id : blocks_.Indexes()) {
393 HBasicBlock* block = graph->GetBlocks().Get(id);
1352 // Update the next instruction id of the outer graph, so that instructions
/art/runtime/jdwp/
H A Dobject_registry.h47 // The corresponding id, so we only need one map lookup in Add.
48 JDWP::ObjectId id; member in struct:art::ObjectRegistryEntry
86 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error)
88 if (id == 0) {
92 return down_cast<T>(InternalGet(id, error));
97 void DisableCollection(JDWP::ObjectId id)
100 void EnableCollection(JDWP::ObjectId id)
103 bool IsCollected(JDWP::ObjectId id)
106 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
111 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRE
[all...]
H A Djdwp_request.cc90 FieldId id = Read8BE(); local
91 VLOG(jdwp) << " field id " << DescribeField(id);
92 return id;
96 MethodId id = Read8BE(); local
97 VLOG(jdwp) << " method id " << DescribeMethod(id);
98 return id;
102 ObjectId id = Read8BE(); local
103 VLOG(jdwp) << StringPrintf(" %s id
124 RefTypeId id = Read8BE(); local
130 FrameId id = Read8BE(); local
[all...]
H A Dobject_registry.cc30 << ",id=" << rhs.id << "]";
100 entry->id = 0;
112 entry->id = next_id_++;
114 id_to_entry_.Put(entry->id, entry);
118 return entry->id;
170 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { argument
173 auto it = id_to_entry_.find(id);
183 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { argument
184 if (id
195 DisableCollection(JDWP::ObjectId id) argument
203 EnableCollection(JDWP::ObjectId id) argument
233 IsCollected(JDWP::ObjectId id) argument
247 DisposeObject(JDWP::ObjectId id, uint32_t reference_count) argument
[all...]
H A Djdwp.h70 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); } argument
71 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd8BE(pReply, id); } argument
72 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } argument
73 static inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } argument
74 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id); } argument
[all...]
/art/runtime/
H A Dmonitor_pool.cc74 // Eagerly compute id.
106 // Pull out the id which was preinitialized.
107 MonitorId id = mon_uninitialized->monitor_id_; local
110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id);
119 // Keep the monitor id. Don't trust it's not cleared.
120 MonitorId id = monitor->monitor_id_; local
130 // Rewrite monitor id.
131 monitor->monitor_id_ = id;
H A Dmonitor_pool.h34 // monitor id loses the alignment bits of the Monitor*.
149 static size_t MonitorIdToOffset(MonitorId id) { argument
150 return id << 3;
164 // Chunk size that is referenced in the id. We can collapse this to the actually used storage
H A Dthread_list.cc755 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id);
788 ATRACE_BEGIN(StringPrintf("SuspendThreadByThreadId suspended %s id=%d",
1126 // If tracing, remember thread id and name before thread exits.
1154 // temporarily have multiple threads with the same thread id. When this occurs, it causes
1193 void ThreadList::ReleaseThreadId(Thread* self, uint32_t id) { argument
1195 --id; // Zero is reserved to mean "invalid".
1196 DCHECK(allocated_ids_[id]) << id;
1197 allocated_ids_.reset(id);
H A Dmonitor.cc110 MonitorId id)
121 monitor_id_(id) {
109 Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, MonitorId id) argument
H A Ddex_file.cc842 uint32_t id = DecodeUnsignedLeb128P1(&stream); local
844 if (need_locals && id != kDexNoIndex) {
845 const char* name = StringDataByIdx(id);
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc118 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : argument
119 id_(id), iterations_(iterations), size_(size), los_(los) {}
127 NanoSleep((id_ + 3) * 1000); // (3+id) mu s
/art/test/004-ThreadStress/src/
H A DMain.java428 int id = threadStress.id;
429 System.out.println("Starting worker for " + id);
431 Thread thread = new Thread(ts, "Worker thread " + id);
437 System.out.println("Thread exited for " + id + " with "
472 private final int id; field in class:Main
476 private Main(Object lock, int id, Operation[] operations) { argument
478 this.id = id;
485 System.out.println("Starting ThreadStress " + id);
[all...]
/art/compiler/dex/
H A Dmir_graph_test.cc122 BasicBlockId id = cu_.mir_graph->topological_order_[i]; local
123 EXPECT_EQ(i, cu_.mir_graph->topological_order_indexes_[id]);
439 ASSERT_EQ(expected_and_change[pos].first, bb->id) << pos;
H A Dlocal_value_numbering.cc324 LocalValueNumbering::LocalValueNumbering(GlobalValueNumbering* gvn, uint16_t id, argument
327 id_(id),
1304 // Volatile fields always get a new memory version; field id is irrelevant.
1413 // Volatile fields always get a new memory version; field id is irrelevant.
H A Dmir_graph.cc224 bb_taken->ErasePredecessor(orig_block->id);
225 bb_taken->predecessors.push_back(bottom_block->id);
230 orig_block->fall_through = bottom_block->id;
231 bottom_block->predecessors.push_back(orig_block->id);
234 bb_fall_through->ErasePredecessor(orig_block->id);
235 bb_fall_through->predecessors.push_back(bottom_block->id);
247 bb->ErasePredecessor(orig_block->id);
248 bb->predecessors.push_back(bottom_block->id);
273 p->bb = bottom_block->id;
277 p->bb = bottom_block->id;
2474 BasicBlockId id = static_cast<BasicBlockId>(block_list_.size()); local
[all...]
H A Dmir_graph.h374 : id(block_id),
384 BasicBlockId id; member in class:art::BasicBlock
572 * Parse dex method and add MIR at current insert point. Returns id (which is
1030 DCHECK_LT(branch_bb->id, topological_order_indexes_.size());
1031 return topological_order_indexes_[target_bb_id] <= topological_order_indexes_[branch_bb->id];
1043 return (suspend_checks_in_loops_[branch_bb->id] & (1u << (target_depth - 1u))) == 0;
1467 // The bb->id is index into suspend_checks_in_loops_ and the loop head's depth is bit index
1468 // in a suspend_checks_in_loops_[bb->id].
/art/runtime/native/
H A Ddalvik_system_VMDebug.cc253 static void VMDebug_infopoint(JNIEnv*, jclass, jint id) { argument
254 LOG(INFO) << "VMDebug infopoint " << id << " hit";
391 static bool SetRuntimeStatValue(JNIEnv* env, jobjectArray result, VMDebugRuntimeStatId id, argument
397 env->SetObjectArrayElement(result, static_cast<jint>(id), jvalue.get());
/art/runtime/hprof/
H A Dhprof.cc536 const size_t id = p.second; local
544 __ AddU4(id);
592 HprofStringId id = next_string_id_++; local
593 strings_.Put(string, id);
594 return id;
/art/compiler/dex/quick/x86/
H A Dtarget_x86.cc264 * Decode the register id.
967 const DexFile::TypeId& id = dex_file.GetTypeId(type_idx); local
968 uintptr_t ptr = reinterpret_cast<uintptr_t>(&id);

Completed in 341 milliseconds

12