Searched refs:instruction (Results 1 - 25 of 203) sorted by relevance

123456789

/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
H A DInstructionMethodItemFactory.java44 Instruction instruction) {
45 if (instruction instanceof OffsetInstruction) {
47 instruction);
50 switch (instruction.getFormat()) {
53 (ArrayDataPseudoInstruction)instruction);
56 (PackedSwitchDataPseudoInstruction)instruction);
59 (SparseSwitchDataPseudoInstruction)instruction);
62 (UnresolvedOdexInstruction)instruction);
64 return new InstructionMethodItem(codeItem, codeAddress, instruction);
41 makeInstructionFormatMethodItem(MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress, Instruction instruction) argument
H A DOffsetInstructionFormatMethodItem.java46 T instruction) {
47 super(codeItem, codeAddress, instruction);
49 label = new LabelMethodItem(codeAddress + instruction.getTargetAddressOffset(), getLabelPrefix());
63 switch (instruction.getFormat()) {
72 if (instruction.opcode == Opcode.FILL_ARRAY_DATA) {
75 if (instruction.opcode == Opcode.PACKED_SWITCH) {
78 assert instruction.opcode == Opcode.SPARSE_SWITCH;
45 OffsetInstructionFormatMethodItem(MethodDefinition.LabelCache labelCache, CodeItem codeItem, int codeAddress, T instruction) argument
H A DInstructionMethodItem.java45 protected final T instruction; field in class:InstructionMethodItem
47 public InstructionMethodItem(CodeItem codeItem, int codeAddress, T instruction) { argument
50 this.instruction = instruction;
60 switch (instruction.getFormat()) {
216 writer.write(instruction.opcode.name);
230 writeRegister(writer, ((SingleRegisterInstruction)instruction).getRegisterA());
234 writeRegister(writer, ((TwoRegisterInstruction)instruction).getRegisterB());
238 writeRegister(writer, ((ThreeRegisterInstruction)instruction).getRegisterC());
242 FiveRegisterInstruction instruction
[all...]
H A DUnresolvedOdexInstructionMethodItem.java38 public UnresolvedOdexInstructionMethodItem(CodeItem codeItem, int codeAddress, UnresolvedOdexInstruction instruction) { argument
39 super(codeItem, codeAddress, instruction);
48 writer.write("#Replaced unresolvable odex instruction with a throw\n");
50 writeRegister(writer, instruction.ObjectRegisterNum);
H A DArrayDataMethodItem.java40 public ArrayDataMethodItem(CodeItem codeItem, int codeAddress, ArrayDataPseudoInstruction instruction) { argument
41 super(codeItem, codeAddress, instruction);
46 writer.printUnsignedLongAsHex(instruction.getElementWidth());
50 Iterator<ArrayDataPseudoInstruction.ArrayElement> iterator = instruction.getElements();
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/
H A DInstructionIterator.java48 Instruction instruction = null;
59 instruction = new Instruction10x(Opcode.NOP, insns, insnsPosition);
64 instruction = new PackedSwitchDataPseudoInstruction(insns, insnsPosition);
69 instruction = new SparseSwitchDataPseudoInstruction(insns, insnsPosition);
74 instruction = new ArrayDataPseudoInstruction(insns, insnsPosition);
79 instruction = opcode.format.Factory.makeInstruction(dexFile, opcode, insns, insnsPosition);
82 assert instruction != null;
84 delegate.ProcessInstruction(insnsPosition/2, instruction);
85 insnsPosition += instruction.getSize(insnsPosition/2)*2;
93 public void ProcessInstruction(int codeAddress, Instruction instruction); argument
[all...]
/external/proguard/src/proguard/classfile/instruction/visitor/
H A DInstructionCounter.java21 package proguard.classfile.instruction.visitor;
25 import proguard.classfile.instruction.Instruction;
55 Instruction instruction)
51 visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
H A DInstructionVisitor.java21 package proguard.classfile.instruction.visitor;
25 import proguard.classfile.instruction.*;
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DInteractiveCallback.java28 * (CLI) client SHOULD print the name and instruction (if non-empty), adding
30 * prompt and read the user input. The name and instruction fields MAY be
42 * @param instruction
43 * the instruction String sent by the server.
56 public String[] replyToChallenge(String name, String instruction, int numPrompts, String[] prompt, boolean[] echo) argument
/external/proguard/src/proguard/classfile/editor/
H A DInstructionAdder.java25 import proguard.classfile.instruction.visitor.InstructionVisitor;
26 import proguard.classfile.instruction.*;
58 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
60 // Add the instruction.
61 codeAttributeComposer.appendInstruction(offset, instruction);
67 // Create a copy of the instruction.
73 // Add the instruction.
H A DInstructionWriter.java26 import proguard.classfile.instruction.*;
27 import proguard.classfile.instruction.visitor.InstructionVisitor;
68 // Try to write out the instruction.
78 // Try to write out the instruction.
83 // Create a new constant instruction that will fit.
91 // Write out a dummy constant instruction for now.
103 // Try to write out the instruction.
108 // Create a new variable instruction that will fit.
116 // Write out a dummy variable instruction for now.
128 // Try to write out the instruction
232 insertBeforeInstruction(int instructionOffset, Instruction instruction) argument
245 replaceInstruction(int instructionOffset, Instruction instruction) argument
258 insertAfterInstruction(int instructionOffset, Instruction instruction) argument
[all...]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
H A DAnalyzedInstruction.java41 * The actual instruction
43 protected Instruction instruction; field in class:AnalyzedInstruction
46 * The index of the instruction, where the first instruction in the method is at index 0, and so on
61 * This contains the register types *before* the instruction has executed
66 * This contains the register types *after* the instruction has executed
71 * When deodexing, we might need to deodex this instruction multiple times, when we merge in new register
72 * information. When this happens, we need to restore the original (odexed) instruction, so we can deodex it again
77 * An analyzed instruction's "deadness" is set during analysis (i.e. MethodAnalyzer.analyzer()). A dead instruction
83 AnalyzedInstruction(Instruction instruction, int instructionIndex, int registerCount) argument
116 setDeodexedInstruction(Instruction instruction) argument
[all...]
H A DMethodAnalyzer.java68 //This is a dummy instruction that occurs immediately before the first real instruction. We can initialize the
69 //register types for this instruction to the parameter types, in order to have them propagate to all of its
70 //successors, e.g. the first real instruction, the first instructions in any exception handlers covering the first
71 //instruction, etc.
90 //have to handle the case this special case of instruction being null, in the main class
143 for (AnalyzedInstruction instruction: instructions.getValues()) {
144 instruction.dead = true;
202 //if we had deodexed an odex instruction in a previous pass, we might have more specific
203 //register information now, so let's restore the original odexed instruction an
390 getInstructionAddress(AnalyzedInstruction instruction) argument
440 propagateRegisterToSuccessors(AnalyzedInstruction instruction, int registerNumber, BitSet changedInstructions) argument
3622 Format35cRegisterIterator(FiveRegisterInstruction instruction) argument
3652 Format3rcRegisterIterator(RegisterRangeInstruction instruction) argument
[all...]
H A DInlineMethodResolver.java54 public abstract DeodexUtil.InlineMethod resolveExecuteInline(AnalyzedInstruction instruction); argument
81 assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual;
83 OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction.instruction;
84 int methodIndex = instruction.getMethodIndex();
146 assert analyzedInstruction.instruction instanceof OdexedInvokeVirtual;
148 OdexedInvokeVirtual instruction = (OdexedInvokeVirtual)analyzedInstruction.instruction;
149 int methodIndex = instruction.getMethodIndex();
156 int parameterCount = getParameterCount(instruction);
178 getParameterCount(OdexedInvokeVirtual instruction) argument
[all...]
H A DSyntheticAccessorResolver.java87 InstructionWithReference instruction = (InstructionWithReference)instructions[0];
88 MethodIdItem referencedMethodIdItem = (MethodIdItem)instruction.getReferencedItem();
99 Instruction22c instruction = (Instruction22c)instructions[0];
100 FieldIdItem referencedFieldIdItem = (FieldIdItem)instruction.getReferencedItem();
102 if (instruction.opcode.setsRegister() || instruction.opcode.setsWideRegister()) {
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DPreInstructionRegisterInfoMethodItem.java96 RegisterRangeInstruction instruction = (RegisterRangeInstruction)analyzedInstruction.getInstruction();
98 registers.set(instruction.getStartRegister(),
99 instruction.getStartRegister() + instruction.getRegCount());
101 FiveRegisterInstruction instruction = (FiveRegisterInstruction)analyzedInstruction.getInstruction();
102 int regCount = instruction.getRegCount();
105 registers.set(instruction.getRegisterA());
108 registers.set(instruction.getRegisterG());
111 registers.set(instruction.getRegisterF());
114 registers.set(instruction
[all...]
/external/proguard/src/proguard/optimize/evaluation/
H A DEvaluationSimplifier.java27 import proguard.classfile.instruction.*;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
145 Instruction instruction = InstructionFactory.create(codeAttribute.code,
148 instruction.accept(clazz, method, codeAttribute, offset, this);
370 * Replaces the push instruction at the given offset by a simpler push
371 * instruction, if possible.
375 Instruction instruction)
383 replaceIntegerPushInstruction(clazz, offset, instruction);
386 replaceLongPushInstruction(clazz, offset, instruction);
389 replaceFloatPushInstruction(clazz, offset, instruction);
373 replaceAnyPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
406 replaceIntegerPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
421 replaceIntegerPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
472 replaceLongPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
487 replaceLongPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
539 replaceFloatPushInstruction(Clazz clazz, int offset, Instruction instruction) argument
554 replaceFloatPushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
607 replaceDoublePushInstruction(Clazz clazz, int offset, Instruction instruction) argument
622 replaceDoublePushInstruction(Clazz clazz, int offset, Instruction instruction, int maxVariableIndex) argument
674 replaceReferencePushInstruction(Clazz clazz, int offset, Instruction instruction) argument
695 replaceConstantPushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int value) argument
712 replaceVariablePushInstruction(Clazz clazz, int offset, Instruction instruction, byte replacementOpcode, int variableIndex) argument
757 deleteReferencePopInstruction(Clazz clazz, int offset, Instruction instruction) argument
777 replaceBranchInstruction(Clazz clazz, int offset, Instruction instruction) argument
857 replaceByInfiniteLoop(Clazz clazz, int offset, Instruction instruction) argument
882 replaceInstruction(Clazz clazz, int offset, Instruction instruction, Instruction replacementInstruction) argument
[all...]
/external/llvm/test/MC/ARM/
H A Dthumb-diagnostics.s8 @ ADD instruction w/o 'S' suffix.
10 @ CHECK-ERRORS: error: invalid instruction
17 @ CHECK-ERRORS: error: instruction variant requires Thumb2
20 @ CHECK-ERRORS-V5: error: instruction variant requires ARMv6 or later
25 @ Out of range immediates for ASR instruction.
27 @ CHECK-ERRORS: error: invalid operand for instruction
31 @ Out of range immediates for BKPT instruction.
34 error: invalid operand for instruction
37 error: invalid operand for instruction
70 @ CHECK-ERRORS: error: instruction require
[all...]
H A Dthumb2-diagnostics.s22 @ CHECK-ERRORS: error: too many conditions on IT instruction
39 @ CHECK-ERRORS: error: invalid operand for instruction
40 @ CHECK-ERRORS: error: invalid operand for instruction
41 @ CHECK-ERRORS: error: invalid operand for instruction
42 @ CHECK-ERRORS: error: invalid operand for instruction
43 @ CHECK-ERRORS: error: invalid operand for instruction
44 @ CHECK-ERRORS: error: invalid operand for instruction
/external/proguard/src/proguard/optimize/peephole/
H A DUnreachableCodeRemover.java27 import proguard.classfile.instruction.Instruction;
28 import proguard.classfile.instruction.visitor.InstructionVisitor;
123 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) argument
127 System.out.println(" "+(reachableCodeMarker.isReachable(offset) ? "+" : "-")+" "+instruction.toString(offset));
130 // Is this instruction unreachable?
136 // Visit the instruction, if required.
139 instruction.accept(clazz, method, codeAttribute, offset, extraInstructionVisitor);
/external/webkit/Source/JavaScriptCore/jit/
H A DJITCall.cpp58 void JIT::emit_op_call_put_result(Instruction* instruction) argument
60 int dst = instruction[1].u.operand;
64 void JIT::compileOpCallVarargs(Instruction* instruction) argument
66 int callee = instruction[1].u.operand;
67 int argCountRegister = instruction[2].u.operand;
68 int registerOffset = instruction[3].u.operand;
109 void JIT::compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned) argument
111 int callee = instruction[1].u.operand;
112 int argCount = instruction[2].u.operand;
113 int registerOffset = instruction[
145 compileOpCallSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned, OpcodeID opcodeID) argument
166 compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned callLinkInfoIndex) argument
221 compileOpCallSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned callLinkInfoIndex, OpcodeID opcodeID) argument
[all...]
H A DJITCall32_64.cpp58 void JIT::emit_op_call_put_result(Instruction* instruction) argument
60 int dst = instruction[1].u.operand;
64 void JIT::compileOpCallVarargs(Instruction* instruction) argument
66 int callee = instruction[1].u.operand;
67 int argCountRegister = instruction[2].u.operand;
68 int registerOffset = instruction[3].u.operand;
91 void JIT::compileOpCallVarargsSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter) argument
93 int callee = instruction[1].u.operand;
190 void JIT::compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned) argument
192 int callee = instruction[
225 compileOpCallSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned, OpcodeID opcodeID) argument
247 compileOpCall(OpcodeID opcodeID, Instruction* instruction, unsigned callLinkInfoIndex) argument
302 compileOpCallSlowCase(Instruction* instruction, Vector<SlowCaseEntry>::iterator& iter, unsigned callLinkInfoIndex, OpcodeID opcodeID) argument
[all...]
/external/dropbear/
H A Dcli-authinteract.c70 unsigned char *instruction = NULL; local
83 instruction = buf_getstring(ses.payload, NULL);
105 if (strlen(instruction) > 0) {
106 cleantext(instruction);
107 fprintf(stderr, "%s", instruction);
109 m_free(instruction);
/external/oprofile/events/mips/vr5500/
H A Devents8 event:0x2 counters:0,1 um:zero minimum:500 name:LOAD_PREF_CACHE_INSTRUCTIONS : Execution of load/prefetch/cache instruction
9 event:0x3 counters:0,1 um:zero minimum:500 name:STORES : Execution of store instruction
10 event:0x4 counters:0,1 um:zero minimum:500 name:BRANCHES : Execution of branch instruction
11 event:0x5 counters:0,1 um:zero minimum:500 name:FP_INSTRUCTIONS : Execution of floating-point instruction
/external/v8/src/
H A Ddisasm.h61 // Writes one disassembled instruction into 'buffer' (0-terminated).
62 // Returns the length of the disassembled machine instruction in bytes.
63 int InstructionDecode(v8::internal::Vector<char> buffer, byte* instruction);
65 // Returns -1 if instruction does not mark the beginning of a constant pool,
67 int ConstantPoolSizeAt(byte* instruction);

Completed in 788 milliseconds

123456789