Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 62) 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/runtime/base/
Dbit_vector.h149 void SetBit(uint32_t idx) { in SetBit()
161 void ClearBit(uint32_t idx) { in ClearBit()
170 bool IsBitSet(uint32_t idx) const { in IsBitSet()
225 uint32_t GetRawStorageWord(size_t idx) const { in GetRawStorageWord()
252 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet()
287 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex()
292 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.h112 for (size_t idx = 0; idx < kInitialBucketCount; idx++) { in Initialize() local
223 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram() local
239 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
Dtiming_logger.h115 uint64_t GetTotalTime(size_t idx) { in GetTotalTime()
118 uint64_t GetExclusiveTime(size_t idx) { in GetExclusiveTime()
Dbit_utils_test.cc326 size_t idx = 0u; in CheckElements() 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
Ddex_file_types.h31 explicit constexpr StringIndex(uint32_t idx) : index_(idx) {} in StringIndex()
66 explicit constexpr TypeIndex(uint16_t idx) : index_(idx) {} in TypeIndex()
Ddex_file-inl.h46 inline const char* DexFile::StringDataAndUtf16LengthByIdx(dex::StringIndex idx, in StringDataAndUtf16LengthByIdx()
56 inline const char* DexFile::StringDataByIdx(dex::StringIndex idx) const { in StringDataByIdx()
61 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx, uint32_t* unicode_length) const { in StringByTypeIdx()
69 inline const char* DexFile::StringByTypeIdx(dex::TypeIndex idx) const { in StringByTypeIdx()
107 inline const char* DexFile::GetMethodShorty(uint32_t idx) const { in GetMethodShorty()
Ddex_file_verifier.cc102 const char* DexFileVerifier::CheckLoadStringByIdx(dex::StringIndex idx, const char* error_string) { in CheckLoadStringByIdx()
177 const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) { in CheckLoadFieldId()
184 const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { in CheckLoadMethodId()
191 const DexFile::ProtoId* DexFileVerifier::CheckLoadProtoId(uint32_t idx, const char* err_string) { in CheckLoadProtoId()
199 #define LOAD_STRING(var, idx, error) \ argument
213 #define LOAD_METHOD(var, idx, error_string, error_stmt) \ argument
220 #define LOAD_FIELD(var, idx, fmt, error_stmt) \ argument
619 bool DexFileVerifier::CheckClassDataItemField(uint32_t idx, in CheckClassDataItemField()
657 bool DexFileVerifier::CheckClassDataItemMethod(uint32_t idx, in CheckClassDataItemMethod()
783 uint32_t idx = ReadUnsignedLittleEndian(value_arg + 1); in CheckEncodedValue() local
[all …]
/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.cc330 size_t idx = pm_idx + 1; in FreePages() local
545 RosAlloc::Run* RosAlloc::AllocRun(Thread* self, size_t idx) { in AllocRun()
579 RosAlloc::Run* RosAlloc::RefillRun(Thread* self, size_t idx) { in RefillRun()
595 inline void* RosAlloc::AllocFromCurrentRunUnlocked(Thread* self, size_t idx) { in AllocFromCurrentRunUnlocked()
639 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRunThreadUnsafe() local
658 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRun() local
760 const size_t idx = run->size_bracket_idx_; in FreeFromRun() local
839 const uint8_t idx = size_bracket_idx_; in FreeListToStr() local
857 size_t idx = size_bracket_idx_; in Dump() local
873 const uint8_t idx = size_bracket_idx_; in FreeSlot() local
[all …]
Drosalloc.h371 const uint8_t idx = size_bracket_idx_; in FirstSlot() local
375 const uint8_t idx = size_bracket_idx_; in LastSlot() local
402 const uint8_t idx = size_bracket_idx_; in InitFreeList() local
468 const uint8_t idx = size_bracket_idx_; in ToSlot() local
478 const uint8_t idx = size_bracket_idx_; in SlotIndex() local
511 static size_t IndexToBracketSize(size_t idx) { in IndexToBracketSize()
521 size_t idx; in BracketSizeToIndex() local
577 size_t idx; in SizeToIndexAndBracketSize() local
912 bool IsFreePage(size_t idx) const { in IsFreePage()
/art/runtime/mirror/
Diftable-inl.h29 const size_t idx = i * kMax + kInterface; in SetInterface() local
36 auto idx = i * kMax + kMethodArray; in SetMethodArray() local
Ddex_cache-inl.h246 inline PtrType DexCache::GetElementPtrSize(PtrType* ptr_array, size_t idx, PointerSize ptr_size) { in GetElementPtrSize()
258 size_t idx, in SetElementPtrSize()
272 size_t idx, in GetNativePairPtrSize()
288 size_t idx, in SetNativePairPtrSize()
Dfield.h123 void SetDexFieldIndex(uint32_t idx) REQUIRES_SHARED(Locks::mutator_lock_) { in SetDexFieldIndex()
Darray-inl.h399 inline T PointerArray::GetElementPtrSize(uint32_t idx, PointerSize ptr_size) { in GetElementPtrSize()
411 inline void PointerArray::SetElementPtrSize(uint32_t idx, uint64_t element, PointerSize ptr_size) { in SetElementPtrSize()
423 inline void PointerArray::SetElementPtrSize(uint32_t idx, T* element, PointerSize ptr_size) { in SetElementPtrSize()
/art/dexlist/
Ddexlist.cc94 const char* fileName, u4 idx, u4 flags ATTRIBUTE_UNUSED, in dumpMethod()
139 void dumpClass(const DexFile* pDexFile, u4 idx) { in dumpClass()
193 for (u4 idx = 0; idx < classDefsSize; idx++) { in processFile() local
/art/dexdump/
Ddexdump.cc477 const u4 idx = static_cast<u4>(readVarWidth(data, arg, false)); in dumpEncodedValue() local
593 static void dumpClassDef(const DexFile* pDexFile, int idx) { in dumpClassDef()
656 static void dumpClassAnnotations(const DexFile* pDexFile, int idx) { in dumpClassAnnotations()
1143 static void dumpBytecodes(const DexFile* pDexFile, u4 idx, in dumpBytecodes()
1172 static void dumpCode(const DexFile* pDexFile, u4 idx, u4 flags, in dumpCode()
1199 static void dumpMethod(const DexFile* pDexFile, u4 idx, u4 flags, in dumpMethod()
1305 static void dumpSField(const DexFile* pDexFile, u4 idx, u4 flags, int i, const u1** data) { in dumpSField()
1352 static void dumpIField(const DexFile* pDexFile, u4 idx, u4 flags, int i) { in dumpIField()
1372 static void dumpCfg(const DexFile* dex_file, int idx) { in dumpCfg()
1402 static void dumpClass(const DexFile* pDexFile, int idx, char** pLastPackage) { in dumpClass()
[all …]
/art/compiler/optimizing/
Dblock_builder.cc48 for (size_t idx = 0; idx < code_item_.tries_size_; ++idx) { in CreateBranchTargets() local
68 for (uint32_t idx = 0; idx < handlers_size; ++idx) { in CreateBranchTargets() local
288 for (uint32_t idx = 0; idx < handlers_size; ++idx) { in InsertTryBoundaryBlocks() 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/linker/
Drelative_patcher_test.h110 size_t idx = 0u; in Link() local
195 size_t idx = 0u; in CheckLinkedMethod() local
/art/dexlayout/
Ddexlayout.cc636 void DexLayout::DumpClassDef(int idx) { in DumpClassDef()
718 void DexLayout::DumpClassAnnotations(int idx) { in DumpClassAnnotations()
1069 void DexLayout::DumpBytecodes(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset) { in DumpBytecodes()
1097 void DexLayout::DumpCode(uint32_t idx, const dex_ir::CodeItem* code, uint32_t code_offset) { in DumpCode()
1122 void DexLayout::DumpMethod(uint32_t idx, uint32_t flags, const dex_ir::CodeItem* code, int i) { in DumpMethod()
1226 void DexLayout::DumpSField(uint32_t idx, uint32_t flags, int i, dex_ir::EncodedValue* init) { in DumpSField()
1273 void DexLayout::DumpIField(uint32_t idx, uint32_t flags, int i) { in DumpIField()
1285 void DexLayout::DumpClass(int idx, char** last_package) { in DumpClass()

123