/haiku-fatelf/src/bin/coreutils/src/ |
H A D | operand2sig.h | 18 extern int operand2sig (char const *operand, char *signame);
|
H A D | operand2sig.c | 44 operand2sig (char const *operand, char *signame) argument 48 if (ISDIGIT (*operand)) 51 long int l = (errno = 0, strtol (operand, &endp, 10)); 53 signum = (operand == endp || *endp || errno || i != l ? -1 60 char *upcased = xstrdup (operand); 78 error (0, 0, _("%s: invalid signal"), operand);
|
H A D | shuf.c | 107 input_from_argv (char **operand, int n_operands, char eolbyte) argument 114 size += strlen (operand[i]); 119 char *p1 = stpcpy (p, operand[i]); 120 operand[i] = p; 125 operand[n_operands] = p; 254 char **operand; local 344 operand = argv + optind; 350 input_from_argv (operand, n_operands, eolbyte); 352 line = operand; 358 error (0, 0, _("extra operand [all...] |
H A D | seq.c | 102 /* A command-line operand. */ 103 struct operand struct 118 typedef struct operand operand; typedef in typeref:struct:operand 131 static operand 134 operand ret; 305 get_default_format (operand first, operand step, operand last) 346 operand firs [all...] |
/haiku-fatelf/src/bin/gdb/opcodes/ |
H A D | tic30-dis.c | 239 char operand[2][13] = local 264 get_register_operand ((insn_word & 0x001F0000) >> 16, operand[dest_op]); 265 /* Get the source operand based on addressing mode. */ 269 /* Check for the NOP instruction before getting the operand. */ 271 get_register_operand ((insn_word & 0x0000001F), operand[src_op]); 274 sprintf (operand[src_op], "@0x%lX", (insn_word & 0x0000FFFF)); 277 get_indirect_operand ((insn_word & 0x0000FFFF), 2, operand[src_op]); 280 /* Get the value of the immediate operand based on variable type. */ 285 sprintf (operand[src_op], "%2.2f", f_number); 288 sprintf (operand[src_o 327 char operand[3][13] = local 373 char operand[2][3][13] = local 493 char operand[2][13] = local [all...] |
H A D | tic54x-dis.c | 179 char operand[4][64] = { {0},{0},{0},{0}, }; local 213 sprint_dual_address (info, operand[i], XMEM (opcode)); 214 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); 217 sprint_dual_address (info, operand[i], YMEM (opcode)); 218 info->fprintf_func (info->stream, "%s%s", comma, operand[i]); 243 sprint_indirect_address (info, operand[i], opcode); 244 info->fprintf_func (info->stream, "%s", operand[i]); 251 sprint_direct_address (info, operand[i], opcode); 252 info->fprintf_func (info->stream, "%s", operand[i]); 268 sprint_mmr (info, operand[ [all...] |
H A D | alpha-dis.c | 134 const struct alpha_operand *operand = alpha_operands + *opindex; local 135 if (operand->extract) 136 (*operand->extract) (insn, &invalid); 160 const struct alpha_operand *operand = alpha_operands + *opindex; local 166 if ((operand->flags & AXP_OPERAND_FAKE) != 0) 170 if (operand->extract) 171 value = (*operand->extract) (insn, (int *) NULL); 174 value = (insn >> operand->shift) & ((1 << operand->bits) - 1); 175 if (operand [all...] |
H A D | i370-dis.c | 61 const struct i370_operand *operand; local 94 operand = i370_operands + *opindex; 95 if (operand->extract) 96 (*operand->extract) (insn, &invalid); 110 operand = i370_operands + *opindex; 113 if (operand->extract) 114 value = (*operand->extract) (insn, (int *) NULL); 117 value = (insn.i[0] >> operand->shift) & ((1 << operand->bits) - 1); 120 /* Print the operand a [all...] |
H A D | s390-dis.c | 68 /* Extracts an operand value from an instruction. */ 71 s390_extract_operand (insn, operand) 73 const struct s390_operand *operand; 78 /* Extract fragments of the operand byte for byte. */ 79 insn += operand->shift / 8; 80 bits = (operand->shift & 7) + operand->bits; 90 val &= ((1U << (operand->bits - 1)) << 1) - 1; 93 if (operand->bits == 20 && operand 164 const struct s390_operand *operand; local [all...] |
H A D | tic80-dis.c | 41 /* Print an integer operand. Try to be somewhat smart about the 138 /* Print the operand as directed by the flags. */ 145 print_operand (info, value, insn, operand, memaddr) 149 const struct tic80_operand *operand; 152 if ((operand->flags & TIC80_OPERAND_GPR) != 0) 155 if (M_SI (insn, operand) || M_LI (insn, operand)) 160 else if ((operand->flags & TIC80_OPERAND_FPA) != 0) 164 else if ((operand->flags & TIC80_OPERAND_PCREL) != 0) 168 else if ((operand 208 const struct tic80_operand *operand; local [all...] |
H A D | arc-opc.c | 63 enum operand {OP_NONE,OP_REG,OP_SHIMM,OP_LIMM}; enum 67 enum operand ls_operand[OPERANDS]; 113 'U' UNOPMACRO fake operand to copy REGB to REGC for unop macros 143 /* fake operand used to insert shimm value into most instructions. */ 147 /* fake operand used to insert limm value into most instructions. */ 151 /* shimm operand when there is no reg indicator (st). */ 155 /* shimm operand when there is no reg indicator (ld). */ 159 /* operand for base. */ 183 /* fake utility operand to finish 'f' suffix handling. */ 187 /* fake utility operand t [all...] |
H A D | ppc-dis.c | 165 const struct powerpc_operand *operand; local 186 operand = powerpc_operands + *opindex; 187 if (operand->extract) 188 (*operand->extract) (insn, dialect, &invalid); 206 operand = powerpc_operands + *opindex; 211 if ((operand->flags & PPC_OPERAND_FAKE) != 0) 215 if (operand->extract) 216 value = (*operand->extract) (insn, dialect, &invalid); 219 value = (insn >> operand->shift) & ((1 << operand [all...] |
H A D | v850-dis.c | 55 const struct v850_operand *operand; local 104 MEMOP is the operand number at which a memory 124 operand = &v850_operands[*opindex_ptr]; 126 if (operand->extract) 127 value = (operand->extract) (insn, 0); 130 if (operand->bits == -1) 131 value = (insn & operand->shift); 133 value = (insn >> operand->shift) & ((1 << operand->bits) - 1); 135 if (operand [all...] |
H A D | m10200-dis.c | 99 /* These are three byte insns with a 16bit operand in little 217 const struct mn10200_operand *operand; local 266 operand = &mn10200_operands[*opindex_ptr]; 268 if ((operand->flags & MN10200_OPERAND_EXTENDED) != 0) 275 value = ((insn >> (operand->shift)) 276 & ((1L << operand->bits) - 1L)); 279 if ((operand->flags & MN10200_OPERAND_SIGNED) != 0) 280 value = ((long)(value << (32 - operand->bits)) 281 >> (32 - operand->bits)); 285 || ((operand [all...] |
H A D | m10300-dis.c | 222 const struct mn10300_operand *operand; local 498 operand = &mn10300_operands[*opindex_ptr]; 500 /* If this operand is a PLUS (autoincrement), then do not emit 502 if ((operand->flags & MN10300_OPERAND_PLUS) != 0) 505 if ((operand->flags & MN10300_OPERAND_SPLIT) != 0) 508 value = insn & ((1 << operand->bits) - 1); 509 value <<= (32 - operand->bits); 510 temp = extension >> operand->shift; 511 temp &= ((1 << (32 - operand->bits)) - 1); 516 else if ((operand [all...] |
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgsmkrop.c | 61 static void mk_operand (char *operand, size_t operand_sz, const char *stack, int i) argument 66 strcpy(operand,"*D"); 70 operand[0] = stack[i]; 71 operand[1] = '\0'; 74 snprintf(operand,operand_sz,"stk%d",i+1); 78 static void mk_xoperand (char *operand, size_t operand_sz, const char *stack, int i) argument 83 strcpy(operand,"D"); 87 operand[0] = stack[i]; 88 operand[1] = '\0'; 91 snprintf(operand,operand_s 117 char operand[32]; local [all...] |
/haiku-fatelf/src/libs/udis86/ |
H A D | syn-att.c | 16 * opr_cast() - Prints an operand cast. 30 * gen_operand() - Generates assembly output for each operand. 163 mkasm(u, ".byte 0x%x", u->operand[0].lval.ubyte); 172 if (u->operand[0].type != UD_NONE) 173 gen_operand(u, &u->operand[0]); 174 if (u->operand[1].type != UD_NONE) { 176 gen_operand(u, &u->operand[1]); 184 size = u->operand[0].size; 186 size = u->operand[1].size; 188 size = u->operand[ [all...] |
H A D | syn-intel.c | 16 * opr_cast() - Prints an operand cast. 37 * gen_operand() - Generates assembly output for each operand. 193 /* operand 1 */ 194 if (u->operand[0].type != UD_NONE) { 195 gen_operand(u, &u->operand[0], u->c1); 197 /* operand 2 */ 198 if (u->operand[1].type != UD_NONE) { 200 gen_operand(u, &u->operand[1], u->c2); 203 /* operand 3 */ 204 if (u->operand[ [all...] |
H A D | decode.c | 138 /* speculatively determine the effective operand mode, 359 /* readjust operand sizes for call/jmp instrcutions */ 362 if ( u->operand[ 0 ].size == SZ_WP ) { 363 u->operand[ 0 ].size = 16; 367 } else if ( u->operand[ 0 ].size == SZ_DP ) { 368 u->operand[ 0 ].size = 32; 701 /* mopXt = map entry, operand X, type; */ 706 /* mopXs = map entry, operand X, size */ 711 /* iop = instruction operand */ 712 register struct ud_operand* iop = u->operand; [all...] |
/haiku-fatelf/src/apps/debugger/arch/x86_64/disasm/ |
H A D | DisassemblerX8664.cpp | 197 switch (fUdisData->operand[0].type) { 201 RegisterNumberFromUdisIndex(fUdisData->operand[0].base)); 202 targetAddress += fUdisData->operand[0].offset; 208 RegisterNumberFromUdisIndex(fUdisData->operand[0].base)); 210 RegisterNumberFromUdisIndex(fUdisData->operand[0].index)) 211 * fUdisData->operand[0].scale; 217 + fUdisData->operand[0].lval.sdword + ud_insn_len(fUdisData); 224 targetAddress = fUdisData->operand[0].lval.udword;
|
/haiku-fatelf/src/apps/debugger/arch/x86/disasm/ |
H A D | DisassemblerX86.cpp | 186 switch (fUdisData->operand[0].type) { 190 RegisterNumberFromUdisIndex(fUdisData->operand[0].base)); 191 targetAddress += fUdisData->operand[0].offset; 197 RegisterNumberFromUdisIndex(fUdisData->operand[0].base)); 199 RegisterNumberFromUdisIndex(fUdisData->operand[0].index)) 200 * fUdisData->operand[0].scale; 206 + fUdisData->operand[0].lval.sdword + ud_insn_len(fUdisData); 213 targetAddress = fUdisData->operand[0].lval.udword;
|
/haiku-fatelf/src/bin/network/tcpdump/libpcap/ |
H A D | bpf_image.c | 48 char operand[64]; local 280 (void)snprintf(operand, sizeof operand, fmt, v); 286 n, op, operand, n + 1 + p->jt, n + 1 + p->jf);
|
/haiku-fatelf/src/bin/gdb/include/opcode/ |
H A D | arc.h | 121 struct arc_operand_value operand; member in struct:arc_ext_operand_value 130 /* The number of bits in the operand (may be unused for a modifier). */ 133 /* How far the operand is left shifted in the instruction, or 142 /* This operand is a suffix to the opcode. */ 145 /* This operand is a relative branch displacement. The disassembler 149 /* This operand is an absolute branch address. The disassembler 153 /* This operand is an address. The disassembler 157 /* This operand is a long immediate value. */ 160 /* This operand takes signed values. */ 163 /* This operand take [all...] |
H A D | cgen.h | 99 an object (ifield, hardware, operand, insn, whatever) and are specified 169 /* For each domain (ifld,hw,operand,insn), list of attributes. */ 620 /* "nil" indicator for the operand instance table */ 624 structure of an operand's hw-index value, if it exists. */ 641 /* This struct defines each entry in the operand table. */ 651 /* The hardware element associated with this operand. */ 664 /* The number of bits in the operand. 669 /* The (possibly-multi) ifield used as an index for this operand, if it 691 #define CGEN_OPERAND_ATTRS(operand) (&(operand) [all...] |
/haiku-fatelf/headers/libs/udis86/libudis86/ |
H A D | types.h | 154 struct ud_operand operand[3]; member in struct:ud
|