Home
last modified time | relevance | path

Searched refs:index (Results 176 – 200 of 280) sorted by relevance

12345678910>>...12

/art/runtime/
Dmethod_handles.h63 int index,
Dtransaction.h111 void RecordWriteArray(mirror::Array* array, size_t index, uint64_t value)
212 void LogValue(size_t index, uint64_t value);
226 size_t index,
Dcommon_throws.cc120 void ThrowArrayIndexOutOfBoundsException(int index, int length) { in ThrowArrayIndexOutOfBoundsException() argument
122 StringPrintf("length=%d; index=%d", length, index).c_str()); in ThrowArrayIndexOutOfBoundsException()
332 void ThrowIndexOutOfBoundsException(int index, int length) { in ThrowIndexOutOfBoundsException() argument
334 StringPrintf("length=%d; index=%d", length, index).c_str()); in ThrowIndexOutOfBoundsException()
870 void ThrowStringIndexOutOfBoundsException(int index, int length) { in ThrowStringIndexOutOfBoundsException() argument
872 StringPrintf("length=%d; index=%d", length, index).c_str()); in ThrowStringIndexOutOfBoundsException()
Doat.h99 bool GetStoreKeyValuePairByIndex(size_t index, const char** key, const char** value) const;
/art/compiler/optimizing/
Dssa_liveness_analysis.h1201 HInstruction* GetInstructionFromSsaIndex(size_t index) const { in GetInstructionFromSsaIndex() argument
1202 return instructions_from_ssa_index_[index]; in GetInstructionFromSsaIndex()
1205 HInstruction* GetInstructionFromPosition(size_t index) const { in GetInstructionFromPosition() argument
1206 return instructions_from_lifetime_position_[index]; in GetInstructionFromPosition()
1209 HBasicBlock* GetBlockFromPosition(size_t index) const { in GetBlockFromPosition() argument
1210 HInstruction* instruction = GetInstructionFromPosition(index); in GetBlockFromPosition()
1213 instruction = GetInstructionFromPosition(index + 1); in GetBlockFromPosition()
1218 bool IsAtBlockBoundary(size_t index) const { in IsAtBlockBoundary() argument
1219 return GetInstructionFromPosition(index) == nullptr; in IsAtBlockBoundary()
Dnodes_shared.h151 HInstruction* index, HInstruction* offset, HInstruction* shift, uint32_t dex_pc) in HIntermediateAddressIndex() argument
156 SetRawInputAt(0, index); in HIntermediateAddressIndex()
Dlocations.h621 void SetStackBit(uint32_t index) { in SetStackBit() argument
622 stack_mask_->SetBit(index); in SetStackBit()
625 void ClearStackBit(uint32_t index) { in ClearStackBit() argument
626 stack_mask_->ClearBit(index); in ClearStackBit()
Dcode_generator_arm64.cc612 Location index) in ReadBarrierForHeapReferenceSlowPathARM64() argument
618 index_(index) { in ReadBarrierForHeapReferenceSlowPathARM64()
660 Location index = index_; in EmitNativeCode() local
693 index = LocationFrom(index_reg); in EmitNativeCode()
736 if (index.IsValid()) { in EmitNativeCode()
737 parallel_move.AddMove(index, in EmitNativeCode()
1122 void ParallelMoveResolverARM64::EmitMove(size_t index) { in EmitMove() argument
1123 MoveOperands* move = moves_[index]; in EmitMove()
2466 uint32_t index = instruction->GetIndex()->AsIntConstant()->GetValue(); in VisitArrayGet() local
2467 offset += index << DataType::SizeShift(DataType::Type::kReference); in VisitArrayGet()
[all …]
Dloop_optimization.cc415 size_t index = it->GetIndex(); in TryToEvaluateIfCondition() local
420 user->ReplaceInput(graph->GetIntConstant(1), index); in TryToEvaluateIfCondition()
422 user->ReplaceInput(graph->GetIntConstant(0), index); in TryToEvaluateIfCondition()
1288 HInstruction* index = instruction->InputAt(1); in VectorizeDef() local
1298 induction_range_.IsUnitStride(instruction, index, graph_, &offset) && in VectorizeDef()
1301 GenerateVecSub(index, offset); in VectorizeDef()
1302 GenerateVecMem(instruction, vector_map_->Get(index), vector_map_->Get(value), offset, type); in VectorizeDef()
1372 HInstruction* index = instruction->InputAt(1); in VectorizeUse() local
1376 induction_range_.IsUnitStride(instruction, index, graph_, &offset)) { in VectorizeUse()
1378 GenerateVecSub(index, offset); in VectorizeUse()
[all …]
Dnodes.cc1118 void HEnvironment::RemoveAsUserOfInput(size_t index) const { in RemoveAsUserOfInput()
1119 const HUserRecord<HEnvironment*>& env_use = vregs_[index]; in RemoveAsUserOfInput()
1126 void HEnvironment::ReplaceInput(HInstruction* replacement, size_t index) { in ReplaceInput() argument
1127 const HUserRecord<HEnvironment*>& env_use_record = vregs_[index]; in ReplaceInput()
1301 size_t index = it->GetIndex(); in ReplaceUsesDominatedBy() local
1305 user->ReplaceInput(replacement, index); in ReplaceUsesDominatedBy()
1311 HBasicBlock* predecessor = predecessors[index]; in ReplaceUsesDominatedBy()
1313 user->ReplaceInput(replacement, index); in ReplaceUsesDominatedBy()
1323 size_t index = it->GetIndex(); in ReplaceEnvUsesDominatedBy() local
1327 user->ReplaceInput(replacement, index); in ReplaceEnvUsesDominatedBy()
[all …]
Dnodes.h1660 void SetIndex(size_t index) { index_ = index; }
1663 HUseListNode(T user, size_t index)
1664 : user_(user), index_(index) {}
2029 void SetRawEnvAt(size_t index, HInstruction* instruction) { in SetRawEnvAt() argument
2030 vregs_[index] = HUserRecord<HEnvironment*>(instruction); in SetRawEnvAt()
2033 HInstruction* GetInstructionAt(size_t index) const { in GetInstructionAt() argument
2034 return vregs_[index].GetInstruction(); in GetInstructionAt()
2037 void RemoveAsUserOfInput(size_t index) const;
2042 void ReplaceInput(HInstruction* replacement, size_t index);
2048 void SetLocationAt(size_t index, Location location) { in SetLocationAt() argument
[all …]
Dscheduler_arm64.cc322 HInstruction* index = instruction->InputAt(1); in HandleVecAddress() local
323 if (!index->IsConstant()) { in HandleVecAddress()
Dnodes_vector.h409 size_t index, in HVecExtractScalar() argument
414 DCHECK_LT(index, vector_length); in HVecExtractScalar()
415 DCHECK_EQ(index, 0u); in HVecExtractScalar()
1149 HInstruction* index, in HVecLoad() argument
1163 SetRawInputAt(1, index); in HVecLoad()
1195 HInstruction* index, in HVecStore() argument
1210 SetRawInputAt(1, index); in HVecStore()
/art/oatdump/
Doatdump.cc466 size_t index = 0; in Dump() local
469 while (oat_header.GetStoreKeyValuePairByIndex(index, &key, &value)) { in Dump()
471 index++; in Dump()
535 [=](uint32_t index) { return dex_file->PrettyMethod(index); }); in Dump() argument
542 [=](uint32_t index) { return dex_file->PrettyType(dex::TypeIndex(index)); }); in Dump() argument
549 [=](uint32_t index) { return dex_file->StringDataByIdx(dex::StringIndex(index)); }); in Dump() argument
1700 size_t index = in DumpDataBimgRelRoEntries() local
1704 index); in DumpDataBimgRelRoEntries()
1764 uint32_t index = entry.GetIndex(index_bits); in DumpBssEntries() local
1768 size_t current_index = index - (32u - index_bits) + n; in DumpBssEntries()
[all …]
/art/runtime/mirror/
Dvar_handle.cc211 int64_t index = start + relative_index; in CheckElementIndex() local
213 if (index < start || index > max_index) { in CheckElementIndex()
214 ThrowIndexOutOfBoundsException(index, limit - start); in CheckElementIndex()
220 bool CheckElementIndex(Primitive::Type type, int32_t index, int32_t range_limit) in CheckElementIndex() argument
222 return CheckElementIndex(type, index, 0, range_limit); in CheckElementIndex()
243 int32_t index = 0; in BuildParameterArray() local
245 parameters[index++] = coordinateType0; in BuildParameterArray()
247 parameters[index++] = coordinateType1; in BuildParameterArray()
256 parameters[index++] = varType; in BuildParameterArray()
257 parameters[index++] = varType; in BuildParameterArray()
[all …]
Ddex_cache_test.cc172 if (dex::ProtoIndex(pair.index) == method1_id.proto_idx_) { in TEST_F()
174 } else if (dex::ProtoIndex(pair.index) == method2_id.proto_idx_) { in TEST_F()
Darray-inl.h55 inline bool Array::CheckIsValidIndex(int32_t index) { in CheckIsValidIndex() argument
56 if (UNLIKELY(static_cast<uint32_t>(index) >= in CheckIsValidIndex()
58 ThrowArrayIndexOutOfBoundsException(index); in CheckIsValidIndex()
Dstring.h112 uint16_t CharAt(int32_t index) REQUIRES_SHARED(Locks::mutator_lock_);
194 void GetChars(int32_t start, int32_t end, Handle<CharArray> array, int32_t index)
/art/dex2oat/linker/
Doat_writer.cc949 refs_it->second.SetBit(ref.index); in AddBssReference()
1346 << method_ref.dex_file->PrettyMethod(method_ref.index) in VisitMethod()
1387 info.dex_method_index = method_ref.index; in VisitMethod()
1753 << dex_file_->PrettyMethod(method_ref.index); in VisitMethod()
1919 class_linker_->LookupResolvedMethod(ref.index, dex_cache, class_loader_); in GetTargetMethod()
2103 for (uint32_t index : indexes.Indexes()) { in CalculateNumberOfIndexBssMappingEntries() local
2104 uint32_t bss_offset = get_bss_offset(index); in CalculateNumberOfIndexBssMappingEntries()
2105 if (first_index || !encoder.TryMerge(index, bss_offset)) { in CalculateNumberOfIndexBssMappingEntries()
2106 encoder.Reset(index, bss_offset); in CalculateNumberOfIndexBssMappingEntries()
2153 [=](uint32_t index) { in InitIndexBssMappings() argument
[all …]
/art/runtime/interpreter/mterp/arm/
Dobject.S29 bl MterpCheckCast @ (index, &obj, method, self)
40 ubfx r1, rPC, #2, #THREAD_INTERPRETER_CACHE_SIZE_LOG2 @ entry index
180 bl MterpInstanceOf @ (index, &obj, method, self)
/art/runtime/interpreter/mterp/x86_64/
Dobject.S26 call SYMBOL(MterpCheckCast) # (index, &obj, method, self)
118 call SYMBOL(MterpInstanceOf) # (index, &obj, method, self)
/art/tools/veridex/
Dhidden_api.h85 return HiddenApi::GetApiMethodName(*ref.dex_file, ref.index); in GetApiMethodName()
/art/test/924-threads/
Dthreads.cc159 auto callback = [&](jint index) { in Java_art_Test924_getAllThreads() argument
160 return threads[index]; in Java_art_Test924_getAllThreads()
/art/runtime/jit/
Djit_code_cache.cc2047 size_t index = hf(method) & (map_.size() - 1u); in GetCodeFor() local
2048 size_t original_index = index; in GetCodeFor()
2054 const Entry& entry = map_[index]; in GetCodeFor()
2070 index = (index + 1) & (map_.size() - 1); in GetCodeFor()
2071 DCHECK_NE(original_index, index); in GetCodeFor()
2081 size_t index = hf(method) & (map_.size() - 1); in Put() local
2082 size_t original_index = index; in Put()
2087 const Entry* entry = &map_[index]; in Put()
2094 index = (index + 1) & (map_.size() - 1); in Put()
2095 DCHECK_NE(original_index, index); in Put()
/art/test/913-heaps/
Dheaps.cc418 std::string tmp = StringPrintf("field@%d", reference_info->field.index); in Java_art_Test913_followReferences()
426 jint index = reference_info->array.index; in Java_art_Test913_followReferences() local
430 index = 0; in Java_art_Test913_followReferences()
432 std::string tmp = StringPrintf("array-element@%d", index); in Java_art_Test913_followReferences()
464 std::string tmp = StringPrintf("array-element@%d", reference_info->array.index); in Java_art_Test913_followReferences()
780 << info->field.index in Java_art_Test913_followReferencesPrimitiveFields()

12345678910>>...12