Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 918) sorted by relevance

12345678910>>...37

/toolchain/binutils/binutils-2.25/libiberty/
Dstrtod.c53 char *p; in strtod() local
58 p = str; in strtod()
60 while (ISSPACE (*p)) in strtod()
61 ++p; in strtod()
63 if (*p == '+' || *p == '-') in strtod()
64 ++p; in strtod()
67 if ((p[0] == 'i' || p[0] == 'I') in strtod()
68 && (p[1] == 'n' || p[1] == 'N') in strtod()
69 && (p[2] == 'f' || p[2] == 'F')) in strtod()
71 if ((p[3] == 'i' || p[3] == 'I') in strtod()
[all …]
Dxatexit.c69 register struct xatexit *p; in xatexit() local
75 p = xatexit_head; in xatexit()
76 if (p->ind >= XATEXIT_SIZE) in xatexit()
78 if ((p = (struct xatexit *) malloc (sizeof *p)) == NULL) in xatexit()
80 p->ind = 0; in xatexit()
81 p->next = xatexit_head; in xatexit()
82 xatexit_head = p; in xatexit()
84 p->fns[p->ind++] = fn; in xatexit()
93 register struct xatexit *p; in xatexit_cleanup() local
96 for (p = xatexit_head; p; p = p->next) in xatexit_cleanup()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-z80.c225 char * p; in md_begin() local
251 p = input_line_pointer; in md_begin()
255 input_line_pointer = p; in md_begin()
303 char *p, quote; in z80_start_line_hook() local
307 for (p = input_line_pointer; *p && *p != '\n'; ++p) in z80_start_line_hook()
309 switch (*p) in z80_start_line_hook()
312 if (p[1] != 0 && p[1] != '\'' && p[2] == '\'') in z80_start_line_hook()
314 snprintf (buf, 4, "%3d", (unsigned char)p[1]); in z80_start_line_hook()
315 *p++ = buf[0]; in z80_start_line_hook()
316 *p++ = buf[1]; in z80_start_line_hook()
[all …]
Dobj-som.c51 char *p; in obj_som_compiler() local
81 p = filename; in obj_som_compiler()
82 while (*p != ' ' && *p != '\000') in obj_som_compiler()
83 p++; in obj_som_compiler()
84 if (*p == '\000') in obj_som_compiler()
89 *p = '\000'; in obj_som_compiler()
91 language_name = ++p; in obj_som_compiler()
92 while (*p != ' ' && *p != '\000') in obj_som_compiler()
93 p++; in obj_som_compiler()
94 if (*p == '\000') in obj_som_compiler()
[all …]
Dtc-vax.c332 LITTLENUM_TYPE *p; /* -> most significant (non-zero) input in bignum_copy() local
337 for (p = in + in_length - 1; p >= in; --p) in bignum_copy()
339 if (*p) in bignum_copy()
342 significant_littlenums_dropped = p - in - in_length + 1; in bignum_copy()
380 char *p; in md_estimate_size_before_relax() local
384 p = fragP->fr_literal + old_fr_fix; in md_estimate_size_before_relax()
407 || (p[0] & 0x10)) in md_estimate_size_before_relax()
422 p[0] |= VAX_PC_RELATIVE_MODE; /* Preserve @ bit. */ in md_estimate_size_before_relax()
430 p[0] = 6; in md_estimate_size_before_relax()
431 p[1] = VAX_JMP; in md_estimate_size_before_relax()
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dhash.c142 struct hash_entry *p; in hash_lookup() local
169 for (p = *list; p != NULL; p = p->next) in hash_lookup()
175 if (p->hash == hash) in hash_lookup()
181 if (strncmp (p->string, key, len) == 0 && p->string[len] == '\0') in hash_lookup()
185 prev->next = p->next; in hash_lookup()
186 p->next = *list; in hash_lookup()
187 *list = p; in hash_lookup()
190 return p; in hash_lookup()
194 prev = p; in hash_lookup()
208 struct hash_entry *p; in hash_insert() local
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dcoffdump.c100 dump_coff_lines (struct coff_line *p) in dump_coff_lines() argument
106 printf (_("#lines %d "),p->nlines); in dump_coff_lines()
108 for (i = 0; i < p->nlines; i++) in dump_coff_lines()
110 printf ("(%d 0x%x)", p->lines[i], p->addresses[i]); in dump_coff_lines()
126 dump_coff_type (struct coff_type *p) in dump_coff_type() argument
129 printf (_("size %d "), p->size); in dump_coff_type()
131 switch (p->type) in dump_coff_type()
135 p->u.asecdef.address, in dump_coff_type()
136 p->u.asecdef.size); in dump_coff_type()
142 dump_coff_type (p->u.pointer.points_to); in dump_coff_type()
[all …]
/toolchain/binutils/binutils-2.25/ld/
Dldctor.c61 struct set_info *p; in ldctor_add_set_entry() local
65 for (p = sets; p != NULL; p = p->next) in ldctor_add_set_entry()
66 if (p->h == h) in ldctor_add_set_entry()
69 if (p == NULL) in ldctor_add_set_entry()
71 p = (struct set_info *) xmalloc (sizeof (struct set_info)); in ldctor_add_set_entry()
72 p->next = sets; in ldctor_add_set_entry()
73 sets = p; in ldctor_add_set_entry()
74 p->h = h; in ldctor_add_set_entry()
75 p->reloc = reloc; in ldctor_add_set_entry()
76 p->count = 0; in ldctor_add_set_entry()
[all …]
/toolchain/binutils/binutils-2.25/gold/
Dtarget-select.cc105 for (Target_selector* p = target_selectors; p != NULL; p = p->next()) in select_target() local
107 int pmach = p->machine(); in select_target()
109 && p->get_size() == size in select_target()
110 && (p->is_big_endian() ? is_big_endian : !is_big_endian)) in select_target()
112 Target* ret = p->recognize(input_file, offset, in select_target()
127 for (Target_selector* p = target_selectors; p != NULL; p = p->next()) in select_target_by_bfd_name() local
129 const char* pname = p->bfd_name(); in select_target_by_bfd_name()
132 Target* ret = p->recognize_by_bfd_name(name); in select_target_by_bfd_name()
146 for (Target_selector* p = target_selectors; p != NULL; p = p->next()) in select_target_by_emulation() local
148 const char* pname = p->emulation(); in select_target_by_emulation()
[all …]
Dehframe.cc198 for (typename Fde_addresses<size>::iterator p = fde_addresses.begin(); in do_sized_write() local
199 p != fde_addresses.end(); in do_sized_write()
200 ++p) in do_sized_write()
203 p->first - output_address); in do_sized_write()
205 p->second - output_address); in do_sized_write()
230 const unsigned char* p = eh_frame_contents + fde_offset + 8; in get_fde_pc() local
248 pc = elfcpp::Swap<16, big_endian>::readval(p); in get_fde_pc()
254 pc = elfcpp::Swap<32, big_endian>::readval(p); in get_fde_pc()
261 pc = elfcpp::Swap_unaligned<64, big_endian>::readval(p); in get_fde_pc()
312 for (Fde_offsets::const_iterator p = fde_offsets->begin(); in get_fde_addresses() local
[all …]
Dlayout.cc112 Iterator p = this->last_remove_; in remove() local
113 if (p->start_ > start) in remove()
114 p = this->list_.begin(); in remove()
116 for (; p != this->list_.end(); ++p) in remove()
120 if (p->start_ <= start && p->end_ >= end) in remove()
124 if (p->start_ + 3 >= start && p->end_ <= end + 3) in remove()
125 p = this->list_.erase(p); in remove()
127 else if (p->start_ + 3 >= start) in remove()
128 p->start_ = end; in remove()
130 else if (p->end_ <= end + 3) in remove()
[all …]
Dattributes.cc127 for (Other_attributes::const_iterator p = voa.other_attributes_.begin(); in Vendor_object_attributes() local
128 p != voa.other_attributes_.end(); in Vendor_object_attributes()
129 ++p) in Vendor_object_attributes()
130 this->other_attributes_[p->first] = new Object_attribute(*(p->second)); in Vendor_object_attributes()
145 for (Other_attributes::const_iterator p = this->other_attributes_.begin(); in size() local
146 p != this->other_attributes_.end(); in size()
147 ++p) in size()
148 data_size += p->second->size(p->first); in size()
192 Other_attributes::iterator p = in get_attribute() local
194 return p != this->other_attributes_.end() ? p->second : NULL; in get_attribute()
[all …]
Dscript-sections.cc1339 for (String_list::const_iterator p = in Output_section_element_input() local
1341 p != spec->input_sections.exclude->end(); in Output_section_element_input()
1342 ++p) in Output_section_element_input()
1344 bool is_wildcard = is_wildcard_string((*p).c_str()); in Output_section_element_input()
1345 this->filename_exclusions_.push_back(std::make_pair(*p, in Output_section_element_input()
1353 for (String_sort_list::const_iterator p = in Output_section_element_input() local
1355 p != spec->input_sections.sections->end(); in Output_section_element_input()
1356 ++p) in Output_section_element_input()
1357 isp.push_back(Input_section_pattern(p->name.value, p->name.length, in Output_section_element_input()
1358 p->sort)); in Output_section_element_input()
[all …]
/toolchain/binutils/binutils-2.25/opcodes/
Darc-ext.c151 unsigned char *p = (unsigned char *) block; in arcExtMap_add() local
156 while (p && p < (block + length)) in arcExtMap_add()
173 if (p[0] == 0) in arcExtMap_add()
176 switch (p[1]) in arcExtMap_add()
180 char opcode = p[2]; in arcExtMap_add()
181 char minor = p[3]; in arcExtMap_add()
182 char * insn_name = (char *) xmalloc(( (int)*p-5) * sizeof(char)); in arcExtMap_add()
190 insn -> flags = (char) *(p+4); in arcExtMap_add()
191 strcpy (insn_name, (char *) (p+5)); in arcExtMap_add()
199 char * core_name = (char *) xmalloc(((int)*p-3) * sizeof(char)); in arcExtMap_add()
[all …]
Dm68k-dis.c61 #define NEXTBYTE(p, val) \ argument
64 p += 2; \
65 if (!FETCH_DATA (info, p)) \
67 val = COERCE_SIGNED_CHAR (p[-1]); \
74 #define NEXTWORD(p, val, ret_val) \ argument
77 p += 2; \
78 if (!FETCH_DATA (info, p)) \
80 val = COERCE16 ((p[-2] << 8) + p[-1]); \
87 #define NEXTLONG(p, val, ret_val) \ argument
90 p += 4; \
[all …]
Dcr16-dis.c293 parameter p; in makelongparameter() local
295 p.val = (dwordU) EXTRACT (val, 48 - end, end - start); in makelongparameter()
296 p.nbits = end - start; in makelongparameter()
297 return p; in makelongparameter()
351 parameter p; in make_argument() local
361 p = makelongparameter (cr16_allWords, in make_argument()
364 a->r = p.val; in make_argument()
368 p = makelongparameter (cr16_allWords, in make_argument()
371 a->rp = p.val; in make_argument()
375 p = makelongparameter (cr16_allWords, in make_argument()
[all …]
Dvax-dis.c53 #define NEXTBYTE(p) \ argument
54 (p += 1, FETCH_DATA (info, p), \
55 COERCE_SIGNED_CHAR(p[-1]))
59 #define NEXTWORD(p) \ argument
60 (p += 2, FETCH_DATA (info, p), \
61 COERCE16 ((p[-1] << 8) + p[-2]))
65 #define NEXTLONG(p) \ argument
66 (p += 4, FETCH_DATA (info, p), \
67 (COERCE32 ((((((p[-1] << 8) + p[-2]) << 8) + p[-3]) << 8) + p[-4])))
225 unsigned char *p = p0; in print_insn_mode() local
[all …]
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-frv/
Dfdpic-static-2.d35 [0-9a-f ]+: 00 01 41 98 subx\.p gr20,gr24,gr0,icc0
36 [0-9a-f ]+: 00 01 41 ac subx\.p gr20,gr44,gr0,icc0
37 [0-9a-f ]+: 00 01 41 a8 subx\.p gr20,gr40,gr0,icc0
38 [0-9a-f ]+: 00 01 41 94 subx\.p gr20,gr20,gr0,icc0
39 [0-9a-f ]+: 00 01 41 60 subcc\.p gr20,gr32,gr0,icc0
40 [0-9a-f ]+: 00 01 41 64 subcc\.p gr20,gr36,gr0,icc0
41 [0-9a-f ]+: 00 01 41 a0 subx\.p gr20,gr32,gr0,icc0
42 [0-9a-f ]+: 00 01 41 70 subcc\.p gr20,gr48,gr0,icc0
43 [0-9a-f ]+: 00 01 41 74 subcc\.p gr20,gr52,gr0,icc0
44 [0-9a-f ]+: 00 01 41 9c subx\.p gr20,gr28,gr0,icc0
[all …]
Dfdpic-static-8.d35 [0-9a-f ]+: 00 01 41 98 subx\.p gr20,gr24,gr0,icc0
36 [0-9a-f ]+: 00 01 41 9c subx\.p gr20,gr28,gr0,icc0
37 [0-9a-f ]+: 00 01 41 ac subx\.p gr20,gr44,gr0,icc0
38 [0-9a-f ]+: 00 01 41 94 subx\.p gr20,gr20,gr0,icc0
39 [0-9a-f ]+: 00 01 41 58 subcc\.p gr20,gr24,gr0,icc0
40 [0-9a-f ]+: 00 01 41 5c subcc\.p gr20,gr28,gr0,icc0
41 [0-9a-f ]+: 00 01 41 a4 subx\.p gr20,gr36,gr0,icc0
42 [0-9a-f ]+: 00 01 41 68 subcc\.p gr20,gr40,gr0,icc0
43 [0-9a-f ]+: 00 01 41 6c subcc\.p gr20,gr44,gr0,icc0
44 [0-9a-f ]+: 00 01 41 a0 subx\.p gr20,gr32,gr0,icc0
[all …]
Dtls-relax-shared-2.d41 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
45 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
49 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
53 [0-9a-f ]+: 10 cc f0 60 lddi\.p @\(gr15,96\),gr8
56 [0-9a-f ]+: 10 cc ff b8 lddi\.p @\(gr15,-72\),gr8
59 [0-9a-f ]+: 10 cc ff e8 lddi\.p @\(gr15,-24\),gr8
71 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
75 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
79 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
83 [0-9a-f ]+: 10 cc ff f8 lddi\.p @\(gr15,-8\),gr8
[all …]
Dtls-shared-2.d41 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
45 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
49 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
53 [0-9a-f ]+: 10 cc f0 60 lddi\.p @\(gr15,96\),gr8
56 [0-9a-f ]+: 10 cc ff b8 lddi\.p @\(gr15,-72\),gr8
59 [0-9a-f ]+: 10 cc ff e8 lddi\.p @\(gr15,-24\),gr8
71 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
75 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
79 [0-9a-f ]+: 1c f8 00 00 sethi\.p hi\(0x0\),gr14
83 [0-9a-f ]+: 10 cc ff f8 lddi\.p @\(gr15,-8\),gr8
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Delf-attrs.c128 write_uleb128 (bfd_byte *p, unsigned int val) in write_uleb128() argument
137 *(p++) = c; in write_uleb128()
140 return p; in write_uleb128()
146 write_obj_attribute (bfd_byte *p, int tag, obj_attribute *attr) in write_obj_attribute() argument
150 return p; in write_obj_attribute()
152 p = write_uleb128 (p, tag); in write_obj_attribute()
154 p = write_uleb128 (p, attr->i); in write_obj_attribute()
160 memcpy (p, attr->s, len); in write_obj_attribute()
161 p += len; in write_obj_attribute()
164 return p; in write_obj_attribute()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/all/
Ditbl-test.c63 char *p; in main() local
66 if (p = strchr (s, ';'), p) /* strip comments */ in main()
67 *p = 0; in main()
68 if (p = strchr (s, '#'), p) /* strip comments */ in main()
69 *p = 0; in main()
70 p = s + strlen (s) - 1; in main()
71 while (p >= s && (*p == ' ' || *p == '\t' || *p == '\n')) /* strip trailing spaces */ in main()
72 p--; in main()
73 *(p + 1) = 0; in main()
74 p = s; in main()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/frv/
Dfr450-media-issue.s2 mand.p fr0,fr1,fr2 ; M1
4 mand.p fr0,fr1,fr2 ; M1
6 mand.p fr0,fr1,fr2 ; M1
8 mand.p fr0,fr1,fr2 ; M1
10 mand.p fr0,fr1,fr2 ; M1
12 mand.p fr0,fr1,fr2 ; M1
16 mqaddhss.p fr0,fr2,fr2 ; M2
18 mqaddhss.p fr0,fr2,fr2 ; M2
20 mqaddhss.p fr0,fr2,fr2 ; M2
22 mqaddhss.p fr0,fr2,fr2 ; M2
[all …]
/toolchain/binutils/binutils-2.25/gold/testsuite/
Dplugin_test.c418 char* p; in all_symbols_read_hook() local
546 p = malloc(len + 1); in all_symbols_read_hook()
547 strncpy(p, info.name, len + 1); in all_symbols_read_hook()
548 filename = p; in all_symbols_read_hook()
570 p = strrchr(buf, '.'); in all_symbols_read_hook()
571 if (p == NULL in all_symbols_read_hook()
572 || (strcmp(p, ".syms") != 0 in all_symbols_read_hook()
573 && strcmp(p, ".c") != 0 in all_symbols_read_hook()
574 && strcmp(p, ".cc") != 0)) in all_symbols_read_hook()
580 p[1] = 'o'; in all_symbols_read_hook()
[all …]

12345678910>>...37