Home
last modified time | relevance | path

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

12345

/trueos/contrib/gdb/gdb/
HDevent-loop.c483 file_handler *file_ptr; in create_file_handler() local
487 for (file_ptr = gdb_notifier.first_file_handler; file_ptr != NULL; in create_file_handler()
488 file_ptr = file_ptr->next_file) in create_file_handler()
490 if (file_ptr->fd == fd) in create_file_handler()
496 if (file_ptr == NULL) in create_file_handler()
498 file_ptr = (file_handler *) xmalloc (sizeof (file_handler)); in create_file_handler()
499 file_ptr->fd = fd; in create_file_handler()
500 file_ptr->ready_mask = 0; in create_file_handler()
501 file_ptr->next_file = gdb_notifier.first_file_handler; in create_file_handler()
502 gdb_notifier.first_file_handler = file_ptr; in create_file_handler()
[all …]
HDcoff-pe-read.c159 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get16()
169 bfd_seek (abfd, (file_ptr) where, SEEK_SET); in pe_get32()
244 bfd_seek (dll, (file_ptr) secptr1, SEEK_SET); in read_pe_exported_syms()
273 bfd_seek (dll, (file_ptr) secptr1 + 0, SEEK_SET); in read_pe_exported_syms()
288 bfd_seek (dll, (file_ptr) expptr, SEEK_SET); in read_pe_exported_syms()
HDmipsread.c273 (file_ptr) 0, sym_secsize)) in read_alphacoff_dynamic_symtab()
276 (file_ptr) 0, str_secsize)) in read_alphacoff_dynamic_symtab()
279 (file_ptr) 0, dyninfo_secsize)) in read_alphacoff_dynamic_symtab()
282 (file_ptr) 0, got_secsize)) in read_alphacoff_dynamic_symtab()
HDstabsread.h181 file_ptr stabstroffset,
189 file_ptr stabstroffset, unsigned int stabstrsize);
HDsymfile.h313 extern void dwarf_build_psymtabs (struct objfile *, int, file_ptr,
314 unsigned int, file_ptr, unsigned int);
/trueos/contrib/binutils/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;
/trueos/contrib/gdb/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;
HDoasys.h31 file_ptr mod_tbl_offset;
34 file_ptr sym_tbl_offset;
36 file_ptr xref_lst_offset;
62 file_ptr file_offset;
/trueos/contrib/binutils/bfd/
HDsco5-core.c47 PARAMS ((bfd *, const char *, flagword, bfd_size_type, bfd_vma, file_ptr));
62 file_ptr filepos;
92 if (bfd_seek (abfd, (file_ptr) filepos, SEEK_SET) != 0
137 if ((bfd_seek (abfd, (file_ptr) (coresize - sizeof coffset_siz),
148 if ((bfd_seek (abfd, (file_ptr) (coresize - coffset_siz), SEEK_SET) != 0)
168 (file_ptr) coffsets.u_user))
176 (file_ptr) coffsets.u_data))
183 (file_ptr) coffsets.u_stack))
195 (file_ptr) (coresize - coffset_siz - 2 * sizeof coffset_siz),
201 || (bfd_seek (abfd, (file_ptr) cheadoffs, SEEK_SET) != 0)
[all …]
HDrs6000-core.c268 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) in read_hdr()
288 bfd_size_type size, bfd_vma vma, file_ptr filepos) in make_bfd_asection()
317 file_ptr c_stack, c_regoff, c_loader; in rs6000coff_core_p()
334 c_stack = (file_ptr) core.new.c_stack; in rs6000coff_core_p()
344 c_stack = (file_ptr) (ptr_to_uint) core.old.c_stack; in rs6000coff_core_p()
348 c_loader = (file_ptr) (ptr_to_uint) COLD_LOADER (core.old); in rs6000coff_core_p()
408 if (c_stack + (file_ptr) c_size != statbuf.st_size) in rs6000coff_core_p()
416 if (!CORE_NEW (core) && (c_loader < (file_ptr) sizeof core.old || in rs6000coff_core_p()
508 file_ptr ldi_core; in rs6000coff_core_p()
514 file_ptr c_data, c_vmm; in rs6000coff_core_p()
[all …]
HDlibbfd.h71 file_ptr first_file_filepos;
86 file_ptr armap_datepos; /* Position within archive to seek to
134 (bfd *, file_ptr);
136 (bfd *, file_ptr, bfd *);
156 (bfd *archive, file_ptr filepos);
228 (bfd *, asection *, void *, file_ptr, bfd_size_type);
230 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type);
371 ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
379 (bfd *, asection *, const void *, file_ptr, bfd_size_type);
670 extern file_ptr real_ftell (FILE *file);
[all …]
HDcache.c242 static file_ptr
252 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) in cache_bseek()
267 static file_ptr
268 cache_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in cache_bread()
271 file_ptr nread; in cache_bread()
295 if (nread == (file_ptr)-1) in cache_bread()
314 static file_ptr
315 cache_bwrite (struct bfd *abfd, const void *where, file_ptr nbytes) in cache_bwrite()
317 file_ptr nwrite; in cache_bwrite()
HDlibaout.h363 file_ptr sym_filepos;
364 file_ptr str_filepos;
493 (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
566 (bfd *, bfd_size_type *, file_ptr *);
592 void (*) (bfd *, file_ptr *, file_ptr *, file_ptr *));
627 file_ptr text_end; \
641 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0 \
650 if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*execp)), SEEK_SET) != 0)\
657 if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (*execp)), SEEK_SET) != 0) \
662 if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (*execp)), SEEK_SET) != 0) \
HDbfdio.c40 file_ptr
53 real_fseek (FILE *file, file_ptr offset, int whence) in real_fseek()
206 file_ptr
209 file_ptr ptr; in bfd_tell()
263 bfd_seek (bfd *abfd, file_ptr position, int direction) in bfd_seek()
266 file_ptr file_position; in bfd_seek()
439 file_ptr
HDlibbfd-in.h66 file_ptr first_file_filepos;
81 file_ptr armap_datepos; /* Position within archive to seek to
129 (bfd *, file_ptr);
131 (bfd *, file_ptr, bfd *);
151 (bfd *archive, file_ptr filepos);
223 (bfd *, asection *, void *, file_ptr, bfd_size_type);
225 (bfd *, asection *, bfd_window *, file_ptr, bfd_size_type);
366 ((bfd_boolean (*) (bfd *, asection *, const void *, file_ptr, bfd_size_type)) \
374 (bfd *, asection *, const void *, file_ptr, bfd_size_type);
665 extern file_ptr real_ftell (FILE *file);
[all …]
HDopncls.c430 file_ptr (*pread) (struct bfd *abfd, void *stream, void *buf,
431 file_ptr nbytes, file_ptr offset);
434 file_ptr where;
437 static file_ptr
445 opncls_bseek (struct bfd *abfd, file_ptr offset, int whence) in opncls_bseek()
457 static file_ptr
458 opncls_bread (struct bfd *abfd, void *buf, file_ptr nbytes) in opncls_bread()
461 file_ptr nread = (vec->pread) (abfd, vec->stream, buf, nbytes, vec->where); in opncls_bread()
468 static file_ptr
471 file_ptr nbytes ATTRIBUTE_UNUSED) in opncls_bwrite()
[all …]
HDlibecoff.h75 bfd *(*get_elt_at_filepos) (bfd *, file_ptr);
86 file_ptr reloc_filepos;
89 file_ptr sym_filepos;
238 (bfd *, asection *, void * location, file_ptr, bfd_size_type);
302 (bfd *, asection *, const void * location, file_ptr, bfd_size_type);
HDlibieee.h57 file_ptr current_pos;
77 file_ptr output_cursor;
118 file_ptr file_offset;
HDbfd-in.h178 typedef @bfd_file_ptr@ file_ptr; typedef
294 file_ptr file_offset; /* Look here to find the file. */
305 file_ptr pos;
507 extern int bfd_seek (bfd *, file_ptr, int);
508 extern file_ptr bfd_tell (bfd *);
652 const struct ecoff_debug_swap *swap, file_ptr where);
656 struct bfd_link_info *info, file_ptr where);
811 (bfd *, file_ptr, bfd_size_type, bfd_window *, bfd_boolean);
HDosf-core.c36 PARAMS ((bfd *, const char *, flagword, bfd_size_type, bfd_vma, file_ptr));
66 file_ptr filepos;
145 (file_ptr) core_scnhdr.scnptr))
HDarchive64.c45 file_ptr arhdrpos; in bfd_elf64_archive_slurp_armap()
64 if (bfd_seek (abfd, (file_ptr) - 16, SEEK_CUR) != 0) in bfd_elf64_archive_slurp_armap()
155 file_ptr archive_member_file_ptr; in bfd_elf64_archive_write_armap()
HDppcboot.c95 PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
101 PARAMS ((bfd *, asection *, const PTR, file_ptr, bfd_size_type));
237 file_ptr offset;
240 if (bfd_seek (abfd, offset + (file_ptr) sizeof (ppcboot_hdr_t), SEEK_SET) != 0
365 file_ptr offset;
HDcoff-ia64.c78 file_ptr offset;
80 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0
HDarchive.c152 file_ptr ptr;
268 _bfd_look_for_bfd_in_cache (bfd *arch_bfd, file_ptr filepos) in _bfd_look_for_bfd_in_cache()
305 _bfd_add_bfd_to_archive_cache (bfd *arch_bfd, file_ptr filepos, bfd *new_elt) in _bfd_add_bfd_to_archive_cache()
499 _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos) in _bfd_get_elt_at_filepos()
585 file_ptr filestart; in bfd_generic_openr_next_archived_file()
912 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in bfd_slurp_armap()
963 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in bfd_slurp_bsd_armap_f2()
1063 if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0) in _bfd_slurp_extended_name_table()
1680 if (bfd_seek (arch, (file_ptr) 0, SEEK_SET) != 0) in _bfd_write_archive_contents()
1725 if (bfd_seek (current, (file_ptr) 0, SEEK_SET) != 0) in _bfd_write_archive_contents()
[all …]
/trueos/contrib/gcc/
HDmips-tfile.c1983 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_symint() local
1984 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_symint()
2002 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_rndx() local
2003 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_rndx()
2023 efdr_t *file_ptr = cur_file_ptr; in add_aux_sym_tir() local
2024 varray_t *vp = &file_ptr->aux_syms; in add_aux_sym_tir()
2294 efdr_t *file_ptr = cur_file_ptr; in add_procedure() local
2295 varray_t *vp = &file_ptr->procs; in add_procedure()
2340 new_proc_ptr->isym = file_ptr->symbols.num_allocated; in add_procedure()
2385 efdr_t *file_ptr; in add_file() local
[all …]

12345