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

1234567891011>>

/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-malloc.c27 rpl_malloc(size_t size) argument
29 if (size == 0)
30 size = 1;
31 return malloc(size);
37 rpl_calloc(size_t nmemb, size_t size) argument
41 if (size == 0)
42 size = 1;
43 return calloc(nmemb, size);
49 rpl_realloc(void *ptr, size_t size) argument
51 if (size
[all...]
/freebsd-head/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-head/tools/tools/crypto/
H A Dcryptorun.sh18 size=256
26 while [ "$size" -le "$max_size" ]; do
27 $crypto -t $threads -a $1 $iterations $size
28 size=$(($size * 2))
30 size=256
/freebsd-head/usr.bin/clang/llvm-size/
H A DMakefile3 PROG_CXX= llvm-size
5 SRCDIR= llvm/tools/llvm-size
6 SRCS+= llvm-size.cpp
/freebsd-head/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-head/sys/mips/cavium/octe/
H A Dethernet-mem.h33 int cvm_oct_mem_fill_fpa(int pool, int size, int elements);
34 void cvm_oct_mem_empty_fpa(int pool, int size, int elements);
/freebsd-head/sys/vm/
H A Duma_dbg.h43 int trash_ctor(void *mem, int size, void *arg, int flags);
44 void trash_dtor(void *mem, int size, void *arg);
45 int trash_init(void *mem, int size, int flags);
46 void trash_fini(void *mem, int size);
49 int mtrash_ctor(void *mem, int size, void *arg, int flags);
50 void mtrash_dtor(void *mem, int size, void *arg);
51 int mtrash_init(void *mem, int size, int flags);
52 void mtrash_fini(void *mem, int 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/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-head/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-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)
/freebsd-head/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-head/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-head/lib/libpathconv/
H A Dpathconv.h30 char * rel2abs(const char *path, const char *base, char *result, const size_t size);
31 char * abs2rel(const char *path, const char *base, char *result, const size_t size);
/freebsd-head/sys/ddb/
H A Ddb_access.h41 db_expr_t db_get_value(db_addr_t addr, int size, bool is_signed);
42 void db_put_value(db_addr_t addr, int size, db_expr_t value);
/freebsd-head/contrib/expat/tests/
H A Dmemcheck.h43 void *tracking_malloc(size_t size);
45 void *tracking_realloc(void *ptr, size_t size);
/freebsd-head/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-head/sys/contrib/ncsw/inc/etc/
H A Dmemcpy_ext.h75 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
80 to supply non-null parameters as source & destination and size
83 void * MemCpy32(void* pDst,void* pSrc, uint32_t size);
84 void * IO2IOCpy32(void* pDst,void* pSrc, uint32_t size);
85 void * IO2MemCpy32(void* pDst,void* pSrc, uint32_t size);
86 void * Mem2IOCpy32(void* pDst,void* pSrc, uint32_t size);
105 @Param[in] size - The number of bytes that will be copied from pSrc to pDst.
110 to supply non null parameters as source & destination and size
115 void * MemCpy64(void* pDst,void* pSrc, uint32_t size);
125 @Param[in] size
[all...]
/freebsd-head/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-head/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-head/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-head/contrib/processor-trace/libipt/src/
H A Dpt_packet_decoder.c215 static inline int pkt_to_user(struct pt_packet *upkt, size_t size, argument
225 if (sizeof(*pkt) < size) {
226 memset(upkt + sizeof(*pkt), 0, size - sizeof(*pkt));
228 size = sizeof(*pkt);
231 memcpy(upkt, pkt, size);
241 int errcode, size; local
258 size = dfun->packet(decoder, ppkt);
259 if (size < 0)
260 return size;
266 decoder->pos += size;
274 int size; local
303 int size; local
321 int size; local
340 int size; local
359 int size; local
378 int size; local
397 int size; local
416 int size; local
435 int size; local
468 int size; local
501 int size; local
520 int size; local
539 int size; local
558 int size; local
577 int size; local
610 int size; local
629 int size; local
648 int size; local
667 int size; local
686 int size; local
705 int size; local
724 int size; local
[all...]
/freebsd-head/sbin/rcorder/
H A Dealloc.h6 void *erealloc(void *ptr, size_t size);
7 void *ecalloc(size_t nmemb, size_t size);

Completed in 104 milliseconds

1234567891011>>