Home
last modified time | relevance | path

Searched refs:malloc (Results 1301 - 1325 of 4438) sorted by relevance

1...<<51525354555657585960>>...178

/third_party/ltp/testcases/kernel/fs/mongo/
H A Dmongo_slinks.c33 if ((buffer = malloc(size + 1)) == NULL) { in main()
34 perror("checklink: malloc failed"); in main()
/third_party/ltp/testcases/misc/math/float/bessel/
H A Dgenbessel.c79 funct = malloc(strlen(bin_path) + MAX_FNAME_LEN); in main()
81 err(1, "malloc failed"); in main()
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/
H A Dsem_lock.c46 if ((sem_lock = malloc(sizeof(sem_t))) == NULL) { in main()
47 perror("malloc"); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/speculative/
H A D12-1.c88 ptr = malloc(BUFSIZE); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/
H A D12-1.c87 ptr = malloc(BUFSIZE); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/
H A D9-1.c47 a.ss_sp = malloc(SIGSTKSZ); in main()
49 printf("Failed: malloc(SIGSTKSZ) == NULL\n"); in main()
/third_party/node/deps/v8/src/base/platform/
H A Dwrappers.h27 inline void* Malloc(size_t size) { return malloc(size); } in Malloc()
/third_party/musl/libc-test/src/functionalext/supplement/malloc/
H A Dmemalign.c16 #include <malloc.h>
/third_party/musl/libc-test/src/functionalext/supplement/malloc/malloc_gtest/
H A Dmalloc_calloc_test.cpp3 #include <malloc.h>
/third_party/mesa3d/src/util/
H A Dptralloc.h45 uint8_t *ptr = (uint8_t*)malloc(size); in ptralloc()
/third_party/musl/libc-test/src/functionalext/queue/
H A Dsys_queue.c38 struct Node *new_node = (struct Node*)malloc(sizeof(struct Node)); in insert_node()
/third_party/musl/Benchmark/musl/
H A Dlibc_pwd.cpp30 *buf = (char *)malloc(bufSize); in AllocGetpwrBuf()
41 perror("malloc"); in Bm_function_Getpwnam_r()
58 perror("malloc"); in Bm_function_Getpwuid_r()
/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dmincore.c71 char *memory = (char *)malloc(TEST_SIZE); in mincore_0200()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_tss_test.cpp49 testChar = (char*)malloc(sizeof(testChar) + 1); in HWTEST_F()
/third_party/pulseaudio/speex/libspeexdsp/
H A Dstack_alloc.h40 # include <malloc.h>
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dquerystring_example.c56 me = malloc (snprintf (NULL, 0, fmt, "q", val) + 1); in ahc_echo()
/third_party/skia/src/ports/
H A DSkMemory_malloc.cpp85 // malloc() generally doesn't initialize its memory and that's a huge security hole, in sk_malloc_flags()
86 // so Android has replaced its malloc() with one that zeros memory, in sk_malloc_flags()
90 p = malloc(size); in sk_malloc_flags()
/third_party/skia/third_party/externals/brotli/c/fuzz/
H A Ddecode_fuzzer.c19 uint8_t* buffer = (uint8_t*) malloc(kBufferSize); in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/freetype/include/freetype/config/
H A Dftstdlib.h144 #define ft_smalloc malloc
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_string_list.cpp55 malloc (newSize * sizeof (dng_string *)); in Allocate()
/third_party/selinux/libselinux/src/
H A Dget_initial_context.c42 buf = malloc(size); in security_get_initial_context_raw()
H A Dgetfilecon.c17 buf = malloc(size); in getfilecon_raw()
H A Dgetpeercon.c21 buf = malloc(size); in getpeercon_raw()
H A Dlgetfilecon.c17 buf = malloc(size); in lgetfilecon_raw()
/third_party/selinux/libsepol/cil/src/
H A Dcil_mem.c40 void *mem = malloc(size); in cil_malloc()

Completed in 6 milliseconds

1...<<51525354555657585960>>...178