/freebsd-11-stable/lib/libc/gen/ |
H A D | sysctlnametomib.c | 43 sysctlnametomib(const char *name, int *mibp, size_t *sizep) argument 51 *sizep *= sizeof(int); 52 error = sysctl(oid, 2, mibp, sizep, name, strlen(name)); 53 *sizep /= sizeof(int);
|
/freebsd-11-stable/sbin/hastd/ |
H A D | hast_compression.h | 42 void **datap, size_t *sizep, bool *freedatap); 44 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_checksum.h | 42 void **datap, size_t *sizep, bool *freedatap); 44 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_compression.c | 74 hast_hole_compress(const unsigned char *data, size_t *sizep) argument 79 if (!allzeros(data, *sizep)) 85 (size_t)*sizep); 88 size = htole32((uint32_t)*sizep); 90 *sizep = sizeof(size); 96 hast_hole_decompress(const unsigned char *data, size_t *sizep) argument 101 if (*sizep != sizeof(size)) { 103 *sizep); 117 *sizep = size; 126 hast_lzf_compress(const unsigned char *data, size_t *sizep) argument 158 hast_lzf_decompress(const unsigned char *data, size_t *sizep) argument 205 compression_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap) argument 253 compression_recv(const struct hast_resource *res __unused, struct nv *nv, void **datap, size_t *sizep, bool *freedatap) argument [all...] |
H A D | hast_checksum.c | 96 size_t *sizep, bool *freedatap __unused) 105 hast_crc32_checksum(*datap, *sizep, hash, &hsize); 109 hast_sha256_checksum(*datap, *sizep, hash, &hsize); 126 void **datap, size_t *sizep, bool *freedatap __unused) 142 hast_crc32_checksum(*datap, *sizep, chash, &chsize); 145 hast_sha256_checksum(*datap, *sizep, chash, &chsize); 95 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument 125 checksum_recv(const struct hast_resource *res __unused, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument
|
H A D | nv.h | 112 const int8_t *nv_get_int8_array(struct nv *nv, size_t *sizep, 114 const uint8_t *nv_get_uint8_array(struct nv *nv, size_t *sizep, 116 const int16_t *nv_get_int16_array(struct nv *nv, size_t *sizep, 118 const uint16_t *nv_get_uint16_array(struct nv *nv, size_t *sizep, 120 const int32_t *nv_get_int32_array(struct nv *nv, size_t *sizep, 122 const uint32_t *nv_get_uint32_array(struct nv *nv, size_t *sizep, 124 const int64_t *nv_get_int64_array(struct nv *nv, size_t *sizep, 126 const uint64_t *nv_get_uint64_array(struct nv *nv, size_t *sizep,
|
H A D | ebuf.h | 50 void *ebuf_data(struct ebuf *eb, size_t *sizep);
|
/freebsd-11-stable/lib/libgeom/ |
H A D | geom_getxml.c | 57 size_t sizep; local 60 sizep = sizeof(mib) / sizeof(*mib); 61 if (sysctlnametomib("kern.geom.confxml", mib, &sizep) != 0) 63 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0) 71 if (sysctl(mib, sizep, p, &l, NULL, 0) == 0)
|
/freebsd-11-stable/sys/contrib/libnv/ |
H A D | dnvlist.c | 77 dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, 83 value = nvlist_get_binary(nvl, name, sizep); 85 if (sizep != NULL) 86 *sizep = defsize; 114 dnvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep, 120 value = nvlist_take_binary(nvl, name, sizep); 122 if (sizep != NULL) 123 *sizep = defsize;
|
H A D | cnvlist.c | 115 cnvlist_get_binary(const void *cookie, size_t *sizep) 120 return (nvpair_get_binary(cookie, sizep)); 180 cnvlist_take_binary(void *cookie, size_t *sizep) 188 value = (void *)(intptr_t)nvpair_get_binary(cookie, sizep);
|
/freebsd-11-stable/usr.bin/mkimg/ |
H A D | image.h | 34 int image_copyin(lba_t blk, int fd, uint64_t *sizep);
|
/freebsd-11-stable/contrib/groff/src/libs/libgroff/ |
H A D | string.cpp | 26 static char *salloc(int len, int *sizep); 28 static char *sfree_alloc(char *ptr, int size, int len, int *sizep); 29 static char *srealloc(char *ptr, int size, int oldlen, int newlen, int *sizep); 31 static char *salloc(int len, int *sizep) argument 34 *sizep = 0; 38 return new char[*sizep = len*2]; 46 static char *sfree_alloc(char *ptr, int oldsz, int len, int *sizep) argument 49 *sizep = oldsz; 54 *sizep = 0; 58 return new char[*sizep 61 srealloc(char *ptr, int oldsz, int oldlen, int newlen, int *sizep) argument [all...] |
/freebsd-11-stable/usr.bin/gcore/ |
H A D | elfcore.c | 138 static void *procstat_sysctl(void *, int, size_t, size_t *sizep); 347 elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep) argument 402 *sizep = size; 572 elf_note_prpsinfo(void *arg, size_t *sizep) argument 614 *sizep = sizeof(*psinfo); 619 elf_note_prstatus(void *arg, size_t *sizep) argument 638 *sizep = sizeof(*status); 643 elf_note_fpregset(void *arg, size_t *sizep) argument 656 *sizep = sizeof(*fpregset); 661 elf_note_thrmisc(void *arg, size_t *sizep) argument 681 elf_note_ptlwpinfo(void *arg, size_t *sizep) argument 703 elf_note_arm_vfp(void *arg, size_t *sizep) argument 728 elf_note_x86_xstate(void *arg, size_t *sizep) argument 756 elf_note_powerpc_vmx(void *arg, size_t *sizep) argument 781 procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep) argument 810 elf_note_procstat_proc(void *arg, size_t *sizep) argument 818 elf_note_procstat_files(void *arg, size_t *sizep) argument 826 elf_note_procstat_vmmap(void *arg, size_t *sizep) argument 834 elf_note_procstat_groups(void *arg, size_t *sizep) argument 841 elf_note_procstat_umask(void *arg, size_t *sizep) argument 848 elf_note_procstat_osrel(void *arg, size_t *sizep) argument 855 elf_note_procstat_psstrings(void *arg, size_t *sizep) argument 863 elf_note_procstat_auxv(void *arg, size_t *sizep) argument 871 elf_note_procstat_rlimit(void *arg, size_t *sizep) argument [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | open_memstream.c | 49 size_t *sizep; member in struct:memstream 86 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset; 174 open_memstream(char **bufp, size_t *sizep) argument 180 if (bufp == NULL || sizep == NULL) { 196 ms->sizep = sizep;
|
H A D | open_wmemstream.c | 49 size_t *sizep; member in struct:wmemstream 87 *ms->sizep = ms->len < ms->offset ? ms->len : ms->offset; 235 open_wmemstream(wchar_t **bufp, size_t *sizep) argument 241 if (bufp == NULL || sizep == NULL) { 257 ms->sizep = sizep;
|
/freebsd-11-stable/lib/libc/xdr/ |
H A D | xdr_array.c | 61 * *addrp is a pointer to the array, *sizep is the number of elements. 62 * If addrp is NULL (*sizep * elsize) bytes are allocated. 67 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument 71 * u_int *sizep; // number of elements 84 if (!xdr_u_int(xdrs, sizep)) { 87 c = *sizep;
|
/freebsd-11-stable/sys/xdr/ |
H A D | xdr_array.c | 58 * *addrp is a pointer to the array, *sizep is the number of elements. 59 * If addrp is NULL (*sizep * elsize) bytes are allocated. 66 u_int *sizep, /* number of elements */ 78 if (!xdr_u_int(xdrs, sizep)) { 81 c = *sizep; 64 xdr_array(XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc) argument
|
/freebsd-11-stable/sys/sys/ |
H A D | dnv.h | 66 const void *dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, const void *defval, size_t defsize); 81 void *dnvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep, void *defval, size_t defsize);
|
H A D | cnv.h | 66 const void *cnvlist_get_binary(const void *cookie, size_t *sizep); 87 void *cnvlist_take_binary(void *cookie, size_t *sizep);
|
/freebsd-11-stable/sys/dev/dpaa/ |
H A D | bman_fdt.c | 113 get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep) argument 117 *sizep = 1; 119 OF_getencprop(node, "#size-cells", sizep, sizeof(*sizep));
|
H A D | qman_fdt.c | 113 get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep) argument 117 *sizep = 1; 119 OF_getencprop(node, "#size-cells", sizep, sizeof(*sizep));
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | dmu_send.h | 52 boolean_t stream_compressed, uint64_t *sizep); 54 boolean_t stream_compressed, uint64_t *sizep);
|
/freebsd-11-stable/sys/kern/ |
H A D | imgact_elf.c | 1364 size_t *sizep; local 1366 sizep = (size_t *)arg; 1367 *sizep += len; 1633 size_t *sizep) 1688 *sizep = size; 1897 __elfN(note_prpsinfo)(void *arg, struct sbuf *sb, size_t *sizep) argument 1908 KASSERT(*sizep == sizeof(*psinfo), ("invalid size")); 1954 *sizep = sizeof(*psinfo); 1958 __elfN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) argument 1965 KASSERT(*sizep 1632 prepare_notes(struct thread *td, struct note_info_list *list, size_t *sizep) argument 1986 note_fpregset(void *arg, struct sbuf *sb, size_t *sizep) argument 2007 note_thrmisc(void *arg, struct sbuf *sb, size_t *sizep) argument 2023 note_ptlwpinfo(void *arg, struct sbuf *sb, size_t *sizep) argument 2066 note_threadmd(void *arg, struct sbuf *sb, size_t *sizep) argument 2092 note_procstat_proc(void *arg, struct sbuf *sb, size_t *sizep) argument 2119 note_procstat_files(void *arg, struct sbuf *sb, size_t *sizep) argument 2171 note_procstat_vmmap(void *arg, struct sbuf *sb, size_t *sizep) argument 2203 note_procstat_groups(void *arg, struct sbuf *sb, size_t *sizep) argument 2222 note_procstat_umask(void *arg, struct sbuf *sb, size_t *sizep) argument 2240 note_procstat_rlimit(void *arg, struct sbuf *sb, size_t *sizep) argument 2263 note_procstat_osrel(void *arg, struct sbuf *sb, size_t *sizep) argument 2281 note_procstat_psstrings(void *arg, struct sbuf *sb, size_t *sizep) argument 2305 note_procstat_auxv(void *arg, struct sbuf *sb, size_t *sizep) argument [all...] |
/freebsd-11-stable/sys/dev/ofw/ |
H A D | ofw_subr.c | 46 get_addr_props(phandle_t node, uint32_t *addrp, uint32_t *sizep, int *pcip) argument 68 if (sizep != NULL) 69 *sizep = size;
|
/freebsd-11-stable/stand/common/ |
H A D | part.h | 75 int ptable_getsize(const struct ptable *table, uint64_t *sizep);
|