Searched refs:offset (Results 26 - 50 of 3197) sorted by path

1234567891011>>

/freebsd-11-stable/contrib/apr/include/
H A Dapr_mmap.h74 /** The physical start, size and offset */
124 * @param offset The offset into the file to start the data pointer at.
134 apr_file_t *file, apr_off_t offset,
155 * Move the pointer into the mmap'ed file to the specified offset.
156 * @param addr The pointer to the offset specified.
158 * @param offset The offset to move to.
161 apr_off_t offset);
/freebsd-11-stable/contrib/apr/mmap/unix/
H A Dcommon.c34 apr_off_t offset)
36 if (offset < 0 || (apr_size_t)offset > mmap->size)
39 (*addr) = (char *) mmap->mm + offset;
H A Dmmap.c75 apr_file_t *file, apr_off_t offset,
91 if ((apr_int64_t)offset + size > INT_MAX)
103 /* XXX: mmap shouldn't really change the seek offset */
104 apr_file_seek(file, APR_SET, &offset);
133 mm = mmap(NULL, size, native_flags, MAP_SHARED, file->filedes, offset);
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsendrecv.c258 apr_hdtr_t *hdtr, apr_off_t *offset,
265 apr_off_t off = *offset;
273 if ((apr_int64_t)*offset + *len > INT_MAX) {
277 off = *offset;
280 off_t off = *offset;
381 /* If the file got smaller mid-request, eventually the offset
414 apr_hdtr_t *hdtr, apr_off_t *offset,
474 *offset, /* where in the file to start */
532 apr_hdtr_t * hdtr, apr_off_t * offset,
589 *offset, /* wher
257 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
413 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
531 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument
667 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
815 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument
977 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
[all...]
/freebsd-11-stable/contrib/apr/strings/
H A Dapr_strings.c236 APR_DECLARE(apr_status_t) apr_strtoff(apr_off_t *offset, const char *nptr,
240 *offset = APR_OFF_T_STRFN(nptr, endptr, base);
/freebsd-11-stable/contrib/binutils/bfd/
H A Daoutx.h1240 file_ptr offset,
1276 if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0
1955 Absolute symbols can come in in two ways, either as an offset
1969 really an offset from the abs section. */
2043 Absolute symbols can come in in two ways, either as an offset
2094 to give the true offset from the section. */
2614 /* Provided a BFD, a section and an offset into the section, calculate
2622 bfd_vma offset,
2655 offset, then we have probably not found the right line
2657 if (q->symbol.value <= offset
[all...]
H A Dbfd-in.h176 /* An offset into a file. BFD always uses the largest possible offset
321 bfd_vma offset; /* Offset into section. */
318 bfd_vma offset; /* Offset into section. */ member in union:lineno_cache_entry::__anon171
H A Dbfd-in2.h183 /* An offset into a file. BFD always uses the largest possible offset
328 bfd_vma offset; /* Offset into section. */
1007 file_ptr offset),
1232 It will be set if global offset table references were detected
1433 offset in *bytes* into the output section of the first byte in the
1724 file_ptr offset, bfd_size_type count);
1727 (bfd *abfd, asection *section, void *location, file_ptr offset,
2168 /* offset in section. */
2279 the value of the pc of the place being relocated in the offset
325 bfd_vma offset; /* Offset into section. */ member in union:lineno_cache_entry::__anon174
[all...]
H A Dbfd.c1615 int offset, const bfd_target *orig_target)
1622 *((bfd_vma *) ((char *) bed + offset)) = size;
1627 bfd_elf_set_pagesize (target->alternative_target, size, offset,
1611 bfd_elf_set_pagesize(const bfd_target *target, bfd_vma size, int offset, const bfd_target *orig_target) argument
H A Dbfdio.c53 real_fseek (FILE *file, file_ptr offset, int whence) argument
56 return fseeko64 (file, offset, whence);
58 return fseeko (file, offset, whence);
60 return fseek (file, offset, whence);
96 . {* Return the current IOSTREAM file offset, or -1 (setting <<bfd_error>>
101 . int (*bseek) (struct bfd *abfd, file_ptr offset, int whence);
354 /* An EINVAL error probably means that the file offset was
424 object I'm about to try read from file offset YYY reasonable?"
H A Dbfdwin.c111 file_ptr offset,
122 abfd, (long) offset, (long) size,
149 /* Find the real file and the real offset into it. */
152 offset += abfd->origin;
159 || abfd->iovec->bseek (abfd, offset, SEEK_SET) != 0))
164 offset2 = offset % pagesize;
167 file_offset = offset - offset2;
168 real_size = offset + size - file_offset;
196 fprintf (stderr, "\n\tmapped %ld at %p, offset is %ld\n",
236 if (bfd_seek (abfd, offset, SEEK_SE
110 bfd_get_file_window(bfd *abfd, file_ptr offset, bfd_size_type size, bfd_window *windowp, bfd_boolean writable) argument
[all...]
H A Dbinary.c115 file_ptr offset,
118 if (bfd_seek (abfd, offset, SEEK_SET) != 0
235 file_ptr offset,
283 (_("Warning: Writing section `%s' to huge (ie negative) file offset 0x%lx."),
299 return _bfd_generic_set_section_contents (abfd, sec, data, offset, size);
112 binary_get_section_contents(bfd *abfd, asection *section ATTRIBUTE_UNUSED, void * location, file_ptr offset, bfd_size_type count) argument
232 binary_set_section_contents(bfd *abfd, asection *sec, const void * data, file_ptr offset, bfd_size_type size) argument
H A Dbout.c346 /* Whoops, looked like an abs symbol, but is really an offset
498 /* A symbol holds a pointer to a section, and an offset from the
780 The reloc entry addend has added to it the offset into the
955 file_ptr offset,
970 if (bfd_seek (abfd, section->filepos + offset, SEEK_SET) != 0)
1057 reached with a 24bit offset instead of a 32 bit one.
950 b_out_set_section_contents(bfd *abfd, asection *section, const void * location, file_ptr offset, bfd_size_type count) argument
H A Dcache.c252 cache_bseek (struct bfd *abfd, file_ptr offset, int whence) argument
257 return real_fseek (f, offset, whence);
H A Dcoff-alpha.c201 /* A 32 bit GP relative offset. This is just like REFLONG except
219 register. The offset is 16 bits of the 32 bit instruction. This
240 address is in the byte offset register of a byte-manipulation
285 relative offset in the instruction. */
315 /* 16 bit PC relative offset. */
330 /* 32 bit PC relative offset. */
345 /* A 64 bit PC relative offset. */
691 /* The STORE reloc needs the size and offset fields. We store
892 bit offset from the current GP value. We must adjust it
1044 int offset, siz
1039 int offset, size; local
[all...]
H A Dcoff-ia64.c78 file_ptr offset; local
105 offset = H_GET_32 (abfd, dos_hdr.e_lfanew);
106 if (bfd_seek (abfd, offset, SEEK_SET) != 0
125 if (bfd_seek (abfd, offset - sizeof (dos_hdr), SEEK_SET) != 0)
H A Dcoff-ppc.c252 /* 26-bit PC-relative offset, shifted left 2 (branch relative) */
255 /* 16-bit PC-relative offset, shifted left 2 (br cond relative) */
258 /* 16-bit offset from TOC base */
261 /* 16-bit offset from TOC base, shifted left 2 (load doubleword) */
507 /* 26-bit PC-relative offset, shifted left 2 (branch relative) */
524 /* 16-bit PC-relative offset, shifted left 2 (br cond relative) */
543 /* 16-bit offset from TOC base */
560 /* 16-bit offset from TOC base, shifted left 2 (load doubleword) */
727 /* 16-bit offset from TOC base, without causing a definition */
818 int offset;
812 int offset; member in struct:list_ele
[all...]
H A Dcoff-rs6000.c1074 with file offset links, so it is possible to rapidly update an
1087 string which is the offset in the archive of that member. These
1096 a that many four byte binary numbers; each is the file offset of an
1758 do_shared_object_padding (out_bfd, in_bfd, offset, ar_header_size)
1761 file_ptr *offset;
1774 pad -= (*offset + ar_header_size) & (pad - 1);
1779 *offset += pad;
2993 case where this is a partial link and the output section offset
3264 the input file is the offset from the input file TOC to
3265 the desired location. We want the offset fro
[all...]
H A Dcoffcode.h206 list. It also marks each @code{offset} field in the list with
207 the offset from the first symbol of the current symbol.
248 . {* Remembers the offset from the first symbol in the file for
250 . unsigned int offset;
646 section VMA and the file offset match. If we don't know
1097 section VMA and the file offset match. If we don't know
2410 the @code{offset} field in the symbol table supplied. The
2412 address and the relocation offset; the type is dug directly
2523 part doesn't have a symbol; it has an offset. So rebuilt
3194 /* In demand paged files the low order bits of the file offset
4156 coff_set_section_contents(bfd * abfd, sec_ptr section, const void * location, file_ptr offset, bfd_size_type count) argument
[all...]
H A Dcoffgen.c692 s[i].offset = native_index++;
729 ((unsigned long) s->u.syment.n_value))->offset;
734 /* The value is the offset into the line number entries
750 a->u.auxent.x_sym.x_tagndx.p->offset;
756 a->u.auxent.x_sym.x_fcnary.x_fcn.x_endndx.p->offset;
762 a->u.auxent.x_csect.x_scnlen.p->offset;
1050 lineno[count].u.offset = *written;
1063 lineno[count].u.offset +=
1294 out.l_addr.l_symndx = l->u.offset;
1303 out.l_addr.l_symndx = l->u.offset;
2028 coff_find_nearest_line(bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset, const char **filename_ptr, const char **functionname_ptr, unsigned int *line_ptr) argument
[all...]
H A Dcofflink.c2120 bfd_vma offset;
2146 offset = o->output_section->vma + o->output_offset - o->vma;
2158 iline.l_addr.l_paddr += offset;
2187 field and makes it an offset from the start
2343 bfd_vma offset;
2347 offset = o->output_section->vma + o->output_offset - o->vma;
2360 irel->r_vaddr += offset;
2749 loc = link_order->offset * bfd_octets_per_byte (output_bfd);
2767 irel->r_vaddr = output_section->vma + link_order->offset;
2119 bfd_vma offset; local
2342 bfd_vma offset; local
H A Ddwarf1.c74 /* If any, the offset of the line number table in the .line section. */
445 bfd_vma offset,
455 unsigned long addr = (unsigned long)(offset + section->vma);
442 _bfd_dwarf1_find_nearest_line(bfd *abfd, asection *section, asymbol **symbols ATTRIBUTE_UNUSED, bfd_vma offset, const char **filename_ptr, const char **functionname_ptr, unsigned int *linenumber_ptr) argument
H A Ddwarf2.c184 /* The offset into .debug_line of the line number table. */
309 bfd_uint64_t offset; local
314 offset = read_4_bytes (unit->abfd, buf);
316 offset = read_8_bytes (unit->abfd, buf);
345 if (offset >= stash->dwarf_str_size)
347 (*_bfd_error_handler) (_("Dwarf Error: DW_FORM_strp offset (%lu) greater than or equal to .debug_str size (%lu)."),
348 (unsigned long) offset, stash->dwarf_str_size);
353 str = (char *) stash->dwarf_str_buffer + offset;
424 read_abbrevs (bfd *abfd, bfd_uint64_t offset, struct dwarf2_debug *stash) argument
453 if (offset >
1614 read_rangelist(struct comp_unit *unit, struct arange *arange, bfd_uint64_t offset) argument
2319 find_line(bfd *abfd, asection *section, bfd_vma offset, asymbol *symbol, asymbol **symbols, const char **filename_ptr, const char **functionname_ptr, unsigned int *linenumber_ptr, unsigned int addr_size, void **pinfo) argument
2597 _bfd_dwarf2_find_nearest_line(bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset, const char **filename_ptr, const char **functionname_ptr, unsigned int *linenumber_ptr, unsigned int addr_size, void **pinfo) argument
[all...]
H A Decoff.c1145 1st word is [ST_RFDESCAPE, offset] pointer to struct def;
1157 1st word is [ST_RFDESCAPE, offset] pointer to union def;
1169 1st word is [ST_RFDESCAPE, offset] pointer to enum def;
1469 asym.index is an offset from this. */
1699 /* Provided a BFD, a section and an offset into the section, calculate argument
1707 bfd_vma offset,
1732 return _bfd_ecoff_locate_line (abfd, section, offset, debug_info,
1897 file_ptr offset,
1901 offset, count);
2142 file_ptr offset,
1887 _bfd_ecoff_get_section_contents(bfd *abfd, asection *section, void * location, file_ptr offset, bfd_size_type count) argument
2132 _bfd_ecoff_set_section_contents(bfd *abfd, asection *section, const void * location, file_ptr offset, bfd_size_type count) argument
[all...]
H A Decofflink.c294 /* FDR index or string table offset. */
361 /* The offset within input_bfd. */
362 file_ptr offset;
412 add_file_shuffle (ainfo, head, tail, input_bfd, offset, size)
417 file_ptr offset;
425 && (*tail)->u.file.offset + (*tail)->size == (unsigned long) offset)
445 n->u.file.offset = offset;
1066 Return the offset fro
359 file_ptr offset; member in struct:shuffle::__anon190::__anon191
1928 bfd_vma offset; local
[all...]

Completed in 240 milliseconds

1234567891011>>