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.h134 void SetBit(uint32_t idx) { in SetBit()
146 void ClearBit(uint32_t idx) { in ClearBit()
155 bool IsBitSet(uint32_t idx) const { in IsBitSet()
210 uint32_t GetRawStorageWord(size_t idx) const { in GetRawStorageWord()
232 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet()
254 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex()
259 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
352 void BitVector::EnsureSize(uint32_t idx) { in EnsureSize()
Dhistogram-inl.h110 for (size_t idx = 0; idx < kInitialBucketCount; idx++) { in Initialize() local
210 for (size_t idx = 0; idx < frequency_.size(); idx++) { in CreateHistogram() local
228 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.cc325 size_t idx = 0u; in CheckElements() local
/art/runtime/
Dindirect_reference_table-inl.h44 int idx = ExtractIndex(iref); in GetChecked() local
63 inline bool IndirectReferenceTable::CheckEntry(const char* what, IndirectRef iref, int idx) const { in CheckEntry()
80 uint32_t idx = ExtractIndex(iref); in Get() local
91 uint32_t idx = ExtractIndex(iref); in Update() local
Ddex_file_verifier.cc69 const char* DexFileVerifier::CheckLoadStringByIdx(uint32_t idx, const char* error_string) { in CheckLoadStringByIdx()
81 uint32_t idx = type_id.descriptor_idx_; in CheckLoadStringByTypeIdx() local
85 const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) { in CheckLoadFieldId()
92 const DexFile::MethodId* DexFileVerifier::CheckLoadMethodId(uint32_t idx, const char* err_string) { in CheckLoadMethodId()
100 #define LOAD_STRING(var, idx, error) \ argument
114 #define LOAD_METHOD(var, idx, error_string, error_stmt) \ argument
121 #define LOAD_FIELD(var, idx, fmt, error_stmt) \ argument
447 bool DexFileVerifier::CheckClassDataItemField(uint32_t idx, uint32_t access_flags, in CheckClassDataItemField()
467 bool DexFileVerifier::CheckClassDataItemMethod(uint32_t idx, uint32_t access_flags, in CheckClassDataItemMethod()
563 uint32_t idx = ReadUnsignedLittleEndian(value_arg + 1); in CheckEncodedValue() local
[all …]
Ddex_file.h244 const TypeItem& GetTypeItem(uint32_t idx) const { in GetTypeItem()
475 const StringId& GetStringId(uint32_t idx) const { in GetStringId()
499 const char* StringDataAndUtf16LengthByIdx(uint32_t idx, uint32_t* utf16_length) const { in StringDataAndUtf16LengthByIdx()
508 const char* StringDataByIdx(uint32_t idx) const { in StringDataByIdx()
526 const TypeId& GetTypeId(uint32_t idx) const { in GetTypeId()
540 const char* StringByTypeIdx(uint32_t idx, uint32_t* unicode_length) const { in StringByTypeIdx()
545 const char* StringByTypeIdx(uint32_t idx) const { in StringByTypeIdx()
565 const FieldId& GetFieldId(uint32_t idx) const { in GetFieldId()
605 const MethodId& GetMethodId(uint32_t idx) const { in GetMethodId()
655 const ClassDef& GetClassDef(uint16_t idx) const { in GetClassDef()
[all …]
/art/runtime/mirror/
Ddex_cache-inl.h42 inline ArtField* DexCache::GetResolvedField(uint32_t idx, size_t ptr_size) { in GetResolvedField()
51 inline void DexCache::SetResolvedField(uint32_t idx, ArtField* field, size_t ptr_size) { in SetResolvedField()
67 inline void DexCache::SetResolvedMethod(uint32_t idx, ArtMethod* method, size_t ptr_size) { in SetResolvedMethod()
Diftable-inl.h28 const size_t idx = i * kMax + kInterface; in SetInterface() local
Diftable.h50 auto idx = i * kMax + kMethodArray; in SetMethodArray() local
Dfield.h123 void SetDexFieldIndex(uint32_t idx) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in SetDexFieldIndex()
/art/runtime/gc/allocator/
Drosalloc-inl.h70 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in CanAllocFromThreadLocalRun() local
96 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromThreadLocalRun() local
118 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in MaxBytesBulkAllocatedFor() local
123 const size_t idx = size_bracket_idx_; in AllocSlot() local
Drosalloc.cc317 size_t idx = pm_idx + 1; in FreePages() local
544 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
663 size_t idx = SizeToIndexAndBracketSize(size, &bracket_size); in AllocFromRun() local
776 const size_t idx = run->size_bracket_idx_; in FreeFromRun() local
866 size_t idx = size_bracket_idx_; in Dump() local
885 const uint8_t idx = size_bracket_idx_; in FreeSlot() local
915 const size_t idx = size_bracket_idx_; in NumberOfFreeSlots() local
[all …]
Drosalloc.h296 static size_t IndexToBracketSize(size_t idx) { in IndexToBracketSize()
303 size_t idx; in BracketSizeToIndex() local
355 size_t idx = bracket_size / 16 - 1; in SizeToIndexAndBracketSize() local
361 size_t idx = kNumOfSizeBrackets - 2; in SizeToIndexAndBracketSize() local
368 size_t idx = kNumOfSizeBrackets - 1; in SizeToIndexAndBracketSize() local
634 bool IsFreePage(size_t idx) const { in IsFreePage()
/art/compiler/dex/
Ddataflow_iterator-inl.h132 BasicBlockId idx = idx_; in Next() local
180 BasicBlockId idx = idx_; in Next() local
Dssa_transformation.cc128 for (uint32_t idx : bb->data_flow_info->def_v->Indexes()) { in FillDefBlockMatrix() local
422 unsigned int idx; in ComputeSuccLineIn() local
489 for (uint32_t idx : input_blocks->Indexes()) { in FindPhiNodeBlocks() local
521 int idx = 0; in InsertPhiNodeOperands() local
Dmir_graph.cc377 for (uint32_t idx = 0; idx < handlers_size; idx++) { in ProcessTryCatchBlocks() local
983 int idx; in DumpCFG() local
1990 uint16_t idx = static_cast<uint16_t>(topological_order_.size()); in ComputeTopologicalSortOrder() local
2064 uint16_t idx = static_cast<uint16_t>(topological_order_.size()); in ComputeTopologicalSortOrder() local
2443 size_t idx = std::distance(predecessors.begin(), pos); in ErasePredecessor() local
2461 size_t idx = std::distance(predecessors.begin(), pos); in UpdatePredecessor() local
2488 int idx = static_cast<int>(opcode) - kNumPackedOpcodes; in FlagsOf() 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.h85 size_t idx = 0u; in Link() local
157 size_t idx = 0u; in CheckLinkedMethod() local
/art/compiler/utils/
Ddex_cache_arrays_layout-inl.h72 inline size_t DexCacheArraysLayout::ElementOffset(size_t element_size, uint32_t idx) { in ElementOffset()
/art/runtime/verifier/
Dmethod_verifier.cc717 for (uint32_t idx = 0; idx < tries_size; idx++) { in ScanTryCatchBlocks() local
744 for (uint32_t idx = 0; idx < handlers_size; idx++) { in ScanTryCatchBlocks() local
912 inline bool MethodVerifier::CheckRegisterIndex(uint32_t idx) { in CheckRegisterIndex()
921 inline bool MethodVerifier::CheckWideRegisterIndex(uint32_t idx) { in CheckWideRegisterIndex()
930 inline bool MethodVerifier::CheckFieldIndex(uint32_t idx) { in CheckFieldIndex()
939 inline bool MethodVerifier::CheckMethodIndex(uint32_t idx) { in CheckMethodIndex()
948 inline bool MethodVerifier::CheckNewInstance(uint32_t idx) { in CheckNewInstance()
963 inline bool MethodVerifier::CheckStringIndex(uint32_t idx) { in CheckStringIndex()
972 inline bool MethodVerifier::CheckTypeIndex(uint32_t idx) { in CheckTypeIndex()
981 bool MethodVerifier::CheckNewArray(uint32_t idx) { in CheckNewArray()
[all …]

123