/freebsd-11.0-release/contrib/gcclibs/libgomp/ |
H A D | alloc.c | 37 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.0-release/contrib/ipfilter/lib/ |
H A D | bcopywrap.c | 13 int bcopywrap(from, to, size) 15 size_t size; 17 bcopy((caddr_t)from, (caddr_t)to, size);
|
H A D | kmemcpywrap.c | 14 int kmemcpywrap(from, to, size) 16 size_t size; 20 ret = kmemcpy((caddr_t)to, (u_long)from, size);
|
/freebsd-11.0-release/sys/boot/arm/at91/libat91/ |
H A D | memcmp.c | 32 p_memcmp(const char *to, const char *from, unsigned size) argument 34 while ((--size) && (*to++ == *from++)) 37 return (size || (*to != *from));
|
H A D | p_string.c | 30 * 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 D | memset.c | 32 p_memset(char *buffer, char value, int size) argument 34 while (size--)
|
/freebsd-11.0-release/sys/mips/cavium/octe/ |
H A D | ethernet-mem.h | 31 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.0-release/sys/boot/arm/at91/bootspi/ |
H A D | ee.h | 4 void EERead(unsigned ee_off, char *data_addr, unsigned size); 5 void EEWrite(unsigned ee_off, const char *data_addr, unsigned size);
|
/freebsd-11.0-release/contrib/gcc/ |
H A D | ggc-none.c | 37 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.0-release/sys/vm/ |
H A D | uma_dbg.h | 41 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.0-release/lib/libc/rpc/ |
H A D | rpc_dtablesize.c | 58 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.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/ |
H A D | tst.copyin2.d | 30 * 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.0-release/usr.sbin/fifolog/fifolog_create/ |
H A D | fifolog_create.c | 44 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-11.0-release/sys/contrib/ncsw/inc/etc/ |
H A D | memcpy_ext.h | 74 @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.0-release/contrib/openpam/lib/libpam/ |
H A D | openpam_strlcat.c | 44 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.0-release/contrib/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_malloc_mac.cc | 27 #define COMMON_MALLOC_MEMALIGN(alignment, size) \ 29 user_alloc(cur_thread(), StackTrace::GetCurrentPc(), size, alignment) 30 #define COMMON_MALLOC_MALLOC(size) \ 32 return REAL(malloc)(size); \ 33 SCOPED_INTERCEPTOR_RAW(malloc, size); \ 34 void *p = user_alloc(thr, pc, size) 35 #define COMMON_MALLOC_REALLOC(ptr, size) \ 37 return REAL(realloc)(ptr, size); \ 38 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \ 39 void *p = user_realloc(thr, pc, ptr, size) [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | realloc.c | 41 rk_realloc(void *ptr, size_t size) argument 44 return malloc(size); 45 return realloc(ptr, size);
|
H A D | ecalloc.c | 46 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-11.0-release/contrib/llvm/lib/Support/ |
H A D | StringSaver.cpp | 15 char *P = Alloc.Allocate<char>(S.size() + 1); 16 memcpy(P, S.data(), S.size()); 17 P[S.size()] = '\0';
|
/freebsd-11.0-release/contrib/apr-util/crypto/ |
H A D | crypt_blowfish.h | 20 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.0-release/contrib/jemalloc/include/jemalloc/internal/ |
H A D | pages.h | 12 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 D | chunk_mmap.h | 12 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.0-release/sys/dev/drm2/ |
H A D | drm_mem_util.h | 37 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.0-release/sys/ddb/ |
H A D | db_access.h | 39 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.0-release/contrib/compiler-rt/include/sanitizer/ |
H A D | msan_interface.h | 23 void __msan_set_origin(const volatile void *a, size_t size, uint32_t origin); 40 void __msan_unpoison(const volatile void *a, size_t size); 49 void __msan_poison(const volatile void *a, size_t size); 54 size_t size); 58 intptr_t __msan_test_shadow(const volatile void *x, size_t size); 62 void __msan_check_mem_is_initialized(const volatile void *x, size_t size); 78 void __msan_print_shadow(const volatile void *x, size_t size); 82 void __msan_dump_shadow(const volatile void *x, size_t size); 89 void __msan_allocated_memory(const volatile void* data, size_t size); 92 void __sanitizer_dtor_callback(const volatile void* data, size_t size); [all...] |