Home | History | Annotate | Download | only in libdex

Lines Matching refs:u4

36 #include "vm/Common.h"      // basic type defs, e.g. u1/u2/u4/u8, and LOG
218 u4 checksum; /* adler32 checksum */
220 u4 fileSize; /* length of entire file */
221 u4 headerSize; /* offset to start of next section */
222 u4 endianTag;
223 u4 linkSize;
224 u4 linkOff;
225 u4 mapOff;
226 u4 stringIdsSize;
227 u4 stringIdsOff;
228 u4 typeIdsSize;
229 u4 typeIdsOff;
230 u4 protoIdsSize;
231 u4 protoIdsOff;
232 u4 fieldIdsSize;
233 u4 fieldIdsOff;
234 u4 methodIdsSize;
235 u4 methodIdsOff;
236 u4 classDefsSize;
237 u4 classDefsOff;
238 u4 dataSize;
239 u4 dataOff;
248 u4 size; /* count of items of the indicated type */
249 u4 offset; /* file offset to the start of data */
256 u4 size; /* #of entries in list */
264 u4 stringDataOff; /* file offset to string_data_item */
271 u4 descriptorIdx; /* index into stringIds list for type descriptor */
280 u4 nameIdx; /* index into stringIds for field name */
289 u4 nameIdx; /* index into stringIds for method name */
296 u4 shortyIdx; /* index into stringIds for shorty descriptor */
297 u4 returnTypeIdx; /* index into typeIds list for return type */
298 u4 parametersOff; /* file offset to type_list for parameter types */
305 u4 classIdx; /* index into typeIds for this class */
306 u4 accessFlags;
307 u4 superclassIdx; /* index into typeIds for superclass */
308 u4 interfacesOff; /* file offset to DexTypeList */
309 u4 sourceFileIdx; /* index into stringIds for source file name */
310 u4 annotationsOff; /* file offset to annotations_directory_item */
311 u4 classDataOff; /* file offset to class_data_item */
312 u4 staticValuesOff; /* file offset to DexEncodedArray */
326 u4 size; /* #of entries in list */
342 u4 debugInfoOff; /* file offset to debug info stream */
343 u4 insnsSize; /* size of the insns array, in u2 units */
355 u4 startAddr; /* start address, in 16-bit code units */
372 u4 classAnnotationsOff; /* offset to DexAnnotationSetItem */
373 u4 fieldsSize; /* count of DexFieldAnnotationsItem */
374 u4 methodsSize; /* count of DexMethodAnnotationsItem */
375 u4 parametersSize; /* count of DexParameterAnnotationsItem */
385 u4 fieldIdx;
386 u4 annotationsOff; /* offset to DexAnnotationSetItem */
393 u4 methodIdx;
394 u4 annotationsOff; /* offset to DexAnnotationSetItem */
401 u4 methodIdx;
402 u4 annotationsOff; /* offset to DexAnotationSetRefList */
409 u4 annotationsOff; /* offset to DexAnnotationSetItem */
416 u4 size;
424 u4 size;
425 u4 entries[1]; /* offset to DexAnnotationItem */
460 u4 classDescriptorHash; // class descriptor hash code
477 u4 dexOffset; /* file offset of DEX header */
478 u4 dexLength;
479 u4 depsOffset; /* offset of optimized DEX dependency table */
480 u4 depsLength;
481 u4 optOffset; /* file offset of optimized data tables */
482 u4 optLength;
484 u4 flags; /* some info flags */
485 u4 checksum; /* adler32 checksum covering deps/opt */
534 u4 dexRoundUpPower2(u4 val);
579 u4 dexComputeChecksum(const DexHeader* pHeader);
604 u4 mapOff = pDexFile->pHeader->mapOff;
624 DEX_INLINE const DexStringId* dexGetStringId(const DexFile* pDexFile, u4 idx) {
629 DEX_INLINE const char* dexStringById(const DexFile* pDexFile, u4 idx) {
636 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx,
637 u4* utf16Size);
640 DEX_INLINE const DexTypeId* dexGetTypeId(const DexFile* pDexFile, u4 idx) {
649 DEX_INLINE const char* dexStringByTypeIdx(const DexFile* pDexFile, u4 idx) {
655 DEX_INLINE const DexMethodId* dexGetMethodId(const DexFile* pDexFile, u4 idx) {
661 DEX_INLINE const DexFieldId* dexGetFieldId(const DexFile* pDexFile, u4 idx) {
667 DEX_INLINE const DexProtoId* dexGetProtoId(const DexFile* pDexFile, u4 idx) {
686 DEX_INLINE const DexClassDef* dexGetClassDef(const DexFile* pDexFile, u4 idx) {
692 DEX_INLINE u4 dexGetIndexForClassDef(const DexFile* pDexFile,
711 u4 idx)
717 DEX_INLINE u4 dexTypeListGetIdx(const DexTypeList* pList, u4 idx) {
810 const DexFile* pDexFile, u4 offset)
931 const DexAnnotationSetRefList* pList, u4 idx)
945 DEX_INLINE u4 dexGetAnnotationOff(
946 const DexAnnotationSetItem* pAnnoSet, u4 idx)
954 const DexFile* pDexFile, const DexAnnotationSetItem* pAnnoSet, u4 idx)
956 u4 offset = dexGetAnnotationOff(pAnnoSet, idx);