Home
last modified time | relevance | path

Searched refs:malloc (Results 126 - 150 of 2531) sorted by relevance

12345678910>>...102

/third_party/backends/backend/
H A Dtest-picture.c74 b = malloc (b_size); in init_picture_buffer()
77 DBG (1, "(child) init_picture_buffer: couldn't malloc buffer\n"); in init_picture_buffer()
123 b = malloc (b_size); in init_picture_buffer()
126 DBG (1, "(child) init_picture_buffer: couldn't malloc buffer\n"); in init_picture_buffer()
223 b = malloc (b_size); in init_picture_buffer()
226 DBG (1, "(child) init_picture_buffer: couldn't malloc buffer\n"); in init_picture_buffer()
264 b = malloc (b_size); in init_picture_buffer()
267 DBG (1, "(child) init_picture_buffer: couldn't malloc buffer\n"); in init_picture_buffer()
313 b = malloc (b_size); in init_picture_buffer()
316 DBG (1, "(child) init_picture_buffer: couldn't malloc buffe in init_picture_buffer()
[all...]
/third_party/curl/tests/unit/
H A Dunit1602.c63 value = malloc(sizeof(int));
73 value2 = malloc(sizeof(int));
/third_party/alsa-lib/src/mixer/
H A Dbag.c26 bag_t *b = malloc(sizeof(*b)); in bag_new()
47 bag1_t *b = malloc(sizeof(*b)); in bag_add()
/third_party/node/test/fuzzers/
H A Dfuzz_helper.h11 argv_ = static_cast<char**>(malloc(nr_args_ * sizeof(char*))); in Argv()
12 argv_[0] = static_cast<char*>(malloc(total_len)); in Argv()
/third_party/ltp/testcases/kernel/syscalls/mallopt/
H A Dmallopt01.c50 if ((buf = malloc(1024)) == NULL) { in test_mallopt()
51 tst_res(TFAIL, "malloc(1024) failed"); in test_mallopt()
53 tst_res(TPASS, "malloc(1024) succeeded"); in test_mallopt()
62 if ((buf = malloc(1024)) == NULL) { in test_mallopt()
63 tst_res(TFAIL, "malloc(1024) failed"); in test_mallopt()
65 tst_res(TPASS, "malloc(1024) succeeded"); in test_mallopt()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/
H A D7-1.c35 if ((altstack2.ss_sp = malloc(SIGSTKSZ)) == NULL) { in handler()
65 if ((altstack1.ss_sp = malloc(SIGSTKSZ)) == NULL) { in main()
/third_party/ltp/testcases/realtime/func/pi-tests/
H A Dtestpi-0.c80 pathbuf = malloc(n); in main()
89 pathbuf = malloc(n); in main()
/third_party/lz4/examples/
H A Dsimple_buffer.c47 char* compressed_data = (char*)malloc((size_t)max_dst_size); in main()
76 char* const regen_buffer = (char*)malloc(src_size); in main()
/third_party/lz4/ossfuzz/
H A Dcompress_frame_fuzzer.c28 char* const dst = (char*)malloc(dstCapacity); in LLVMFuzzerTestOneInput()
29 char* const rt = (char*)malloc(size); in LLVMFuzzerTestOneInput()
H A Dround_trip_frame_fuzzer.c24 char* const dst = (char*)malloc(dstCapacity); in LLVMFuzzerTestOneInput()
25 char* const rt = (char*)malloc(FUZZ_dataProducer_remainingBytes(producer)); in LLVMFuzzerTestOneInput()
H A Dround_trip_hc_fuzzer.c24 char* const dst = (char*)malloc(dstCapacity); in LLVMFuzzerTestOneInput()
25 char* const rt = (char*)malloc(size); in LLVMFuzzerTestOneInput()
/third_party/lzma/C/
H A D7zAlloc.c46 return malloc(size); in SzAlloc()
72 return malloc(size); in SzAllocTemp()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dname_to_handle_at.c18 #include <malloc.h>
36 fhp = malloc(fhsize); in name_to_handle_at_0100()
38 t_error("%s malloc failed\n", __func__); in name_to_handle_at_0100()
H A Dmlock2.c28 char *memory = (char *)malloc(memsize); in mlock2_0100()
51 char *memory = (char *)malloc(memsize); in mlock2_0200()
/third_party/musl/libc-test/src/functional/
H A Dtest-malloc-disable.c17 #include <malloc.h>
24 #include "test-malloc-api-common.h"
52 int *x = malloc(sizeof(int)); in test_malloc_while_disabled()
69 ret = check_and_report("Testing malloc while disabled", test_malloc_while_disabled); in main()
/third_party/musl/libc-test/src/functionalext/supplement/passwd/
H A Dgetgrouplist.c17 #include <malloc.h>
48 server_groups = (gid_t *)malloc(server_ngroups * sizeof(gid_t)); in getgrouplist_0100()
/third_party/skia/third_party/externals/brotli/c/fuzz/
H A Drun_decode_fuzzer.c29 unsigned char* tmp = (unsigned char*)malloc(max_len); in main()
37 unsigned char* data = (unsigned char*)malloc(len); in main()
/third_party/skia/third_party/externals/zlib/contrib/tests/
H A Dinfcover.cc99 ptr = malloc(len); in mem_alloc()
105 item = static_cast<struct mem_item *>(malloc(sizeof(struct mem_item))); in mem_alloc()
177 zone = static_cast<struct mem_zone *>(malloc(sizeof(struct mem_zone))); in mem_setup()
272 in = static_cast<unsigned char *>(malloc((strlen(hex) + 1) >> 1)); in h2b()
323 out = static_cast<unsigned char *>(malloc(len)); assert(out != NULL); in inf()
543 out = static_cast<unsigned char *>(malloc(size));
545 win = static_cast<unsigned char *>(malloc(32768));
547 prefix = static_cast<char *>(malloc(strlen(id) + 6));
/third_party/selinux/libsepol/src/
H A Debitmap.c29 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_or()
86 new = malloc(sizeof(ebitmap_node_t)); in ebitmap_and()
145 new = malloc(sizeof(ebitmap_node_t)); in ebitmap_xor()
192 new = malloc(sizeof(ebitmap_node_t)); in ebitmap_not()
287 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_cpy()
428 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_set_bit()
470 new = malloc(sizeof(ebitmap_node_t)); in ebitmap_init_range()
581 n = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t)); in ebitmap_read()
/third_party/zlib/test/
H A Dinfcover.c84 ptr = malloc(len); in mem_alloc()
90 item = malloc(sizeof(struct mem_item)); in mem_alloc()
162 zone = malloc(sizeof(struct mem_zone)); in mem_setup()
250 in = malloc((strlen(hex) + 1) >> 1); in h2b()
301 out = malloc(len); assert(out != NULL); in inf()
522 out = malloc(size); in try()
524 win = malloc(32768); in try()
526 prefix = malloc(strlen(id) + 6); in try()
/third_party/lz4/tests/
H A Dfuzzer.c199 buffers[0] = (char*)malloc(BLOCKSIZE_I134); in FUZ_AddressOverflow()
200 buffers[1] = (char*)malloc(BLOCKSIZE_I134); in FUZ_AddressOverflow()
209 buffers[nbBuff] = (char*)malloc(BLOCKSIZE_I134); in FUZ_AddressOverflow()
289 return malloc(size); in FUZ_createLowAddr()
323 void* const CNBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in FUZ_test()
325 char* const compressedBuffer = (char*)malloc(compressedBufferSize); in FUZ_test()
326 char* const decodedBuffer = (char*)malloc(FUZ_MAX_DICT_SIZE + FUZ_MAX_BLOCK_SIZE); in FUZ_test()
329 void* const stateLZ4 = malloc((size_t)LZ4_sizeofState()); in FUZ_test()
330 void* const stateLZ4HC = malloc((size_t)LZ4_sizeofStateHC()); in FUZ_test()
495 { char* const cBuffer_exact = (char*)malloc((size_ in FUZ_test()
[all...]
/third_party/alsa-lib/src/
H A Dshmarea.c39 #include <malloc.h>
70 struct snd_shm_area *area = malloc(sizeof(*area)); in snd_shm_area_create()
/third_party/icu/icu4c/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp45 #include <malloc.h>
59 size_t *p = (size_t *)malloc(size + sizeof(size_t)); in my_alloc()
/third_party/lzma/CPP/Common/
H A DNewHandler.cpp21 void *p = ::malloc(size);
55 /* malloc(0) returns non_NULL in main compilers, as we need here. in operator new()
56 But specification also allows malloc(0) to return NULL. in operator new()
62 void *p = ::malloc(size); in operator new()
89 void *p = ::malloc(size);
177 void *p = malloc(size); in operator new()
/third_party/lame/
H A DconfigMS.h94 #define malloc(x) acm_Malloc(x) macro
109 #include <malloc.h>

Completed in 12 milliseconds

12345678910>>...102