Lines Matching refs:dex
48 // not present in the set of compiled DEX files, that is classes/methods/fields
50 // The compilation driver initializes the class and registers all DEX files
51 // which are being compiled. Classes defined in DEX files outside of this set
52 // (or synthesized classes without associated DEX files) are considered being
65 // same set of dex files.
70 dex::TypeIndex type_idx,
77 dex::TypeIndex type_idx,
112 // `dex_files` provides the order of the dex files in which the dependencies
122 const std::vector<dex::TypeIndex>& GetUnverifiedClasses(const DexFile& dex_file) const {
129 using ClassResolutionBase = std::tuple<dex::TypeIndex, uint16_t>;
133 ClassResolution(dex::TypeIndex type_idx, uint16_t access_flags)
137 dex::TypeIndex GetDexTypeIndex() const { return std::get<0>(*this); }
141 using FieldResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>;
145 FieldResolution(uint32_t field_idx, uint16_t access_flags, dex::StringIndex declaring_class_idx)
151 dex::StringIndex GetDeclaringClassIndex() const { return std::get<2>(*this); }
154 using MethodResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>;
160 dex::StringIndex declaring_class_idx)
166 dex::StringIndex GetDeclaringClassIndex() const { return std::get<2>(*this); }
169 using TypeAssignabilityBase = std::tuple<dex::StringIndex, dex::StringIndex>;
173 TypeAssignability(dex::StringIndex destination_idx, dex::StringIndex source_idx)
176 dex::StringIndex GetDestination() const { return std::get<0>(*this); }
177 dex::StringIndex GetSource() const { return std::get<1>(*this); }
183 // Vector of strings which are not present in the corresponding DEX file.
199 // List of classes that were not fully verified in that dex file.
200 std::vector<dex::TypeIndex> unverified_classes_;
211 // Returns true if `klass` is null or not defined in any of dex files which
217 // Returns null if a class defined in the compiled DEX files, and assignable to
223 // Returns the index of `str`. If it is defined in `dex_file_`, this is the dex
227 dex::StringIndex GetIdFromString(const DexFile& dex_file, const std::string& str)
231 std::string GetStringFromId(const DexFile& dex_file, dex::StringIndex string_id) const;
241 dex::StringIndex GetMethodDeclaringClassStringId(const DexFile& dex_file,
245 dex::StringIndex GetFieldDeclaringClassStringId(const DexFile& dex_file,
251 dex::StringIndex GetClassDescriptorStringId(const DexFile& dex_file, ObjPtr<mirror::Class> klass)
256 dex::TypeIndex type_idx,