Home
last modified time | relevance | path

Searched refs:get32 (Results 1 – 17 of 17) sorted by relevance

/netbsd/src/external/bsd/libpcap/dist/
Dpcap-rpcap-unix.c95 get32(const unsigned char *buf) in get32() function
162 pkt_len = get32(&hdr[4]); in rpcap_recv_pkt()
319 p->linktype = get32(&reply_buf[0]); in rpcap_send_request_open()
321 p->tzoff = get32(&reply_buf[4]); in rpcap_send_request_open()
371 get32(&reply_buf[0]); in rpcap_send_request_start()
434 stats->ps_recv = get32(&reply_buf[0]); in rpcap_stats_common()
435 stats->ps_ifdrop = get32(&reply_buf[4]); in rpcap_stats_common()
436 stats->ps_drop = get32(&reply_buf[8]); in rpcap_stats_common()
515 pkth.ts.tv_sec = get32(&buf[0]); in rpcap_read_unix()
516 pkth.ts.tv_usec = get32(&buf[4]); in rpcap_read_unix()
[all …]
/netbsd/src/sys/lib/libunwind/
DAddressSpace.hpp83 uint32_t get32(pint_t addr) { in get32() function in _Unwind::LocalAddressSpace
97 return get32(addr); in getP()
176 result = get32(addr); in getEncodedP()
194 result = (int32_t)get32(addr); in getEncodedP()
268 pint_t nextPC = base + (int32_t)get32(next); in findFDE()
280 fdeStart = base + (int32_t)get32(first + 4); in findFDE()
395 n->first_pc = header + (int32_t)get32(n->hdr_start); in addDSO()
398 *this, header + (int32_t)get32(n->hdr_start + (entries - 1) * 8 + 4), in addDSO()
DDwarfParser.hpp116 uint64_t cfiLength = addressSpace.get32(p); in findPCRange()
125 uint32_t ciePointer = addressSpace.get32(p); in findPCRange()
148 uint64_t cfiLength = addressSpace.get32(p); in decodeFDE()
157 uint32_t ciePointer = addressSpace.get32(p); in decodeFDE()
212 uint64_t cieLength = addressSpace.get32(p); in parseCIE()
224 if (addressSpace.get32(p) != 0) in parseCIE()
341 codeOffset += (addressSpace.get32(p) * cieInfo.codeAlignFactor); in parseInstructions()
DDwarfInstructions.hpp228 value = addressSpace.get32(p); in evaluateExpression()
235 svalue = (int32_t)addressSpace.get32(p); in evaluateExpression()
562 value = addressSpace.get32(value); in evaluateExpression()
/netbsd/src/lib/libc/citrus/
Dcitrus_csmapper.c73 get32(struct _region *r, uint32_t *rval) in get32() function
134 ret = get32(&r2, &val32); in find_best_pivot_pvdb()
148 ret = get32(&r2, &val32); in find_best_pivot_pvdb()
/netbsd/src/sys/dev/stbi/
Dstb_image.c946 static uint32 get32(stbi *s) in get32() function
2665 c.length = get32(s); in get_chunk_header()
2666 c.type = get32(s); in get_chunk_header()
2980 …s->img_x = get32(s); if (s->img_x > (1 << 24)) return e("too large","Very large image (corrupt?)"); in parse_png_file()
2981 …s->img_y = get32(s); if (s->img_y > (1 << 24)) return e("too large","Very large image (corrupt?)"); in parse_png_file()
3101 get32(s); in parse_png_file()
3858 if (get32(s) != 0x38425053) return 0; // "8BPS" in psd_test()
3890 if (get32(s) != 0x38425053) // "8BPS" in psd_load()
3906 h = get32(s); in psd_load()
3907 w = get32(s); in psd_load()
[all …]
/netbsd/src/external/gpl3/gdb/dist/bfd/
Dmach-o.c3456 bfd_vma (*get32) (const void *) = NULL; in bfd_mach_o_read_header() local
3468 get32 = bfd_getb32; in bfd_mach_o_read_header()
3475 get32 = bfd_getl32; in bfd_mach_o_read_header()
3482 get32 = bfd_getb32; in bfd_mach_o_read_header()
3489 get32 = bfd_getl32; in bfd_mach_o_read_header()
3505 header->cputype = (*get32) (raw.cputype); in bfd_mach_o_read_header()
3506 header->cpusubtype = (*get32) (raw.cpusubtype); in bfd_mach_o_read_header()
3507 header->filetype = (*get32) (raw.filetype); in bfd_mach_o_read_header()
3508 header->ncmds = (*get32) (raw.ncmds); in bfd_mach_o_read_header()
3509 header->sizeofcmds = (*get32) (raw.sizeofcmds); in bfd_mach_o_read_header()
[all …]
DChangeLog-20044375 * mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dmach-o.c3456 bfd_vma (*get32) (const void *) = NULL; in bfd_mach_o_read_header() local
3468 get32 = bfd_getb32; in bfd_mach_o_read_header()
3475 get32 = bfd_getl32; in bfd_mach_o_read_header()
3482 get32 = bfd_getb32; in bfd_mach_o_read_header()
3489 get32 = bfd_getl32; in bfd_mach_o_read_header()
3505 header->cputype = (*get32) (raw.cputype); in bfd_mach_o_read_header()
3506 header->cpusubtype = (*get32) (raw.cpusubtype); in bfd_mach_o_read_header()
3507 header->filetype = (*get32) (raw.filetype); in bfd_mach_o_read_header()
3508 header->ncmds = (*get32) (raw.ncmds); in bfd_mach_o_read_header()
3509 header->sizeofcmds = (*get32) (raw.sizeofcmds); in bfd_mach_o_read_header()
[all …]
DChangeLog-20044375 * mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
/netbsd/src/external/gpl3/gdb/dist/opcodes/
Di386-dis.c11650 get32 (instr_info *ins, bfd_vma *res) in get32() function
11664 if (!get32 (ins, res)) in get32s()
12435 if (!get32 (ins, &op)) in OP_I()
12604 if (!get32 (ins, &offset)) in OP_DIR()
12633 if (!get32 (ins, &off)) in OP_OFF()
DChangeLog-00011205 (get64, get32, get32s): New functions.
1227 (get32): Return bfd_signed_vma type.
DChangeLog-2020572 (get32, get32s): Use unsigned types in shift expressions.
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Di386-dis.c11557 get32 (instr_info *ins, bfd_vma *res) in get32() function
11571 if (!get32 (ins, res)) in get32s()
12342 if (!get32 (ins, &op)) in OP_I()
12511 if (!get32 (ins, &offset)) in OP_DIR()
12540 if (!get32 (ins, &off)) in OP_OFF()
DChangeLog-00011205 (get64, get32, get32s): New functions.
1227 (get32): Return bfd_signed_vma type.
DChangeLog-2020572 (get32, get32s): Use unsigned types in shift expressions.
/netbsd/src/external/gpl3/binutils/dist/
DChangeLog.git125617 (get32, get32s): Don't use bfd_signed_vma here.