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

1234567891011>>

/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/
H A DInstructionIterator.java50 Instruction instruction = null;
55 instruction = new UnknownInstruction(opcodeValue);
62 instruction = new Instruction10x(Opcode.NOP, insns, insnsPosition);
67 instruction = new PackedSwitchDataPseudoInstruction(insns, insnsPosition);
72 instruction = new SparseSwitchDataPseudoInstruction(insns, insnsPosition);
77 instruction = new ArrayDataPseudoInstruction(insns, insnsPosition);
82 instruction = opcode.format.Factory.makeInstruction(dexFile, opcode, insns, insnsPosition);
86 assert instruction != null;
88 delegate.ProcessInstruction(insnsPosition/2, instruction);
89 insnsPosition += instruction
97 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
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
H A DInstructionMethodItemFactory.java42 MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress, Instruction instruction) {
43 if (instruction instanceof OffsetInstruction) {
45 codeAddress, (OffsetInstruction)instruction);
48 switch (instruction.getFormat()) {
51 (ArrayDataPseudoInstruction)instruction);
54 (PackedSwitchDataPseudoInstruction)instruction);
57 (SparseSwitchDataPseudoInstruction)instruction);
60 (UnresolvedOdexInstruction)instruction);
62 return new InstructionMethodItem<Instruction>(codeItem, codeAddress, instruction);
41 makeInstructionFormatMethodItem( MethodDefinition methodDefinition, CodeItem codeItem, int codeAddress, Instruction instruction) argument
H A DInstructionMethodItem.java46 protected final T instruction; field in class:InstructionMethodItem
48 public InstructionMethodItem(CodeItem codeItem, int codeAddress, T instruction) { argument
51 this.instruction = instruction;
61 switch (instruction.getFormat()) {
68 if (instruction instanceof UnknownInstruction) {
70 writer.printUnsignedLongAsHex(((UnknownInstruction) instruction).getOriginalOpcode() & 0xFFFF);
238 writer.write(instruction.opcode.name);
252 writeRegister(writer, ((SingleRegisterInstruction)instruction).getRegisterA());
256 writeRegister(writer, ((TwoRegisterInstruction)instruction)
[all...]
H A DOffsetInstructionFormatMethodItem.java44 OffsetInstruction instruction) {
45 super(codeItem, codeAddress, instruction);
47 label = new LabelMethodItem(codeAddress + instruction.getTargetAddressOffset(), getLabelPrefix());
61 switch (instruction.getFormat()) {
70 if (instruction.opcode == Opcode.FILL_ARRAY_DATA) {
73 if (instruction.opcode == Opcode.PACKED_SWITCH) {
76 assert instruction.opcode == Opcode.SPARSE_SWITCH;
43 OffsetInstructionFormatMethodItem(MethodDefinition.LabelCache labelCache, CodeItem codeItem, int codeAddress, OffsetInstruction instruction) argument
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/llvm/test/MC/PowerPC/
H A Dppc64-errors.s7 # CHECK: error: invalid operand for instruction
17 # CHECK: error: invalid operand for instruction
21 # CHECK: error: invalid operand for instruction
27 # CHECK: error: invalid operand for instruction
31 # CHECK: error: invalid operand for instruction
37 # CHECK: error: invalid operand for instruction
41 # CHECK: error: invalid operand for instruction
47 # CHECK: error: invalid operand for instruction
50 # CHECK: error: invalid operand for instruction
63 # CHECK: error: invalid operand for instruction
[all...]
/external/lzma/C/
H A DBraIA64.c29 UInt64 instruction, instNorm; local
35 instruction = 0;
37 instruction += (UInt64)data[i + j + bytePos] << (8 * j);
39 instNorm = instruction >> bitRes;
59 instruction &= (1 << bitRes) - 1;
60 instruction |= (instNorm << bitRes);
62 data[i + j + bytePos] = (Byte)(instruction >> (8 * j));
/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.
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/
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.
95 //have to handle the case this special case of instruction being null, in the main class
148 for (AnalyzedInstruction instruction: instructions.getValues()) {
149 instruction.dead = true;
207 //if we had deodexed an odex instruction in a previous pass, we might have more specific
208 //register information now, so let's restore the original odexed instruction an
417 getInstructionAddress(AnalyzedInstruction instruction) argument
467 propagateRegisterToSuccessors(AnalyzedInstruction instruction, int registerNumber, BitSet changedInstructions) argument
3809 Format35cRegisterIterator(FiveRegisterInstruction instruction) argument
3839 Format3rcRegisterIterator(RegisterRangeInstruction instruction) argument
[all...]
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 DInlineMethodResolver.java52 public abstract DeodexUtil.InlineMethod resolveExecuteInline(AnalyzedInstruction instruction); argument
79 assert analyzedInstruction.instruction instanceof OdexedInvokeInline;
81 OdexedInvokeInline instruction = (OdexedInvokeInline)analyzedInstruction.instruction;
82 int inlineIndex = instruction.getInlineIndex();
151 assert analyzedInstruction.instruction instanceof OdexedInvokeInline;
153 OdexedInvokeInline instruction = (OdexedInvokeInline)analyzedInstruction.instruction;
154 int inlineIndex = instruction.getInlineIndex();
161 int parameterCount = getParameterCount(instruction);
183 getParameterCount(OdexedInvokeInline instruction) argument
[all...]
H A DSyntheticAccessorResolver.java92 InstructionWithReference instruction = (InstructionWithReference)instructions[0];
93 Item referencedItem = instruction.getReferencedItem();
108 Instruction22c instruction = (Instruction22c)instructions[0];
109 Item referencedItem = instruction.getReferencedItem();
115 if (instruction.opcode.setsRegister() || instruction.opcode.setsWideRegister()) {
116 //If the instruction sets a register, that means it is a getter - it gets the field value and
/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...]
/external/llvm/test/MC/SystemZ/
H A Dregs-bad.s6 #CHECK: error: invalid operand for instruction
8 #CHECK: error: invalid operand for instruction
10 #CHECK: error: invalid operand for instruction
12 #CHECK: error: invalid operand for instruction
14 #CHECK: error: invalid operand for instruction
16 #CHECK: error: invalid operand for instruction
28 #CHECK: error: invalid operand for instruction
30 #CHECK: error: invalid operand for instruction
32 #CHECK: error: invalid operand for instruction
34 #CHECK: error: invalid operand for instruction
[all...]
H A Dtokens.s4 #CHECK: error: invalid instruction
8 #CHECK: error: invalid instruction
14 #CHECK: error: invalid instruction
26 #CHECK: error: invalid instruction
30 #CHECK: error: invalid instruction
32 #CHECK: error: invalid instruction
36 #CHECK: error: invalid instruction
38 #CHECK: error: invalid instruction
42 #CHECK: error: invalid instruction
44 #CHECK: error: invalid instruction
[all...]
/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/AsmParser/
H A Dpurgem.s12 # CHECK: error: invalid instruction mnemonic 'foo'
/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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c578 * instruction
584 struct tgsi_instruction instruction; local
586 instruction.Type = TGSI_TOKEN_TYPE_INSTRUCTION;
587 instruction.NrTokens = 0;
588 instruction.Opcode = TGSI_OPCODE_MOV;
589 instruction.Saturate = TGSI_SAT_NONE;
590 instruction.Predicate = 0;
591 instruction.NumDstRegs = 1;
592 instruction.NumSrcRegs = 1;
593 instruction
608 struct tgsi_instruction instruction; local
628 instruction_grow( struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
656 tgsi_build_instruction_predicate(int index, unsigned negate, unsigned swizzleX, unsigned swizzleY, unsigned swizzleZ, unsigned swizzleW, struct tgsi_instruction *instruction, struct tgsi_header *header) argument
692 tgsi_build_instruction_label( unsigned label, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
722 tgsi_build_instruction_texture( unsigned texture, unsigned num_offsets, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
758 tgsi_build_texture_offset( int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
798 tgsi_build_src_register( unsigned file, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w, unsigned negate, unsigned absolute, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
865 tgsi_build_dimension( unsigned indirect, unsigned index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
899 tgsi_build_dst_register( unsigned file, unsigned mask, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
971 struct tgsi_instruction *instruction; local
[all...]
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c578 * instruction
584 struct tgsi_instruction instruction; local
586 instruction.Type = TGSI_TOKEN_TYPE_INSTRUCTION;
587 instruction.NrTokens = 0;
588 instruction.Opcode = TGSI_OPCODE_MOV;
589 instruction.Saturate = TGSI_SAT_NONE;
590 instruction.Predicate = 0;
591 instruction.NumDstRegs = 1;
592 instruction.NumSrcRegs = 1;
593 instruction
608 struct tgsi_instruction instruction; local
628 instruction_grow( struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
656 tgsi_build_instruction_predicate(int index, unsigned negate, unsigned swizzleX, unsigned swizzleY, unsigned swizzleZ, unsigned swizzleW, struct tgsi_instruction *instruction, struct tgsi_header *header) argument
692 tgsi_build_instruction_label( unsigned label, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
722 tgsi_build_instruction_texture( unsigned texture, unsigned num_offsets, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
758 tgsi_build_texture_offset( int index, int file, int swizzle_x, int swizzle_y, int swizzle_z, struct tgsi_token *prev_token, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
798 tgsi_build_src_register( unsigned file, unsigned swizzle_x, unsigned swizzle_y, unsigned swizzle_z, unsigned swizzle_w, unsigned negate, unsigned absolute, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
865 tgsi_build_dimension( unsigned indirect, unsigned index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
899 tgsi_build_dst_register( unsigned file, unsigned mask, unsigned indirect, unsigned dimension, int index, struct tgsi_instruction *instruction, struct tgsi_header *header ) argument
971 struct tgsi_instruction *instruction; local
[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);

Completed in 849 milliseconds

1234567891011>>