/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...] |
decodetable_test.cc | 47 int opcode) { 48 g_exercise_code_table_->inst1[opcode] = inst1; 49 g_exercise_code_table_->mode1[opcode] = mode1; 50 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; 51 g_exercise_code_table_->inst2[opcode] = inst2; 52 g_exercise_code_table_->mode2[opcode] = mode2; 53 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2; 58 int opcode = 0; local 77 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); 78 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++) 412 int opcode = 0; local [all...] |
encodetable.cc | 107 // The VCDiff format allows each opcode to represent either 109 // examine the opcode generated by the last call to EncodeInstruction. 110 // If that opcode was a single-instruction opcode, this function checks 111 // whether there is a compound (double-instruction) opcode that can 114 // single-instruction opcode at position last_opcode_index_ will be 115 // overwritten with the new double-instruction opcode. 117 // In the majority of cases, no compound opcode will be possible, 118 // and a new single-instruction opcode will be appended to 120 // if the opcode does not implicitly give the instruction size 186 OpcodeOrNone opcode = kNoOpcode; local [all...] |
instruction_map.cc | 90 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { 91 if (second_opcodes_[opcode] != NULL) { 96 delete[] second_opcodes_[opcode][inst_mode]; 98 delete[] second_opcodes_[opcode]; 159 for (int opcode = 0; opcode < VCDiffCodeTableData::kCodeTableSize; ++opcode) { 160 if (code_table_data.inst2[opcode] == VCD_NOOP) 192 opcode); local [all...] |
encodetable_test.cc | 56 int opcode) { 57 g_exercise_code_table_->inst1[opcode] = inst1; 58 g_exercise_code_table_->mode1[opcode] = mode1; 59 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1; 60 g_exercise_code_table_->inst2[opcode] = inst2; 61 g_exercise_code_table_->mode2[opcode] = mode2; 62 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2; 67 int opcode = 0; local 86 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++); 87 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++) [all...] |
/external/elfutils/libdw/ |
dwarf_getmacros.c | 55 unsigned int opcode = *readp++; local 61 switch (opcode) 96 mac.opcode = opcode;
|
/external/bluetooth/bluez/test/ |
lmptest.c | 76 uint8_t opcode; member in struct:__anon1965 88 cp.opcode = 0x00;
|
/external/bluetooth/hcidump/parser/ |
obex.c | 39 static char *opcode2str(uint8_t opcode) 41 switch (opcode & 0x7f) { 233 uint8_t last_opcode, opcode, status; local 240 opcode = get_u8(frm); 242 status = opcode & 0x7f; 254 if (!(opcode & 0x70)) { 256 opcode2str(opcode), 257 opcode & 0x80 ? 'f' : 'c', length); 258 set_opcode(frm->handle, frm->dlci, opcode); 262 opcode & 0x80 ? 'f' : 'c' [all...] |
parser.c | 123 uint8_t opcode; member in struct:__anon2272 137 frame_table[i].opcode = 0; 211 return frame_table[i].opcode; 216 void set_opcode(uint16_t handle, uint8_t dlci, uint8_t opcode) 223 frame_table[i].opcode = opcode;
|
/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/dx/src/com/android/dx/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);
|
DalvInsn.java | 36 /** the opcode; one of the constants from {@link Dops} */ 37 private final Dop opcode; field in class:DalvInsn 59 Dop opcode; local 62 opcode = reference ? Dops.MOVE_OBJECT : 65 opcode = reference ? Dops.MOVE_OBJECT_FROM16 : 68 opcode = reference ? Dops.MOVE_OBJECT_16 : 72 return new SimpleInsn(opcode, position, 86 * @param opcode the opcode; one of the constants from {@link Dops} 92 public DalvInsn(Dop opcode, SourcePosition position [all...] |
InsnFormat.java | 397 * Helper method to combine an opcode and a second byte of data into 400 * @param insn {@code non-null;} the instruction containing the opcode 409 int opcode = insn.getOpcode().getOpcode(); local 411 if ((opcode & 0xff) != opcode) { 412 throw new IllegalArgumentException("opcode out of range 0..255"); 415 return (short) (opcode | (arg << 8));
|
/external/webkit/JavaScriptCore/bytecode/ |
Instruction.h | 33 #include "Opcode.h" 55 // Structure used by op_get_by_id_self_list and op_get_by_id_proto_list instruction to hold data off the main opcode stream. 125 Instruction(Opcode opcode) 129 // the entire struct is initialized, when opcode is not a pointer. 132 u.opcode = opcode; 149 Opcode opcode; member in union:JSC::Instruction::__anon8049
|
/dalvik/dx/src/com/android/dx/rop/code/ |
Insn.java | 28 * an opcode (which specifies operation and source/result types), a 33 /** {@code non-null;} opcode */ 34 private final Rop opcode; field in class:Insn 48 * @param opcode {@code non-null;} the opcode 53 public Insn(Rop opcode, SourcePosition position, RegisterSpec result, 55 if (opcode == null) { 56 throw new NullPointerException("opcode == null"); 67 this.opcode = opcode; [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
CodeObserver.java | 68 public void visitInvalid(int opcode, int offset, int length) { 73 public void visitNoArgs(int opcode, int offset, int length, Type type) { 78 public void visitLocal(int opcode, int offset, int length, 84 if (opcode == ByteOps.IINC) { 100 public void visitConstant(int opcode, int offset, int length, 104 visitNoArgs(opcode, offset, length, null); 109 visitLiteralInt(opcode, offset, length, value); 114 visitLiteralLong(opcode, offset, length, 120 visitLiteralFloat(opcode, offset, length, 126 visitLiteralDouble(opcode, offset, length 209 int opcode = bytes.getUnsignedByte(offset); local [all...] |
/dalvik/vm/analysis/ |
DexVerify.c | 113 * - opcode of first instruction begins at index 0 512 OpCode opcode = *insns & 0xff; local 513 InstructionFlags opFlags = dexGetInstrFlags(gDvm.instrFlags, opcode); 533 switch (opcode) {
|
/external/proguard/src/proguard/classfile/instruction/ |
Instruction.java | 660 public byte opcode; field in class:Instruction 664 * Returns the canonical opcode of this instruction, i.e. typically the 665 * opcode whose extension has been removed. 669 return opcode; 695 // Write the wide opcode, if necessary. 701 // Write the opcode. 702 code[offset++] = opcode; 710 * Returns whether the instruction is wide, i.e. preceded by a wide opcode. 720 * Reads the data following the instruction opcode. 726 * Writes data following the instruction opcode [all...] |
/sdk/emulator/qtools/ |
thumbdis.cpp | 31 * "decode()" function that maps a thumb instruction to an opcode enum. 42 #include "opcode.h" 48 Opcode opcode; member in struct:thumb_opcode 253 Opcode decode_insn_thumb(uint32_t given) 259 return insn->opcode;
|
/bionic/libc/kernel/common/linux/mmc/ |
mmc.h | 24 u32 opcode; member in struct:mmc_command
|
/cts/tools/dasm/src/dasm/ |
DopInfo.java | 59 public String name; // opcode name 60 public Dop opcode; // its opcode field in class:DopInfo 113 * Adds new opcode to table 115 static private void add(String name, Dop opcode, String args) { 118 info.opcode = opcode;
|