/dalvik/libdex/ |
DexDebugInfo.h | 30 typedef int (*DexDebugNewPositionCb)(void *cnxt, u4 address, u4 lineNum); 36 typedef void (*DexDebugNewLocalCb)(void *cnxt, u2 reg, u4 startAddress, 37 u4 endAddress, const char *name, const char *descriptor, 50 u4 protoIdx, 51 u4 accessFlags,
|
DexDataMap.h | 27 u4 count; /* number of items currently in the map */ 28 u4 max; /* maximum number of items that may be held */ 29 u4* offsets; /* array of item offsets */ 36 DexDataMap* dexDataMapAlloc(u4 maxCount); 47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type); 53 int dexDataMapGet(DexDataMap* map, u4 offset); 60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type); 65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) {
|
DexClass.h | 29 u4 staticFieldsSize; 30 u4 instanceFieldsSize; 31 u4 directMethodsSize; 32 u4 virtualMethodsSize; 37 u4 fieldIdx; /* index to a field_id_item */ 38 u4 accessFlags; 43 u4 methodIdx; /* index to a method_id_item */ 44 u4 accessFlags; 45 u4 codeOff; /* file offset to a code_item */ 77 DexField* pField, u4* lastIndex) [all...] |
DexCatch.cpp | 26 u4 dexGetFirstHandlerOffset(const DexCode* pCode) { 40 u4 dexGetHandlersSize(const DexCode* pCode) { 53 u4 address) { 61 u4 start = pTry->startAddr; 68 u4 end = start + pTry->insnCount; 85 u4 dexCatchIteratorGetEndOffset(DexCatchIterator* pIterator, 89 return (u4) (pIterator->pEncodedData - dexGetCatchHandlerData(pCode));
|
DexOptData.h | 40 u4 dexComputeOptChecksum(const DexOptHeader* pOptHeader);
|
DexFile.h | 67 typedef uint32_t u4; typedef 260 u4 checksum; /* adler32 checksum */ 262 u4 fileSize; /* length of entire file */ 263 u4 headerSize; /* offset to start of next section */ 264 u4 endianTag; 265 u4 linkSize; 266 u4 linkOff; 267 u4 mapOff; 268 u4 stringIdsSize; 269 u4 stringIdsOff [all...] |
DexDataMap.cpp | 28 DexDataMap* dexDataMapAlloc(u4 maxCount) { 39 const u4 sizeOfItems = (u4) (sizeof(u4) + sizeof(u2)); 53 map->offsets = (u4*) (map + 1); 75 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { 95 int dexDataMapGet(DexDataMap* map, u4 offset) { 101 u4* offsets = map->offsets; 105 u4 guess = offsets[guessIdx]; 126 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) [all...] |
DexOptData.cpp | 37 u4 dexComputeOptChecksum(const DexOptHeader* pOptHeader) 45 return (u4) adler32(adler, start, end - start); 53 const u4* pOpt = (const u4*) pOptStart; 54 u4 optLength = (const u1*) pOptEnd - (const u1*) pOptStart; 91 u4 size = *(pOpt + 1); 98 u4 roundedSize = (size + 8 + 7) & ~7; 99 const u4* pNextOpt = pOpt + (roundedSize / sizeof(u4));
|
DexCatch.h | 31 u4 typeIdx; /* type index of the caught exception type */ 32 u4 address; /* handler address */ 38 u4 dexGetFirstHandlerOffset(const DexCode* pCode); 41 u4 dexGetHandlersSize(const DexCode* pCode); 50 u4 countRemaining; 83 const DexCode* pCode, u4 offset) 99 u4 typeIdx = readUnsignedLeb128(&pIterator->pEncodedData); 110 u4 dexCatchIteratorGetEndOffset(DexCatchIterator* pIterator, 115 u4 address); 121 const DexCode* pCode, u4 address) [all...] |
InstrUtils.h | 130 u4 vA; 131 u4 vB; 133 u4 vC; 134 u4 arg[5]; /* vC/D/E/F/G in invoke or filled-new-array */ 144 assert((u4) opcode < kNumPackedOpcodes); 160 assert((u4) opcode < kNumPackedOpcodes); 177 assert((u4) opcode < kNumPackedOpcodes); 186 assert((u4) opcode < kNumPackedOpcodes);
|
DexSwapVerify.cpp | 49 u4 fileLen; 58 u4* pDefinedClassBits; 66 static inline u4 fileOffset(const CheckState* state, const void* ptr) { 73 static inline void* filePointer(const CheckState* state, u4 offset) { 165 #_field, (u4)(_field), #_limit, (u4)(_limit)); \ 184 #_field, (u4)(_field), #_limit, (u4)(_limit)); \ 207 static bool verifyFieldDefiner(const CheckState* state, u4 definingClass, 208 u4 fieldIdx) [all...] |
DexUtf.h | 73 extern u4 DEX_MEMBER_VALID_LOW_ASCII[4]; 88 u4 wordIdx = c >> 5; 89 u4 bitIdx = c & 0x1f;
|
DexDebugInfo.cpp | 86 u4 stringIdx = readUnsignedLeb128(pStream); 102 u4 typeIdx = readUnsignedLeb128(pStream); 120 static void emitLocalCbIfLive(void *cnxt, int reg, u4 endAddress, 145 u4 protoIdx, 146 u4 accessFlags, 153 u4 insnsSize = pCode->insnsSize; 154 u4 line = readUnsignedLeb128(&stream); 155 u4 parametersSize = readUnsignedLeb128(&stream); 157 u4 address = 0; 316 u4 protoIdx [all...] |
DexClass.cpp | 28 static bool verifyUlebs(const u1* pData, const u1* pLimit, u4 count) { 30 u4 i; 64 DexField* pField, u4* lastIndex) { 85 DexMethod* pMethod, u4* lastIndex) { 106 u4 lastIndex; 127 u4 i;
|
/build/tools/ijar/ |
zip.h | 32 inline bool zipattr_is_dir(u4 attr) { return (attr & 0x10) != 0; } 35 inline u4 mode_to_zipattr(mode_t m) { 36 return (((u4) m) << 16) + ((m & S_IFDIR) != 0 ? 0x10 : 0); 40 inline mode_t zipattr_to_mode(u4 attr) { 61 virtual u1* NewFile(const char* filename, const u4 attr) = 0; 121 virtual bool Accept(const char* filename, const u4 attr) = 0; 126 virtual void Process(const char* filename, const u4 attr,
|
common.h | 30 typedef uint32_t u4; typedef in namespace:devtools_ijar 41 u4 x = (p[0] << 8) | p[1]; 47 u4 x = (p[1] << 8) | p[0]; 52 inline u4 get_u4be(const u1 *&p) { 53 u4 x = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; 58 inline u4 get_u4le(const u1 *&p) { 59 u4 x = (p[3] << 24) | (p[2] << 16) | (p[1] << 8) | p[0]; 78 inline void put_u4be(u1 *&p, u4 x) { 85 inline void put_u4le(u1 *&p, u4 x) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
HeaderItem.java | 79 Hex.u4(file.getFileSize())); 80 out.annotate(4, "header_size: " + Hex.u4(HEADER_SIZE)); 81 out.annotate(4, "endian_tag: " + Hex.u4(ENDIAN_TAG)); 84 out.annotate(4, "map_off: " + Hex.u4(mapOff)); 116 out.annotate(4, "data_size: " + Hex.u4(dataSize)); 117 out.annotate(4, "data_off: " + Hex.u4(dataOff));
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderItem.java | 71 Hex.u4(file.getFileSize())); 72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); 73 out.annotate(4, "endian_tag: " + Hex.u4(DexFormat.ENDIAN_TAG)); 76 out.annotate(4, "map_off: " + Hex.u4(mapOff)); 108 out.annotate(4, "data_size: " + Hex.u4(dataSize)); 109 out.annotate(4, "data_off: " + Hex.u4(dataOff));
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
HeaderItem.java | 71 Hex.u4(file.getFileSize())); 72 out.annotate(4, "header_size: " + Hex.u4(SizeOf.HEADER_ITEM)); 73 out.annotate(4, "endian_tag: " + Hex.u4(DexFormat.ENDIAN_TAG)); 76 out.annotate(4, "map_off: " + Hex.u4(mapOff)); 108 out.annotate(4, "data_size: " + Hex.u4(dataSize)); 109 out.annotate(4, "data_off: " + Hex.u4(dataOff));
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
CodeOutput.java | 46 public void write(short u0, short u1, short u2, short u3, short u4);
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
CodeOutput.java | 46 public void write(short u0, short u1, short u2, short u3, short u4);
|
/external/e2fsprogs/lib/uuid/ |
uuid.h | 58 #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ 59 static const uuid_t name __attribute__ ((unused)) = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} 61 #define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ 62 static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}
|
/dalvik/docs/ |
porting-proto.c.txt | 34 typedef uint32_t u4; 78 s4 ilsr32(s4 x, s4 count) { return ((u4)x) >> (count & 0x1f); } // unsigned 216 u4 const_43e00000(u4 highword) { return 0x43e00000; } 217 u4 const_c3e00000(u4 highword) { return 0xc3e00000; } 218 u4 const_ffc00000(u4 highword) { return 0xffc00000; } 219 u4 const_41dfffff(u4 highword) { return 0x41dfffff; [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
HexParser.java | 106 "offset " + Hex.u4(outAt)); 128 Hex.u4(outAt)); 133 "offset " + Hex.u4(outAt));
|
/dalvik/dx/src/com/android/dx/util/ |
HexParser.java | 106 "offset " + Hex.u4(outAt)); 128 Hex.u4(outAt)); 133 "offset " + Hex.u4(outAt));
|