Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 88) 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.h63 inline const char* DexFile::StringDataAndUtf16LengthByIdx(dex::StringIndex idx, in StringDataAndUtf16LengthByIdx()
74 inline const char* DexFile::StringDataByIdx(dex::StringIndex idx) const { in StringDataByIdx()
80 inline std::string_view DexFile::StringViewByIdx(dex::StringIndex idx) const { in StringViewByIdx()
86 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const { in StringByTypeIdx()
94 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx) const { in StringByTypeIdx()
151 inline const char* DexFile::GetMethodName(uint32_t idx) const { in GetMethodName()
155 inline const char* DexFile::GetMethodName(uint32_t idx, uint32_t* utf_length) const { in GetMethodName()
165 inline std::string_view DexFile::GetMethodNameView(uint32_t idx) const { in GetMethodNameView()
169 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.h36 explicit constexpr DexIndex(T idx) : index_(idx) {} in DexIndex()
Ddex_file.h281 const dex::StringId& GetStringId(dex::StringIndex idx) const { in GetStringId()
322 bool IsTypeIndexValid(dex::TypeIndex idx) const { in IsTypeIndexValid()
327 const dex::TypeId& GetTypeId(dex::TypeIndex idx) const { in GetTypeId()
359 const dex::FieldId& GetFieldId(uint32_t idx) const { in GetFieldId()
408 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
464 const dex::ClassDef& GetClassDef(uint16_t idx) const { in GetClassDef()
489 const dex::MethodHandleItem& GetMethodHandle(uint32_t idx) const { in GetMethodHandle()
498 const dex::CallSiteIdItem& GetCallSiteId(uint32_t idx) const { in GetCallSiteId()
523 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
69 auto idx = i * kMax + kMethodArray; in SetMethodArray() local
Darray-inl.h233 inline T PointerArray::GetElementPtrSize(uint32_t idx) { in GetElementPtrSize()
243 inline T PointerArray::GetElementPtrSizeUnchecked(uint32_t idx) { in GetElementPtrSizeUnchecked()
262 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize()
270 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize()
285 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.h170 ArrayIter(Container array, int32_t idx) NO_THREAD_SAFETY_ANALYSIS : array_(array), idx_(idx) { in ArrayIter()
/art/test/2045-uffd-kernelfault/src/
DMain.java27 int idx = 0; in main() local
/art/dexlayout/
Ddexlayout.cc695 void DexLayout::DumpClassDef(int idx) { in DumpClassDef()
777 void DexLayout::DumpClassAnnotations(int idx) { in DumpClassAnnotations()
1097 void DexLayout::DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset) { in DumpBytecodes()
1122 static const char* StringDataByIdx(uint32_t idx, dex_ir::Header* header) { in StringDataByIdx()
1130 static const char* StringDataByTypeIdx(uint16_t idx, dex_ir::Header* header) { in StringDataByTypeIdx()
1146 void DexLayout::DumpCode(uint32_t idx, in DumpCode()
1172 [this](uint32_t idx) { in DumpCode()
1204 [this](uint32_t idx) { in DumpCode()
1207 [this](uint32_t idx) { in DumpCode()
1232 void DexLayout::DumpMethod(uint32_t idx, in DumpMethod()
[all …]
/art/dexlist/
Ddexlist.cc87 const char* fileName, u4 idx, u4 flags ATTRIBUTE_UNUSED, in dumpMethod()
137 void dumpClass(const DexFile* pDexFile, u4 idx) { in dumpClass()
186 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/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.cc623 bool IsPartialNoEscape(HBasicBlock* blk, size_t idx) { in IsPartialNoEscape()
1037 size_t idx = heap_location_collector_.GetFieldHeapLocation(object, &field); in VisitInstanceFieldSet() local
1061 size_t idx = heap_location_collector_.GetFieldHeapLocation(cls, &field); in VisitStaticFieldSet() local
1078 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitArraySet() local
1087 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitVecStore() local
1629 LSEVisitor::Value LSEVisitor::PrepareLoopValue(HBasicBlock* block, size_t idx) { in PrepareLoopValue()
1661 LSEVisitor::Value LSEVisitor::PrepareLoopStoredBy(HBasicBlock* block, size_t idx) { in PrepareLoopStoredBy()
1696 for (size_t idx = 0u; idx != num_heap_locations; ++idx) { in PrepareLoopRecords() local
1707 for (size_t idx = 0u; idx != num_heap_locations; ++idx) { in PrepareLoopRecords() local
1712 LSEVisitor::Value LSEVisitor::MergePredecessorValues(HBasicBlock* block, size_t idx) { in MergePredecessorValues()
[all …]
/art/runtime/base/
Dtiming_logger.h137 uint64_t GetTotalTime(size_t idx) { in GetTotalTime()
140 uint64_t GetExclusiveTime(size_t idx) { in GetExclusiveTime()

1234