Home
last modified time | relevance | path

Searched refs:file_ptr (Results 1 – 25 of 133) sorted by relevance

123456

/dragonfly/contrib/gdb-7/gdb/
HDevent-loop.c528 file_handler *file_ptr; in create_file_handler() local
532 for (file_ptr = gdb_notifier.first_file_handler; file_ptr != NULL; in create_file_handler()
533 file_ptr = file_ptr->next_file) in create_file_handler()
535 if (file_ptr->fd == fd) in create_file_handler()
541 if (file_ptr == NULL) in create_file_handler()
543 file_ptr = (file_handler *) xmalloc (sizeof (file_handler)); in create_file_handler()
544 file_ptr->fd = fd; in create_file_handler()
545 file_ptr->ready_mask = 0; in create_file_handler()
546 file_ptr->next_file = gdb_notifier.first_file_handler; in create_file_handler()
547 gdb_notifier.first_file_handler = file_ptr; in create_file_handler()
[all …]
HDgdb_bfd.h97 file_ptr (*pread_func) (struct bfd *nbfd,
100 file_ptr nbytes,
101 file_ptr offset),
HDminidebug.c133 static file_ptr
134 lzma_pread (struct bfd *nbfd, void *stream, void *buf, file_ptr nbytes, in lzma_pread()
135 file_ptr offset) in lzma_pread()
141 file_ptr block_offset; in lzma_pread()
145 file_ptr res; in lzma_pread()
/dragonfly/contrib/binutils-2.27/include/
HDieee.h46 file_ptr offset[N_W_VARIABLES];
50 file_ptr extension_record;
51 file_ptr environmental_record;
52 file_ptr section_part;
53 file_ptr external_part;
54 file_ptr debug_information_part;
55 file_ptr data_part;
56 file_ptr trailer_part;
57 file_ptr me_record;
/dragonfly/contrib/gdb-7/bfd/
HDcache.c232 static file_ptr
242 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek()
257 static file_ptr
258 cache_bread_1 (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread_1()
261 file_ptr nread; in cache_bread_1()
285 if (nread == (file_ptr)-1) in cache_bread_1()
308 static file_ptr
309 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread()
311 file_ptr nread = 0; in cache_bread()
318 const file_ptr max_chunk_size = 0x800000; in cache_bread()
[all …]
HDbfdio.c45 file_ptr
58 real_fseek (FILE *file, file_ptr offset, int whence) in real_fseek()
229 file_ptr
232 file_ptr ptr; in bfd_tell()
281 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek()
284 file_ptr file_position; in bfd_seek()
423 file_ptr
456 int prot, int flags, file_ptr offset, in bfd_mmap()
470 static file_ptr
471 memory_bread (bfd *abfd, void *ptr, file_ptr size) in memory_bread()
[all …]
HDlibbfd.h74 file_ptr first_file_filepos;
89 file_ptr armap_datepos; /* Position within archive to seek to
103 file_ptr origin; /* For element of a thin archive. */
105 file_ptr key;
141 (bfd *, file_ptr);
143 (bfd *, file_ptr, bfd *);
165 (bfd *archive, file_ptr filepos);
247 (bfd *, asection *, void *, file_ptr, bfd_size_type);
249 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type);
442 ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
[all …]
HDlibaout.h379 file_ptr sym_filepos;
380 file_ptr str_filepos;
496 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
569 (bfd *, bfd_size_type *, file_ptr *);
595 void (*) (bfd *, file_ptr *, file_ptr *, file_ptr *));
630 file_ptr text_end; \
644 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
653 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*execp)), SEEK_SET) != 0)\
660 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*execp)), SEEK_SET) != 0) \
665 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (*execp)), SEEK_SET) != 0) \
HDopncls.c465 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf,
466 file_ptr nbytes, file_ptr offset);
469 file_ptr where;
472 static file_ptr
480 opncls_bseek (struct bfd *abfd, file_ptr offset, int whence) in opncls_bseek()
492 static file_ptr
493 opncls_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in opncls_bread()
496 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); in opncls_bread()
503 static file_ptr
506 file_ptr nbytes ATTRIBUTE_UNUSED) in opncls_bwrite()
[all …]
HDlibecoff.h77 bfd *(*get_elt_at_filepos) (bfd *, file_ptr);
93 file_ptr reloc_filepos;
96 file_ptr sym_filepos;
244 (bfd *, asection *, void * location, file_ptr, bfd_size_type);
309 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
/dragonfly/contrib/binutils-2.27/bfd/
HDcache.c276 static file_ptr
286 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek()
301 static file_ptr
302 cache_bread_1 (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread_1()
305 file_ptr nread; in cache_bread_1()
329 if (nread == (file_ptr)-1) in cache_bread_1()
352 static file_ptr
353 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread()
355 file_ptr nread = 0; in cache_bread()
362 const file_ptr max_chunk_size = 0x800000; in cache_bread()
[all …]
HDbfdio.c43 file_ptr
56 real_fseek (FILE *file, file_ptr offset, int whence) in real_fseek()
227 file_ptr
230 file_ptr ptr; in bfd_tell()
280 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek()
283 file_ptr file_position; in bfd_seek()
423 file_ptr
456 int prot, int flags, file_ptr offset, in bfd_mmap()
470 static file_ptr
471 memory_bread (bfd *abfd, void *ptr, file_ptr size) in memory_bread()
[all …]
HDlibbfd.h75 file_ptr first_file_filepos;
90 file_ptr armap_datepos; /* Position within archive to seek to
104 file_ptr origin; /* For element of a thin archive. */
106 file_ptr key;
142 (bfd *, file_ptr);
144 (bfd *, file_ptr, bfd *);
189 (bfd *archive, file_ptr filepos);
271 (bfd *, asection *, void *, file_ptr, bfd_size_type);
273 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type);
473 ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
[all …]
HDopncls.c472 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf,
473 file_ptr nbytes, file_ptr offset);
476 file_ptr where;
479 static file_ptr
487 opncls_bseek (struct bfd *abfd, file_ptr offset, int whence) in opncls_bseek()
499 static file_ptr
500 opncls_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in opncls_bread()
503 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); in opncls_bread()
510 static file_ptr
513 file_ptr nbytes ATTRIBUTE_UNUSED) in opncls_bwrite()
[all …]
HDlibaout.h377 file_ptr sym_filepos;
378 file_ptr str_filepos;
494 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
593 void (*) (bfd *, file_ptr *, file_ptr *, file_ptr *));
639 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
648 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (execp)), SEEK_SET) != 0)\
655 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (execp)), SEEK_SET) != 0) \
660 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (execp)), SEEK_SET) != 0) \
HDlibecoff.h75 bfd *(*get_elt_at_filepos) (bfd *, file_ptr);
91 file_ptr reloc_filepos;
94 file_ptr sym_filepos;
242 (bfd *, asection *, void * location, file_ptr, bfd_size_type);
311 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
HDelfcore.h191 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_core_file_p()
217 file_ptr where; in elf_core_file_p()
225 where = (file_ptr)(i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr)); in elf_core_file_p()
236 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
/dragonfly/contrib/binutils-2.34/bfd/
HDcache.c276 static file_ptr
286 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek()
301 static file_ptr
302 cache_bread_1 (FILE *f, void *buf, file_ptr nbytes) in cache_bread_1()
304 file_ptr nread; in cache_bread_1()
313 if (nread == (file_ptr)-1) in cache_bread_1()
336 static file_ptr
337 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread()
339 file_ptr nread = 0; in cache_bread()
351 const file_ptr max_chunk_size = 0x800000; in cache_bread()
[all …]
HDbfdio.c43 file_ptr
56 _bfd_real_fseek (FILE *file, file_ptr offset, int whence) in _bfd_real_fseek()
179 file_ptr nread; in bfd_bread()
221 file_ptr nwrote; in bfd_bwrite()
246 file_ptr
250 file_ptr ptr; in bfd_tell()
307 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek()
473 int prot, int flags, file_ptr offset, in bfd_mmap()
495 static file_ptr
496 memory_bread (bfd *abfd, void *ptr, file_ptr size) in memory_bread()
[all …]
HDlibbfd.h80 file_ptr first_file_filepos;
95 file_ptr armap_datepos; /* Position within archive to seek to
109 file_ptr origin; /* For element of a thin archive. */
111 file_ptr key;
152 (bfd *, file_ptr) ATTRIBUTE_HIDDEN;
154 (bfd *, file_ptr, bfd *) ATTRIBUTE_HIDDEN;
196 (bfd *, file_ptr) ATTRIBUTE_HIDDEN;
299 (bfd *, asection *, void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN;
301 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN;
506 (bfd *, asection *, const void *, file_ptr, bfd_size_type) ATTRIBUTE_HIDDEN;
[all …]
HDlibaout.h377 file_ptr sym_filepos;
378 file_ptr str_filepos;
494 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
593 void (*) (bfd *, file_ptr *, file_ptr *, file_ptr *));
638 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
647 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (execp)), SEEK_SET) != 0)\
654 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (execp)), SEEK_SET) != 0) \
659 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (execp)), SEEK_SET) != 0) \
HDlibecoff.h75 bfd *(*get_elt_at_filepos) (bfd *, file_ptr);
91 file_ptr reloc_filepos;
94 file_ptr sym_filepos;
242 (bfd *, asection *, void * location, file_ptr, bfd_size_type);
310 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
HDelfcore.h199 file_ptr where = (file_ptr) i_ehdrp->e_shoff; in elf_core_file_p()
225 file_ptr where; in elf_core_file_p()
233 where = (file_ptr)(i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr)); in elf_core_file_p()
244 if (bfd_seek (abfd, (file_ptr) i_ehdrp->e_phoff, SEEK_SET) != 0) in elf_core_file_p()
392 if (bfd_seek (abfd, (file_ptr) (offset + i_ehdr.e_phoff), SEEK_SET) != 0) in NAME()
/dragonfly/contrib/gcc-4.7/gcc/
HDmips-tfile.c1928 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_symint() local
1929 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_symint()
1947 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_rndx() local
1948 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_rndx()
1968 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_tir() local
1969 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_tir()
2239 efdr_t *file_ptr = cur_file_ptr; in add_procedure() local
2240 varray_t *vp = &file_ptr->procs; in add_procedure()
2285 new_proc_ptr->isym = file_ptr->symbols.num_allocated; in add_procedure()
2343 efdr_t *file_ptr; in add_file() local
[all …]
/dragonfly/contrib/binutils-2.27/binutils/
HDstrings.c152 static void print_strings (const char *, FILE *, file_ptr, int, int, char *);
154 static long get_char (FILE *, file_ptr *, int *, char **);
382 if (bfd_get_section_contents (abfd, sect, mem, (file_ptr) 0, sectsize)) in strings_a_section()
469 print_strings (file, stream, (file_ptr) 0, 0, 0, (char *) 0); in strings_file()
493 get_char (FILE *stream, file_ptr *address, int *magiccount, char **magic) in get_char()
556 print_strings (const char *filename, FILE *stream, file_ptr address, in print_strings()
563 file_ptr start; in print_strings()

123456