| /dragonfly/contrib/libpcap/ |
| HD | sf-pcapng.c | 417 struct option_header *opthdr; in get_opthdr_from_block_data() local 419 opthdr = get_from_block_data(cursor, sizeof(*opthdr), errbuf); in get_opthdr_from_block_data() 420 if (opthdr == NULL) { in get_opthdr_from_block_data() 431 opthdr->option_code = SWAPSHORT(opthdr->option_code); in get_opthdr_from_block_data() 432 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data() 435 return (opthdr); in get_opthdr_from_block_data() 440 struct option_header *opthdr, char *errbuf) in get_optvalue_from_block_data() argument 446 padded_option_len = opthdr->option_length; in get_optvalue_from_block_data() 464 struct option_header *opthdr; in process_idb_options() local 476 opthdr = get_opthdr_from_block_data(p, cursor, errbuf); in process_idb_options() [all …]
|
| /dragonfly/contrib/binutils-2.27/binutils/ |
| HD | od-xcoff.c | 386 unsigned short opthdr; member 431 printf (_(" opt hdr sz: %d\n"), data->opthdr); in dump_xcoff32_file_header() 444 unsigned int sz = data->opthdr; in dump_xcoff32_aout_header() 447 if (data->opthdr == 0) in dump_xcoff32_aout_header() 452 if (data->opthdr > sizeof (auxhdr)) in dump_xcoff32_aout_header() 524 off = sizeof (struct external_filehdr) + data->opthdr; in dump_xcoff32_sections_header() 526 (unsigned int)sizeof (struct external_filehdr), data->opthdr, off, in dump_xcoff32_sections_header() 587 if (bfd_seek (abfd, sizeof (struct external_filehdr) + data->opthdr, in xcoff32_read_sections() 1573 data.opthdr = bfd_h_get_16 (abfd, fhdr->f_opthdr); in dump_xcoff32()
|
| /dragonfly/contrib/binutils-2.34/bfd/ |
| HD | peicode.h | 1491 void * opthdr; in pe_bfd_object_p() local 1497 opthdr = bfd_zalloc (abfd, amt); in pe_bfd_object_p() 1498 if (opthdr == NULL) in pe_bfd_object_p() 1500 if (bfd_bread (opthdr, opt_hdr_size, abfd) in pe_bfd_object_p() 1505 bfd_coff_swap_aouthdr_in (abfd, opthdr, & internal_a); in pe_bfd_object_p()
|
| HD | coffgen.c | 370 void * opthdr; in coff_object_p() local 372 opthdr = bfd_alloc (abfd, aoutsz); in coff_object_p() 373 if (opthdr == NULL) in coff_object_p() 375 if (bfd_bread (opthdr, (bfd_size_type) internal_f.f_opthdr, abfd) in coff_object_p() 378 bfd_release (abfd, opthdr); in coff_object_p() 383 memset (((char *) opthdr) + internal_f.f_opthdr, 0, aoutsz - internal_f.f_opthdr); in coff_object_p() 385 bfd_coff_swap_aouthdr_in (abfd, opthdr, (void *) &internal_a); in coff_object_p() 386 bfd_release (abfd, opthdr); in coff_object_p()
|
| /dragonfly/contrib/binutils-2.27/bfd/ |
| HD | peicode.h | 1457 void * opthdr; in pe_bfd_object_p() local 1463 opthdr = bfd_zalloc (abfd, amt); in pe_bfd_object_p() 1464 if (opthdr == NULL) in pe_bfd_object_p() 1466 if (bfd_bread (opthdr, opt_hdr_size, abfd) in pe_bfd_object_p() 1471 bfd_coff_swap_aouthdr_in (abfd, opthdr, & internal_a); in pe_bfd_object_p()
|
| HD | coffgen.c | 361 void * opthdr; in coff_object_p() local 363 opthdr = bfd_alloc (abfd, aoutsz); in coff_object_p() 364 if (opthdr == NULL) in coff_object_p() 366 if (bfd_bread (opthdr, (bfd_size_type) internal_f.f_opthdr, abfd) in coff_object_p() 369 bfd_release (abfd, opthdr); in coff_object_p() 374 memset (((char *) opthdr) + internal_f.f_opthdr, 0, aoutsz - internal_f.f_opthdr); in coff_object_p() 376 bfd_coff_swap_aouthdr_in (abfd, opthdr, (void *) &internal_a); in coff_object_p() 377 bfd_release (abfd, opthdr); in coff_object_p()
|
| /dragonfly/contrib/file/magic/Magdir/ |
| HD | convex | 36 # what follows is a bunch of bit-mask checks on the flags field of the opthdr.
|
| /dragonfly/contrib/gdb-7/bfd/ |
| HD | coffgen.c | 356 void * opthdr; in coff_object_p() local 358 opthdr = bfd_alloc (abfd, aoutsz); in coff_object_p() 359 if (opthdr == NULL) in coff_object_p() 361 if (bfd_bread (opthdr, (bfd_size_type) internal_f.f_opthdr, abfd) in coff_object_p() 364 bfd_release (abfd, opthdr); in coff_object_p() 367 bfd_coff_swap_aouthdr_in (abfd, opthdr, (void *) &internal_a); in coff_object_p() 368 bfd_release (abfd, opthdr); in coff_object_p()
|