Home | History | Annotate | Download | only in libdex

Lines Matching full:dex

18  * Access .dex (Dalvik Executable Format) files.  The code here assumes that
19 * the DEX file has been rewritten (byte-swapped, word-aligned) and that
21 * see docs/dalvik/dex-format.html for a detailed description.
23 * The structure and field names were chosen to match those in the DEX spec.
25 * It's generally assumed that the DEX file will be stored in shared memory,
50 /* DEX file magic number */
51 #define DEX_MAGIC "dex\n"
62 /* same, but for optimized DEX header */
451 * We calculate this at DEX optimization time and embed it in the file so we
461 int classDescriptorOffset; // in bytes, from start of DEX
462 int classDefOffset; // in bytes, from start of DEX
467 * Header added by DEX optimization pass. Values are always written in
477 u4 dexOffset; /* file offset of DEX header */
479 u4 depsOffset; /* offset of optimized DEX dependency table */
495 * Structure representing a DEX file.
504 /* pointers to directly-mapped structs and arrays in base DEX */
521 /* points to start of DEX file data */
527 /* additional app-specific data structures associated with the DEX */
537 * Parse an optimized or unoptimized .dex file sitting in memory.
551 * Fix the byte ordering of all fields in the DEX file, and do
553 * "raw" DEX files, such as the DEX optimizer.
561 * Call dexSwapAndVerify() on an unoptimized DEX file, do nothing
562 * but return successfully on an optimized DEX file, and report an
577 * Compute DEX checksum.