Lines Matching refs:code
120 art::CodeItemInstructionAccessor code = method.GetInstructions(); in GetMethodCacheEntryForOffset() local
121 if (!code.HasCodeItem()) { in GetMethodCacheEntryForOffset()
125 int32_t offset = reinterpret_cast<const uint8_t*>(code.Insns()) - dex_file_->Begin(); in GetMethodCacheEntryForOffset()
126 int32_t len = code.InsnsSizeInBytes(); in GetMethodCacheEntryForOffset()
146 art::CodeItemInstructionAccessor code = method.GetInstructions(); in GetClassDefIndex() local
147 if (code.HasCodeItem()) { in GetClassDefIndex()
148 int32_t offset = reinterpret_cast<const uint8_t*>(code.Insns()) - dex_file_->Begin(); in GetClassDefIndex()
150 cache.emplace_back(offset + code.InsnsSizeInBytes(), accessor.GetClassDefIndex()); in GetClassDefIndex()
367 art::CodeItemInstructionAccessor code = method.GetInstructions(); in ExtDexFileGetAllMethodInfos() local
368 if (!code.HasCodeItem()) { in ExtDexFileGetAllMethodInfos()
373 method_info.offset = static_cast<int32_t>(reinterpret_cast<const uint8_t*>(code.Insns()) - in ExtDexFileGetAllMethodInfos()
375 method_info.len = code.InsnsSizeInBytes(); in ExtDexFileGetAllMethodInfos()