/art/compiler/llvm/ |
H A D | runtime_support_builder.h | 73 ::llvm::Function* GetRuntimeSupportFunction(runtime_support::RuntimeId id) { argument 74 if (id >= 0 && id < runtime_support::MAX_ID) { 75 return runtime_support_func_decls_[id]; 77 LOG(ERROR) << "Unknown runtime function id: " << id;
|
H A D | intrinsic_helper.cc | 105 IntrinsicId id = static_cast<IntrinsicId>(i); local 149 intrinsic_funcs_[id] = fn; 152 << GetName(id) << "' was not defined!"; 169 if (!intrinsic_funcs_map_.insert(std::make_pair(fn, id)).second) {
|
H A D | intrinsic_helper.h | 111 static const IntrinsicInfo& GetInfo(IntrinsicId id) { argument 112 DCHECK(id >= 0 && id < MaxIntrinsicId) << "Unknown ART intrinsics ID: " 113 << id; 114 return Info[id]; 117 static const char* GetName(IntrinsicId id) { argument 118 return (id <= MaxIntrinsicId) ? GetInfo(id).name_ : "InvalidIntrinsic"; 121 static unsigned GetAttr(IntrinsicId id) { argument 122 return GetInfo(id) 128 GetIntrinsicFunction(IntrinsicId id) argument [all...] |
/art/runtime/jdwp/ |
H A D | object_registry.h | 45 // The corresponding id, so we only need one map lookup in Add. 46 JDWP::ObjectId id; member in struct:art::ObjectRegistryEntry 68 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 69 if (id == 0) { 72 return reinterpret_cast<T>(InternalGet(id)); 81 void DisableCollection(JDWP::ObjectId id) 84 void EnableCollection(JDWP::ObjectId id) 87 bool IsCollected(JDWP::ObjectId id) 90 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count) 93 // Returned by Get when passed an invalid object id [all...] |
H A D | jdwp_request.cc | 90 FieldId id = Read4BE(); local 91 VLOG(jdwp) << " field id " << DescribeField(id); 92 return id; 96 MethodId id = Read4BE(); 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 D | object_registry.cc | 30 << ",id=" << rhs.id << "]"; 64 entry->id = 0; 76 entry->id = next_id_++; 78 id_to_entry_.Put(entry->id, entry); 82 return entry->id; 132 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { argument 135 auto it = id_to_entry_.find(id); 143 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { argument 144 if (id 155 DisableCollection(JDWP::ObjectId id) argument 163 EnableCollection(JDWP::ObjectId id) argument 193 IsCollected(JDWP::ObjectId id) argument 207 DisposeObject(JDWP::ObjectId id, uint32_t reference_count) argument [all...] |
H A D | jdwp.h | 67 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id); } argument 68 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } argument 69 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } argument 70 static inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } argument 71 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id); } argument [all...] |
/art/test/114-ParallelGC/src/ |
H A D | Main.java | 91 private final int id; field in class:Main 96 private Main(int id, SynchronousQueue<Boolean> waitOn, SynchronousQueue<Boolean> pushTo, argument 98 this.id = id;
|
/art/runtime/ |
H A D | monitor_pool.cc | 74 // 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 D | monitor_pool.h | 34 // monitor id loses the alignment bits of the Monitor*. 143 static size_t MonitorIdToOffset(MonitorId id) { argument 144 return id << 3; 158 // Chunk size that is referenced in the id. We can collapse this to the actually used storage
|
H A D | thread_list.cc | 559 ThreadSuspendByThreadIdWarning(WARNING, "No such thread id for suspend", thread_id); 862 // temporarily have multiple threads with the same thread id. When this occurs, it causes 922 void ThreadList::ReleaseThreadId(Thread* self, uint32_t id) { argument 924 --id; // Zero is reserved to mean "invalid". 925 DCHECK(allocated_ids_[id]) << id; 926 allocated_ids_.reset(id);
|
H A D | monitor.cc | 106 MonitorId id) 117 monitor_id_(id) { 105 Monitor(Thread* self, Thread* owner, mirror::Object* obj, int32_t hash_code, MonitorId id) argument
|
H A D | dex_file.cc | 782 uint32_t id = DecodeUnsignedLeb128P1(&stream); local 784 if (need_locals && id != kDexNoIndex) { 785 const char* name = StringDataByIdx(id);
|
/art/test/004-ThreadStress/src/ |
H A D | Main.java | 134 int id = threadStress.id; 135 System.out.println("Starting worker for " + id); 137 Thread thread = new Thread(ts, "Worker thread " + id); 143 System.out.println("Thread exited for " + id + " with " 176 private final int id; field in class:Main 180 private Main(Object lock, int id, Operation[] operations) { argument 182 this.id = id; 189 System.out.println("Starting ThreadStress " + id); [all...] |
/art/compiler/optimizing/ |
H A D | ssa_test.cc | 66 int id = 0; local 70 it.Current()->SetId(id++); 73 it.Current()->SetId(id++);
|
H A D | graph_visualizer.cc | 58 void PrintProperty(const char* name, const char* property, int id) { argument 60 output_ << name << " \"" << property << id << "\"" << std::endl;
|
H A D | nodes.cc | 53 int id = block->GetBlockId(); local 54 if (visited->IsBitSet(id)) return; 56 visited->SetBit(id); 57 visiting->SetBit(id); 66 visiting->ClearBit(id);
|
/art/compiler/dex/ |
H A D | global_value_numbering.cc | 66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); 95 loop_head_idx != mir_graph_->GetTopologicalSortOrderIndexes()->Get(bb->id); 100 if (lvns_[pred_bb->id] != nullptr && 102 mir_graph_->GetTopologicalSortOrderIndexes()->Get(pred_bb->id) < loop_head_idx)) { 103 merge_lvns_.push_back(lvns_[pred_bb->id]); 127 if (HasNullCheckLastInsn(pred_bb, bb->id)) { 141 DCHECK_EQ(bb->id, work_lvn_->Id()); 145 bool change = (lvns_[bb->id] == nullptr) || !lvns_[bb->id]->Equals(*work_lvn_); 147 std::unique_ptr<const LocalValueNumbering> old_lvn(lvns_[bb->id]); 162 uint16_t id = field_index_map_.size(); local [all...] |
H A D | mir_graph_test.cc | 125 BasicBlockId id = cu_.mir_graph->topological_order_->Get(i); local 126 EXPECT_EQ(i, cu_.mir_graph->topological_order_indexes_->Get(id));
|
H A D | local_value_numbering.cc | 318 LocalValueNumbering::LocalValueNumbering(GlobalValueNumbering* gvn, uint16_t id, argument 321 id_(id), 1149 // Volatile fields always get a new memory version; field id is irrelevant. 1255 // Volatile fields always get a new memory version; field id is irrelevant.
|
/art/runtime/gc/space/ |
H A D | large_object_space_test.cc | 100 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : argument 101 id_(id), iterations_(iterations), size_(size), los_(los) {} 108 NanoSleep((id_ + 3) * 1000); // (3+id) mu s
|
/art/compiler/ |
H A D | elf_patcher.cc | 144 const DexFile::MethodId& id = local 146 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF; 155 const DexFile::TypeId& id = tpatch->GetDexFile().GetTypeId(tpatch->GetTargetTypeIdx()); local 156 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF;
|
/art/runtime/native/ |
H A D | dalvik_system_VMDebug.cc | 243 static void VMDebug_infopoint(JNIEnv*, jclass, jint id) { argument 244 LOG(INFO) << "VMDebug infopoint " << id << " hit";
|
/art/compiler/dex/portable/ |
H A D | mir_to_gbc.cc | 62 ::llvm::BasicBlock* MirConverter::GetLLVMBlock(int id) { argument 63 return id_to_block_map_.Get(id); 72 art::llvm::IntrinsicHelper::IntrinsicId id = art::llvm::IntrinsicHelper::SetVReg; local 73 ::llvm::Function* func = intrinsic_helper_->GetIntrinsicFunction(id); 140 return GetLLVMBlock(bb->id); 195 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) { 197 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id); 203 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) { 207 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id); 212 art::llvm::IntrinsicHelper::IntrinsicId id; local 194 ConvertSget(int32_t field_index, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) argument 202 ConvertSput(int32_t field_index, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) argument 223 art::llvm::IntrinsicHelper::IntrinsicId id; local 251 art::llvm::IntrinsicHelper::IntrinsicId id; local 285 ConvertMonitorEnterExit(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) argument 307 art::llvm::IntrinsicHelper::IntrinsicId id = local 365 art::llvm::IntrinsicHelper::IntrinsicId id; local 425 ConvertShift(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) argument 435 ConvertShiftLit(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src, int shift_amount) argument 488 art::llvm::IntrinsicHelper::IntrinsicId id; local 515 ConvertConstObject(uint32_t idx, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) argument 524 art::llvm::IntrinsicHelper::IntrinsicId id; local 534 art::llvm::IntrinsicHelper::IntrinsicId id; local 544 art::llvm::IntrinsicHelper::IntrinsicId id; local 554 ConvertAget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_array, RegLocation rl_index) argument 566 ConvertAput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src, RegLocation rl_array, RegLocation rl_index) argument 578 ConvertIget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_obj, int field_index) argument 590 ConvertIput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src, RegLocation rl_obj, int field_index) argument 604 art::llvm::IntrinsicHelper::IntrinsicId id; local 638 ConvertWideComparison(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) argument 651 ConvertIntNarrowing(RegLocation rl_dest, RegLocation rl_src, art::llvm::IntrinsicHelper::IntrinsicId id) argument 671 ConvertFPToInt(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src) argument 1534 art::llvm::IntrinsicHelper::IntrinsicId id; local 1669 art::llvm::IntrinsicHelper::IntrinsicId id = local [all...] |
/art/runtime/hprof/ |
H A D | hprof.cc | 553 size_t id = p.second; local 564 err = rec->AddU4(id); 620 HprofStringId id = next_string_id_++; local 621 strings_.Put(string, id); 622 return id;
|