Home
last modified time | relevance | path

Searched refs:malloc (Results 226 - 250 of 2687) sorted by relevance

12345678910>>...108

/third_party/musl/src/malloc/
H A Dlibc_calloc.c59 void *p = malloc(n); in hook_calloc()
69 #define malloc __libc_malloc macro
/third_party/musl/src/ldso/
H A Ddlerror.c8 #define malloc __libc_malloc macro
76 char *buf = malloc(len+1); in __dl_vseterr()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
H A Dmemalign.c37 return malloc(len); in __memalign()
39 if (!(mem = malloc(len + align-1))) in __memalign()
/third_party/musl/src/locale/
H A Dnewlocale.c7 #define malloc __libc_malloc macro
57 if ((loc = malloc(sizeof *loc))) *loc = tmp; in do_newlocale()
/third_party/node/deps/cares/src/lib/
H A Dares_library_init.c46 /* Some systems may return either NULL or a valid pointer on malloc(0). c-ares
47 * should never call malloc(0) so lets return NULL so we're more likely to find
55 return malloc(size); in default_malloc()
149 ares_malloc = malloc; in ares_library_cleanup()
/third_party/ltp/testcases/kernel/syscalls/mmap/
H A Dmmap11.c105 thread = malloc(STD_LOOP_COUNT * sizeof(pthread_t)); in check()
107 tst_brkm(TBROK | TERRNO, cleanup, "malloc"); in check()
132 addr = malloc(MAL_SIZE); in wait_thread()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/
H A Dtirpc_svc_unreg_mt.c105 thread_array_result = malloc(threadNb * sizeof(int)); in main()
110 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/
H A Dtirpc_rpc_broadcast_mt.c103 thread_array_result = malloc(threadNb * sizeof(int)); in main()
108 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/
H A Dtirpc_toplevel_clnt_call_mt.c113 thread_array_result = malloc(threadNb * sizeof(int)); in main()
118 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/
H A Dtirpc_rpc_reg_mt.c107 thread_array_result = malloc(threadNb * sizeof(int)); in main()
112 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/
H A Dtirpc_rpc_broadcast_exp_mt.c106 thread_array_result = malloc(threadNb * sizeof(int)); in main()
111 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/kernel/syscalls/mincore/
H A Dmincore02.c71 buf = malloc(size); in setup()
74 vec = malloc((size + page_size - 1) / page_size); in setup()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/
H A Dtirpc_svc_reg_mt.c101 thread_array_result = malloc(threadNb * sizeof(int)); in main()
106 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/
H A Dtirpc_rpc_call_mt.c103 thread_array_result = malloc(threadNb * sizeof(int)); in main()
108 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/utils/sctp/lib/
H A Daddrs.c25 #include <malloc.h>
44 struct sctp_getaddrs *getaddrs = (struct sctp_getaddrs*)malloc(bufsize); in sctp_getaddrs()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
H A D18-1.c65 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main()
68 printf(TNAME " Error at malloc(): %s\n", strerror(errno)); in main()
73 aiocbs[0] = malloc(sizeof(struct aiocb)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
H A D4-1.c71 aiocb[i] = malloc(sizeof(struct aiocb)); in main()
73 printf(TNAME " Error at malloc(): %s\n", in main()
79 aiocb[i]->aio_buf = malloc(BUF_SIZE); in main()
81 printf(TNAME " Error at malloc(): %s\n", in main()
/third_party/lz4/ossfuzz/
H A Ddecompress_frame_fuzzer.c44 char* const dst = (char*)malloc(dstCapacity); in LLVMFuzzerTestOneInput()
45 char* const dict = (char*)malloc(dictSize); in LLVMFuzzerTestOneInput()
H A Ddecompress_fuzzer.c25 char* const dst = (char*)malloc(dstCapacity); in LLVMFuzzerTestOneInput()
26 char* const dict = (char*)malloc(dictSize + size); in LLVMFuzzerTestOneInput()
/third_party/musl/libc-test/src/common/
H A Dcheck_log.c17 #include <malloc.h>
43 char *buffer = malloc(size); in check_log()
45 t_error("FAIL %s malloc %d failed!\n", size); in check_log()
/third_party/musl/libc-test/src/functional/
H A Dtest-malloc-stats-common.h25 #include <malloc.h>
124 void *alloc = malloc(thread_data->alloc_size); in allocate_wait_free()
/third_party/mesa3d/src/glx/
H A Dsinglepix.c70 rowBuf = malloc(widthsize); in __indirect_glGetSeparableFilter()
84 colBuf = malloc(heightsize); in __indirect_glGetSeparableFilter()
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_cb.h85 cs_ptr = (ptr) = malloc((size) * sizeof(uint32_t)); \
102 cs_ptr = (ptr) = malloc((size) * sizeof(uint32_t))
/third_party/node/deps/openssl/openssl/fuzz/
H A Dtest-corpus.c51 buf = malloc(st.st_size); in testfile()
79 pathname = malloc(PATH_MAX); in main()
/third_party/popt/src/
H A Dpoptparse.c29 dst = malloc(nb); in poptDupArgv()
59 const char ** argv = malloc(sizeof(*argv) * argvAlloced); in poptParseArgvString()

Completed in 10 milliseconds

12345678910>>...108