HomeSort by relevance Sort by last modified time
    Searched refs:u4 (Results 1 - 25 of 308) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /tools/dexter/slicer/export/slicer/
dex_format.h 32 typedef uint32_t u4; typedef in namespace:dex
40 constexpr u4 kEndianConstant = 0x12345678;
41 constexpr u4 kNoIndex = 0xffffffff;
42 constexpr u4 kSHA1DigestLen = 20;
75 constexpr u4 kAccPublic = 0x0001; // class, field, method, ic
76 constexpr u4 kAccPrivate = 0x0002; // field, method, ic
77 constexpr u4 kAccProtected = 0x0004; // field, method, ic
78 constexpr u4 kAccStatic = 0x0008; // field, method, ic
79 constexpr u4 kAccFinal = 0x0010; // class, field, method, ic
80 constexpr u4 kAccSynchronized = 0x0020; // method (only allowed on natives
    [all...]
writer.h 41 void SetOffset(dex::u4 offset) {
46 dex::u4 SectionOffset() const {
51 dex::u4 AbsoluteOffset(dex::u4 itemOffset) const {
58 dex::u4 AddItem(dex::u4 alignment = 1) {
64 dex::u4 ItemsCount() const { return count_; }
69 dex::u4 offset_ = 0;
70 dex::u4 count_ = 0;
85 dex::u4 Init(dex::u4 offset, dex::u4 count)
    [all...]
bytecode_encoder.h 54 void FixupPackedSwitch(dex::u4 base_offset, dex::u4 payload_offset);
55 void FixupSparseSwitch(dex::u4 base_offset, dex::u4 payload_offset);
61 dex::u4 offset; // instruction to be fixed up
65 LabelFixup(dex::u4 offset, Label* label, bool short_fixup) :
74 dex::u4 offset_ = 0;
77 dex::u4 outs_count_ = 0;
81 std::map<dex::u4, const PackedSwitchPayload*> packed_switches_;
82 std::map<dex::u4, const SparseSwitchPayload*> sparse_switches_
    [all...]
index_map.h 29 dex::u4 AllocateIndex() {
38 void MarkUsedIndex(dex::u4 index) {
48 dex::u4 alloc_pos_ = 0;
reader.h 49 const char* GetStringMUTF8(dex::u4 index) const;
61 void CreateClassIr(dex::u4 index);
62 dex::u4 FindClassIndex(const char* class_descriptor) const;
66 ir::Class* GetClass(dex::u4 index);
67 ir::Type* GetType(dex::u4 index);
68 ir::FieldDecl* GetFieldDecl(dex::u4 index);
69 ir::MethodDecl* GetMethodDecl(dex::u4 index);
70 ir::Proto* GetProto(dex::u4 index);
71 ir::String* GetString(dex::u4 index);
74 ir::AnnotationsDirectory* ExtractAnnotations(dex::u4 offset)
    [all...]
debuginfo_encoder.h 46 dex::u4 line_start_ = 0;
47 dex::u4 last_line_ = 0;
48 dex::u4 last_address_ = 0;
code_ir.h 43 constexpr dex::u4 kInvalidOffset = dex::u4(-1);
129 dex::u4 u4_value;
133 Const32(dex::u4 value) { u.u4_value = value; }
151 dex::u4 reg;
153 VReg(dex::u4 reg) : reg(reg) {}
159 dex::u4 base_reg;
161 VRegPair(dex::u4 base_reg) : base_reg(base_reg) {}
167 std::vector<dex::u4> registers;
173 dex::u4 base_reg
    [all...]
dex_leb128.h 28 inline u4 ReadULeb128(const u1** pptr) {
30 u4 result = *(ptr++);
33 u4 cur = *(ptr++);
96 inline u1* WriteULeb128(u1* ptr, u4 data) {
113 u4 extra_bits = static_cast<u4>(value ^ (value >> 31)) >> 6;
  /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
274 u4 checksum; /* adler32 checksum */
276 u4 fileSize; /* length of entire file */
277 u4 headerSize; /* offset to start of next section */
278 u4 endianTag;
279 u4 linkSize;
280 u4 linkOff;
281 u4 mapOff;
282 u4 stringIdsSize;
283 u4 stringIdsOff
    [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;
86 const u4 offset = ((const u1*) pOpt) - data;
91 u4 size = *(pOpt + 1);
98 u4 roundedSize = (size + 8 + 7) & ~7;
99 const u4* pNextOpt = pOpt + (roundedSize / sizeof(u4));
    [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...]
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 136 u4 vA;
137 u4 vB;
139 u4 vC;
140 u4 arg[5]; /* vC/D/E/F/G in invoke or filled-new-array */
150 assert((u4) opcode < kNumPackedOpcodes);
166 assert((u4) opcode < kNumPackedOpcodes);
183 assert((u4) opcode < kNumPackedOpcodes);
192 assert((u4) opcode < kNumPackedOpcodes);
DexSwapVerify.cpp 49 u4 fileLen;
60 u4* pDefinedClassBits;
68 static inline u4 fileOffset(const CheckState* state, const void* ptr) {
75 static inline void* filePointer(const CheckState* state, u4 offset) {
167 #_field, (u4)(_field), #_limit, (u4)(_limit)); \
186 #_field, (u4)(_field), #_limit, (u4)(_limit)); \
209 static bool verifyFieldDefiner(const CheckState* state, u4 definingClass,
210 u4 fieldIdx)
    [all...]
DexUtf.h 73 extern u4 DEX_MEMBER_VALID_LOW_ASCII[4];
88 u4 wordIdx = c >> 5;
89 u4 bitIdx = c & 0x1f;
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
int4.rs 20 uchar4 u4 = 4;
25 int4 i4 = {u4.x, u4.y, u4.z, u4.w};
  /tools/dexter/slicer/
dex_utf8.cc 31 u4 one = *(*pUtf8Ptr)++;
34 u4 two = *(*pUtf8Ptr)++;
37 u4 three = *(*pUtf8Ptr)++;
bytecode_encoder.cc 26 static dex::u2 Pack_Z_8(dex::u4 a) {
33 static dex::u2 Pack_8_8(dex::u4 a, dex::u4 b) {
42 static dex::u2 Pack_4_4_8(dex::u4 a, dex::u4 b, dex::u4 c) {
53 static dex::u2 Pack_4_4_4_4(dex::u4 a, dex::u4 b, dex::u4 c, dex::u4 d)
    [all...]
writer.cc 36 static dex::u4 OptIndex(const T* ir_node) {
135 WriteIntValue<dex::u4>(type, ir_value->u.string_value->index, data);
139 WriteIntValue<dex::u4>(type, ir_value->u.type_value->index, data);
143 WriteIntValue<dex::u4>(type, ir_value->u.field_value->index, data);
147 WriteIntValue<dex::u4>(type, ir_value->u.method_value->index, data);
151 WriteIntValue<dex::u4>(type, ir_value->u.enum_value->index, data);
220 static void CopySection(const T& section, dex::u1* image, dex::u4 image_size) {
227 dex::u4 offset = section.SectionOffset();
228 dex::u4 size = section.size();
250 dex::u4 offset = 0
    [all...]
  /art/libartbase/base/
bit_struct_test.cc 140 BitStructUint</*lsb*/3, /*width*/4> u4; member in namespace:art
149 BitStructUint</*lsb*/3, /*width*/4> u4; local
154 EXPECT_EQ(1u, sizeof(u4));
163 EXPECT_EQ(1u, sizeof(tst.u4));
168 tst.u4 = 0b1010;
172 uint8_t read_u4 = tst.u4;
187 ++tst.u4;
188 EXPECT_EQ(static_cast<uint8_t>(0b1011), static_cast<uint8_t>(tst.u4));
189 --tst.u4;
190 EXPECT_EQ(static_cast<uint8_t>(0b1010), static_cast<uint8_t>(tst.u4));
260 BitStructUint<\/*lsb*\/3, \/*width*\/4> u4; member in namespace:art
    [all...]

Completed in 186 milliseconds

1 2 3 4 5 6 7 8 91011>>