/dalvik/vm/compiler/codegen/x86/ |
D | LowerAlu.cpp | 33 u2 vA = INST_A(inst); //destination in op_neg_int() 34 u2 vB = INST_B(inst); in op_neg_int() 45 u2 vA = INST_A(inst); //destination in op_not_int() 46 u2 vB = INST_B(inst); in op_not_int() 58 u2 vA = INST_A(inst); //destination in op_neg_long() 59 u2 vB = INST_B(inst); in op_neg_long() 71 u2 vA = INST_A(inst); //destination in op_not_long() 72 u2 vB = INST_B(inst); in op_not_long() 85 u2 vA = INST_A(inst); //destination in op_neg_float() 86 u2 vB = INST_B(inst); in op_neg_float() [all …]
|
D | LowerGetPut.cpp | 34 int aget_common_nohelper(int flag, u2 vA, u2 vref, u2 vindex) { in aget_common_nohelper() 96 int aget_common(int flag, u2 vA, u2 vref, u2 vindex) { in aget_common() 107 u2 vA = INST_AA(inst); in op_aget() 108 u2 vref = FETCH(1) & 0xff; in op_aget() 109 u2 vindex = FETCH(1) >> 8; in op_aget() 118 u2 vA = INST_AA(inst); in op_aget_wide() 119 u2 vref = FETCH(1) & 0xff; in op_aget_wide() 120 u2 vindex = FETCH(1) >> 8; in op_aget_wide() 135 u2 vA = INST_AA(inst); in op_aget_boolean() 136 u2 vref = FETCH(1) & 0xff; in op_aget_boolean() [all …]
|
D | LowerConst.cpp | 47 int const_string_common_nohelper(u4 tmp, u2 vA) { in const_string_common_nohelper() 58 int const_string_common(u4 tmp, u2 vA) { in const_string_common() 68 u2 vA = INST_A(inst); in op_const_4() 78 u2 BBBB = FETCH(1); in op_const_16() 79 u2 vA = INST_AA(inst); in op_const_16() 88 u2 vA = INST_AA(inst); in op_const() 99 u2 vA = INST_AA(inst); in op_const_high16() 100 u2 tmp = FETCH(1); in op_const_high16() 109 u2 vA = INST_AA(inst); in op_const_wide_16() 110 u2 tmp = FETCH(1); in op_const_wide_16() [all …]
|
D | LowerMove.cpp | 31 u2 vA, vB; in op_move() 43 u2 vA, vB; in op_move_from16() 55 u2 vA, vB; in op_move_16() 68 u2 vA = INST_A(inst); in op_move_wide() 69 u2 vB = INST_B(inst); in op_move_wide() 79 u2 vA = INST_AA(inst); in op_move_wide_from16() 80 u2 vB = FETCH(1); in op_move_wide_from16() 90 u2 vA = FETCH(1); in op_move_wide_16() 91 u2 vB = FETCH(2); in op_move_wide_16() 106 u2 vA = INST_AA(inst); in op_move_result() [all …]
|
D | NcgHelper.h | 21 s4 dvmNcgHandlePackedSwitch(const s4*, s4, u2, s4); 22 s4 dvmNcgHandleSparseSwitch(const s4*, u2, s4); 23 s4 dvmJitHandlePackedSwitch(const s4*, s4, u2, s4); 24 s4 dvmJitHandleSparseSwitch(const s4*, u2, s4);
|
D | LowerObject.cpp | 35 int check_cast_nohelper(u2 vA, u4 tmp, bool instance, u2 vDest) { in check_cast_nohelper() 169 int common_check_cast_instance_of(u2 vA, u4 tmp, bool instance, u2 vDest) { in common_check_cast_instance_of() 180 u2 vA = INST_AA(inst); in op_check_cast() 190 u2 vB = INST_B(inst); in op_instance_of() 191 u2 vA = INST_A(inst); in op_instance_of() 203 int monitor_enter_nohelper(u2 vA) { in monitor_enter_nohelper() 241 u2 vA = INST_AA(inst); in op_monitor_enter() 256 u2 vA = INST_AA(inst); in op_monitor_exit() 295 u2 vA = INST_A(inst); in op_array_length() 296 u2 vB = INST_B(inst); in op_array_length() [all …]
|
D | LowerInvoke.cpp | 40 void gen_predicted_chain(bool isRange, u2 tmp, int IMMC, bool isInterface, int inputReg); 78 int common_invoke_virtual_nohelper(bool isRange, u2 tmp, u2 vD) { in common_invoke_virtual_nohelper() 120 int common_invoke_virtual(bool isRange, u2 tmp, u2 vD) { in common_invoke_virtual() 142 int common_invoke_super(bool isRange, u2 tmp) { in common_invoke_super() 191 int common_invoke_direct(bool isRange, u2 tmp, u2 vD) { in common_invoke_direct() 230 int common_invoke_static(bool isRange, u2 tmp) { in common_invoke_static() 267 int common_invoke_interface(bool isRange, u2 tmp, u2 vD) { in common_invoke_interface() 337 u2 vD = FETCH(2) & 0xf; in op_invoke_virtual() 338 u2 tmp = FETCH(1); //method index in op_invoke_virtual() 359 u2 tmp = FETCH(1); //method index in op_invoke_super() [all …]
|
D | NcgHelper.cpp | 29 s4 dvmNcgHandlePackedSwitch(const s4* entries, s4 firstKey, u2 size, s4 testVal) in dvmNcgHandlePackedSwitch() 47 s4 dvmJitHandlePackedSwitch(const s4* entries, s4 firstKey, u2 size, s4 testVal) in dvmJitHandlePackedSwitch() 67 s4 dvmNcgHandleSparseSwitch(const s4* keys, u2 size, s4 testVal) in dvmNcgHandleSparseSwitch() 87 s4 dvmJitHandleSparseSwitch(const s4* keys, u2 size, s4 testVal) in dvmJitHandleSparseSwitch()
|
/dalvik/vm/interp/ |
D | Jit.h | 43 const u2* startPC; /* starting pc of jitted region */ 51 const u2* endPC; /* ending pc of jitted region */ 68 void* dvmSelfVerificationSaveState(const u2* pc, u4* fp, 71 void* dvmSelfVerificationRestoreState(const u2* pc, u4* fp, 74 void dvmCheckSelfVerification(const u2* pc, Thread* self); 90 static inline u4 dvmJitHashMask( const u2* p, u4 mask ) { in dvmJitHashMask() 94 static inline u4 dvmJitHash( const u2* p ) { in dvmJitHash() 134 u2 chain; /* Index of next in chain */ 144 const u2* dPC; /* Dalvik code address */ 149 void dvmCheckJit(const u2* pc, Thread* self); [all …]
|
D | InterpDefs.h | 62 extern "C" s4 dvmInterpHandlePackedSwitch(const u2* switchData, s4 testVal); 63 extern "C" s4 dvmInterpHandleSparseSwitch(const u2* switchData, s4 testVal); 69 const u2* arrayData); 121 u2* data = switchData; in s4FromSwitchData()
|
D | Interp.h | 26 INLINE void dvmExportPC(const u2* pc, const u4* fp) in dvmExportPC() 70 extern "C" u1 dvmGetOriginalOpcode(const u2* addr); 80 extern "C" void dvmCheckBefore(const u2 *dPC, u4 *fp, Thread* self);
|
/dalvik/vm/ |
D | UtfString.cpp | 130 void dvmConvertUtf8ToUtf16(u2* utf16Str, const char* utf8Str) in dvmConvertUtf8ToUtf16() 140 static int utf16_utf8ByteLen(const u2* utf16Str, int len) in utf16_utf8ByteLen() 167 static void convertUtf16ToUtf8(char* utf8Str, const u2* utf16Str, int len) in convertUtf16ToUtf8() 197 static inline u4 computeUtf16Hash(const u2* utf16Str, size_t len) in computeUtf16Hash() 216 hashCode = computeUtf16Hash((u2*)(void*)chars->contents + offset, len); in dvmComputeStringHash() 249 dvmConvertUtf8ToUtf16((u2*)(void*)chars->contents, utf8Str); in dvmCreateStringFromCstrAndLength() 251 u4 hashCode = computeUtf16Hash((u2*)(void*)chars->contents, utf16Length); in dvmCreateStringFromCstrAndLength() 260 StringObject* dvmCreateStringFromUnicode(const u2* unichars, int len) in dvmCreateStringFromUnicode() 271 if (len > 0) memcpy(chars->contents, unichars, len * sizeof(u2)); in dvmCreateStringFromUnicode() 273 u4 hashCode = computeUtf16Hash((u2*)(void*)chars->contents, len); in dvmCreateStringFromUnicode() [all …]
|
D | Common.h | 86 typedef uint16_t u2; typedef 108 u2 c; 126 u2 _c; 127 u2 c;
|
/dalvik/libdex/ |
D | DexDataMap.h | 30 u2* types; /* corresponding array of item types */ 47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type); 60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type); 65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify0Ok()
|
D | DexDataMap.cpp | 39 if (!safe_mul(&size, maxCount, sizeof(u4) + sizeof(u2)) || in dexDataMapAlloc() 53 map->types = (u2*) (map->offsets + maxCount); in dexDataMapAlloc() 74 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { in dexDataMapAdd() 125 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) { in dexDataMapVerify()
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | ShortArrayCodeOutput.java | 69 public void write(short u0, short u1, short u2) { in write() argument 72 write(u2); in write() 76 public void write(short u0, short u1, short u2, short u3) { in write() argument 79 write(u2); in write() 84 public void write(short u0, short u1, short u2, short u3, short u4) { in write() argument 87 write(u2); in write()
|
D | CodeOutput.java | 36 public void write(short u0, short u1, short u2); in write() argument 41 public void write(short u0, short u1, short u2, short u3); in write() argument 46 public void write(short u0, short u1, short u2, short u3, short u4); in write() argument
|
/dalvik/vm/analysis/ |
D | Optimize.cpp | 41 static void rewriteInstField(Method* method, u2* insns, Opcode quickOpc, 43 static void rewriteStaticField(Method* method, u2* insns, Opcode volatileOpc); 44 static void rewriteVirtualInvoke(Method* method, u2* insns, Opcode newOpc); 45 static bool rewriteInvokeObjectInit(Method* method, u2* insns); 46 static bool rewriteExecuteInline(Method* method, u2* insns, 48 static bool rewriteExecuteInlineRange(Method* method, u2* insns, 50 static void rewriteReturnVoid(Method* method, u2* insns); 150 u2* insns; in optimizeMethod() 158 insns = (u2*) method->insns; in optimizeMethod() 357 void dvmUpdateCodeUnit(const Method* meth, u2* ptr, u2 newVal) in dvmUpdateCodeUnit() [all …]
|
D | Optimize.h | 31 void dvmUpdateCodeUnit(const Method* meth, u2* ptr, u2 newVal);
|
/dalvik/dx/src/com/android/dx/command/dump/ |
D | DotDumper.java | 130 + Hex.u2(rmeth.getFirstLabel()) + ";"); in endParsingMember() 141 System.out.println("\tn" + Hex.u2(label) + " -> returns;"); in endParsingMember() 143 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember() 144 + Hex.u2(successors.get(0)) + ";"); in endParsingMember() 146 System.out.print("\tn" + Hex.u2(label) + " -> {"); in endParsingMember() 151 System.out.print(" n" + Hex.u2(successor) + " "); in endParsingMember() 157 System.out.println("\tn" + Hex.u2(label) + " -> n" in endParsingMember() 158 + Hex.u2(bb.getPrimarySuccessor()) in endParsingMember()
|
D | BlockDumper.java | 231 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(start)); in regularDump() 235 "block " + Hex.u2(bb.getLabel()) + ": " + in regularDump() 236 Hex.u2(start) + ".." + Hex.u2(end)); in regularDump() 252 parsed(bytes, end, 0, "next " + Hex.u2(succ)); in regularDump() 265 Hex.u2(one.getHandlerPc())); in regularDump() 275 "dead code " + Hex.u2(byteAt) + ".." + Hex.u2(end)); in regularDump() 303 sb.append("first " + Hex.u2(rmeth.getFirstLabel()) + "\n"); in ropDump() 308 sb.append(Hex.u2(label)); in ropDump() 315 sb.append(Hex.u2(preds.get(i))); in ropDump() 337 sb.append(Hex.u2(succ)); in ropDump()
|
/dalvik/vm/mterp/portable/ |
D | entry.cpp | 16 const u2* pc; // program counter 18 u2 inst; // current instruction 21 u2 vsrc1, vsrc2, vdst; // usually used for register indexes
|
/dalvik/vm/mterp/cstubs/ |
D | stubdefs.cpp | 12 u2 ref, vsrc1, vsrc2, vdst; \ 13 u2 inst = FETCH(0); \ 59 u2 vsrc1, vsrc2, vdst; \ 60 u2 inst = FETCH(0); \
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | ByteBlock.java | 96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString() 97 Hex.u2(end) + '}'; in toString()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | ByteBlock.java | 96 return '{' + Hex.u2(label) + ": " + Hex.u2(start) + ".." + in toString() 97 Hex.u2(end) + '}'; in toString()
|