/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | TargetInsn.java | 27 private CodeAddress target; field in TargetInsn 42 RegisterSpecList registers, CodeAddress target) { in TargetInsn() argument 45 if (target == null) { in TargetInsn() 49 this.target = target; in TargetInsn() 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode() 61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters() 74 public TargetInsn withNewTargetAndReversed(CodeAddress target) { in withNewTargetAndReversed() argument 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed() 86 return target; in getTarget() 98 return target.getAddress(); in getTargetAddress() [all …]
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | TargetInsn.java | 27 private CodeAddress target; field in TargetInsn 42 RegisterSpecList registers, CodeAddress target) { in TargetInsn() argument 45 if (target == null) { in TargetInsn() 49 this.target = target; in TargetInsn() 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withOpcode() 61 return new TargetInsn(getOpcode(), getPosition(), registers, target); in withRegisters() 74 public TargetInsn withNewTargetAndReversed(CodeAddress target) { in withNewTargetAndReversed() argument 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target); in withNewTargetAndReversed() 86 return target; in getTarget() 98 return target.getAddress(); in getTargetAddress() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | DexJarMaker.java | 50 JarOutputStream target = null; in create() local 52 target = new JarOutputStream( in create() 55 add(new File(pathHolder.getDexFilePath()), target); in create() 62 if (target != null) { in create() 63 target.close(); in create() 78 private void add(File source, JarOutputStream target) throws IOException { in add() argument 87 target.putNextEntry(entry); in add() 91 target.write(curr); in add() 93 target.closeEntry(); in add()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | SwitchList.java | 127 public void setDefaultTarget(int target) { in setDefaultTarget() argument 130 if (target < 0) { in setDefaultTarget() 138 targets.add(target); in setDefaultTarget() 147 public void add(int value, int target) { in add() argument 150 if (target < 0) { in add() 155 targets.add(target); in add() 176 int target = targets.get(i); in removeSuperfluousDefaults() local 177 if (target != defaultTarget) { in removeSuperfluousDefaults() 179 targets.set(at, target); in removeSuperfluousDefaults()
|
/dalvik/vm/ |
D | SignalCatcher.cpp | 75 static void printProcessName(const DebugOutputTarget* target) in printProcessName() argument 91 dvmPrintDebugMessage(target, "Cmd line: %s\n", tmpBuf); in printProcessName() 104 DebugOutputTarget target; in logThreadStacks() local 106 dvmCreateFileOutputTarget(&target, fp); in logThreadStacks() 117 dvmPrintDebugMessage(&target, in logThreadStacks() 121 printProcessName(&target); in logThreadStacks() 122 dvmPrintDebugMessage(&target, "\n"); in logThreadStacks() 123 dvmDumpJniStats(&target); in logThreadStacks() 124 dvmDumpAllThreadsEx(&target, true); in logThreadStacks() 153 DebugOutputTarget target; in handleSigQuit() local [all …]
|
D | Misc.cpp | 137 void dvmCreateLogOutputTarget(DebugOutputTarget* target, int priority, in dvmCreateLogOutputTarget() argument 140 assert(target != NULL); in dvmCreateLogOutputTarget() 143 target->which = kDebugTargetLog; in dvmCreateLogOutputTarget() 144 target->data.log.priority = priority; in dvmCreateLogOutputTarget() 145 target->data.log.tag = tag; in dvmCreateLogOutputTarget() 151 void dvmCreateFileOutputTarget(DebugOutputTarget* target, FILE* fp) in dvmCreateFileOutputTarget() argument 153 assert(target != NULL); in dvmCreateFileOutputTarget() 156 target->which = kDebugTargetFile; in dvmCreateFileOutputTarget() 157 target->data.file.fp = fp; in dvmCreateFileOutputTarget() 163 void dvmFreeOutputTarget(DebugOutputTarget* target) in dvmFreeOutputTarget() argument [all …]
|
D | Thread.cpp | 535 Thread* target; in dvmSlayDaemons() local 544 target = gDvm.threadList; in dvmSlayDaemons() 545 while (target != NULL) { in dvmSlayDaemons() 546 if (target == self) { in dvmSlayDaemons() 547 target = target->next; in dvmSlayDaemons() 551 if (!dvmGetFieldBoolean(target->threadObj, in dvmSlayDaemons() 556 threadId, target->threadId); in dvmSlayDaemons() 559 std::string threadName(dvmGetThreadName(target)); in dvmSlayDaemons() 561 threadId, target->threadId, threadName.c_str()); in dvmSlayDaemons() 565 dvmAddToSuspendCounts(target, 1, 0); in dvmSlayDaemons() [all …]
|
/dalvik/vm/compiler/codegen/x86/ |
D | NcgAot.cpp | 114 bool jumpToException(const char* target) { in jumpToException() argument 116 if(!strncmp(target, "common_err", 10)) isException = true; in jumpToException() 117 if(!strncmp(target, "common_throw", 12)) isException = true; in jumpToException() 118 if(!strncmp(target, "common_exception", 16)) isException = true; in jumpToException() 123 ConditionCode cc, const char* target, in conditional_jump_global_API() argument 125 … if(jumpToException(target) && currentExceptionBlockIdx >= 0) { //jump to the exceptionThrow block in conditional_jump_global_API() 129 conditional_jump(cc, target, isShortTerm); in conditional_jump_global_API() 133 const char* target, bool isShortTerm) { in unconditional_jump_global_API() argument 134 … if(jumpToException(target) && currentExceptionBlockIdx >= 0) { //jump to the exceptionThrow block in unconditional_jump_global_API() 138 unconditional_jump(target, isShortTerm); in unconditional_jump_global_API()
|
D | LowerJump.cpp | 417 OpndSize estOpndSizeFromImm(int target) { in estOpndSizeFromImm() argument 418 if(target-MIN_JCC_SIZE < 128 && target-MAX_JCC_SIZE >= -128) return OpndSize_8; in estOpndSizeFromImm() 420 if(target-MIN_JCC_SIZE < 32768 && target-MAX_JCC_SIZE >= -32768) return OpndSize_16; in estOpndSizeFromImm() 457 int getRelativeOffset(const char* target, bool isShortTerm, JmpCall_type type, bool* unknown, OpndS… in getRelativeOffset() argument 459 if(isShortTerm) targetPtrInStream = findCodeForShortLabel(target); in getRelativeOffset() 460 else targetPtrInStream = findCodeForLabel(target); in getRelativeOffset() 473 if(!strcmp(target, ".check_cast_null") || !strcmp(target, ".stackOverflow") || in getRelativeOffset() 474 !strcmp(target, ".invokeChain") || in getRelativeOffset() 475 !strcmp(target, ".new_instance_done") || in getRelativeOffset() 476 !strcmp(target, ".new_array_done") || in getRelativeOffset() [all …]
|
D | NcgAot.h | 31 ConditionCode cc, const char* target, 34 const char* target, bool isShortTerm);
|
/dalvik/tests/046-reflect/src/ |
D | Main.java | 49 Class target = Target.class; in showStrings() local 53 field = target.getField("string1"); in showStrings() 56 field = target.getField("string2"); in showStrings() 59 field = target.getField("string3"); in showStrings() 67 Class target = otherpackage.Other.class; in checkAccess() local 71 meth = target.getMethod("publicMethod", (Class[]) null); in checkAccess() 75 meth = target.getMethod("packageMethod", (Class[]) null); in checkAccess() 83 target = instance.getClass(); in checkAccess() 84 meth = target.getMethod("innerMethod", (Class[]) null); in checkAccess() 93 Field field = target.getField("innerField"); in checkAccess() [all …]
|
/dalvik/dx/ |
D | Android.mk | 25 $(copy-file-to-new-target) 45 $(copy-file-to-new-target) 63 $(copy-file-to-new-target) 80 $(copy-file-to-target)
|
/dalvik/dx/tests/120-disable-extended-ops/ |
D | info.txt | 1 This is a test of the dx option --target-api, which is supposed to 2 disable the emission of extended-opcode instructions when the target
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | ZeroRegisterDecodedInstruction.java | 29 int index, IndexType indexType, int target, long literal) { in ZeroRegisterDecodedInstruction() argument 30 super(format, opcode, index, indexType, target, literal); in ZeroRegisterDecodedInstruction()
|
D | OneRegisterDecodedInstruction.java | 32 int index, IndexType indexType, int target, long literal, in OneRegisterDecodedInstruction() argument 34 super(format, opcode, index, indexType, target, literal); in OneRegisterDecodedInstruction()
|
D | RegisterRangeDecodedInstruction.java | 36 int index, IndexType indexType, int target, long literal, in RegisterRangeDecodedInstruction() argument 38 super(format, opcode, index, indexType, target, literal); in RegisterRangeDecodedInstruction()
|
D | DecodedInstruction.java | 57 private final int target; field in DecodedInstruction 102 int index, IndexType indexType, int target, long literal) { in DecodedInstruction() argument 115 this.target = target; in DecodedInstruction() 153 return target; in getTarget() 160 return target - baseAddress; in getTarget()
|
D | TwoRegisterDecodedInstruction.java | 35 int index, IndexType indexType, int target, long literal, in TwoRegisterDecodedInstruction() argument 37 super(format, opcode, index, indexType, target, literal); in TwoRegisterDecodedInstruction()
|
D | ThreeRegisterDecodedInstruction.java | 38 int index, IndexType indexType, int target, long literal, in ThreeRegisterDecodedInstruction() argument 40 super(format, opcode, index, indexType, target, literal); in ThreeRegisterDecodedInstruction()
|
D | FourRegisterDecodedInstruction.java | 41 int index, IndexType indexType, int target, long literal, in FourRegisterDecodedInstruction() argument 43 super(format, opcode, index, indexType, target, literal); in FourRegisterDecodedInstruction()
|
D | FiveRegisterDecodedInstruction.java | 44 int index, IndexType indexType, int target, long literal, in FiveRegisterDecodedInstruction() argument 46 super(format, opcode, index, indexType, target, literal); in FiveRegisterDecodedInstruction()
|
/dalvik/vm/compiler/codegen/arm/Thumb2/ |
D | Gen.cpp | 240 ArmLIR *target; in genMonitorEnter() local 265 hopBranch->generic.target = (LIR *)hopTarget; in genMonitorEnter() 281 target = newLIR0(cUnit, kArmPseudoTargetLabel); in genMonitorEnter() 282 target->defMask = ENCODE_ALL; in genMonitorEnter() 283 branch->generic.target = (LIR *)target; in genMonitorEnter() 295 ArmLIR *target; in genMonitorExit() local 321 hopBranch->generic.target = (LIR *)hopTarget; in genMonitorExit() 341 target = newLIR0(cUnit, kArmPseudoTargetLabel); in genMonitorExit() 342 target->defMask = ENCODE_ALL; in genMonitorExit() 343 branch->generic.target = (LIR *)target; in genMonitorExit() [all …]
|
/dalvik/dx/src/com/android/dx/merge/ |
D | IndexMap.java | 58 private final Dex target; field in IndexMap 71 public IndexMap(Dex target, TableOfContents tableOfContents) { in IndexMap() argument 72 this.target = target; in IndexMap() 153 return new TypeList(target, types); in adjustTypeList() 193 return new MethodId(target, in adjust() 200 return new FieldId(target, in adjust() 208 return new ProtoId(target, in adjust() 215 return new ClassDef(target, classDef.getOffset(), adjustType(classDef.getTypeIndex()), in adjust() 243 return new Annotation(target, annotation.getVisibility(), in adjust()
|
/dalvik/vm/interp/ |
D | Stack.h | 276 void dvmDumpThreadStack(const DebugOutputTarget* target, Thread* thread); 277 void dvmDumpRunningThreadStack(const DebugOutputTarget* target, Thread* thread); 278 void dvmDumpNativeStack(const DebugOutputTarget* target, pid_t tid);
|
/dalvik/dx/tests/113-old-style-inner-class/ |
D | run | 19 ${JAVAC} -source 1.4 -target 1.4 -d . Blort.java
|