Searched defs:size (Results 1 - 25 of 3841) sorted by relevance

1234567891011>>

/freebsd-head/cddl/compat/opensolaris/misc/
H A Dzone.c38 size_t size; local
42 size = sizeof(jailid);
43 if (sysctlbyname("security.jail.jailed", &jailid, &size, NULL, 0) == -1)
/freebsd-head/crypto/heimdal/lib/roken/
H A Decalloc.c46 ecalloc (size_t number, size_t size) argument
48 void *tmp = calloc (number, size);
50 if (tmp == NULL && number * size != 0)
51 errx (1, "calloc %lu failed", (unsigned long)number * size);
H A Drealloc.c41 rk_realloc(void *ptr, size_t size) argument
44 return malloc(size);
45 return realloc(ptr, size);
H A Dgetcwd.c46 getcwd(char *path, size_t size) argument
52 strlcpy(path, xxx, size);
/freebsd-head/lib/libc/rpc/
H A Drpc_dtablesize.c60 static int size; local
62 if (size == 0) {
63 size = getdtablesize();
64 if (size > FD_SETSIZE)
65 size = FD_SETSIZE;
67 return (size);
/freebsd-head/usr.sbin/pw/
H A Dbitmap.h38 int size; member in struct:bitmap
43 struct bitmap bm_alloc(int size);
/freebsd-head/lib/libc/gen/
H A Dgetbootfile.c46 size_t size = sizeof name; local
51 if (sysctl(mib, 2, name, &size, NULL, 0) == -1)
H A Dmemalign.c37 memalign(size_t align, size_t size) argument
39 return (aligned_alloc(align, roundup(size, align)));
/freebsd-head/sys/crypto/libsodium/
H A Drandombytes.c10 randombytes_buf(void *buf, size_t size) argument
12 arc4random_buf(buf, size);
/freebsd-head/lib/libc/stdlib/
H A Dreallocf.c34 reallocf(void *ptr, size_t size) argument
38 nptr = realloc(ptr, size);
43 * So, to avoid double free, call free() only when size != 0.
46 if (!nptr && ptr && size != 0)
H A Dreallocarray.c33 reallocarray(void *optr, size_t nmemb, size_t size) argument
36 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
37 nmemb > 0 && SIZE_MAX / nmemb < size) {
41 return (realloc(optr, size * nmemb));
/freebsd-head/sys/contrib/openzfs/lib/libspl/os/freebsd/
H A Dzone.c38 size_t size; local
42 size = sizeof (jailid);
43 if (sysctlbyname("security.jail.jailed", &jailid, &size, NULL, 0) == -1)
/freebsd-head/contrib/gdb/gdb/regformats/
H A Dregdef.h31 by the size of a byte (to match the layout of each register in
37 /* The size (in bits) of the value of this register, as transmitted. */
38 int size; member in struct:reg
/freebsd-head/gnu/usr.bin/grep/
H A Dkwset.h29 size_t size[1]; /* Length of each submatch. */ member in struct:kwsmatch
/freebsd-head/contrib/ldns/compat/
H A Dcalloc.c15 calloc(size_t num, size_t size) argument
17 void *new = malloc(num * size);
21 bzero(new, num * size);
/freebsd-head/contrib/sendmail/src/
H A Dshmticklib.c45 int size = sizeof(STATUSD_SHM); local
47 shmid = shmget(STATUSD_SHM_KEY, size, 0);
/freebsd-head/contrib/unbound/compat/
H A Dreallocarray.c34 reallocarray(void *optr, size_t nmemb, size_t size) argument
36 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
37 nmemb > 0 && SIZE_MAX / nmemb < size) {
41 return realloc(optr, size * nmemb);
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dreallocarray.c37 reallocarray(void *optr, size_t nmemb, size_t size) argument
39 if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
40 nmemb > 0 && SIZE_MAX / nmemb < size) {
44 return realloc(optr, size * nmemb);
/freebsd-head/contrib/openpam/lib/libpam/
H A Dopenpam_strlcat.c44 openpam_strlcat(char *dst, const char *src, size_t size) argument
48 for (len = 0; *dst && size > 1; ++len, --size)
50 for (; *src && size > 1; ++len, --size)
H A Dopenpam_strlcpy.c44 openpam_strlcpy(char *dst, const char *src, size_t size) argument
48 for (len = 0; *src && size > 1; ++len, --size)
H A Dopenpam_strlset.c48 openpam_strlset(char *str, int ch, size_t size) argument
52 for (len = 0; *str && size > 1; ++len, --size)
/freebsd-head/lib/libc/compat-43/
H A Dgethostid.c47 size_t size; local
52 size = sizeof value;
53 if (sysctl(mib, 2, &value, &size, NULL, 0) == -1)
/freebsd-head/sys/powerpc/powerpc/
H A Ddb_hwwatch.c40 db_md_set_watchpoint(db_expr_t addr, db_expr_t size) argument
47 db_md_clr_watchpoint(db_expr_t addr, db_expr_t size) argument
/freebsd-head/lib/libusbhid/
H A Dusbvar.h38 uint32_t size; member in struct:report_desc
/freebsd-head/crypto/openssh/regress/misc/fuzz-harness/
H A Dpubkey_fuzz.cc9 int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) argument
12 int r = sshkey_from_blob(data, size, &k);

Completed in 172 milliseconds

1234567891011>>