Searched refs:target (Results 1 - 25 of 83) sorted by relevance

1234

/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DTargetInsn.java23 * Instruction which has a single branch target.
26 /** {@code non-null;} the branch target */
27 private CodeAddress target; field in class:TargetInsn
31 * unknown ({@code -1}), and the target is initially
39 * @param target {@code non-null;} the branch target
42 RegisterSpecList registers, CodeAddress target) {
45 if (target == null) {
46 throw new NullPointerException("target == null");
49 this.target
41 TargetInsn(Dop opcode, SourcePosition position, RegisterSpecList registers, CodeAddress target) argument
74 withNewTargetAndReversed(CodeAddress target) argument
[all...]
/dalvik/dx/src/com/android/dx/dex/code/
H A DTargetInsn.java23 * Instruction which has a single branch target.
26 /** {@code non-null;} the branch target */
27 private CodeAddress target; field in class:TargetInsn
31 * unknown ({@code -1}), and the target is initially
39 * @param target {@code non-null;} the branch target
42 RegisterSpecList registers, CodeAddress target) {
45 if (target == null) {
46 throw new NullPointerException("target == null");
49 this.target
41 TargetInsn(Dop opcode, SourcePosition position, RegisterSpecList registers, CodeAddress target) argument
74 withNewTargetAndReversed(CodeAddress target) argument
[all...]
/dalvik/dx/tests/113-old-style-inner-class/
H A Drun17 # We compile for a 1.4 target to suppress the use of EnclosingMethod
19 ${JAVAC} -source 1.4 -target 1.4 -d . Blort.java
/dalvik/dexgen/src/com/android/dexgen/util/
H A DDexJarMaker.java50 JarOutputStream target = null;
52 target = new JarOutputStream(
55 add(new File(pathHolder.getDexFilePath()), target);
62 if (target != null) {
63 target.close();
75 * @param target {@code non-null;} target jar archive
78 private void add(File source, JarOutputStream target) throws IOException { argument
87 target.putNextEntry(entry);
91 target
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DSwitchList.java23 * List of (value, target) mappings representing the choices of a
25 * also holds the default target for the switch.
33 * is always one extra element in the target list, to hold the
34 * default target
81 * Gets the indicated target. Asking for the target at {@code size()}
82 * returns the default target.
85 * @return {@code >= 0;} the target
92 * Gets the default target. This is just a shorthand for
95 * @return {@code >= 0;} the default target
127 setDefaultTarget(int target) argument
147 add(int value, int target) argument
[all...]
/dalvik/dx/src/com/android/dx/io/instructions/
H A DZeroRegisterDecodedInstruction.java29 int index, IndexType indexType, int target, long literal) {
30 super(format, opcode, index, indexType, target, literal);
28 ZeroRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal) argument
H A DOneRegisterDecodedInstruction.java32 int index, IndexType indexType, int target, long literal,
34 super(format, opcode, index, indexType, target, literal);
31 OneRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a) argument
H A DRegisterRangeDecodedInstruction.java36 int index, IndexType indexType, int target, long literal,
38 super(format, opcode, index, indexType, target, literal);
35 RegisterRangeDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int registerCount) argument
H A DTwoRegisterDecodedInstruction.java35 int index, IndexType indexType, int target, long literal,
37 super(format, opcode, index, indexType, target, literal);
34 TwoRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b) argument
H A DFiveRegisterDecodedInstruction.java44 int index, IndexType indexType, int target, long literal,
46 super(format, opcode, index, indexType, target, literal);
43 FiveRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d, int e) argument
H A DFourRegisterDecodedInstruction.java41 int index, IndexType indexType, int target, long literal,
43 super(format, opcode, index, indexType, target, literal);
40 FourRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c, int d) argument
H A DThreeRegisterDecodedInstruction.java38 int index, IndexType indexType, int target, long literal,
40 super(format, opcode, index, indexType, target, literal);
37 ThreeRegisterDecodedInstruction(InstructionCodec format, int opcode, int index, IndexType indexType, int target, long literal, int a, int b, int c) argument
/dalvik/vm/compiler/codegen/x86/
H A DNcgAot.h31 ConditionCode cc, const char* target,
34 const char* target, bool isShortTerm);
H A DNcgAot.cpp114 bool jumpToException(const char* target) { argument
116 if(!strncmp(target, "common_err", 10)) isException = true;
117 if(!strncmp(target, "common_throw", 12)) isException = true;
118 if(!strncmp(target, "common_exception", 16)) isException = true;
123 ConditionCode cc, const char* target,
125 if(jumpToException(target) && currentExceptionBlockIdx >= 0) { //jump to the exceptionThrow block
129 conditional_jump(cc, target, isShortTerm);
133 const char* target, bool isShortTerm) {
134 if(jumpToException(target) && currentExceptionBlockIdx >= 0) { //jump to the exceptionThrow block
138 unconditional_jump(target, isShortTer
122 conditional_jump_global_API( ConditionCode cc, const char* target, bool isShortTerm) argument
132 unconditional_jump_global_API( const char* target, bool isShortTerm) argument
[all...]
H A DLowerJump.cpp412 native code at B: jump relOffset (target is A)
415 Argument "target" is equal to A - B. To determine size of the immediate, we check tha value of "target - size of the jump instructoin"
417 OpndSize estOpndSizeFromImm(int target) { argument
418 if(target-MIN_JCC_SIZE < 128 && target-MAX_JCC_SIZE >= -128) return OpndSize_8;
420 if(target-MIN_JCC_SIZE < 32768 && target-MAX_JCC_SIZE >= -32768) return OpndSize_16;
451 \brief check whether a branch target is already handled, if yes, return the size of the immediate; otherwise, call insertShortWorklist or insertLabelWorklist.
453 If the branch target i
457 getRelativeOffset(const char* target, bool isShortTerm, JmpCall_type type, bool* unknown, OpndSize* immSize) argument
531 conditional_jump(ConditionCode cc, const char* target, bool isShortTerm) argument
555 unconditional_jump(const char* target, bool isShortTerm) argument
587 conditional_jump_int(ConditionCode cc, int target, OpndSize size) argument
595 unconditional_jump_int(int target, OpndSize size) argument
612 call(const char* target) argument
[all...]
/dalvik/vm/
H A DSignalCatcher.cpp75 static void printProcessName(const DebugOutputTarget* target) argument
91 dvmPrintDebugMessage(target, "Cmd line: %s\n", tmpBuf);
104 DebugOutputTarget target; local
106 dvmCreateFileOutputTarget(&target, fp);
117 dvmPrintDebugMessage(&target,
121 printProcessName(&target);
122 dvmPrintDebugMessage(&target, "\n");
123 dvmDumpAllThreadsEx(&target, true);
152 DebugOutputTarget target; local
153 dvmCreateLogOutputTarget(&target, ANDROID_LOG_INF
[all...]
H A DMisc.cpp137 void dvmCreateLogOutputTarget(DebugOutputTarget* target, int priority, argument
140 assert(target != NULL);
143 target->which = kDebugTargetLog;
144 target->data.log.priority = priority;
145 target->data.log.tag = tag;
151 void dvmCreateFileOutputTarget(DebugOutputTarget* target, FILE* fp) argument
153 assert(target != NULL);
156 target->which = kDebugTargetFile;
157 target->data.file.fp = fp;
161 * Free "target" an
163 dvmFreeOutputTarget(DebugOutputTarget* target) argument
171 dvmPrintDebugMessage(const DebugOutputTarget* target, const char* format, ...) argument
[all...]
H A DThread.cpp535 Thread* target; local
544 target = gDvm.threadList;
545 while (target != NULL) {
546 if (target == self) {
547 target = target->next;
551 if (!dvmGetFieldBoolean(target->threadObj,
556 threadId, target->threadId);
559 std::string threadName(dvmGetThreadName(target));
561 threadId, target
[all...]
/dalvik/tests/046-reflect/src/
H A DMain.java49 Class target = Target.class;
53 field = target.getField("string1");
56 field = target.getField("string2");
59 field = target.getField("string3");
67 Class target = otherpackage.Other.class;
71 meth = target.getMethod("publicMethod", (Class[]) null);
75 meth = target.getMethod("packageMethod", (Class[]) null);
83 target = instance.getClass();
84 meth = target.getMethod("innerMethod", (Class[]) null);
93 Field field = target
[all...]
/dalvik/tests/085-old-style-inner-class/
H A Dbuild20 # We compile for a 1.4 target to suppress the use of EnclosingMethod
23 ${JAVAC} -source 1.4 -target 1.4 -d classes `find src -name '*.java'`
/dalvik/vm/compiler/codegen/arm/
H A DGlobalOptimizations.cpp41 * Is the branch target the next instruction?
43 if (nextLIR == (ArmLIR *) thisLIR->generic.target) {
49 * Found real useful stuff between the branch and the target.
/dalvik/dx/
H A DAndroid.mk5 # We use copy-file-to-new-target so that the installed
25 $(copy-file-to-new-target)
45 $(copy-file-to-new-target)
62 $(copy-file-to-target)
/dalvik/dx/tests/120-disable-extended-ops/
H A Drun17 # This test checks to see that without --target-api=11, the result of
27 echo "No iget/jumbo emitted without --target-api"
31 --target-api=11 \
34 echo "Found $count iget/jumbo emitted with --target-api=11"
/dalvik/dx/src/com/android/dx/merge/
H A DIndexMap.java41 private final DexBuffer target; field in class:IndexMap
53 public IndexMap(DexBuffer target, TableOfContents tableOfContents) { argument
54 this.target = target;
127 return new TypeList(target, types);
163 return new MethodId(target,
170 return new FieldId(target,
178 return new ProtoId(target,
185 return new ClassDef(target, classDef.getOffset(), adjustType(classDef.getTypeIndex()),
215 return new Annotation(target, annotatio
[all...]
/dalvik/vm/compiler/codegen/arm/Thumb2/
H A DGen.cpp240 ArmLIR *target; local
265 hopBranch->generic.target = (LIR *)hopTarget;
281 target = newLIR0(cUnit, kArmPseudoTargetLabel);
282 target->defMask = ENCODE_ALL;
283 branch->generic.target = (LIR *)target;
295 ArmLIR *target; local
321 hopBranch->generic.target = (LIR *)hopTarget;
341 target = newLIR0(cUnit, kArmPseudoTargetLabel);
342 target
[all...]

Completed in 850 milliseconds

1234