Home
last modified time | relevance | path

Searched refs:buff (Results 1 – 20 of 20) sorted by relevance

/toolchain/binutils/binutils-2.25/gas/config/
Dte-vms.c252 struct stat buff; in vms_file_stats_name() local
259 if ((stat (fullname, &buff)) != 0) in vms_file_stats_name()
264 ts = localtime (& buff.st_mtime); in vms_file_stats_name()
280 secs = buff.st_mtim.tv_sec; in vms_file_stats_name()
282 secs = buff.st_mtime; in vms_file_stats_name()
286 nsecs = buff.st_mtim.tv_nsec; in vms_file_stats_name()
299 *siz = buff.st_size; in vms_file_stats_name()
342 static char buff [255 + 7]; in vms_dwarf2_file_name() local
345 snprintf (buff, 255 + 7, "%s;%d", filename, ver); in vms_dwarf2_file_name()
346 return buff; in vms_dwarf2_file_name()
Dtc-epiphany.c440 char buff[20]; in md_assemble() local
449 sprintf (buff, "str r%d,[sp]", i); /* Last one. */ in md_assemble()
451 sprintf (buff, "str r%d,[sp],-r15", i); in md_assemble()
454 md_assemble (buff); in md_assemble()
460 char buff[20]; in md_assemble() local
468 sprintf (buff, "ldr r%d,[sp],+r15", i); in md_assemble()
469 md_assemble (buff); in md_assemble()
Dtc-score7.c1149 static char buff[s7_MAX_LITERAL_POOL_SIZE]; in s7_reg_required_here() local
1178 sprintf (buff, _("register expected, not '%.100s'"), start); in s7_reg_required_here()
1179 s7_inst.error = buff; in s7_reg_required_here()
2116 static char buff[s7_MAX_LITERAL_POOL_SIZE]; in s7_reglow_required_here() local
2138 sprintf (buff, _("low register(r0-r15)expected, not '%.100s'"), start); in s7_reglow_required_here()
2139 s7_inst.error = buff; in s7_reglow_required_here()
2224 static char buff[s7_MAX_LITERAL_POOL_SIZE]; in s7_reghigh_required_here() local
2240 sprintf (buff, _("high register(r16-r31)expected, not '%.100s'"), start); in s7_reghigh_required_here()
2241 s7_inst.error = buff; in s7_reghigh_required_here()
Dtc-score.c1064 static char buff[s3_MAX_LITERAL_POOL_SIZE]; in s3_reg_required_here() local
1093 sprintf (buff, _("register expected, not '%.100s'"), start); in s3_reg_required_here()
1094 s3_inst.error = buff; in s3_reg_required_here()
2060 static char buff[s3_MAX_LITERAL_POOL_SIZE]; in s3_reglow_required_here() local
2082 sprintf (buff, _("low register(r0-r15)expected, not '%.100s'"), start); in s3_reglow_required_here()
2083 s3_inst.error = buff; in s3_reglow_required_here()
/toolchain/binutils/binutils-2.25/opcodes/
Di860-dis.c96 bfd_byte buff[4]; in print_insn_i860() local
101 status = (*info->read_memory_func) (memaddr, buff, sizeof (buff), info); in print_insn_i860()
110 insn = bfd_getl32 (buff); in print_insn_i860()
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c1824 static char buff[64]; in get_dynamic_type() local
1946 snprintf (buff, sizeof (buff), _("Processor Specific: %lx"), type); in get_dynamic_type()
1970 snprintf (buff, sizeof (buff), _("Operating System specific: %lx"), in get_dynamic_type()
1974 snprintf (buff, sizeof (buff), _("<unknown>: %lx"), type); in get_dynamic_type()
1976 return buff; in get_dynamic_type()
1983 static char buff[32]; in get_file_type() local
1995 snprintf (buff, sizeof (buff), _("Processor Specific: (%x)"), e_type); in get_file_type()
1997 snprintf (buff, sizeof (buff), _("OS Specific: (%x)"), e_type); in get_file_type()
1999 snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_type); in get_file_type()
2000 return buff; in get_file_type()
[all …]
Dwindmc.c1110 char *buff; in main() local
1120 buff = malloc (flen + 3); in main()
1121 memset (buff, 0, flen + 3); in main()
1122 if (fread (buff, 1, flen, fp) < flen) in main()
1127 unicode_from_codepage (&ul, &u, buff, mcset_codepage_in); in main()
1136 mc_set_content ((unichar *) buff); in main()
1138 free (buff); in main()
Dresres.c171 void *buff; in read_resource_entry() local
201 buff = res_alloc (reshdr.data_size); in read_resource_entry()
203 read_res_data (wrbfd, off, omax, buff, reshdr.data_size); in read_resource_entry()
205 r = bin_to_res (wrbfd, type, buff, reshdr.data_size); in read_resource_entry()
Dnm.c336 static char buff [32]; in get_symbol_type() local
349 sprintf (buff, _("<processor specific>: %d"), type); in get_symbol_type()
351 sprintf (buff, _("<OS specific>: %d"), type); in get_symbol_type()
353 sprintf (buff, _("<unknown>: %d"), type); in get_symbol_type()
354 return buff; in get_symbol_type()
Dobjcopy.c3897 char buff[20]; in copy_main() local
3899 sprintf_vma (buff, gap_fill_vma); in copy_main()
3902 buff, gap_fill); in copy_main()
4329 char buff [20]; in copy_main() local
4331 sprintf_vma (buff, p->vma_val); in copy_main()
4338 buff); in copy_main()
4343 char buff [20]; in copy_main() local
4345 sprintf_vma (buff, p->lma_val); in copy_main()
4352 buff); in copy_main()
DChangeLog-20051074 (get_dynamic_type): Likewise. Increase buff to 64 bytes.
1075 (get_elf_section_flags): Increase buff to 33 bytes. Avoid
DChangeLog-00011981 * readelf.c (get_dynamic_flags): Return buff.
/toolchain/binutils/binutils-2.25/bfd/
Decofflink.c1422 char *buff = NULL; in ecoff_write_symhdr() local
1457 buff = (char *) bfd_malloc (swap->external_hdr_size); in ecoff_write_symhdr()
1458 if (buff == NULL && swap->external_hdr_size != 0) in ecoff_write_symhdr()
1461 (*swap->swap_hdr_out) (abfd, symhdr, buff); in ecoff_write_symhdr()
1462 if (bfd_bwrite (buff, swap->external_hdr_size, abfd) in ecoff_write_symhdr()
1466 if (buff != NULL) in ecoff_write_symhdr()
1467 free (buff); in ecoff_write_symhdr()
1470 if (buff != NULL) in ecoff_write_symhdr()
1471 free (buff); in ecoff_write_symhdr()
2405 ecoff_collect_shuffle (struct shuffle *l, bfd_byte *buff) in ecoff_collect_shuffle() argument
[all …]
Dcoff64-rs6000.c802 struct external_scnhdr buff; in xcoff64_write_object_contents() local
851 if (bfd_coff_swap_scnhdr_out (abfd, &section, &buff) == 0 in xcoff64_write_object_contents()
852 || bfd_bwrite (&buff, amount, abfd) != amount) in xcoff64_write_object_contents()
1028 char * buff; in xcoff64_write_object_contents() local
1031 buff = bfd_malloc (amount); in xcoff64_write_object_contents()
1032 if (buff == NULL) in xcoff64_write_object_contents()
1035 bfd_coff_swap_filehdr_out (abfd, &internal_f, buff); in xcoff64_write_object_contents()
1036 amount = bfd_bwrite (buff, amount, abfd); in xcoff64_write_object_contents()
1038 free (buff); in xcoff64_write_object_contents()
1046 char * buff; in xcoff64_write_object_contents() local
[all …]
Dcoffcode.h3841 SCNHDR buff; in coff_write_object_contents() local
3844 if (coff_swap_scnhdr_out (abfd, &section, &buff) == 0 in coff_write_object_contents()
3845 || bfd_bwrite (& buff, amt, abfd) != amt) in coff_write_object_contents()
3955 SCNHDR buff; in coff_write_object_contents() local
3970 if (coff_swap_scnhdr_out (abfd, &scnhdr, &buff) == 0 in coff_write_object_contents()
3971 || bfd_bwrite (& buff, amt, abfd) != amt) in coff_write_object_contents()
4338 char * buff; in coff_write_object_contents() local
4341 buff = (char *) bfd_malloc (amount); in coff_write_object_contents()
4342 if (buff == NULL) in coff_write_object_contents()
4345 bfd_coff_swap_filehdr_out (abfd, & internal_f, buff); in coff_write_object_contents()
[all …]
Decoff.c2352 void * buff = NULL; in _bfd_ecoff_write_object_contents() local
2394 buff = bfd_malloc (siz); in _bfd_ecoff_write_object_contents()
2395 if (buff == NULL) in _bfd_ecoff_write_object_contents()
2454 if (bfd_coff_swap_scnhdr_out (abfd, (void *) &section, buff) == 0 in _bfd_ecoff_write_object_contents()
2455 || bfd_bwrite (buff, scnhsz, abfd) != scnhsz) in _bfd_ecoff_write_object_contents()
2603 bfd_coff_swap_filehdr_out (abfd, (void *) &internal_f, buff); in _bfd_ecoff_write_object_contents()
2604 if (bfd_bwrite (buff, filhsz, abfd) != filhsz) in _bfd_ecoff_write_object_contents()
2607 bfd_coff_swap_aouthdr_out (abfd, (void *) &internal_a, buff); in _bfd_ecoff_write_object_contents()
2608 if (bfd_bwrite (buff, aoutsz, abfd) != aoutsz) in _bfd_ecoff_write_object_contents()
2765 if (buff != NULL) in _bfd_ecoff_write_object_contents()
[all …]
Dcoffgen.c1453 void * buff; in coff_write_linenumbers() local
1456 buff = bfd_alloc (abfd, linesz); in coff_write_linenumbers()
1457 if (!buff) in coff_write_linenumbers()
1483 bfd_coff_swap_lineno_out (abfd, &out, buff); in coff_write_linenumbers()
1484 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd) in coff_write_linenumbers()
1492 bfd_coff_swap_lineno_out (abfd, &out, buff); in coff_write_linenumbers()
1493 if (bfd_bwrite (buff, (bfd_size_type) linesz, abfd) in coff_write_linenumbers()
1504 bfd_release (abfd, buff); in coff_write_linenumbers()
Delf32-v850.c152 static char buff[200]; /* XXX */ in v850_elf_check_relocs() local
173 sprintf (buff, msg, h->root.root.string); in v850_elf_check_relocs()
174 info->callbacks->warning (info, buff, h->root.root.string, in v850_elf_check_relocs()
DChangeLog-00019495 * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
/toolchain/binutils/binutils-2.25/bfd/doc/
Dchew.c1459 char buff[10000]; local
1463 r = fread (buff, 1, sizeof (buff), file);
1464 catbuf (str, buff, r);
1467 buff[0] = 0;
1469 catbuf (str, buff, 1);