Home
last modified time | relevance | path

Searched refs:headersz (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-archive.c42 static void *arc_mmap_header (int fd, size_t headersz);
44 static int arc_mmap_writeout (int fd, void *header, size_t headersz,
46 static int arc_mmap_unmap (void *header, size_t headersz, const char **errmsg);
66 size_t headersz; in ctf_arc_write_fd() local
81 headersz = sizeof (struct ctf_archive) in ctf_arc_write_fd()
83 ctf_dprintf ("headersz is %lu\n", (unsigned long) headersz); in ctf_arc_write_fd()
88 ctf_startoffs = headersz; in ctf_arc_write_fd()
101 if ((archdr = arc_mmap_header (fd, headersz)) == NULL) in ctf_arc_write_fd()
199 if (arc_mmap_writeout (fd, archdr, headersz, &errmsg) < 0) in ctf_arc_write_fd()
201 if (arc_mmap_unmap (archdr, headersz, &errmsg) < 0) in ctf_arc_write_fd()
[all …]
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-archive.c42 static void *arc_mmap_header (int fd, size_t headersz);
44 static int arc_mmap_writeout (int fd, void *header, size_t headersz,
46 static int arc_mmap_unmap (void *header, size_t headersz, const char **errmsg);
66 size_t headersz; in ctf_arc_write_fd() local
81 headersz = sizeof (struct ctf_archive) in ctf_arc_write_fd()
83 ctf_dprintf ("headersz is %lu\n", (unsigned long) headersz); in ctf_arc_write_fd()
88 ctf_startoffs = headersz; in ctf_arc_write_fd()
101 if ((archdr = arc_mmap_header (fd, headersz)) == NULL) in ctf_arc_write_fd()
199 if (arc_mmap_writeout (fd, archdr, headersz, &errmsg) < 0) in ctf_arc_write_fd()
201 if (arc_mmap_unmap (archdr, headersz, &errmsg) < 0) in ctf_arc_write_fd()
[all …]
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dcrypto.c1450 size_t sz, headersz, block_sz, pad_sz, len; in iov_pad_validate() local
1454 headersz = et->confoundersize; in iov_pad_validate()
1456 sz = headersz + len; in iov_pad_validate()
1511 size_t headersz, trailersz; in krb5_encrypt_iov_ivec() local
1532 headersz = et->confoundersize; in krb5_encrypt_iov_ivec()
1537 if (hiv == NULL || hiv->data.length != headersz) in krb5_encrypt_iov_ivec()