/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
D | RawInsnHelper.java | 27 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/ |
D | bit_vector.h | 137 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()
|
D | bit_vector.cc | 124 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()
|
D | histogram-inl.h | 117 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
|
D | histogram_test.cc | 234 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/ |
D | indirect_reference_table-inl.h | 48 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/ |
D | rosalloc-inl.h | 64 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
|
D | rosalloc.cc | 333 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 …]
|
D | rosalloc.h | 372 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/ |
D | iftable-inl.h | 39 const size_t idx = i * kMax + kInterface; in SetInterface() local 68 auto idx = i * kMax + kMethodArray; in SetMethodArray() local
|
D | array-inl.h | 230 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()
|
D | executable.h | 81 void SetDexMethodIndex(uint32_t idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexMethodIndex()
|
D | object_array.h | 164 ArrayIter(Container array, int32_t idx) NO_THREAD_SAFETY_ANALYSIS : array_(array), idx_(idx) { in ArrayIter()
|
/art/libdexfile/dex/ |
D | dex_file-inl.h | 60 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()
|
D | dex_file_reference.h | 28 DexFileReference(const DexFile* file, uint32_t idx) : dex_file(file), index(idx) {} in DexFileReference()
|
D | dex_file_types.h | 35 explicit constexpr DexIndex(T idx) : index_(idx) {} in DexIndex()
|
D | dex_file.h | 243 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/compiler/optimizing/ |
D | load_store_elimination.cc | 310 auto idx = std::find(possibly_removed_stores_.begin(), in KeepIfIsStore() local 544 void VisitGetLocation(HInstruction* instruction, size_t idx) { in VisitGetLocation() 621 void VisitSetLocation(HInstruction* instruction, size_t idx, HInstruction* value) { in VisitSetLocation() 693 size_t idx = heap_location_collector_.GetFieldHeapLocation(object, &field); in VisitInstanceFieldSet() local 706 size_t idx = heap_location_collector_.GetFieldHeapLocation(cls, &field); in VisitStaticFieldSet() local 715 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitArraySet() local 724 size_t idx = heap_location_collector_.GetArrayHeapLocation(instruction); in VisitVecStore() local
|
/art/dexlist/ |
D | dexlist.cc | 86 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/ |
D | Test1971.java | 108 final int idx = i; in run() local 150 final int idx = i; in run() local
|
/art/dexlayout/ |
D | dexlayout.cc | 625 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/ |
D | MutatableCode.java | 138 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/ |
D | OffsetTracker.java | 310 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/ |
D | timing_logger.h | 135 uint64_t GetTotalTime(size_t idx) { in GetTotalTime() 138 uint64_t GetExclusiveTime(size_t idx) { in GetExclusiveTime()
|
/art/dexdump/ |
D | dexdump.cc | 518 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() 1713 static void dumpCallSite(const DexFile* pDexFile, u4 idx) { in dumpCallSite()
|