/dalvik/vm/native/ |
dalvik_bytecode_OpcodeInfo.cpp | 29 * public static native boolean isInvoke(int opcode); 34 Opcode opcode = static_cast<Opcode>(args[0]); local 35 int flags = dexGetFlagsFromOpcode(opcode);
|
/external/chromium/sdch/open-vcdiff/src/ |
decodetable.cc | 59 unsigned char opcode = 0; local 66 // from the most recently processed opcode. 67 opcode = static_cast<unsigned char>(pending_second_instruction_); 69 instruction_type = code_table_data_->inst2[opcode]; 70 instruction_size = code_table_data_->size2[opcode]; 71 instruction_mode = code_table_data_->mode2[opcode]; 78 opcode = **instructions_and_sizes_; 79 if (code_table_data_->inst2[opcode] != VCD_NOOP) { 80 // This opcode contains two instructions; process the first one now, and 86 instruction_type = code_table_data_->inst1[opcode]; [all...] |
codetable_test.cc | 44 int opcode) { 45 g_exercise_code_table_->inst1[opcode] = inst1; 46 g_exercise_code_table_->mode1[opcode] = mode1; 47 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; 48 g_exercise_code_table_->inst2[opcode] = inst2; 49 g_exercise_code_table_->mode2[opcode] = mode2; 50 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2; 55 int opcode = 0; local 74 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); 75 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++) [all...] |
instruction_map_test.cc | 38 int opcode); 56 // squared (because there are two instructions per opcode), makes 82 int opcode = 0; local 101 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); 102 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++); 103 AddExerciseOpcode(inst1, mode1, 255, inst2, mode2, 0, opcode++); 104 AddExerciseOpcode(inst1, mode1, 255, inst2, mode2, 255, opcode++); 109 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode); 129 int opcode) { 130 g_exercise_code_table_->inst1[opcode] = inst1 560 int opcode = 0; local [all...] |
/external/elfutils/libdw/ |
dwarf_getmacros.c | 91 unsigned int opcode = *readp++; local 97 switch (opcode) 137 mac.opcode = opcode;
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
Util.java | 18 import javassist.bytecode.Opcode; 25 public class Util implements Opcode { 27 int opcode = iter.byteAt(pos); local 28 pos += (opcode == JSR_W || opcode == GOTO_W) ? iter.s32bitAt(pos + 1) : iter.s16bitAt(pos + 1); 32 public static boolean isJumpInstruction(int opcode) { 33 return (opcode >= IFEQ && opcode <= JSR) || opcode == IFNULL || opcode == IFNONNULL || opcode == JSR_W || opcode == GOTO_W [all...] |
/external/open-vcdiff/src/ |
decodetable.cc | 59 unsigned char opcode = 0; local 66 // from the most recently processed opcode. 67 opcode = static_cast<unsigned char>(pending_second_instruction_); 69 instruction_type = code_table_data_->inst2[opcode]; 70 instruction_size = code_table_data_->size2[opcode]; 71 instruction_mode = code_table_data_->mode2[opcode]; 78 opcode = **instructions_and_sizes_; 79 if (code_table_data_->inst2[opcode] != VCD_NOOP) { 80 // This opcode contains two instructions; process the first one now, and 86 instruction_type = code_table_data_->inst1[opcode]; [all...] |
codetable_test.cc | 44 int opcode) { 45 g_exercise_code_table_->inst1[opcode] = inst1; 46 g_exercise_code_table_->mode1[opcode] = mode1; 47 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; 48 g_exercise_code_table_->inst2[opcode] = inst2; 49 g_exercise_code_table_->mode2[opcode] = mode2; 50 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2; 55 int opcode = 0; local 74 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); 75 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++) [all...] |
/dalvik/vm/compiler/codegen/arm/FP/ |
ThumbVFP.cpp | 68 TemplateOpcode opcode; local 74 switch (mir->dalvikInsn.opcode) { 77 opcode = TEMPLATE_ADD_FLOAT_VFP; 81 opcode = TEMPLATE_SUB_FLOAT_VFP; 85 opcode = TEMPLATE_DIV_FLOAT_VFP; 89 opcode = TEMPLATE_MUL_FLOAT_VFP; 102 genDispatchToHandler(cUnit, opcode); 114 TemplateOpcode opcode; local 116 switch (mir->dalvikInsn.opcode) { 119 opcode = TEMPLATE_ADD_DOUBLE_VFP 156 Opcode opcode = mir->dalvikInsn.opcode; local [all...] |
Thumb2VFP.cpp | 28 switch (mir->dalvikInsn.opcode) { 70 switch (mir->dalvikInsn.opcode) { 113 Opcode opcode = mir->dalvikInsn.opcode; local 122 switch (opcode) { 218 switch(mir->dalvikInsn.opcode) {
|
/dalvik/vm/compiler/codegen/mips/FP/ |
MipsFP.cpp | 79 switch (mir->dalvikInsn.opcode) { 112 TemplateOpcode opcode; 118 switch (mir->dalvikInsn.opcode) { 121 opcode = TEMPLATE_ADD_FLOAT_VFP; 125 opcode = TEMPLATE_SUB_FLOAT_VFP; 129 opcode = TEMPLATE_DIV_FLOAT_VFP; 133 opcode = TEMPLATE_MUL_FLOAT_VFP; 148 genDispatchToHandler(cUnit, opcode); 165 switch (mir->dalvikInsn.opcode) { 203 TemplateOpcode opcode; 248 Opcode opcode = mir->dalvikInsn.opcode; local [all...] |
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_utils.c | 192 ** Description This function returns the opcode of the given pdu 199 UINT8 opcode = 0; local 205 opcode = AVRC_OP_PASS_THRU; 209 opcode = AVRC_OP_VENDOR; 213 return opcode; 220 ** Description This function returns the opcode of the given pdu 225 BOOLEAN avrc_is_valid_opcode(UINT8 opcode) 228 switch (opcode)
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Format/ |
Instruction10t.java | 33 import org.jf.dexlib.Code.Opcode; 41 public Instruction10t(Opcode opcode, int offA) { 42 super(opcode); 53 private Instruction10t(Opcode opcode, byte[] buffer, int bufferIndex) { 54 super(opcode); 56 assert buffer[bufferIndex] == opcode.value; 71 out.writeByte(opcode.value); 88 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) [all...] |
Instruction20t.java | 33 import org.jf.dexlib.Code.Opcode; 42 public Instruction20t(Opcode opcode, int offA) { 43 super(opcode); 54 private Instruction20t(Opcode opcode, byte[] buffer, int bufferIndex) { 55 super(opcode); 57 assert buffer[bufferIndex] == opcode.value; 72 out.writeByte(opcode.value); 90 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) [all...] |
Instruction30t.java | 33 import org.jf.dexlib.Code.Opcode; 42 public Instruction30t(Opcode opcode, int offA) { 43 super(opcode); 47 private Instruction30t(Opcode opcode, byte[] buffer, int bufferIndex) { 48 super(opcode); 50 assert buffer[bufferIndex] == opcode.value; 56 out.writeByte(opcode.value); 74 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/ |
Instruction.java | 36 public final Opcode opcode; field in class:Instruction 44 return opcode.format.size/2; 47 protected Instruction(Opcode opcode) { 48 this.opcode = opcode; 63 opcode.name + " instruction"); 69 public Instruction makeInstruction(DexFile dexFile, Opcode opcode, byte[] buffer, int bufferIndex) [all...] |
InstructionIterator.java | 48 Opcode opcode = Opcode.getOpcodeByValue(opcodeValue); local 52 if (opcode == null) { 53 System.err.println(String.format("unknown opcode encountered - %x. Treating as nop.", 57 if (opcode == Opcode.NOP) { 62 instruction = new Instruction10x(Opcode.NOP, insns, insnsPosition); 82 instruction = opcode.format.Factory.makeInstruction(dexFile, opcode, insns, insnsPosition) [all...] |
/external/tcpdump/ |
print-tftp.c | 80 register int opcode, i; local 90 opcode = EXTRACT_16BITS(&tp->th_opcode); 91 cp = tok2str(op2str, "tftp-#%d", opcode); 93 /* Bail if bogus opcode */ 97 switch (opcode) { 113 if (opcode != OACK) 116 if (opcode != OACK) 154 printf("(unknown #%d)", opcode);
|
/system/bluetooth/brfpatch/ |
brfpatch.c | 41 " FORMAT: Send_HCI_xxxx OPCODE DATA1 DATA2 DATA3 ...\n" 42 " where OPCODE, DATA1 etc are one of:\n" 50 " FORMAT: 0x01 OPCODE DATA_LEN DATA\n"); 54 static void dump_record(FILE *fpo, unsigned short opcode, unsigned char len, 59 fwrite(&opcode, 2, 1, fpo); // opcode 81 unsigned int opcode; local 83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer); 84 FAILIF(sscanf(buf, "0x%04x\n", &opcode) != 1, 85 "Could not find opcode in: %s\n", buffer) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
Dop.java | 20 * Representation of an opcode. 23 /** DalvOps.MIN_VALUE..DalvOps.MAX_VALUE; the opcode value itself */ 24 private final int opcode; field in class:Dop 26 /** DalvOps.MIN_VALUE..DalvOps.MAX_VALUE; the opcode family */ 32 /** whether this opcode uses a result register */ 41 * @param opcode {@code DalvOps.MIN_VALUE..DalvOps.MAX_VALUE;} the opcode 43 * @param family {@code DalvOps.MIN_VALUE..DalvOps.MAX_VALUE;} the opcode family 45 * @param hasResult whether the opcode has a result register; if so it 49 public Dop(int opcode, int family, InsnFormat format [all...] |
TargetInsn.java | 34 * @param opcode the opcode; one of the constants from {@link Dops} 41 public TargetInsn(Dop opcode, SourcePosition position, 43 super(opcode, position, registers); 54 public DalvInsn withOpcode(Dop opcode) { 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); 66 * opcode has the opposite sense (as a test; e.g. a 75 Dop opcode = getOpcode().getOppositeTest(); local 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
Dop.java | 23 * Representation of an opcode. 26 /** {@code Opcodes.isValid();} the opcode value itself */ 27 private final int opcode; field in class:Dop 29 /** {@code Opcodes.isValid();} the opcode family */ 33 * {@code Opcodes.isValid();} what opcode (by number) to try next 34 * when attempting to match an opcode to particular arguments; 36 * opcode to try in a particular chain 43 /** whether this opcode uses a result register */ 49 * @param opcode {@code Opcodes.isValid();} the opcode valu [all...] |
TargetInsn.java | 34 * @param opcode the opcode; one of the constants from {@link Dops} 41 public TargetInsn(Dop opcode, SourcePosition position, 43 super(opcode, position, registers); 54 public DalvInsn withOpcode(Dop opcode) { 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); 66 * opcode has the opposite sense (as a test; e.g. a 75 Dop opcode = getOpcode().getOppositeTest(); local 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
Dop.java | 23 * Representation of an opcode. 26 /** {@code Opcodes.isValid();} the opcode value itself */ 27 private final int opcode; field in class:Dop 29 /** {@code Opcodes.isValid();} the opcode family */ 33 * {@code Opcodes.isValid();} what opcode (by number) to try next 34 * when attempting to match an opcode to particular arguments; 36 * opcode to try in a particular chain 43 /** whether this opcode uses a result register */ 49 * @param opcode {@code Opcodes.isValid();} the opcode valu [all...] |
TargetInsn.java | 34 * @param opcode the opcode; one of the constants from {@link Dops} 41 public TargetInsn(Dop opcode, SourcePosition position, 43 super(opcode, position, registers); 54 public DalvInsn withOpcode(Dop opcode) { 55 return new TargetInsn(opcode, getPosition(), getRegisters(), target); 66 * opcode has the opposite sense (as a test; e.g. a 75 Dop opcode = getOpcode().getOppositeTest(); local 77 return new TargetInsn(opcode, getPosition(), getRegisters(), target);
|