Lines Matching full:dex
17 * Access .dex (Dalvik Executable Format) files. The code here assumes that
18 * the DEX file has been rewritten (byte-swapped, word-aligned) and that
20 * see docs/dalvik/dex-format.html for a detailed description.
22 * The structure and field names were chosen to match those in the DEX spec.
24 * It's generally assumed that the DEX file will be stored in shared memory,
48 /* DEX file magic number */
49 #define DEX_MAGIC "dex\n"
53 /* same, but for optimized DEX header */
429 * We calculate this at DEX optimization time and embed it in the file so we
439 int classDescriptorOffset; // in bytes, from start of DEX
440 int classDefOffset; // in bytes, from start of DEX
451 * there for all DEX files in all categories.)
469 * Header added by DEX optimization pass. Values are always written in
479 u4 dexOffset; /* file offset of DEX header */
481 u4 depsOffset; /* offset of optimized DEX dependency table */
500 * Structure representing a DEX file.
509 /* pointers to directly-mapped structs and arrays in base DEX */
527 /* points to start of DEX file data */
533 /* additional app-specific data structures associated with the DEX */
543 * Parse an optimized or unoptimized .dex file sitting in memory.
557 * Correct the byte ordering in a memory-mapped DEX file. This is only
558 * required for code that opens "raw" DEX files, such as the DEX optimizer.
565 * Compute DEX checksum.
985 * out of dex files or other internal translations, so the only real