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

1234567891011>>

/freebsd-11-stable/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-11-stable/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-11-stable/usr.bin/clang/llvm-size/
H A DMakefile1 # $FreeBSD: stable/11/usr.bin/clang/llvm-size/Makefile 362719 2020-06-28 07:43:43Z dim $
3 PROG_CXX= llvm-size
5 SRCDIR= llvm/tools/llvm-size
6 SRCS+= llvm-size.cpp
/freebsd-11-stable/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-11-stable/contrib/tcpdump/
H A Daddrtostr.h41 extern const char *addrtostr(const void *src, char *dst, size_t size);
42 extern const char *addrtostr6(const void *src, char *dst, size_t size);
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/usr.sbin/fifolog/fifolog_create/
H A Dfifolog_create.c46 fprintf(stderr, "Usage: fifolog_create [-l record-size] "
47 "[-r record-count] [-s size] file\n");
55 int64_t size; local
61 size = 0;
74 if (expand_number(optarg, &size))
86 if (size != 0 && reccnt != 0 && recsize != 0) { /* N N N */
87 if (size != reccnt * recsize)
89 } else if (size != 0 && reccnt != 0 && recsize == 0) { /* N N Z */
90 if (size % reccnt)
93 recsize = size / reccn
[all...]
/freebsd-11-stable/sys/contrib/ncsw/inc/etc/
H A Dmemcpy_ext.h74 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
79 to supply non-null parameters as source & destination and size
82 void * MemCpy32(void* pDst,void* pSrc, uint32_t size);
83 void * IO2IOCpy32(void* pDst,void* pSrc, uint32_t size);
84 void * IO2MemCpy32(void* pDst,void* pSrc, uint32_t size);
85 void * Mem2IOCpy32(void* pDst,void* pSrc, uint32_t size);
104 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
109 to supply non null parameters as source & destination and size
114 void * MemCpy64(void* pDst,void* pSrc, uint32_t size);
124 @Param[in] size
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dpages.h12 void *pages_map(void *addr, size_t size, bool *commit);
13 void pages_unmap(void *addr, size_t size);
15 size_t size, bool *commit);
16 bool pages_commit(void *addr, size_t size);
17 bool pages_decommit(void *addr, size_t size);
18 bool pages_purge(void *addr, size_t size);
H A Dchunk_mmap.h12 void *chunk_alloc_mmap(void *new_addr, size_t size, size_t alignment,
14 bool chunk_dalloc_mmap(void *chunk, size_t size);
/freebsd-11-stable/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);
/freebsd-11-stable/sys/ddb/
H A Ddb_access.h39 db_expr_t db_get_value(db_addr_t addr, int size, bool is_signed);
40 void db_put_value(db_addr_t addr, int size, db_expr_t value);
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_mem_util.h37 static __inline__ void *drm_calloc_large(size_t nmemb, size_t size) argument
39 if (size != 0 && nmemb > SIZE_MAX / size)
42 return malloc(nmemb * size, DRM_MEM_DRIVER, M_NOWAIT | M_ZERO);
46 static __inline__ void *drm_malloc_ab(size_t nmemb, size_t size) argument
48 if (size != 0 && nmemb > SIZE_MAX / size)
51 return malloc(nmemb * size, DRM_MEM_DRIVER, M_NOWAIT);
/freebsd-11-stable/contrib/expat/tests/
H A Dmemcheck.h43 void *tracking_malloc(size_t size);
45 void *tracking_realloc(void *ptr, size_t size);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_malloc_mac.cpp27 #define COMMON_MALLOC_MEMALIGN(alignment, size) \
29 user_memalign(cur_thread(), StackTrace::GetCurrentPc(), alignment, size)
30 #define COMMON_MALLOC_MALLOC(size) \
31 if (in_symbolizer()) return InternalAlloc(size); \
32 SCOPED_INTERCEPTOR_RAW(malloc, size); \
33 void *p = user_alloc(thr, pc, size)
34 #define COMMON_MALLOC_REALLOC(ptr, size) \
35 if (in_symbolizer()) return InternalRealloc(ptr, size); \
36 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \
37 void *p = user_realloc(thr, pc, ptr, size)
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_memintrinsics.cpp24 void *__hwasan_memset(void *block, int c, uptr size) { argument
26 reinterpret_cast<uptr>(block), size); local
27 return memset(UntagPtr(block), c, size);
30 void *__hwasan_memcpy(void *to, const void *from, uptr size) { argument
32 reinterpret_cast<uptr>(to), size); local
34 reinterpret_cast<uptr>(from), size); local
35 return memcpy(UntagPtr(to), UntagPtr(from), size);
38 void *__hwasan_memmove(void *to, const void *from, uptr size) { argument
40 reinterpret_cast<uptr>(to), size); local
42 reinterpret_cast<uptr>(from), size); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_malloc.cpp27 INTERCEPTOR_ATTRIBUTE void *malloc(size_t size) { argument
28 return scudoAllocate(size, 0, FromMalloc);
31 INTERCEPTOR_ATTRIBUTE void *realloc(void *ptr, size_t size) { argument
32 return scudoRealloc(ptr, size);
35 INTERCEPTOR_ATTRIBUTE void *calloc(size_t nmemb, size_t size) { argument
36 return scudoCalloc(nmemb, size);
39 INTERCEPTOR_ATTRIBUTE void *valloc(size_t size) { argument
40 return scudoValloc(size);
44 int posix_memalign(void **memptr, size_t alignment, size_t size) { argument
45 return scudoPosixMemalign(memptr, alignment, size);
53 memalign(size_t alignment, size_t size) argument
62 pvalloc(size_t size) argument
68 aligned_alloc(size_t alignment, size_t size) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c83 key.size = (len & 0xff) + 1;
85 memset(kb, c, key.size);
86 val.size = (next(&len) & 0xff) + 1;
90 key.size, val.size, c);
94 key.size, val.size, c);
97 key.size, val.size, c);
105 key.size
[all...]
/freebsd-11-stable/sys/contrib/xz-embedded/freebsd/
H A Dxz_malloc.h30 extern void *xz_malloc(unsigned long size);

Completed in 256 milliseconds

1234567891011>>