/art/runtime/ |
H A D | method_reference.h | 24 // A class is uniquely located by its DexFile and the class_defs_ table index into that DexFile 27 // A method is uniquely located by its DexFile and the method_ids_ table index into that DexFile 29 MethodReference(const DexFile* file, uint32_t index) : dex_file(file), dex_method_index(index) { argument
|
H A D | gc_map.h | 40 const uint8_t* GetBitMap(size_t index) const { 41 size_t entry_offset = index * EntryWidth(); 45 // Get the native PC encoded in the table at the given index. 46 uintptr_t GetNativePcOffset(size_t index) const { 47 size_t entry_offset = index * EntryWidth(); 68 size_t index = Hash(native_pc_offset) % num_entries; local 70 while (GetNativePcOffset(index) != native_pc_offset) { 71 index = (index + 1) % num_entries; 75 return GetBitMap(index); [all...] |
H A D | reflection.cc | 269 static std::string UnboxingFailureKind(mirror::ArtMethod* m, int index, mirror::ArtField* f) 271 if (m != NULL && index != -1) { 272 ++index; // Humans count from 1. 273 return StringPrintf("method %s argument %d", PrettyMethod(m, false).c_str(), index); 283 mirror::ArtMethod* m, int index, mirror::ArtField* f) 285 bool unbox_for_result = (f == NULL) && (index == -1); 291 UnboxingFailureKind(m, index, f).c_str(), 308 UnboxingFailureKind(m, index, f).c_str()).c_str()); 315 UnboxingFailureKind(m, index, f).c_str(), 357 UnboxingFailureKind(m, index, 368 UnboxPrimitiveForArgument(mirror::Object* o, mirror::Class* dst_class, JValue& unboxed_value, mirror::ArtMethod* m, size_t index) argument [all...] |
H A D | common_throws.cc | 85 void ThrowArrayIndexOutOfBoundsException(int index, int length) { argument 87 StringPrintf("length=%d; index=%d", length, index).c_str()); 352 // Since we replaced the method index, we ask the verifier to tell us which 383 // Since we replaced the field index, we ask the verifier to tell us which 414 // Since we replaced the field index, we ask the verifier to tell us which
|
H A D | disassembler_x86.cc | 631 uint8_t index = (sib >> 3) & 7; local 636 if (index != 4) { 640 if (index != 4) { 641 DumpIndexReg(address, rex, index);
|
H A D | check_jni.cc | 1560 static jobject GetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index) { argument 1561 CHECK_JNI_ENTRY(kFlag_Default, "EaI", env, array, index); 1562 return CHECK_JNI_EXIT("L", baseEnv(env)->GetObjectArrayElement(env, array, index)); 1565 static void SetObjectArrayElement(JNIEnv* env, jobjectArray array, jsize index, jobject value) { argument 1566 CHECK_JNI_ENTRY(kFlag_Default, "EaIL", env, array, index, value); 1567 baseEnv(env)->SetObjectArrayElement(env, array, index, value);
|
H A D | jni_internal.cc | 2060 static jobject GetObjectArrayElement(JNIEnv* env, jobjectArray java_array, jsize index) { argument 2064 return soa.AddLocalReference<jobject>(array->Get(index)); 2067 static void SetObjectArrayElement(JNIEnv* env, jobjectArray java_array, jsize index, argument 2073 array->Set(index, value);
|
/art/runtime/native/ |
H A D | java_lang_VMClassLoader.cc | 52 * entry 'index' of the boot class path. 63 static jstring VMClassLoader_getBootClassPathResource(JNIEnv* env, jclass, jstring javaName, jint index) { argument 70 if (index < 0 || size_t(index) >= path.size()) { 73 const DexFile* dex_file = path[index];
|
/art/compiler/dex/ |
H A D | local_value_numbering.cc | 376 uint16_t index = GetOperandValue(mir->ssa_rep->uses[1]); local 377 if (ValueExists(ARRAY_REF, array, index, NO_VALUE)) { 385 (void)LookupValue(ARRAY_REF, array, index, NO_VALUE); 388 uint16_t res = LookupValue(ARRAY_REF, array, index, memory_version); 415 uint16_t index = GetOperandValue(mir->ssa_rep->uses[index_idx]); local 416 if (ValueExists(ARRAY_REF, array, index, NO_VALUE)) { 424 (void)LookupValue(ARRAY_REF, array, index, NO_VALUE);
|
H A D | growable_array.h | 118 T Get(size_t index) const { 119 DCHECK_LT(index, num_used_); 120 return elem_list_[index]; 123 // Overwrite existing element at position index. List must be large enough. 124 void Put(size_t index, T elem) { argument 125 DCHECK_LT(index, num_used_); 126 elem_list_[index] = elem; 129 void Increment(size_t index) { argument 130 DCHECK_LT(index, num_used_); 131 elem_list_[index] [all...] |
H A D | vreg_analysis.cc | 22 bool MIRGraph::SetFp(int index, bool is_fp) { argument 24 if (is_fp && !reg_location_[index].fp) { 25 reg_location_[index].fp = true; 26 reg_location_[index].defined = true; 32 bool MIRGraph::SetCore(int index, bool is_core) { argument 34 if (is_core && !reg_location_[index].defined) { 35 reg_location_[index].core = true; 36 reg_location_[index].defined = true; 42 bool MIRGraph::SetRef(int index, bool is_ref) { argument 44 if (is_ref && !reg_location_[index] 52 SetWide(int index, bool is_wide) argument 61 SetHigh(int index, bool is_high) argument [all...] |
H A D | mir_graph.h | 285 * "SuccessorBlockInfo". For catch blocks, key is type index for the exception. For swtich 331 uint32_t index; // Method idx for invokes, type idx for FilledNewArray. member in struct:art::CallInfo 357 * actually the index of the method in the m_units_ array). 547 RegLocation GetRegLocation(int index) { argument 548 DCHECK((index >= 0) && (index > num_ssa_regs_)); 549 return reg_location_[index]; 583 bool SetFp(int index, bool is_fp); 584 bool SetCore(int index, bool is_core); 585 bool SetRef(int index, boo [all...] |
/art/test/106-exceptions2/src/ |
H A D | Main.java | 155 static void throwImplicitAIOBE(int[] array, int index) { argument 156 array[index] = 0;
|
/art/runtime/gc/accounting/ |
H A D | space_bitmap-inl.h | 32 const size_t index = OffsetToIndex(offset); local 34 word* const address = &bitmap_begin_[index]; 35 DCHECK_LT(index, bitmap_size_ / kWordSize) << " bitmap_size_ = " << bitmap_size_; 124 const size_t index = OffsetToIndex(offset); local 126 DCHECK_LT(index, bitmap_size_ / kWordSize) << " bitmap_size_ = " << bitmap_size_; 127 word* address = &bitmap_begin_[index];
|
H A D | atomic_stack.h | 64 int32_t index; local 66 index = back_index_; 67 if (UNLIKELY(static_cast<size_t>(index) >= capacity_)) { 71 } while (!back_index_.compare_and_swap(index, index + 1)); 72 begin_[index] = value; 80 int32_t index = back_index_; local 81 DCHECK_LT(static_cast<size_t>(index), capacity_); 82 back_index_ = index + 1; 83 begin_[index] 95 int32_t index = front_index_; local [all...] |
H A D | space_bitmap.h | 64 // <index> is the index of .bits that contains the bit representing 70 static uintptr_t IndexToOffset(size_t index) { argument 71 return static_cast<uintptr_t>(index * kAlignment * kBitsPerWord); 101 const size_t index = OffsetToIndex(offset); local 102 return index < bitmap_size_ / kWordSize; 178 const size_t index = OffsetToIndex(offset); local 179 return &bitmap_begin_[index];
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 63 Register index() const { function in class:art::x86::Operand 98 void SetSIB(ScaleFactor scale, Register index, Register base) { argument 101 encoding_[1] = (scale << 6) | (index << 3) | base; 124 // Get the operand encoding byte at the given index. 125 uint8_t encoding_at(int index) const { 126 CHECK_GE(index, 0); 127 CHECK_LT(index, length_); 128 return encoding_[index]; 172 Address(Register index, ScaleFactor scale, int32_t disp) { argument 173 CHECK_NE(index, ES 179 Address(Register base, Register index, ScaleFactor scale, int32_t disp) argument [all...] |
H A D | assembler_x86.cc | 714 void X86Assembler::ffree(const Immediate& index) { argument 715 CHECK_LT(index.value(), 7); 718 EmitUint8(0xC0 + index.value());
|
/art/compiler/dex/quick/x86/ |
H A D | assemble_x86.cc | 378 case kArray: // lir operands - 0: base, 1: index, 2: scale, 3: disp 382 case kArrayReg: // lir operands - 0: base, 1: index, 2: scale, 3: disp, 4: reg 392 case kRegArray: // lir operands - 0: reg, 1: base, 2: index, 3: scale, 4: disp 408 case kArrayImm: // lir operands - 0: base, 1: index, 2: scale, 3: disp 4: immediate 416 case kRegArrayImm: // lir operands - 0: reg, 1: base, 2: index, 3: scale, 4: disp, 5: imm 427 case kShiftArrayImm: // lir operands - 0: base, 1: index, 2: scale, 3: disp 4: immediate 435 case kShiftArrayCl: // lir operands - 0: base, 1: index, 2: scale, 3: disp, 4: reg 441 case kArrayCond: // lir operands - 0: base, 1: index, 2: scale, 3: disp, 4: cond 466 case kX86CallA: // lir operands - 0: base, 1: index, 2: scale, 3: disp 476 // lir operands - 0: reg, 1: base, 2: index, 624 EmitRegArray(const X86EncodingMap* entry, uint8_t reg, uint8_t base, uint8_t index, int scale, int disp) argument 663 EmitArrayReg(const X86EncodingMap* entry, uint8_t base, uint8_t index, int scale, int disp, uint8_t reg) argument 1091 EmitPcRel(const X86EncodingMap* entry, uint8_t reg, int base_or_table, uint8_t index, int scale, int table_or_disp) argument [all...] |
/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 140 size_t index = param_index_; local 142 index++; // 0th argument must skip return value at start of the shorty 143 } else if (index == 0) { 146 CHECK_LT(index, shorty_len_); 147 return Primitive::GetType(shorty_[index]);
|
/art/runtime/interpreter/ |
H A D | interpreter.cc | 537 // We lost the reference to the method index so we cannot get a more 693 // We lost the reference to the field index so we cannot get a more 804 // We lost the reference to the field index so we cannot get a more 1508 "failed FILL_ARRAY_DATA; length=%d, index=%d", 1562 int32_t index = test_val - first_key; local 1563 if (index >= 0 && index < size) { 1564 inst = inst->RelativeAt(targets[index]); 1772 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1774 if (LIKELY(array->IsValidIndex(index))) { 1790 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1808 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1826 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1844 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1862 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1880 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1899 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1918 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1937 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1956 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1975 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 1994 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local 2012 int32_t index = shadow_frame.GetVReg(inst->VRegC_23x()); local [all...] |
/art/compiler/dex/portable/ |
H A D | mir_to_gbc.cc | 457 args.push_back(irb_->getInt32(info->index)); 501 ::llvm::Value* index = irb_->getInt32(idx); local 502 ::llvm::Value* res = irb_->CreateCall(intr, index); 520 ::llvm::Value* index = irb_->getInt32(type_idx); local 521 ::llvm::Value* res = irb_->CreateCall(intr, index);
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 1030 // Search dex file for localized ssb index, may fail if field's class is a parent 1154 // For invoke-super, ensure the vtable index will be correct to dispatch in the vtable of 1338 typedef void Callback(const ParallelCompilationManager* manager, size_t index); 1406 const size_t index = manager_->NextIndex(); local 1407 if (UNLIKELY(index >= end_)) { 1410 callback_(manager_, index);
|
/art/compiler/llvm/ |
H A D | gbc_expander.cc | 378 llvm::Value* index, 2631 llvm::Value* index, 2653 llvm::Value* cmp = irb_.CreateICmpUGE(index, array_len); 2666 irb_.CreateCall2(irb_.GetRuntime(ThrowIndexOutOfBounds), index, array_len); 2629 EmitGuard_ArrayIndexOutOfBoundsException(uint32_t dex_pc, llvm::Value* array, llvm::Value* index, int opt_flags) argument
|