Searched refs:size (Results 1 - 25 of 5652) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/gcclibs/libgomp/
H A Dalloc.c37 gomp_malloc (size_t size) argument
39 void *ret = malloc (size);
41 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
46 gomp_malloc_cleared (size_t size) argument
48 void *ret = calloc (1, size);
50 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
55 gomp_realloc (void *old, size_t size) argument
57 void *ret = realloc (old, size);
59 gomp_fatal ("Out of memory allocating %lu bytes", (unsigned long) size);
/freebsd-10.3-release/contrib/ipfilter/lib/
H A Dbcopywrap.c13 int bcopywrap(from, to, size)
15 size_t size;
17 bcopy((caddr_t)from, (caddr_t)to, size);
H A Dkmemcpywrap.c14 int kmemcpywrap(from, to, size)
16 size_t size;
20 ret = kmemcpy((caddr_t)to, (u_long)from, size);
/freebsd-10.3-release/sys/boot/arm/at91/libat91/
H A Dmemcmp.c32 p_memcmp(const char *to, const char *from, unsigned size) argument
34 while ((--size) && (*to++ == *from++))
37 return (size || (*to != *from));
H A Dp_string.c30 * void p_memset(char *buffer, char value, int size)
36 p_memset(char *buffer, char value, int size) argument
38 while (size--)
44 * int p_memcmp(char *to, char *from, unsigned size)
46 * size bytes. Returns 0 if the locations are equal. size must be
51 p_memcmp(const char *to, const char *from, unsigned size) argument
53 while ((--size) && (*to++ == *from++))
H A Dmemset.c32 p_memset(char *buffer, char value, int size) argument
34 while (size--)
/freebsd-10.3-release/sys/mips/cavium/octe/
H A Dethernet-mem.h31 int cvm_oct_mem_fill_fpa(int pool, int size, int elements);
32 void cvm_oct_mem_empty_fpa(int pool, int size, int elements);
/freebsd-10.3-release/sys/boot/arm/at91/bootspi/
H A Dee.h4 void EERead(unsigned ee_off, char *data_addr, unsigned size);
5 void EEWrite(unsigned ee_off, const char *data_addr, unsigned size);
/freebsd-10.3-release/contrib/gcc/
H A Dggc-none.c37 ggc_alloc_typed_stat (enum gt_types_enum ARG_UNUSED (gte), size_t size
40 return xmalloc (size);
44 ggc_alloc_stat (size_t size MEM_STAT_DECL)
46 return xmalloc (size);
50 ggc_alloc_cleared_stat (size_t size MEM_STAT_DECL)
52 return xcalloc (size, 1);
56 ggc_realloc_stat (void *x, size_t size MEM_STAT_DECL)
58 return xrealloc (x, size);
/freebsd-10.3-release/lib/libc/rpc/
H A Drpc_dtablesize.c58 static int size; local
60 if (size == 0) {
61 size = getdtablesize();
62 if (size > FD_SETSIZE)
63 size = FD_SETSIZE;
65 return (size);
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.copyin2.d30 * Test that there is no value of 'size' which can be passed to copyin
32 * that we test both size = 0 and size = 0xfff...fff
39 size_t size;
42 size_t size;
48 printf("size = 0x%lx\n", (ulong_t)size);
54 tracemem(copyin(curthread->t_procp->p_user.u_envp, size), 10);
58 /pid == $pid && size > (1 << MAX_BITS)/
66 size
[all...]
/freebsd-10.3-release/usr.sbin/fifolog/fifolog_create/
H A Dfifolog_create.c44 fprintf(stderr, "Usage: fifolog_create [-l record-size] "
45 "[-r record-count] [-s size] file\n");
53 int64_t size; local
59 size = 0;
72 if (expand_number(optarg, &size))
84 if (size != 0 && reccnt != 0 && recsize != 0) { /* N N N */
85 if (size != reccnt * recsize)
87 } else if (size != 0 && reccnt != 0 && recsize == 0) { /* N N Z */
88 if (size % reccnt)
91 recsize = size / reccn
[all...]
/freebsd-10.3-release/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)
/freebsd-10.3-release/crypto/heimdal/lib/roken/
H A Drealloc.c41 rk_realloc(void *ptr, size_t size) argument
44 return malloc(size);
45 return realloc(ptr, size);
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);
/freebsd-10.3-release/contrib/apr-util/crypto/
H A Dcrypt_blowfish.h20 extern int _crypt_output_magic(const char *setting, char *output, int size);
22 char *output, int size);
25 const char *input, int size, char *output, int output_size);
/freebsd-10.3-release/sys/vm/
H A Duma_dbg.h41 int trash_ctor(void *mem, int size, void *arg, int flags);
42 void trash_dtor(void *mem, int size, void *arg);
43 int trash_init(void *mem, int size, int flags);
44 void trash_fini(void *mem, int size);
47 int mtrash_ctor(void *mem, int size, void *arg, int flags);
48 void mtrash_dtor(void *mem, int size, void *arg);
49 int mtrash_init(void *mem, int size, int flags);
50 void mtrash_fini(void *mem, int size);
/freebsd-10.3-release/sys/contrib/xz-embedded/freebsd/
H A Dxz_malloc.h30 extern void *xz_malloc(unsigned long size);
/freebsd-10.3-release/sys/boot/common/
H A Dcrc32.h11 uint32_t crc32(const void *buf, size_t size);
/freebsd-10.3-release/sbin/rcorder/
H A Dealloc.h6 void *erealloc(void *ptr, size_t size);
7 void *ecalloc(size_t nmemb, size_t size);
/freebsd-10.3-release/contrib/groff/src/libs/libgroff/
H A Dnew.cpp36 void *operator new(size_t size) argument
39 if (size == 0)
40 size++;
42 char *p = (char *)malloc(unsigned(size + 8));
44 char *p = (char *)malloc(unsigned(size));
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_subr.c41 ctf_data_alloc(size_t size) argument
43 void *buf = kobj_alloc(size, KM_NOWAIT|KM_SCRATCH);
52 ctf_data_free(void *buf, size_t size) argument
54 kobj_free(buf, size);
59 ctf_data_protect(void *buf, size_t size) argument
65 ctf_alloc(size_t size) argument
67 return (kobj_alloc(size, KM_NOWAIT|KM_TMP));
72 ctf_free(void *buf, size_t size) argument
74 kobj_free(buf, size);
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_subr.c34 ctf_data_alloc(size_t size) argument
36 return (mmap(NULL, size, PROT_READ | PROT_WRITE,
41 ctf_data_free(void *buf, size_t size) argument
43 (void) munmap(buf, size);
47 ctf_data_protect(void *buf, size_t size) argument
49 (void) mprotect(buf, size, PROT_READ);
53 ctf_alloc(size_t size) argument
55 return (malloc(size));
60 ctf_free(void *buf, __unused size_t size) argument
/freebsd-10.3-release/crypto/heimdal/lib/krb5/
H A Dstore-int.c37 _krb5_put_int(void *buffer, unsigned long value, size_t size) argument
41 for (i = size - 1; i >= 0; i--) {
45 return size;
49 _krb5_get_int(void *buffer, unsigned long *value, size_t size) argument
54 for (i = 0; i < size; i++)
57 return size;
/freebsd-10.3-release/crypto/heimdal/appl/ftp/common/
H A Dsockbuf.c48 int size = 4194304; local
57 if(curr >= size) {
64 while(size >= 131072 &&
65 setsockopt(fd, SOL_SOCKET, optname, (void *)&size, sizeof(size)) < 0)
66 size /= 2;

Completed in 164 milliseconds

1234567891011>>