/freebsd-10-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-10-stable/lib/libgeom/ |
H A D | geom_getxml.c | 44 size_t sizep; local 46 sizep = sizeof(mib) / sizeof(*mib); 47 if (sysctlnametomib("kern.geom.confxml", mib, &sizep) != 0) 49 if (sysctl(mib, sizep, NULL, &l, NULL, 0) != 0) 55 if (sysctl(mib, sizep, p, &l, NULL, 0) != 0) {
|
/freebsd-10-stable/sbin/hastd/ |
H A D | hast_checksum.h | 40 void **datap, size_t *sizep, bool *freedatap); 42 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_compression.h | 40 void **datap, size_t *sizep, bool *freedatap); 42 void **datap, size_t *sizep, bool *freedatap);
|
H A D | hast_compression.c | 72 hast_hole_compress(const unsigned char *data, size_t *sizep) argument 77 if (!allzeros(data, *sizep)) 83 (size_t)*sizep); 86 size = htole32((uint32_t)*sizep); 88 *sizep = sizeof(size); 94 hast_hole_decompress(const unsigned char *data, size_t *sizep) argument 99 if (*sizep != sizeof(size)) { 101 *sizep); 115 *sizep = size; 124 hast_lzf_compress(const unsigned char *data, size_t *sizep) argument 156 hast_lzf_decompress(const unsigned char *data, size_t *sizep) argument 203 compression_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap) argument 251 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 | 94 size_t *sizep, bool *freedatap __unused) 103 hast_crc32_checksum(*datap, *sizep, hash, &hsize); 107 hast_sha256_checksum(*datap, *sizep, hash, &hsize); 124 void **datap, size_t *sizep, bool *freedatap __unused) 140 hast_crc32_checksum(*datap, *sizep, chash, &chsize); 143 hast_sha256_checksum(*datap, *sizep, chash, &chsize); 93 checksum_send(const struct hast_resource *res, struct nv *nv, void **datap, size_t *sizep, bool *freedatap __unused) argument 123 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 | 110 const int8_t *nv_get_int8_array(struct nv *nv, size_t *sizep, 112 const uint8_t *nv_get_uint8_array(struct nv *nv, size_t *sizep, 114 const int16_t *nv_get_int16_array(struct nv *nv, size_t *sizep, 116 const uint16_t *nv_get_uint16_array(struct nv *nv, size_t *sizep, 118 const int32_t *nv_get_int32_array(struct nv *nv, size_t *sizep, 120 const uint32_t *nv_get_uint32_array(struct nv *nv, size_t *sizep, 122 const int64_t *nv_get_int64_array(struct nv *nv, size_t *sizep, 124 const uint64_t *nv_get_uint64_array(struct nv *nv, size_t *sizep,
|
H A D | ebuf.h | 48 void *ebuf_data(struct ebuf *eb, size_t *sizep);
|
H A D | activemap.h | 57 const unsigned char *activemap_bitmap(struct activemap *amp, size_t *sizep);
|
/freebsd-10-stable/sys/kern/ |
H A D | subr_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 | imgact_elf.c | 1273 size_t *sizep; local 1275 sizep = (size_t *)arg; 1276 *sizep += len; 1549 size_t *sizep) 1602 *sizep = size; 1810 __elfN(note_prpsinfo)(void *arg, struct sbuf *sb, size_t *sizep) argument 1821 KASSERT(*sizep == sizeof(*psinfo), ("invalid size")); 1867 *sizep = sizeof(*psinfo); 1871 __elfN(note_prstatus)(void *arg, struct sbuf *sb, size_t *sizep) argument 1878 KASSERT(*sizep 1548 prepare_notes(struct thread *td, struct note_info_list *list, size_t *sizep) argument 1899 note_fpregset(void *arg, struct sbuf *sb, size_t *sizep) argument 1920 note_thrmisc(void *arg, struct sbuf *sb, size_t *sizep) argument 1940 note_threadmd(void *arg, struct sbuf *sb, size_t *sizep) argument 1966 note_procstat_proc(void *arg, struct sbuf *sb, size_t *sizep) argument 1991 note_procstat_files(void *arg, struct sbuf *sb, size_t *sizep) argument 2043 note_procstat_vmmap(void *arg, struct sbuf *sb, size_t *sizep) argument 2075 note_procstat_groups(void *arg, struct sbuf *sb, size_t *sizep) argument 2094 note_procstat_umask(void *arg, struct sbuf *sb, size_t *sizep) argument 2112 note_procstat_rlimit(void *arg, struct sbuf *sb, size_t *sizep) argument 2135 note_procstat_osrel(void *arg, struct sbuf *sb, size_t *sizep) argument 2153 note_procstat_psstrings(void *arg, struct sbuf *sb, size_t *sizep) argument 2177 note_procstat_auxv(void *arg, struct sbuf *sb, size_t *sizep) argument [all...] |
H A D | vfs_extattr.c | 328 size_t size, *sizep; local 339 sizep = NULL; 358 sizep = &size; 367 error = VOP_GETEXTATTR(vp, attrnamespace, attrname, auiop, sizep, 634 size_t size, *sizep; local 642 sizep = NULL; 661 sizep = &size; 669 error = VOP_LISTEXTATTR(vp, attrnamespace, auiop, sizep,
|
/freebsd-10-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(xdrs, addrp, sizep, maxsize, elsize, elproc) 70 u_int *sizep; /* number of elements */ 82 if (!xdr_u_int(xdrs, sizep)) { 85 c = *sizep;
|
/freebsd-10-stable/usr.bin/mkimg/ |
H A D | image.h | 34 int image_copyin(lba_t blk, int fd, uint64_t *sizep);
|
H A D | image.c | 330 image_copyin_stream(lba_t blk, int fd, uint64_t *sizep) argument 372 if (sizep != NULL) 373 *sizep = bytesize; 378 image_copyin_mapped(lba_t blk, int fd, uint64_t *sizep) argument 393 return (image_copyin_stream(blk, fd, sizep)); 465 if (!error && sizep != NULL) 466 *sizep = bytesize; 471 image_copyin(lba_t blk, int fd, uint64_t *sizep) argument 479 error = image_copyin_stream(blk, fd, sizep); 481 error = image_copyin_mapped(blk, fd, sizep); [all...] |
/freebsd-10-stable/sys/sys/ |
H A D | nvlist_impl.h | 41 void *nvlist_xpack(const nvlist_t *nvl, int64_t *fdidxp, size_t *sizep);
|
H A D | dnv.h | 65 const void *dnvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep, const void *defval, size_t defsize); 73 const void *dnvlist_getf_binary(const nvlist_t *nvl, size_t *sizep, const void *defval, size_t defsize, const char *namefmt, ...) __printflike(5, 6); 80 const void *dnvlist_getv_binary(const nvlist_t *nvl, size_t *sizep, const void *defval, size_t defsize, const char *namefmt, va_list nameap) __printflike(5, 0); 96 void *dnvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep, void *defval, size_t defsize); 104 void *dnvlist_takef_binary(nvlist_t *nvl, size_t *sizep, void *defval, size_t defsize, const char *namefmt, ...) __printflike(5, 6); 111 void *dnvlist_takev_binary(nvlist_t *nvl, size_t *sizep, void *defval, size_t defsize, const char *namefmt, va_list nameap) __printflike(5, 0);
|
H A D | nv.h | 89 void *nvlist_pack(const nvlist_t *nvl, size_t *sizep); 163 const void *nvlist_get_binary(const nvlist_t *nvl, const char *name, size_t *sizep); 178 void *nvlist_take_binary(nvlist_t *nvl, const char *name, size_t *sizep);
|
/freebsd-10-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-10-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-10-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-10-stable/usr.bin/gcore/ |
H A D | elfcore.c | 123 static void *procstat_sysctl(void *, int, size_t, size_t *sizep); 332 elf_putnotes(pid_t pid, struct sbuf *sb, size_t *sizep) argument 380 *sizep = size; 550 elf_note_prpsinfo(void *arg, size_t *sizep) argument 592 *sizep = sizeof(*psinfo); 597 elf_note_prstatus(void *arg, size_t *sizep) argument 616 *sizep = sizeof(*status); 621 elf_note_fpregset(void *arg, size_t *sizep) argument 634 *sizep = sizeof(*fpregset); 639 elf_note_thrmisc(void *arg, size_t *sizep) argument 660 elf_note_x86_xstate(void *arg, size_t *sizep) argument 687 procstat_sysctl(void *arg, int what, size_t structsz, size_t *sizep) argument 716 elf_note_procstat_proc(void *arg, size_t *sizep) argument 724 elf_note_procstat_files(void *arg, size_t *sizep) argument 732 elf_note_procstat_vmmap(void *arg, size_t *sizep) argument 740 elf_note_procstat_groups(void *arg, size_t *sizep) argument 747 elf_note_procstat_umask(void *arg, size_t *sizep) argument 754 elf_note_procstat_osrel(void *arg, size_t *sizep) argument 761 elf_note_procstat_psstrings(void *arg, size_t *sizep) argument 769 elf_note_procstat_auxv(void *arg, size_t *sizep) argument 777 elf_note_procstat_rlimit(void *arg, size_t *sizep) argument [all...] |
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | dmu_send.h | 51 uint64_t *sizep); 53 uint64_t *sizep);
|
/freebsd-10-stable/bin/ed/ |
H A D | io.c | 218 get_extended_line(int *sizep, int nonl) argument 229 *sizep = l; 232 *sizep = -1; 254 *sizep = l;
|