Searched refs:sizep (Results 1 - 25 of 92) sorted by relevance

1234

/freebsd-11-stable/lib/libc/gen/
H A Dsysctlnametomib.c43 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 Dhast_compression.h42 void **datap, size_t *sizep, bool *freedatap);
44 void **datap, size_t *sizep, bool *freedatap);
H A Dhast_checksum.h42 void **datap, size_t *sizep, bool *freedatap);
44 void **datap, size_t *sizep, bool *freedatap);
H A Dhast_compression.c74 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 Dhast_checksum.c96 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 Dnv.h112 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 Debuf.h50 void *ebuf_data(struct ebuf *eb, size_t *sizep);
/freebsd-11-stable/lib/libgeom/
H A Dgeom_getxml.c57 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 Ddnvlist.c77 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 Dcnvlist.c115 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 Dimage.h34 int image_copyin(lba_t blk, int fd, uint64_t *sizep);
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dstring.cpp26 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 Delfcore.c138 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 Dopen_memstream.c49 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 Dopen_wmemstream.c49 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 Dxdr_array.c61 * *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 Dxdr_array.c58 * *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 Ddnv.h66 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 Dcnv.h66 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 Dbman_fdt.c113 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 Dqman_fdt.c113 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 Ddmu_send.h52 boolean_t stream_compressed, uint64_t *sizep);
54 boolean_t stream_compressed, uint64_t *sizep);
/freebsd-11-stable/sys/kern/
H A Dimgact_elf.c1364 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 Dofw_subr.c46 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 Dpart.h75 int ptable_getsize(const struct ptable *table, uint64_t *sizep);

Completed in 183 milliseconds

1234