Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 83) sorted by relevance

1234

/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DRawInsnHelper.java27 public static long getSignedByteFromByte(byte[] raw, int idx) { in getSignedByteFromByte()
34 public static long getUnsignedByteFromByte(byte[] raw, int idx) { in getUnsignedByteFromByte()
41 public static long getUnsignedLowNibbleFromByte(byte[] raw, int idx) { in getUnsignedLowNibbleFromByte()
48 public static long getUnsignedHighNibbleFromByte(byte[] raw, int idx) { in getUnsignedHighNibbleFromByte()
55 public static long getUnsignedShortFromTwoBytes(byte[] raw, int idx) { in getUnsignedShortFromTwoBytes()
63 public static long getSignedShortFromTwoBytes(byte[] raw, int idx) { in getSignedShortFromTwoBytes()
71 public static long getUnsignedIntFromFourBytes(byte[] raw, int idx) { in getUnsignedIntFromFourBytes()
81 public static long getSignedIntFromFourBytes(byte[] raw, int idx) { in getSignedIntFromFourBytes()
91 public static long getSignedLongFromEightBytes(byte[] raw, int idx) { in getSignedLongFromEightBytes()
105 public static void writeUnsignedIntToFourBytes(byte[] raw, int idx, int value) { in writeUnsignedIntToFourBytes()
[all …]
/art/runtime/
Dindirect_reference_table-inl.h41 uint32_t idx = ExtractIndex(iref); in IsValidReference() local
66 uint32_t idx) const { in CheckEntry()
84 uint32_t idx = ExtractIndex(iref); in Get() local
95 uint32_t idx = ExtractIndex(iref); in Update() local
/art/runtime/gc/allocator/
Drosalloc-inl.h64 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in CanAllocFromThreadLocalRun() local
85 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromThreadLocalRun() local
107 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in MaxBytesBulkAllocatedFor() local
114 const uint8_t idx = size_bracket_idx_; in AllocSlot() local
Drosalloc.cc333 size_t idx = pm_idx + 1; in FreePages() local
548 RosAlloc::Run* RosAlloc::AllocRun(Thread* self, size_t idx) { in AllocRun()
582 RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { in RefillRun()
598 inline void* RosAlloc::AllocFromCurrentRunUnlocked(Thread* self, size_t idx) { in AllocFromCurrentRunUnlocked()
642 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRunThreadUnsafe() local
661 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRun() local
763 const size_t idx = run->size_bracket_idx_; in FreeFromRun() local
842 const uint8_t idx = size_bracket_idx_; in FreeListToStr() local
860 size_t idx = size_bracket_idx_; in Dump() local
876 const uint8_t idx = size_bracket_idx_; in FreeSlot() local
[all …]
Drosalloc.h372 const uint8_t idx = size_bracket_idx_; in FirstSlot() local
376 const uint8_t idx = size_bracket_idx_; in LastSlot() local
403 const uint8_t idx = size_bracket_idx_; in InitFreeList() local
469 const uint8_t idx = size_bracket_idx_; in ToSlot() local
479 const uint8_t idx = size_bracket_idx_; in SlotIndex() local
512 static size_t IndexToBracketSize(size_t idx) { in IndexToBracketSize()
522 size_t idx; in BracketSizeToIndex() local
578 size_t idx; in SizeToIndexAndBracketSize() local
913 bool IsFreePage(size_t idx) const { in IsFreePage()
/art/libartbase/base/
Dbit_vector.cc128 uint32_t idx; in Intersect() local
165 for (uint32_t idx = 0; idx < src_size; idx++) { in Union() local
199 uint32_t idx = 0; in UnionIfNotIn() local
231 for (uint32_t idx = 0; idx < min_size; idx++) { in Subtract() local
259 uint32_t idx; in SetInitialBits() local
280 for (int idx = max - 1; idx >= 0; idx--) { in GetHighestBitSet() local
352 void BitVector::EnsureSize(uint32_t idx) { in EnsureSize()
Dbit_vector.h142 void SetBit(uint32_t idx) { in SetBit()
154 void ClearBit(uint32_t idx) { in ClearBit()
163 bool IsBitSet(uint32_t idx) const { in IsBitSet()
218 uint32_t GetRawStorageWord(size_t idx) const { in GetRawStorageWord()
256 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet()
291 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex()
296 static constexpr uint32_t BitMask(uint32_t idx) { in BitMask()
Dhistogram-inl.h117 for (size_t idx = 0; idx < kInitialBucketCount; idx++) { in Initialize() local
228 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram() local
244 for (size_t idx = 0; idx < data.perc_.size(); idx++) { in Percentile() local
Dhistogram_test.cc234 for (uint64_t idx = 0ull; idx < 150ull; idx++) { in TEST() local
241 for (size_t idx = 0; idx < 200; idx++) { in TEST() local
257 for (uint64_t idx = 0ull; idx < 30ull; idx++) { in TEST() local
/art/libdexfile/dex/
Ddex_file-inl.h60 inline const char* DexFile::StringDataAndUtf16LengthByIdx(dex::StringIndex idx, in StringDataAndUtf16LengthByIdx()
70 inline const char* DexFile::StringDataByIdx(dex::StringIndex idx) const { in StringDataByIdx()
75 inline std::string_view DexFile::StringViewByIdx(dex::StringIndex idx) const { in StringViewByIdx()
81 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const { in StringByTypeIdx()
89 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx) const { in StringByTypeIdx()
133 inline const char* DexFile::GetMethodName(uint32_t idx) const { in GetMethodName()
137 inline const char* DexFile::GetMethodName(uint32_t idx, uint32_t* utf_length) const { in GetMethodName()
141 inline const char* DexFile::GetMethodShorty(uint32_t idx) const { in GetMethodShorty()
Ddex_file_reference.h30 DexFileReference(const DexFile* file, uint32_t idx) : dex_file(file), index(idx) {} in DexFileReference()
Ddex_file_types.h35 explicit constexpr DexIndex(T idx) : index_(idx) {} in DexIndex()
Ddex_file.h244 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
285 bool IsTypeIndexValid(dex::TypeIndex idx) const { in IsTypeIndexValid()
290 const dex::TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId()
321 const dex::FieldId& GetFieldId(uint32_t idx) const { in GetFieldId()
368 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
422 const dex::ClassDef& GetClassDef(uint16_t idx) const { in GetClassDef()
447 const dex::MethodHandleItem& GetMethodHandle(uint32_t idx) const { in GetMethodHandle()
456 const dex::CallSiteIdItem& GetCallSiteId(uint32_t idx) const { in GetCallSiteId()
481 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
/art/runtime/mirror/
Diftable-inl.h39 const size_t idx = i * kMax + kInterface; in SetInterface() local
68 auto idx = i * kMax + kMethodArray; in SetMethodArray() local
Darray-inl.h230 inline T PointerArray::GetElementPtrSize(uint32_t idx) { in GetElementPtrSize()
240 inline T PointerArray::GetElementPtrSizeUnchecked(uint32_t idx) { in GetElementPtrSizeUnchecked()
256 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize()
264 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize()
276 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize()
Dexecutable.h87 void SetDexMethodIndex(uint32_t idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexMethodIndex()
Dobject_array.h166 ArrayIter(Container array, int32_t idx) NO_THREAD_SAFETY_ANALYSIS : array_(array), idx_(idx) { in ArrayIter()
/art/dexlist/
Ddexlist.cc86 const char* fileName, u4 idx, u4 flags ATTRIBUTE_UNUSED, in dumpMethod()
136 void dumpClass(const DexFile* pDexFile, u4 idx) { in dumpClass()
190 for (u4 idx = 0; idx < classDefsSize; idx++) { in processFile() local
/art/test/1971-multi-force-early-return/src/art/
DTest1971.java108 final int idx = i; in run() local
150 final int idx = i; in run() local
/art/dexlayout/
Ddexlayout.cc625 void DexLayout::DumpClassDef(int idx) { in DumpClassDef()
707 void DexLayout::DumpClassAnnotations(int idx) { in DumpClassAnnotations()
1027 void DexLayout::DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset) { in DumpBytecodes()
1052 static const char* StringDataByIdx(uint32_t idx, dex_ir::Header* header) { in StringDataByIdx()
1060 static const char* StringDataByTypeIdx(uint16_t idx, dex_ir::Header* header) { in StringDataByTypeIdx()
1076 void DexLayout::DumpCode(uint32_t idx, in DumpCode()
1102 [this](uint32_t idx) { in DumpCode()
1134 [this](uint32_t idx) { in DumpCode()
1137 [this](uint32_t idx) { in DumpCode()
1160 void DexLayout::DumpMethod(uint32_t idx, in DumpMethod()
[all …]
/art/tools/dexfuzz/src/dexfuzz/program/
DMutatableCode.java138 public MInsn getInstructionAt(int idx) { in getInstructionAt()
206 int idx = 0; in updateTryBlocksWithReplacementInsn() local
264 int idx = 0; in deleteInstructionFull() local
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffsetTracker.java310 int idx = 0; in addTypeListsToMapFile() local
336 int idx = 0; in addFieldIdsToHeaderAndMapFile() local
397 private void insertOffsettableAt(int idx, Offsettable offsettable) { in insertOffsettableAt()
/art/compiler/optimizing/
Dload_store_elimination.cc618 bool IsPartialNoEscape(HBasicBlock* blk, size_t idx) { in IsPartialNoEscape()
1001 size_t idx = heap_location_collector_.GetFieldHeapLocation(object, &field); in VisitInstanceFieldSet() local
1015 size_t idx = heap_location_collector_.GetFieldHeapLocation(cls, &field); in VisitStaticFieldSet() local
1024 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitArraySet() local
1033 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitVecStore() local
1495 LSEVisitor::Value LSEVisitor::PrepareLoopValue(HBasicBlock* block, size_t idx) { in PrepareLoopValue()
1527 LSEVisitor::Value LSEVisitor::PrepareLoopStoredBy(HBasicBlock* block, size_t idx) { in PrepareLoopStoredBy()
1557 for (size_t idx = 0u; idx != num_heap_locations; ++idx) { in PrepareLoopRecords() local
1568 for (size_t idx = 0u; idx != num_heap_locations; ++idx) { in PrepareLoopRecords() local
1573 LSEVisitor::Value LSEVisitor::MergePredecessorValues(HBasicBlock* block, size_t idx) { in MergePredecessorValues()
[all …]
/art/runtime/base/
Dtiming_logger.h142 uint64_t GetTotalTime(size_t idx) { in GetTotalTime()
145 uint64_t GetExclusiveTime(size_t idx) { in GetExclusiveTime()
/art/dexdump/
Ddexdump.cc518 const u4 idx = static_cast<u4>(readVarWidth(data, arg, false)); in dumpEncodedValue() local
634 static void dumpClassDef(const DexFile* pDexFile, int idx) { in dumpClassDef()
689 static void dumpClassAnnotations(const DexFile* pDexFile, int idx) { in dumpClassAnnotations()
1170 static void dumpBytecodes(const DexFile* pDexFile, u4 idx, in dumpBytecodes()
1204 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, in dumpCode()
1434 static void dumpCfg(const DexFile* dex_file, int idx) { in dumpCfg()
1453 static void dumpClass(const DexFile* pDexFile, int idx, char** pLastPackage) { in dumpClass()
1619 static void dumpMethodHandle(const DexFile* pDexFile, u4 idx) { in dumpMethodHandle()
1705 static void dumpCallSite(const DexFile* pDexFile, u4 idx) { in dumpCallSite()

1234