Home
last modified time | relevance | path

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

123

/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/libartbase/base/
Dbit_vector.h137 void SetBit(uint32_t idx) { in SetBit()
149 void ClearBit(uint32_t idx) { in ClearBit()
158 bool IsBitSet(uint32_t idx) const { in IsBitSet()
213 uint32_t GetRawStorageWord(size_t idx) const { in GetRawStorageWord()
240 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet()
275 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex()
280 static constexpr uint32_t BitMask(uint32_t idx) { in BitMask()
Dbit_vector.cc124 uint32_t idx; in Intersect() local
161 for (uint32_t idx = 0; idx < src_size; idx++) { in Union() local
195 uint32_t idx = 0; in UnionIfNotIn() local
227 for (uint32_t idx = 0; idx < min_size; idx++) { in Subtract() local
255 uint32_t idx; in SetInitialBits() local
276 for (int idx = max - 1; idx >= 0; idx--) { in GetHighestBitSet() local
348 void BitVector::EnsureSize(uint32_t idx) { in EnsureSize()
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/runtime/
Dindirect_reference_table-inl.h48 uint32_t idx = ExtractIndex(iref); in GetChecked() local
74 uint32_t idx) const { in CheckEntry()
94 uint32_t idx = ExtractIndex(iref); in Get() local
105 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/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.h229 inline T PointerArray::GetElementPtrSize(uint32_t idx) { in GetElementPtrSize()
239 inline T PointerArray::GetElementPtrSizeUnchecked(uint32_t idx) { in GetElementPtrSizeUnchecked()
255 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize()
263 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize()
275 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize()
Dexecutable.h79 void SetDexMethodIndex(uint32_t idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexMethodIndex()
Dfield.h47 void SetArtFieldIndex(uint32_t idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetArtFieldIndex()
/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, uint32_t* utf_length) const { in GetMethodName()
137 inline const char* DexFile::GetMethodShorty(uint32_t idx) const { in GetMethodShorty()
Ddex_file_reference.h28 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.h243 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
281 bool IsTypeIndexValid(dex::TypeIndex idx) const { in IsTypeIndexValid()
286 const dex::TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId()
317 const dex::FieldId& GetFieldId(uint32_t idx) const { in GetFieldId()
357 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
406 const dex::ClassDef& GetClassDef(uint16_t idx) const { in GetClassDef()
431 const dex::MethodHandleItem& GetMethodHandle(uint32_t idx) const { in GetMethodHandle()
440 const dex::CallSiteIdItem& GetCallSiteId(uint32_t idx) const { in GetCallSiteId()
465 const dex::ProtoId& GetProtoId(dex::ProtoIndex idx) const { in GetProtoId()
/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/compiler/optimizing/
Dload_store_elimination.cc324 auto idx = std::find(possibly_removed_stores_.begin(), in KeepIfIsStore() local
558 void VisitGetLocation(HInstruction* instruction, size_t idx) { in VisitGetLocation()
635 void VisitSetLocation(HInstruction* instruction, size_t idx, HInstruction* value) { in VisitSetLocation()
704 size_t idx = heap_location_collector_.GetFieldHeapLocation(object, &field); in VisitInstanceFieldSet() local
717 size_t idx = heap_location_collector_.GetFieldHeapLocation(cls, &field); in VisitStaticFieldSet() local
726 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitArraySet() local
735 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitVecStore() local
/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/runtime/base/
Dtiming_logger.h135 uint64_t GetTotalTime(size_t idx) { in GetTotalTime()
138 uint64_t GetExclusiveTime(size_t idx) { in GetExclusiveTime()
/art/dexdump/
Ddexdump.cc479 const u4 idx = static_cast<u4>(readVarWidth(data, arg, false)); in dumpEncodedValue() local
595 static void dumpClassDef(const DexFile* pDexFile, int idx) { in dumpClassDef()
650 static void dumpClassAnnotations(const DexFile* pDexFile, int idx) { in dumpClassAnnotations()
1131 static void dumpBytecodes(const DexFile* pDexFile, u4 idx, in dumpBytecodes()
1165 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, in dumpCode()
1392 static void dumpCfg(const DexFile* dex_file, int idx) { in dumpCfg()
1411 static void dumpClass(const DexFile* pDexFile, int idx, char** pLastPackage) { in dumpClass()
1577 static void dumpMethodHandle(const DexFile* pDexFile, u4 idx) { in dumpMethodHandle()
1671 static void dumpCallSite(const DexFile* pDexFile, u4 idx) { in dumpCallSite()

123