Home
last modified time | relevance | path

Searched refs:offsetp (Results 1 – 25 of 54) sorted by relevance

123

/netbsd-src/external/bsd/elftoolchain/dist/libdwarf/
H A Dlibdwarf_rw.c36 _dwarf_read_lsb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_lsb() argument
41 src = data + *offsetp; in _dwarf_read_lsb()
65 *offsetp += bytes_to_read; in _dwarf_read_lsb()
106 _dwarf_read_msb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_msb() argument
111 src = data + *offsetp; in _dwarf_read_msb()
138 *offsetp += bytes_to_read; in _dwarf_read_msb()
183 _dwarf_write_lsb(uint8_t *data, uint64_t *offsetp, uint64_t value, in _dwarf_write_lsb() argument
188 dst = data + *offsetp; in _dwarf_write_lsb()
211 *offsetp += bytes_to_write; in _dwarf_write_lsb()
215 _dwarf_write_lsb_alloc(uint8_t **block, uint64_t *size, uint64_t *offsetp, in _dwarf_write_lsb_alloc() argument
[all …]
H A Dlibdwarf_attr.c101 _dwarf_attr_init(Dwarf_Debug dbg, Dwarf_Section *ds, uint64_t *offsetp, in _dwarf_attr_init() argument
111 atref.at_offset = *offsetp; in _dwarf_attr_init()
119 atref.u[0].u64 = dbg->read(ds->ds_data, offsetp, in _dwarf_attr_init()
124 atref.u[0].u64 = _dwarf_read_uleb128(ds->ds_data, offsetp); in _dwarf_attr_init()
125 atref.u[1].u8p = _dwarf_read_block(ds->ds_data, offsetp, in _dwarf_attr_init()
129 atref.u[0].u64 = dbg->read(ds->ds_data, offsetp, 1); in _dwarf_attr_init()
130 atref.u[1].u8p = _dwarf_read_block(ds->ds_data, offsetp, in _dwarf_attr_init()
134 atref.u[0].u64 = dbg->read(ds->ds_data, offsetp, 2); in _dwarf_attr_init()
135 atref.u[1].u8p = _dwarf_read_block(ds->ds_data, offsetp, in _dwarf_attr_init()
139 atref.u[0].u64 = dbg->read(ds->ds_data, offsetp, 4); in _dwarf_attr_init()
[all …]
H A Dlibdwarf_lineno.c275 uint8_t *data, uint64_t *offsetp, Dwarf_Error *error) in _dwarf_lineno_parse_lnct_desc() argument
289 (*lnct)[i].type = _dwarf_read_uleb128(data, offsetp); in _dwarf_lineno_parse_lnct_desc()
290 (*lnct)[i].form = _dwarf_read_uleb128(data, offsetp); in _dwarf_lineno_parse_lnct_desc()
298 uint8_t *data, uint64_t size, uint64_t *offsetp, int dwarf_size, in _dwarf_lineno_lnct_path() argument
308 *fname = _dwarf_read_string(data, size, offsetp); in _dwarf_lineno_lnct_path()
311 sp = dbg->read(data, offsetp, dwarf_size); in _dwarf_lineno_lnct_path()
315 sp = dbg->read(data, offsetp, dwarf_size); in _dwarf_lineno_lnct_path()
319 sp = dbg->read(data, offsetp, dwarf_size); in _dwarf_lineno_lnct_path()
333 unsigned form, uint8_t *data, uint64_t *offsetp, Dwarf_Error *error) in _dwarf_lineno_lnct_dirndx() argument
341 *dirndx = dbg->read(data, offsetp, 1); in _dwarf_lineno_lnct_dirndx()
[all …]
H A Dlibdwarf_frame.c56 uint8_t *data, uint64_t *offsetp, uint8_t encode, Dwarf_Addr pc, in _dwarf_frame_read_lsb_encoded() argument
69 *val = dbg->read(data, offsetp, cie->cie_addrsize); in _dwarf_frame_read_lsb_encoded()
72 *val = _dwarf_read_uleb128(data, offsetp); in _dwarf_frame_read_lsb_encoded()
75 *val = dbg->read(data, offsetp, 2); in _dwarf_frame_read_lsb_encoded()
78 *val = dbg->read(data, offsetp, 4); in _dwarf_frame_read_lsb_encoded()
81 *val = dbg->read(data, offsetp, 8); in _dwarf_frame_read_lsb_encoded()
84 *val = _dwarf_read_sleb128(data, offsetp); in _dwarf_frame_read_lsb_encoded()
87 *val = (int16_t) dbg->read(data, offsetp, 2); in _dwarf_frame_read_lsb_encoded()
90 *val = (int32_t) dbg->read(data, offsetp, 4); in _dwarf_frame_read_lsb_encoded()
93 *val = dbg->read(data, offsetp, 8); in _dwarf_frame_read_lsb_encoded()
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dcommon.cpp410 double *offsetp) in dash_arc() argument
415 if (*offsetp >= dash_width) { in dash_arc()
416 double rem = dash_width + gap_width - *offsetp; in dash_arc()
418 *offsetp += length - pos; in dash_arc()
423 *offsetp = 0.0; in dash_arc()
427 double rem = dash_width - *offsetp; in dash_arc()
430 *offsetp += length - pos; in dash_arc()
437 *offsetp = dash_width; in dash_arc()
448 double *offsetp) in dash_line() argument
456 if (*offsetp >= dash_width) { in dash_line()
[all …]
H A Dcommon.h28 double *offsetp);
31 double dash_width, double gap_width, double *offsetp);
33 const line_type &lt, double gap_width, double *offsetp);
36 double gap_width, double *offsetp);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/
H A Dstdio.c62 isc_stdio_tell(FILE *f, off_t *offsetp) { in isc_stdio_tell() argument
65 REQUIRE(offsetp != NULL); in isc_stdio_tell()
69 *offsetp = r; in isc_stdio_tell()
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dstdio.c62 isc_stdio_tell(FILE *f, off_t *offsetp) { in isc_stdio_tell() argument
65 REQUIRE(offsetp != NULL); in isc_stdio_tell()
69 *offsetp = r; in isc_stdio_tell()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshbuf-misc.c252 const void *s, size_t len, size_t *offsetp) in sshbuf_find() argument
256 if (offsetp != NULL) in sshbuf_find()
257 *offsetp = 0; in sshbuf_find()
267 if (offsetp != NULL) in sshbuf_find()
268 *offsetp = (const u_char *)p - sshbuf_ptr(b); in sshbuf_find()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/
H A Dbacktrace.c275 unsigned long *offsetp) { in isc_backtrace_getsymbol() argument
283 if (symbolp == NULL || *symbolp != NULL || offsetp == NULL) { in isc_backtrace_getsymbol()
301 *offsetp = (unsigned long)((const char *)addr - in isc_backtrace_getsymbol()
/netbsd-src/lib/libc/stdlib/
H A D_env.c91 extern char *__findenv(const char *name, int *offsetp);
343 __findenv(const char *name, int *offsetp) in __findenv() argument
356 *offsetp = (int)offset; in __findenv()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dtic6x-dis.c1335 char offsetp[6]; in print_insn_tic6x() local
1379 snprintf (offsetp, 6, "[%s]", offset); in print_insn_tic6x()
1381 snprintf (offsetp, 6, "(%s)", offset); in print_insn_tic6x()
1387 snprintf (operands[op_num], 24, "*-%s%s", base, offsetp); in print_insn_tic6x()
1391 snprintf (operands[op_num], 24, "*+%s%s", base, offsetp); in print_insn_tic6x()
1401 offsetp); in print_insn_tic6x()
1406 offsetp); in print_insn_tic6x()
1411 offsetp); in print_insn_tic6x()
1416 offsetp); in print_insn_tic6x()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dtic6x-dis.c1335 char offsetp[6]; in print_insn_tic6x() local
1379 snprintf (offsetp, 6, "[%s]", offset); in print_insn_tic6x()
1381 snprintf (offsetp, 6, "(%s)", offset); in print_insn_tic6x()
1387 snprintf (operands[op_num], 24, "*-%s%s", base, offsetp); in print_insn_tic6x()
1391 snprintf (operands[op_num], 24, "*+%s%s", base, offsetp); in print_insn_tic6x()
1401 offsetp); in print_insn_tic6x()
1406 offsetp); in print_insn_tic6x()
1411 offsetp); in print_insn_tic6x()
1416 offsetp); in print_insn_tic6x()
/netbsd-src/sys/dev/pcmcia/
H A Dpcmciachip.h105 offsetp, windowp) \ argument
107 (offsetp), (windowp)))
H A Dpcmciavar.h320 #define pcmcia_mem_map(pf, kind, card_addr, size, pcmhp, offsetp, windowp) \ argument
322 (card_addr), (size), (pcmhp), (offsetp), (windowp)))
/netbsd-src/sys/arch/arm/imx/
H A Dimx_pcic.c142 bus_size_t size, struct pcmcia_mem_handle *pmh, bus_size_t *offsetp, in imx_pcic_mem_map() argument
151 *offsetp = card_addr - pa; in imx_pcic_mem_map()
152 printf("%s: offset %lx\n", __func__, *offsetp); in imx_pcic_mem_map()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dbacktrace.h108 unsigned long *offsetp);
H A Dstdio.h51 isc_stdio_tell(FILE *f, off_t *offsetp);
/netbsd-src/sys/arch/atari/atari/
H A Ddisksubr.c197 u_int blkno, u_int *offsetp) in bsd_label() argument
235 if (offsetp != NULL) in bsd_label()
236 *offsetp = (char *)dl - (char *)bb; in bsd_label()
/netbsd-src/external/mpl/bind/dist/lib/isc/include/isc/
H A Dstdio.h50 isc_stdio_tell(FILE *f, off_t *offsetp);
/netbsd-src/sys/arch/hpcsh/dev/hd64465/
H A Dhd64465pcmcia.c533 bus_size_t *offsetp, int *windowp) in hd64465pcmcia_chip_mem_map() argument
550 *offsetp = card_addr; in hd64465pcmcia_chip_mem_map()
564 *offsetp = ofs + 0x01000000; /* skip attribute area */ in hd64465pcmcia_chip_mem_map()
571 "attribute" : "common", ch->ch_memh, card_addr, *offsetp, size); in hd64465pcmcia_chip_mem_map()
/netbsd-src/sys/arch/hpcmips/dev/
H A Dplumpcmcia.c397 bus_size_t *offsetp, int *windowp) in plumpcmcia_chip_mem_map() argument
418 *offsetp = card_addr % PLUM_PCMCIA_MEM_PAGESIZE; in plumpcmcia_chip_mem_map()
419 card_addr -= *offsetp; in plumpcmcia_chip_mem_map()
420 size += *offsetp - 1; in plumpcmcia_chip_mem_map()
426 (unsigned)busaddr, (unsigned)pcmhp->memh, (unsigned)*offsetp, in plumpcmcia_chip_mem_map()
/netbsd-src/sys/arch/arm/sa11x0/
H A Dsa11xx_pcic.c242 bus_size_t size, struct pcmcia_mem_handle *pmh, bus_addr_t *offsetp, in sapcic_mem_map() argument
250 *offsetp = card_addr - pa; in sapcic_mem_map()
/netbsd-src/sys/dev/ic/
H A Dtcic2.c862 …r_t card_addr, bus_size_t size, struct pcmcia_mem_handle *pcmhp, bus_size_t *offsetp, int *windowp) in tcic_chip_mem_map() argument
897 *offsetp = card_addr % TCIC_MEM_ALIGN; in tcic_chip_mem_map()
898 card_addr -= *offsetp; in tcic_chip_mem_map()
901 "%lx\n", win, (u_long) busaddr, (u_long) * offsetp, (u_long) size, in tcic_chip_mem_map()
909 size += *offsetp - 1; in tcic_chip_mem_map()
H A Di82365.c969 bus_size_t size, struct pcmcia_mem_handle *pcmhp, bus_size_t *offsetp, in pcic_chip_mem_map() argument
1009 *offsetp = card_addr % PCIC_MEM_ALIGN; in pcic_chip_mem_map()
1010 card_addr -= *offsetp; in pcic_chip_mem_map()
1013 "%lx\n", win, (u_long) busaddr, (u_long) * offsetp, (u_long) size, in pcic_chip_mem_map()
1020 size += *offsetp - 1; in pcic_chip_mem_map()

123