Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 108) sorted by relevance

12345

/toolchain/binutils/binutils-2.25/opcodes/
Dm68hc11-dis.c83 int pos = 1; in print_indexed_operand() local
151 status = read_memory (memaddr + pos, &buffer[0], 2, info); in print_indexed_operand()
157 pos += 2; in print_indexed_operand()
176 status = read_memory (memaddr + pos, in print_indexed_operand()
186 pos += 2; in print_indexed_operand()
194 pos++; in print_indexed_operand()
229 return pos; in print_indexed_operand()
240 long format, pos, i; in print_insn() local
350 pos = 0; in print_insn()
355 pos++; in print_insn()
[all …]
Daarch64-dis.c291 int pos = -1; in aarch64_ext_reglane() local
293 while (++pos <= 3 && (value & 0x1) == 0) in aarch64_ext_reglane()
295 if (pos > 3) in aarch64_ext_reglane()
297 info->qualifier = get_sreg_qualifier_from_value (pos); in aarch64_ext_reglane()
486 int pos; in aarch64_ext_advsimd_imm_shift() local
494 pos = 4; in aarch64_ext_advsimd_imm_shift()
496 while (--pos >= 0 && (immh & 0x8) == 0) in aarch64_ext_advsimd_imm_shift()
517 get_vreg_qualifier_from_value ((pos << 1) | (int) Q); in aarch64_ext_advsimd_imm_shift()
520 info->qualifier = get_sreg_qualifier_from_value (pos); in aarch64_ext_advsimd_imm_shift()
529 info->imm.value = (16 << pos) - imm; in aarch64_ext_advsimd_imm_shift()
[all …]
Dv850-opc.c555 insert_POS (unsigned long insn, long pos, const char ** errmsg) in insert_POS() argument
557 if (pos > 0x1f || pos < 0) in insert_POS()
560 G_pos = (unsigned long) pos; in insert_POS()
568 unsigned long pos,lsb; in extract_POS_U() local
575 pos = lsb; in extract_POS_U()
580 return pos; in extract_POS_U()
586 unsigned long pos,lsb; in extract_POS_L() local
592 pos = lsb; in extract_POS_L()
597 return pos; in extract_POS_L()
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/
Dmips64r2-ill.s11 # constraint: 0 <= pos < 64
23 # constraint: 0 < (pos+size) <= 64
39 # constraint: 0 <= pos < 32
51 # constraint: 32 < (pos+size) <= 64
67 # constraint: 32 <= pos < 64
79 # constraint: 32 < (pos+size) <= 64
95 # constraint: 0 <= pos < 64
107 # constraint: 0 < (pos+size) <= 64
123 # constraint: 0 <= pos < 32
135 # constraint: 32 < (pos+size) <= 64
[all …]
Dmips32r2-ill-nofp.s11 # ext constraint: 0 <= pos < 32
23 # ext constraint: 0 < (pos+size) <= 32
29 # ins constraint: 0 <= pos < 32
41 # ins constraint: 0 < (pos+size) <= 32
Dmipsr6@mips32r2-ill.s11 # ext constraint: 0 <= pos < 32
23 # ext constraint: 0 < (pos+size) <= 32
29 # ins constraint: 0 <= pos < 32
41 # ins constraint: 0 < (pos+size) <= 32
Dmips32r2-ill.s11 # ext constraint: 0 <= pos < 32
23 # ext constraint: 0 < (pos+size) <= 32
29 # ins constraint: 0 <= pos < 32
41 # ins constraint: 0 < (pos+size) <= 32
Dmips32r2-ill-fp64.s11 # ext constraint: 0 <= pos < 32
23 # ext constraint: 0 < (pos+size) <= 32
29 # ins constraint: 0 <= pos < 32
41 # ins constraint: 0 < (pos+size) <= 32
/toolchain/binutils/binutils-2.25/libiberty/
Ddyn-string.c244 dyn_string_insert (dyn_string_t dest, int pos, dyn_string_t src) in dyn_string_insert() argument
254 for (i = dest->length; i >= pos; --i) in dyn_string_insert()
257 strncpy (dest->s + pos, src->s, src->length); in dyn_string_insert()
269 dyn_string_insert_cstr (dyn_string_t dest, int pos, const char *src) in dyn_string_insert_cstr() argument
277 for (i = dest->length; i >= pos; --i) in dyn_string_insert_cstr()
280 strncpy (dest->s + pos, src, length); in dyn_string_insert_cstr()
291 dyn_string_insert_char (dyn_string_t dest, int pos, int c) in dyn_string_insert_char() argument
298 for (i = dest->length; i >= pos; --i) in dyn_string_insert_char()
301 dest->s[pos] = c; in dyn_string_insert_char()
Dargv.c382 long pos; in expandargv() local
410 pos = ftell (f); in expandargv()
411 if (pos == -1) in expandargv()
415 buffer = (char *) xmalloc (pos * sizeof (char) + 1); in expandargv()
416 len = fread (buffer, sizeof (char), pos, f); in expandargv()
417 if (len != (size_t) pos in expandargv()
Dd-demangle.c705 int pos = 10; in dlang_parse_integer() local
745 value[--pos] = (char)(digit + '0'); in dlang_parse_integer()
747 value[--pos] = (char)((digit - 10) + 'a'); in dlang_parse_integer()
754 value[--pos] = '0'; in dlang_parse_integer()
756 string_appendn (decl, &(value[pos]), 10 - pos); in dlang_parse_integer()
Dregex.c75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
77 # define re_match(bufp, string, size, pos, regs) \ argument
78 __re_match (bufp, string, size, pos, regs)
417 int pos,
436 int pos,
5396 int size, int pos, struct re_registers *regs)
5402 pos, regs, size,
5407 pos, regs, size);
5451 const char *string2, int size2, int pos, in re_match_2() argument
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/
Doperand-or.s7 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos
8 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg
9 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm
10 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm
11 fclass.m p3, p4 = f4, @nat|@qnan|@snan|@pos|@neg|@unorm|@norm|@inf
/toolchain/binutils/binutils-2.25/bfd/
Dpef.c75 size_t pos, in bfd_pef_parse_traceback_table() argument
95 if ((pos + 8) > len) in bfd_pef_parse_traceback_table()
97 memcpy (&table, buf + pos, 8); in bfd_pef_parse_traceback_table()
119 if ((pos + offset + 4) > len) in bfd_pef_parse_traceback_table()
121 off.tb_offset = bfd_getb32 (buf + pos + offset); in bfd_pef_parse_traceback_table()
129 if ((file == NULL) && ((off.tb_offset + 4) > (pos + offset))) in bfd_pef_parse_traceback_table()
132 sym->value = pos - off.tb_offset - 4; in bfd_pef_parse_traceback_table()
142 if ((pos + offset + 4) > len) in bfd_pef_parse_traceback_table()
144 anchors.ctl_info = bfd_getb32 (buf + pos + offset); in bfd_pef_parse_traceback_table()
158 if ((pos + offset + 2) > len) in bfd_pef_parse_traceback_table()
[all …]
Dcofflink.c873 file_ptr pos; in _bfd_coff_final_link() local
899 pos = obj_sym_filepos (abfd) + obj_raw_syment_count (abfd) in _bfd_coff_final_link()
901 if (bfd_seek (abfd, pos, SEEK_SET) != 0) in _bfd_coff_final_link()
929 pos = obj_sym_filepos (abfd) + flaginfo.last_file_index in _bfd_coff_final_link()
938 && (bfd_seek (abfd, pos, SEEK_SET) != 0 in _bfd_coff_final_link()
997 file_ptr pos; in _bfd_coff_final_link() local
1003 pos = obj_sym_filepos (abfd) + flaginfo.last_file_index * symesz; in _bfd_coff_final_link()
1004 if (bfd_seek (abfd, pos, SEEK_SET) != 0 in _bfd_coff_final_link()
1122 file_ptr pos; in _bfd_coff_final_link() local
1124 pos = obj_sym_filepos (abfd) + obj_raw_syment_count (abfd) * symesz; in _bfd_coff_final_link()
[all …]
Delf64-alpha.c3521 bfd_byte *pos[5]; in elf64_alpha_relax_tls_get_addr() local
3560 pos[0] = info->contents + irel[0].r_offset; in elf64_alpha_relax_tls_get_addr()
3561 pos[1] = info->contents + irel[1].r_offset; in elf64_alpha_relax_tls_get_addr()
3562 pos[2] = info->contents + irel[2].r_offset; in elf64_alpha_relax_tls_get_addr()
3563 pos[3] = info->contents + gpdisp->r_offset; in elf64_alpha_relax_tls_get_addr()
3564 pos[4] = pos[3] + gpdisp->r_addend; in elf64_alpha_relax_tls_get_addr()
3570 tlsgd_reg = bfd_get_32 (info->abfd, pos[0]); in elf64_alpha_relax_tls_get_addr()
3576 if (pos[1] + 4 == pos[0]) in elf64_alpha_relax_tls_get_addr()
3578 bfd_byte *tmp = pos[0]; in elf64_alpha_relax_tls_get_addr()
3579 pos[0] = pos[1]; in elf64_alpha_relax_tls_get_addr()
[all …]
Daout-tic30.c716 file_ptr pos; in MY_bfd_final_link() local
723 pos = adata (abfd).exec_bytes_size; in MY_bfd_final_link()
726 pos += vma; in MY_bfd_final_link()
727 obj_textsec (abfd)->filepos = pos; in MY_bfd_final_link()
730 pos += obj_textsec (abfd)->size; in MY_bfd_final_link()
757 pos += obj_datasec (abfd)->size; in MY_bfd_final_link()
Dxcofflink.c4408 file_ptr pos; in xcoff_link_input_bfd() local
4414 pos = obj_sym_filepos (output_bfd); in xcoff_link_input_bfd()
4415 pos += flinfo->last_file_index * osymesz; in xcoff_link_input_bfd()
4416 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in xcoff_link_input_bfd()
4604 file_ptr pos; in xcoff_link_input_bfd() local
4614 pos = enclosing->line_filepos; in xcoff_link_input_bfd()
4616 if (bfd_seek (input_bfd, pos, SEEK_SET) != 0 in xcoff_link_input_bfd()
4645 pos = (o->output_section->line_filepos in xcoff_link_input_bfd()
4648 if (bfd_seek (output_bfd, pos, SEEK_SET) != 0 in xcoff_link_input_bfd()
4656 aux.x_sym.x_fcnary.x_fcn.x_lnnoptr = pos; in xcoff_link_input_bfd()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dlisting.c126 long pos; member
282 p->pos = 0; in file_info()
491 last_open_file_info->pos = ftell (last_open_file); in buffer_line()
506 if (file->pos) in buffer_line()
507 fseek (last_open_file, file->pos, SEEK_SET); in buffer_line()
565 long pos; in rebuffer_line() local
579 last_open_file_info->pos = ftell (last_open_file); in rebuffer_line()
594 if (file->pos) in rebuffer_line()
595 fseek (last_open_file, file->pos, SEEK_SET); in rebuffer_line()
599 pos2 = pos = ftell (last_open_file); in rebuffer_line()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Drx-parse.y71 #define F(val,pos,sz) rx_field (val, pos, sz) argument
72 #define FE(exp,pos,sz) rx_field (exp_val (exp), pos, sz); argument
93 #define IMM_(v,pos,size) F (immediate (v, RXREL_SIGNED, pos, size), pos, 2); \ argument
94 if (v.X_op != O_constant && v.X_op != O_big) rx_linkrelax_imm (pos)
95 #define IMM(v,pos) IMM_ (v, pos, 32) argument
96 #define IMMW(v,pos) IMM_ (v, pos, 16); rx_range (v, -32768, 65536) argument
97 #define IMMB(v,pos) IMM_ (v, pos, 8); rx_range (v, -128, 255) argument
98 #define NIMM(v,pos) F (immediate (v, RXREL_NEGATIVE, pos, 32), pos, 2) argument
99 #define NBIMM(v,pos) F (immediate (v, RXREL_NEGATIVE_BORROW, pos, 32), pos, 2) argument
100 #define DSP(v,pos,msz) if (!v.X_md) rx_relax (RX_RELAX_DISP, pos); \ argument
[all …]
Drl78-parse.y59 #define F(val,pos,sz) rl78_field (val, pos, sz) argument
60 #define FE(exp,pos,sz) rl78_field (exp_val (exp), pos, sz); argument
71 #define IMM(v,pos) F (immediate (v, RL78REL_SIGNED, pos), pos, 2); \ argument
72 if (v.X_op != O_constant && v.X_op != O_big) rl78_linkrelax_imm (pos)
73 #define NIMM(v,pos) F (immediate (v, RL78REL_NEGATIVE, pos), pos, 2) argument
74 #define NBIMM(v,pos) F (immediate (v, RL78REL_NEGATIVE_BORROW, pos), pos, 2) argument
75 #define DSP(v,pos,msz) if (!v.X_md) rl78_relax (RL78_RELAX_DISP, pos); \ argument
76 else rl78_linkrelax_dsp (pos); \
77 F (displacement (v, msz), pos, 2)
Dtc-rx.c748 rx_relax (int type, int pos) in rx_relax() argument
751 rx_bytes.relax[rx_bytes.n_relax].field_pos = pos; in rx_relax()
757 rx_linkrelax_dsp (int pos) in rx_linkrelax_dsp() argument
759 switch (pos) in rx_linkrelax_dsp()
774 rx_linkrelax_imm (int pos) in rx_linkrelax_imm() argument
776 switch (pos) in rx_linkrelax_imm()
854 rx_field (int val, int pos, int sz) in rx_field() argument
872 bytep = pos / 8; in rx_field()
873 bitp = pos % 8; in rx_field()
899 rx_disp3 (expressionS exp, int pos) in rx_disp3() argument
[all …]
/toolchain/binutils/binutils-2.25/gold/
Dversion.cc55 size_t pos = bfd_version.find(')'); in print_version() local
56 if (pos != std::string::npos) in print_version()
57 bfd_version.erase(pos, 1); in print_version()
/toolchain/binutils/binutils-2.25/include/opcode/
Dspu.h90 #define SIGNED_EXTRACT(insn,size,pos) (((int)((insn) << (32-size-pos))) >> (32-size)) argument
91 #define UNSIGNED_EXTRACT(insn,size,pos) (((insn) >> pos) & ((1 << size)-1)) argument
/toolchain/binutils/binutils-2.25/ld/
Ddeffilep.y683 int pos; in def_file_add_export() local
693 pos = find_export_in_list (fdef->exports, fdef->num_exports, in def_file_add_export()
698 return (fdef->exports + pos); in def_file_add_export()
710 e = fdef->exports + pos; in def_file_add_export()
711 if (pos != fdef->num_exports) in def_file_add_export()
712 memmove (&e[1], e, (sizeof (def_file_export) * (fdef->num_exports - pos))); in def_file_add_export()
829 int pos; in def_file_add_import() local
834 pos = find_import_in_list (fdef->imports, fdef->num_imports, in def_file_add_import()
839 return fdef->imports + pos; in def_file_add_import()
851 i = fdef->imports + pos; in def_file_add_import()
[all …]

12345