/toolchain/binutils/binutils-2.25/bfd/doc/ |
D | chew.c | 177 addr (buffer, idx) in addr() argument 179 unsigned int idx; 181 return buffer->ptr + idx; 252 skip_white_and_stars (src, idx) in skip_white_and_stars() argument 254 unsigned int idx; 257 while ((c = at (src, idx)), 262 && at (src, idx +1) != '/' 263 && at (src, idx -1) != '\n')) 264 idx++; 265 return idx; [all …]
|
/toolchain/binutils/binutils-2.25/gas/ |
D | macro.c | 251 get_token (size_t idx, sb *in, sb *name) in get_token() argument 253 if (idx < in->len in get_token() 254 && is_name_beginner (in->ptr[idx])) in get_token() 256 sb_add_char (name, in->ptr[idx++]); in get_token() 257 while (idx < in->len in get_token() 258 && is_part_of_name (in->ptr[idx])) in get_token() 260 sb_add_char (name, in->ptr[idx++]); in get_token() 262 if (idx < in->len in get_token() 263 && is_name_ender (in->ptr[idx])) in get_token() 265 sb_add_char (name, in->ptr[idx++]); in get_token() [all …]
|
D | sb.c | 205 sb_skip_white (size_t idx, sb *ptr) in sb_skip_white() argument 207 while (idx < ptr->len in sb_skip_white() 208 && (ptr->ptr[idx] == ' ' in sb_skip_white() 209 || ptr->ptr[idx] == '\t')) in sb_skip_white() 210 idx++; in sb_skip_white() 211 return idx; in sb_skip_white() 219 sb_skip_comma (size_t idx, sb *ptr) in sb_skip_comma() argument 221 while (idx < ptr->len in sb_skip_comma() 222 && (ptr->ptr[idx] == ' ' in sb_skip_comma() 223 || ptr->ptr[idx] == '\t')) in sb_skip_comma() [all …]
|
D | listing.c | 837 unsigned int idx; in print_lines() local 853 for (idx = 0; idx < nchars; idx++) in print_lines() 866 idx = 0; in print_lines() 868 while (src[cur] && idx < nchars) in print_lines() 879 idx++; in print_lines() 883 idx += 2; in print_lines() 886 for (; idx < nchars; idx++) in print_lines() 900 idx = 0; in print_lines() 905 while (src[cur] && idx < nchars) in print_lines() 911 idx += 2; in print_lines() [all …]
|
/toolchain/binutils/binutils-2.25/opcodes/ |
D | dlx-dis.c | 148 int idx; in dlx_r_type() local 150 for (idx = 0; idx < r_opc_num; idx++) in dlx_r_type() 152 if (r_opc[idx] != opc) in dlx_r_type() 158 if (idx == r_opc_num) in dlx_r_type() 161 for (idx = 0 ; idx < dlx_r_opcode_num; idx++) in dlx_r_type() 162 if (dlx_r_opcode[idx].func == func) in dlx_r_type() 164 (*info->fprintf_func) (info->stream, "%s", dlx_r_opcode[idx].name); in dlx_r_type() 169 operand_deliminator (info, dlx_r_opcode[idx].name); in dlx_r_type() 205 int idx; in dlx_load_type() local 207 for (idx = 0 ; idx < dlx_load_opcode_num; idx++) in dlx_load_type() [all …]
|
D | aarch64-opc.c | 483 int idx, in aarch64_get_expected_qualifier() argument 507 return qseq_list[0][idx]; in aarch64_get_expected_qualifier() 522 return qseq_list[saved_i][idx]; in aarch64_get_expected_qualifier() 1115 enum aarch64_operand_error_kind kind, int idx, in set_error() argument 1121 mismatch_detail->index = idx; in set_error() 1126 set_syntax_error (aarch64_operand_error *mismatch_detail, int idx, in set_syntax_error() argument 1131 set_error (mismatch_detail, AARCH64_OPDE_SYNTAX_ERROR, idx, error); in set_syntax_error() 1136 int idx, int lower_bound, int upper_bound, in set_out_of_range_error() argument 1141 set_error (mismatch_detail, AARCH64_OPDE_OUT_OF_RANGE, idx, error); in set_out_of_range_error() 1148 int idx, int lower_bound, int upper_bound) in set_imm_out_of_range_error() argument [all …]
|
D | aarch64-opc.h | 203 reset_operand_qualifier (aarch64_inst *inst, int idx) in reset_operand_qualifier() argument 205 assert (idx >=0 && idx < aarch64_num_of_operands (inst->opcode)); in reset_operand_qualifier() 206 inst->operands[idx].qualifier = AARCH64_OPND_QLF_NIL; in reset_operand_qualifier() 291 int idx = -1; in select_operand_for_sf_field_coding() local 295 idx = 0; in select_operand_for_sf_field_coding() 299 idx = 1; in select_operand_for_sf_field_coding() 302 return idx; in select_operand_for_sf_field_coding() 312 int idx; in select_operand_for_fptype_field_coding() local 316 idx = 1; in select_operand_for_fptype_field_coding() 320 idx = 0; in select_operand_for_fptype_field_coding() [all …]
|
D | aarch64-asm.c | 87 assert (info->idx == 1); /* Vn */ in aarch64_ins_reglane() 460 assert (info->idx == 0); in aarch64_ins_ft() 808 int idx; in encode_sizeq() local 813 idx = aarch64_select_operand_for_sizeq_field_coding (inst->opcode); in encode_sizeq() 814 DEBUG_TRACE ("idx: %d; qualifier: %s", idx, in encode_sizeq() 815 aarch64_get_qualifier_name (inst->operands[idx].qualifier)); in encode_sizeq() 816 sizeq = aarch64_get_qualifier_standard_value (inst->operands[idx].qualifier); in encode_sizeq() 839 int idx; in do_special_encoding() local 851 idx = select_operand_for_sf_field_coding (inst->opcode); in do_special_encoding() 852 value = (inst->operands[idx].qualifier == AARCH64_OPND_QLF_X in do_special_encoding() [all …]
|
D | aarch64-dis.c | 232 assert (info->idx == 1 in aarch64_ext_regno_pair() 233 || info->idx ==3); in aarch64_ext_regno_pair() 234 info->reg.regno = inst->operands[info->idx - 1].reg.regno + 1; in aarch64_ext_regno_pair() 245 assert (info->idx == 1 in aarch64_ext_regrt_sysins() 275 assert (info->idx == 1); /* Vn */ in aarch64_ext_reglane() 278 info->qualifier = get_expected_qualifier (inst, info->idx); in aarch64_ext_reglane() 307 info->qualifier = get_expected_qualifier (inst, info->idx); in aarch64_ext_reglane() 620 assert (info->idx == 1); in aarch64_ext_advsimd_imm_modified() 643 info->qualifier = get_expected_qualifier (inst, info->idx); in aarch64_ext_advsimd_imm_modified() 868 info->qualifier = get_expected_qualifier (inst, info->idx); in aarch64_ext_addr_regoff() [all …]
|
D | v850-dis.c | 524 int idx; in disassemble() local 526 for (idx = 0; v850_cacheop_codes[idx] != -1; idx++) in disassemble() 528 if (value == v850_cacheop_codes[idx]) in disassemble() 531 v850_cacheop_names[idx]); in disassemble() 542 int idx; in disassemble() local 544 for (idx = 0; v850_prefop_codes[idx] != -1; idx++) in disassemble() 546 if (value == v850_prefop_codes[idx]) in disassemble() 549 v850_prefop_names[idx]); in disassemble()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | elf-strtab.c | 183 _bfd_elf_strtab_addref (struct elf_strtab_hash *tab, bfd_size_type idx) in _bfd_elf_strtab_addref() argument 185 if (idx == 0 || idx == (bfd_size_type) -1) in _bfd_elf_strtab_addref() 188 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_addref() 189 ++tab->array[idx]->refcount; in _bfd_elf_strtab_addref() 193 _bfd_elf_strtab_delref (struct elf_strtab_hash *tab, bfd_size_type idx) in _bfd_elf_strtab_delref() argument 195 if (idx == 0 || idx == (bfd_size_type) -1) in _bfd_elf_strtab_delref() 198 BFD_ASSERT (idx < tab->size); in _bfd_elf_strtab_delref() 199 BFD_ASSERT (tab->array[idx]->refcount > 0); in _bfd_elf_strtab_delref() 200 --tab->array[idx]->refcount; in _bfd_elf_strtab_delref() 204 _bfd_elf_strtab_refcount (struct elf_strtab_hash *tab, bfd_size_type idx) in _bfd_elf_strtab_refcount() argument [all …]
|
D | vms-lib.c | 115 struct carsym *idx; member 145 memcpy (n, cs->idx, cs->nbr * sizeof (struct carsym)); in vms_add_index() 150 n = bfd_realloc_or_free (cs->idx, cs->nbr * sizeof (struct carsym)); in vms_add_index() 154 cs->idx = n; in vms_add_index() 157 cs->idx[cs->nbr].file_offset = (idx_vbn - 1) * VMS_BLOCK_SIZE + idx_off; in vms_add_index() 158 cs->idx[cs->nbr].name = name; in vms_add_index() 384 vms_lib_read_index (bfd *abfd, int idx, unsigned int *nbrel) in vms_lib_read_index() argument 393 if (bfd_seek (abfd, LHD_IDXDESC + idx * IDD_LENGTH, SEEK_SET) != 0 in vms_lib_read_index() 410 csm.idx = csbuf; in vms_lib_read_index() 416 if (csm.realloced && csm.idx != NULL) in vms_lib_read_index() [all …]
|
D | elf64-sparc.c | 286 unsigned int idx, count; in elf64_sparc_write_relocs() local 308 for (idx = 0; idx < sec->reloc_count; idx++) in elf64_sparc_write_relocs() 314 addr = sec->orelocation[idx]->address; in elf64_sparc_write_relocs() 315 if (sec->orelocation[idx]->howto->type == R_SPARC_LO10 in elf64_sparc_write_relocs() 316 && idx < sec->reloc_count - 1) in elf64_sparc_write_relocs() 318 arelent *r = sec->orelocation[idx + 1]; in elf64_sparc_write_relocs() 324 ++idx; in elf64_sparc_write_relocs() 353 for (idx = 0; idx < sec->reloc_count; idx++) in elf64_sparc_write_relocs() 360 ptr = sec->orelocation[idx]; in elf64_sparc_write_relocs() 387 && idx < sec->reloc_count - 1) in elf64_sparc_write_relocs() [all …]
|
D | elf32-xstormy16.c | 618 unsigned int idx; in xstormy16_elf_relax_section() local 635 for (idx = 0; idx < symtab_hdr->sh_info; ++idx) in xstormy16_elf_relax_section() 641 if (local_plt_offsets[idx] == (bfd_vma) -1) in xstormy16_elf_relax_section() 644 isym = &isymbuf[idx]; in xstormy16_elf_relax_section() 659 local_plt_offsets[idx] = -1; in xstormy16_elf_relax_section() 691 unsigned int idx; in xstormy16_elf_relax_section() local 696 for (idx = 0; idx < nlocals; ++idx) in xstormy16_elf_relax_section() 697 if (local_plt_offsets[idx] != (bfd_vma) -1) in xstormy16_elf_relax_section() 699 local_plt_offsets[idx] = entry; in xstormy16_elf_relax_section()
|
D | elf32-rl78.c | 1378 unsigned int idx; in rl78_elf_relax_plt_section() local 1395 for (idx = 0; idx < symtab_hdr->sh_info; ++idx) in rl78_elf_relax_plt_section() 1401 if (local_plt_offsets[idx] == (bfd_vma) -1) in rl78_elf_relax_plt_section() 1404 isym = &isymbuf[idx]; in rl78_elf_relax_plt_section() 1419 local_plt_offsets[idx] = -1; in rl78_elf_relax_plt_section() 1451 unsigned int idx; in rl78_elf_relax_plt_section() local 1456 for (idx = 0; idx < nlocals; ++idx) in rl78_elf_relax_plt_section() 1457 if (local_plt_offsets[idx] != (bfd_vma) -1) in rl78_elf_relax_plt_section() 1459 local_plt_offsets[idx] = entry; in rl78_elf_relax_plt_section() 2359 int idx; in rl78_elf_relax_section() local [all …]
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-dlx.c | 165 int idx; in match_sft_register() local 167 for (ptr = name,idx = 0; *ptr != '\0'; ptr++) in match_sft_register() 168 low_name[idx++] = TOLOWER (*ptr); in match_sft_register() 170 low_name[idx] = '\0'; in match_sft_register() 171 idx = 0; in match_sft_register() 173 while (idx < MAX_REG_NO && strcmp (soft_reg[idx], & low_name [0])) in match_sft_register() 174 idx += 1; in match_sft_register() 176 return idx < MAX_REG_NO; in match_sft_register() 319 int idx = 0; in dlx_parse_loadop() local 326 for (idx = 0; idx < 72 && ptr[idx] != '\0'; idx++) in dlx_parse_loadop() [all …]
|
D | tc-h8300.c | 62 int idx; member 239 int idx = 0; in md_begin() local 288 idx++; in md_begin() 313 pi->idx = idx; in md_begin() 334 pi->idx = 0; in md_begin() 1071 int this_index = instruction->idx; in get_specific() 1083 while (this_index == instruction->idx && !found) in get_specific() 1332 int idx; in do_a_fix_imm() local 1377 idx = BFD_RELOC_16; in do_a_fix_imm() 1378 fix_new_exp (frag_now, offset, 2, &operand->exp, 0, idx); in do_a_fix_imm() [all …]
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | pexecute.c | 36 static int idx; variable 55 idx = 0; in pexecute() 81 return ++idx; in pexecute() 90 if (pex == NULL || pid < 0 || pid >= idx) in pwait() 93 if (pid == 0 && idx == 1) in pwait() 102 vector = XNEWVEC (int, idx); in pwait() 103 if (!pex_get_status (pex, idx, vector)) in pwait() 116 if (pid + 1 == idx) in pwait() 120 idx = 0; in pwait()
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | sysdump.c | 58 getCHARS (unsigned char *ptr, int *idx, int size, int max) in getCHARS() argument 60 int oc = *idx / 8; in getCHARS() 71 (*idx) += 8; in getCHARS() 74 *idx += b * 8; in getCHARS() 145 getBARRAY (unsigned char *ptr, int *idx, int dsize ATTRIBUTE_UNUSED, in getBARRAY() argument 150 int byte = *idx / 8; in getBARRAY() 163 getINT (unsigned char *ptr, int *idx, int size, int max) in getINT() argument 166 int byte = *idx / 8; in getINT() 194 *idx += size * 8; in getINT() 199 getBITS (unsigned char *ptr, int *idx, int size, int max) in getBITS() argument [all …]
|
D | winduni.c | 204 rc_uint_type tlen, elen, idx = 0; in unicode_from_ascii_len() local 231 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1)); in unicode_from_ascii_len() 232 if (idx > 0) in unicode_from_ascii_len() 234 memcpy (utmp, *unicode, idx * sizeof (unichar)); in unicode_from_ascii_len() 237 utmp[idx++] = 0; in unicode_from_ascii_len() 255 utmp = (unichar *) res_alloc (sizeof (unichar) * (idx + 1)); in unicode_from_ascii_len() 256 if (idx > 0) in unicode_from_ascii_len() 258 memcpy (utmp, *unicode, idx * sizeof (unichar)); in unicode_from_ascii_len() 261 utmp[idx++] = ((unichar) *p) & 0xff; in unicode_from_ascii_len() 269 up = (unichar *) res_alloc (sizeof (unichar) * (idx + elen)); in unicode_from_ascii_len() [all …]
|
D | srconv.c | 186 writeINT (int n, unsigned char *ptr, int *idx, int size, FILE *ffile) in writeINT() argument 188 int byte = *idx / 8; in writeINT() 198 checksum (ffile, ptr, *idx, code | 0x1000); in writeINT() 199 *idx = 16; in writeINT() 200 byte = *idx / 8; in writeINT() 223 *idx += size * 8; in writeINT() 227 writeBITS (int val, unsigned char *ptr, int *idx, int size) in writeBITS() argument 229 int byte = *idx / 8; in writeBITS() 230 int bit = *idx % 8; in writeBITS() 233 *idx += size; in writeBITS() [all …]
|
/toolchain/binutils/binutils-2.25/gold/ |
D | aarch64-reloc-property.h | 188 unsigned int idx = code_to_array_index(code); in get_reloc_property() local 189 return this->table_[idx]; in get_reloc_property() 197 unsigned int idx = code_to_array_index(code); in get_implemented_static_reloc_property() local 198 const AArch64_reloc_property* arp = this->table_[idx]; in get_implemented_static_reloc_property()
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mach-o/ |
D | dysymtab-1-64.d | 7 local symbols: idx: 0 num: 6.*\(nxtidx: 6\) 8 external symbols: idx: 6 num: 18.*\(nxtidx: 24\) 9 undefined symbols: idx: 24 num: 21.*\(nxtidx: 45\)
|
D | dysymtab-1.d | 7 local symbols: idx: 0 num: 6.*\(nxtidx: 6\) 8 external symbols: idx: 6 num: 18.*\(nxtidx: 24\) 9 undefined symbols: idx: 24 num: 21.*\(nxtidx: 45\)
|
D | dysymtab-3.d | 8 ( )+local symbols: idx:( )+0 num: 4( )+\(nxtidx: 4\) 9 ( )+external symbols: idx:( )+4 num: 1( )+\(nxtidx: 5\) 10 ( )+undefined symbols: idx:( )+5 num: 0( )+\(nxtidx: 5\)
|