Lines Matching refs:it

172   // class_def_method_index. If 0, it means the corresponding
331 // The file is open for reading, not writing, so it's OK to let the File destructor
332 // close it without checking for explicit Close(), so pass checkUsage = false.
456 // Do a bulk checksum update for Dex[] and TypeLookupTable[]. Doing it piece by
547 virtual bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it) = 0;
621 const ClassDataItemIterator& it) {
626 uint32_t method_idx = it.GetMemberIndex();
678 bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it)
693 MethodReference method_ref(dex_file_, it.GetMemberIndex());
700 quick_code_offset = NewQuickCodeOffset(compiled_method, it, thumb_offset);
706 [this, &deduped, compiled_method, &it, thumb_offset]() {
708 return NewQuickCodeOffset(compiled_method, it, thumb_offset);
731 // The code offset was 0 when the mapping/vmap table offset was set, so it's set
732 // to 0-offset and we need to adjust it by code_offset.
771 info.dex_method_index = it.GetMemberIndex();
772 info.access_flags = it.GetMethodAccessFlags();
773 info.code_item = it.GetMethodCodeItem();
815 const ClassDataItemIterator& it,
818 offset_, compiled_method, MethodReference(dex_file_, it.GetMemberIndex()));
839 bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it ATTRIBUTE_UNUSED)
881 bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it)
909 const InvokeType invoke_type = it.GetMethodInvokeType(
913 it.GetMemberIndex(),
920 << PrettyMethod(it.GetMemberIndex(), *dex_file_, true);
931 method = dex_cache->GetResolvedMethod(it.GetMemberIndex(), linker->GetImagePointerSize());
991 bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it)
1010 ReportWriteFailure("relative call thunk", it);
1017 ReportWriteFailure("code alignment padding", it);
1027 << PrettyMethod(it.GetMemberIndex(), *dex_file_);
1031 ReportWriteFailure("method header", it);
1098 ReportWriteFailure("method code", it);
1120 void ReportWriteFailure(const char* what, const ClassDataItemIterator& it) {
1122 << PrettyMethod(it.GetMemberIndex(), *dex_file_) << " to " << out_->GetLocation();
1280 bool VisitMethod(size_t class_def_method_index, const ClassDataItemIterator& it) {
1295 << PrettyMethod(it.GetMemberIndex(), *dex_file_);
1301 DCHECK_LE(map_offset, offset_) << PrettyMethod(it.GetMemberIndex(), *dex_file_);
1308 ReportWriteFailure(it);
1324 void ReportWriteFailure(const ClassDataItemIterator& it) {
1326 << PrettyMethod(it.GetMemberIndex(), *dex_file_) << " to " << out_->GetLocation();
1341 ClassDataItemIterator it(*dex_file, class_data);
1342 while (it.HasNextStaticField()) {
1343 it.Next();
1345 while (it.HasNextInstanceField()) {
1346 it.Next();
1349 while (it.HasNextDirectMethod()) {
1350 if (!visitor->VisitMethod(class_def_method_index, it)) {
1354 it.Next();
1356 while (it.HasNextVirtualMethod()) {
1357 if (UNLIKELY(!visitor->VisitMethod(class_def_method_index, it))) {
1361 it.Next();
1826 oat_dex_file.source_.Clear(); // Get rid of the reference, it's about to be invalidated.