OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DexFile
(Results
1 - 25
of
446
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tools/dex-tools/src/dex/structure/
DexFile.java
23
* {@code
DexFile
} represents a whole dex file, containing multiple classes.
25
public interface
DexFile
extends NamedElement {
29
*
DexFile
}.
32
*
DexFile
}
/art/compiler/dex/quick/
dex_file_to_method_inliner_map.h
30
class
DexFile
;
33
* Map each
DexFile
to its DexFileMethodInliner.
36
* for a particular
DexFile
.
43
DexFileMethodInliner* GetMethodInliner(const
DexFile
* dex_file) NO_THREAD_SAFETY_ANALYSIS;
49
std::map<const
DexFile
*, DexFileMethodInliner*> inliners_ GUARDED_BY(lock_);
/art/runtime/
method_reference.h
24
class
DexFile
;
26
// A method is uniquely located by its
DexFile
and the method_ids_ table index into that
DexFile
28
MethodReference(const
DexFile
* file, uint32_t index) : dex_file(file), dex_method_index(index) {
30
const
DexFile
* dex_file;
class_reference.h
25
class
DexFile
;
27
// A class is uniquely located by its
DexFile
and the class_defs_ table index into that
DexFile
28
typedef std::pair<const
DexFile
*, uint32_t> ClassReference;
dex_file_test.cc
35
std::unique_ptr<const
DexFile
> dex(OpenTestDexFile("Nested"));
136
static std::unique_ptr<const
DexFile
> OpenDexFileBase64(const char* base64,
158
std::vector<std::unique_ptr<const
DexFile
>> tmp;
159
bool success =
DexFile
::Open(location, location, &error_msg, &tmp);
162
std::unique_ptr<const
DexFile
> dex_file = std::move(tmp[0]);
170
std::unique_ptr<const
DexFile
> raw(OpenDexFileBase64(kRawDex, tmp.GetFilename().c_str()));
173
const
DexFile
::Header& header = raw->GetHeader();
201
std::unique_ptr<const
DexFile
> raw(OpenTestDexFile("Main"));
209
EXPECT_TRUE(
DexFile
::GetChecksum(GetLibCoreDexFileNames()[0].c_str(), &checksum, &error_msg))
216
std::unique_ptr<const
DexFile
> raw(OpenTestDexFile("Nested"))
[
all
...]
dex_file_verifier.cc
37
case
DexFile
::kDexTypeHeaderItem: return 1 << 0;
38
case
DexFile
::kDexTypeStringIdItem: return 1 << 1;
39
case
DexFile
::kDexTypeTypeIdItem: return 1 << 2;
40
case
DexFile
::kDexTypeProtoIdItem: return 1 << 3;
41
case
DexFile
::kDexTypeFieldIdItem: return 1 << 4;
42
case
DexFile
::kDexTypeMethodIdItem: return 1 << 5;
43
case
DexFile
::kDexTypeClassDefItem: return 1 << 6;
44
case
DexFile
::kDexTypeMapList: return 1 << 7;
45
case
DexFile
::kDexTypeTypeList: return 1 << 8;
46
case
DexFile
::kDexTypeAnnotationSetRefList: return 1 << 9
[
all
...]
dex_file_verifier_test.cc
61
static void MakeDexVersion37(
DexFile
* dex_file) {
62
size_t offset = OFFSETOF_MEMBER(
DexFile
::Header, magic_) + 6;
114
DexFile
::Header* header = reinterpret_cast<
DexFile
::Header*>(dex_file);
117
const uint32_t non_sum = sizeof(
DexFile
::Header::magic_) + sizeof(
DexFile
::Header::checksum_);
127
std::function<void(
DexFile
*)> f,
133
std::unique_ptr<
DexFile
> dex_file(
134
new
DexFile
(dex_bytes.get(), length, "tmp", 0, nullptr, nullptr));
155
static std::unique_ptr<const
DexFile
> OpenDexFileBase64(const char* base64
[
all
...]
dex_file-inl.h
28
inline int32_t
DexFile
::GetStringLength(const StringId& string_id) const {
33
inline const char*
DexFile
::GetStringDataAndUtf16Length(const StringId& string_id,
41
inline const Signature
DexFile
::GetMethodSignature(const MethodId& method_id) const {
45
inline const
DexFile
::TryItem*
DexFile
::GetTryItems(const CodeItem& code_item, uint32_t offset) {
51
static inline bool DexFileStringEquals(const
DexFile
* df1, uint32_t sidx1,
52
const
DexFile
* df2, uint32_t sidx2) {
85
const
DexFile
::TypeId& return_type_id = dex_file_->GetTypeId(proto_id_->return_type_idx_);
86
const
DexFile
::TypeId& rhs_return_type_id =
94
const
DexFile
::TypeList* params = dex_file_->GetProtoParameters(*proto_id_)
[
all
...]
dex_method_iterator.h
28
explicit DexMethodIterator(const std::vector<const
DexFile
*>& dex_files)
49
// End of this
DexFile
, advance and retry.
106
const
DexFile
& GetDexFile() {
128
const
DexFile
& GetDexFileInternal() const {
130
const
DexFile
* dex_file = dex_files_[dex_file_index_];
135
const std::vector<const
DexFile
*>& dex_files_;
141
const
DexFile
::ClassDef* class_def_;
/dalvik/libdex/
DexOptData.h
25
#include "libdex/
DexFile
.h"
34
bool dexParseOptData(const u1* data, size_t length,
DexFile
* pDexFile);
/dalvik/dexgen/src/com/android/dexgen/dex/file/
Item.java
58
* Populates a {@link
DexFile
} with items from within this instance.
67
public abstract void addContents(
DexFile
file);
71
* using the given {@link
DexFile
} to look things up as needed.
79
public abstract void writeTo(
DexFile
file, AnnotatedOutput out);
/dalvik/dx/src/com/android/dx/dex/file/
Item.java
58
* Populates a {@link
DexFile
} with items from within this instance.
67
public abstract void addContents(
DexFile
file);
71
* using the given {@link
DexFile
} to look things up as needed.
79
public abstract void writeTo(
DexFile
file, AnnotatedOutput out);
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
Item.java
58
* Populates a {@link
DexFile
} with items from within this instance.
67
public abstract void addContents(
DexFile
file);
71
* using the given {@link
DexFile
} to look things up as needed.
79
public abstract void writeTo(
DexFile
file, AnnotatedOutput out);
/art/compiler/optimizing/
nodes_arm.h
24
explicit HArmDexCacheArraysBase(const
DexFile
& dex_file)
40
const
DexFile
& GetDexFile() const {
51
const
DexFile
* dex_file_;
/art/compiler/jni/quick/
jni_compiler.h
28
uint32_t method_idx, const
DexFile
& dex_file);
/art/runtime/native/
dalvik_system_DexFile.h
28
class
DexFile
;
/art/compiler/debug/
method_debug_info.h
28
const
DexFile
* dex_file; // Native methods (trampolines) do not reference dex file.
32
const
DexFile
::CodeItem* code_item;
/art/compiler/dex/
dex_to_dex_compiler.h
40
const
DexFile
::CodeItem* code_item,
46
const
DexFile
& dex_file,
/art/compiler/driver/
dex_compilation_unit.h
39
const
DexFile
& dex_file,
40
const
DexFile
::CodeItem* code_item,
55
const
DexFile
* GetDexFile() const {
67
const
DexFile
::CodeItem* GetCodeItem() const {
72
const
DexFile
::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
77
const
DexFile
::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_);
120
const
DexFile
* const dex_file_;
122
const
DexFile
::CodeItem* const code_item_;
dex_compilation_unit.cc
27
const
DexFile
& dex_file,
28
const
DexFile
::CodeItem* code_item,
/art/compiler/
compiler.h
47
virtual bool CanCompileMethod(uint32_t method_idx, const
DexFile
& dex_file) const = 0;
49
virtual CompiledMethod* Compile(const
DexFile
::CodeItem* code_item,
55
const
DexFile
& dex_file,
60
const
DexFile
& dex_file) const = 0;
94
static bool IsPathologicalCase(const
DexFile
::CodeItem& code_item,
96
const
DexFile
& dex_file);
compiler.cc
39
bool Compiler::IsPathologicalCase(const
DexFile
::CodeItem& code_item,
41
const
DexFile
& dex_file) {
/art/compiler/utils/
string_reference.h
27
class
DexFile
;
29
// A string is uniquely located by its
DexFile
and the string_ids_ table index into that
DexFile
.
31
StringReference(const
DexFile
* file, uint32_t index) : dex_file(file), string_index(index) { }
33
const
DexFile
* dex_file;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DexClassProvider.java
36
import org.jf.dexlib2.iface.
DexFile
;
42
private final
DexFile
dexFile
;
45
public DexClassProvider(
DexFile
dexFile
) {
46
this.
dexFile
=
dexFile
;
48
for (ClassDef classDef:
dexFile
.getClasses()) {
/frameworks/base/services/core/java/com/android/server/pm/
PackageManagerServiceCompilerMapping.java
21
import dalvik.system.
DexFile
;
53
!
DexFile
.isValidCompilerFilter(sysPropValue)) {
62
if (
DexFile
.isProfileGuidedCompilerFilter(sysPropValue)) {
121
if (!
DexFile
.isValidCompilerFilter(value) ||
122
DexFile
.isProfileGuidedCompilerFilter(value)) {
133
return
DexFile
.getNonProfileGuidedCompilerFilter(filter);
Completed in 270 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>