Home
last modified time | relevance | path

Searched refs:malloc (Results 176 - 200 of 2531) sorted by relevance

12345678910>>...102

/third_party/libuv/test/
H A Dbenchmark-ping-pongs.c63 ab = malloc(size + sizeof(*ab)); in buf_alloc()
105 req = malloc(sizeof *req); in pinger_write_ping()
187 pinger = malloc(sizeof(*pinger)); in pinger_new()
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/
H A Dtirpc_expertlevel_clnt_call_complex.c161 resTbl = malloc(threadNb * sizeof(struct RES)); in main()
171 thread_array_result = malloc(threadNb * sizeof(int)); in main()
176 pThreadArray = malloc(threadNb * sizeof(pthread_t)); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
H A D1-1.c92 bufs = malloc(NUM_AIOCBS * BUF_SIZE); in main()
95 printf(TNAME " Error at malloc(): %s\n", strerror(errno)); in main()
107 aiocbs = malloc(sizeof(struct aiocb *) * NUM_AIOCBS); in main()
111 aiocbs[i] = malloc(sizeof(struct aiocb)); in main()
/third_party/lz4/tests/
H A DabiTest.c21 #include <stdlib.h> /* malloc, free, exit */
103 void* const cBuff = malloc(cBuffSize); in roundTripCheck()
104 void* const rBuff = malloc(cBuffSize); in roundTripCheck()
177 void* const buffer = malloc(fileSize + !fileSize /* avoid 0 */); in fileCheck()
H A DroundTripTest.c33 #include <stdlib.h> /* malloc, free, exit */
130 void* const cBuff = malloc(cBuffSize); in roundTripCheck()
131 void* const rBuff = malloc(cBuffSize); in roundTripCheck()
205 void* const buffer = malloc(fileSize + !fileSize /* avoid 0 */); in fileCheck()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_disk_cache.c99 v->code = malloc(4 * v->code_size); in retrieve_variant()
103 v->uniforms.contents = malloc(v->uniforms.count * sizeof(v->uniforms.contents)); in retrieve_variant()
104 v->uniforms.data = malloc(v->uniforms.count * sizeof(v->uniforms.data)); in retrieve_variant()
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dwin32_init.c13 #include <malloc.h>
122 arg = malloc(udlen + uflen); in process_glob()
267 arg = malloc(ulen + 1); in win32_utf8argv()
/third_party/skia/third_party/externals/icu/source/extra/uconv/
H A Duwmsg.c205 gInfoMessages = (UChar **)malloc((U_ERROR_WARNING_LIMIT-U_ERROR_WARNING_START)*sizeof(UChar*)); in fetchErrorName()
209 gErrMessages = (UChar **)malloc(U_ERROR_LIMIT*sizeof(UChar*)); in fetchErrorName()
257 msg = (UChar*)malloc((strlen(textMsg)+1)*sizeof(msg[0])); in u_wmsg_errorName()
/third_party/openssl/apps/lib/
H A Dwin32_init.c13 #include <malloc.h>
122 arg = malloc(udlen + uflen); in process_glob()
267 arg = malloc(ulen + 1); in win32_utf8argv()
/third_party/python/Programs/
H A D_freeze_module.c18 #include <stdlib.h> // malloc()
100 char *text = (char *) malloc(text_size + 1); in read_text()
123 char *filename = (char *) malloc(strlen(name) + 10); in compile_and_marshal()
146 char *varname = (char *) malloc(strlen(name) + n + 1); in get_varname()
/third_party/selinux/libselinux/src/
H A Dcontext.c27 (context_private_t *) malloc(sizeof(context_private_t)); in context_new()
28 context_t result = (context_t) malloc(sizeof(context_s_t)); in context_new()
128 n->current_str = malloc(total); in context_str()
/third_party/vk-gl-cts/framework/delibs/destream/
H A DdeFileStream.c156 fileStream = malloc(sizeof(FileStream)); in fileIOStream_init()
176 fileStream = malloc(sizeof(FileStream)); in deFileInStream_init()
196 fileStream = malloc(sizeof(FileStream)); in deFileOutStream_init()
H A DdeThreadStream.c51 deUint8* buffer = malloc(sizeof(deUint8) * (size_t)threadStream->bufferSize); in inStreamCopy()
136 threadStream = malloc(sizeof(deThreadInStream)); in deThreadInStream_init()
194 threadStream = malloc(sizeof(deThreadOutStream)); in deThreadOutStream_init()
/third_party/libwebsockets/test-apps/
H A Dtest-sshd.c108 priv = malloc(sizeof(struct sshd_instance_priv)); in ssh_ops_channel_create()
299 aps = malloc(s); in ssh_ops_is_pubkey_authorized()
326 ps = malloc((unsigned int)alen); in ssh_ops_is_pubkey_authorized()
376 struct lws_protocol_vhost_options *pvo = malloc(sizeof(*pvo)); in ssh_cgi_env_add()
381 pvo->name = malloc(strlen(name) + 1); in ssh_cgi_env_add()
387 pvo->value = malloc(strlen(value) + 1); in ssh_cgi_env_add()
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A Dpreprocessor_tab_autogen.cpp101 # include <malloc.h>
302 /* The parser invokes alloca or malloc; define the necessary symbols. */
313 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
349 !((defined YYMALLOC || defined malloc) && (defined YYFREE || defined free)))
356 # define YYMALLOC malloc
357 # if !defined malloc && !defined EXIT_SUCCESS
358 void *malloc(YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
H A Dittnotify_config.h358 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \
375 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \
392 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
408 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \
424 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
439 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DExpressionParser.cpp103 #include <malloc.h>
325 /* The parser invokes alloca or malloc; define the necessary symbols. */
336 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
368 && ! ((defined YYMALLOC || defined malloc) \
376 # define YYMALLOC malloc
377 # if ! defined malloc && ! defined EXIT_SUCCESS
378 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
H A Dhb-aots-tester.cpp61 char *fontdata = (char *)malloc (fontsize); in runTest()
96 features = (hb_feature_t *) malloc (sizeof (*features)); in runTest()
106 features = (hb_feature_t *) malloc (sizeof (*features) * nbSelect); in runTest()
318 unsigned int *actualG = (unsigned int *) malloc(sizeof(*actualG) * nbActual); in gpos_test()
319 int *actualX = (int *) malloc(sizeof(*actualX) * nbActual); in gpos_test()
320 int *actualY = (int *) malloc(sizeof(*actualY) * nbActual); in gpos_test()
/third_party/alsa-lib/test/
H A Dlatency.c686 buffer = malloc((latency_max * 2 * snd_pcm_format_physical_width(format) / 8) * channels); in main()
727 x[0] = (float*) malloc(channels*sizeof(float)); in main()
728 x[1] = (float*) malloc(channels*sizeof(float)); in main()
729 x[2] = (float*) malloc(channels*sizeof(float)); in main()
730 y[0] = (float*) malloc(channels*sizeof(float)); in main()
731 y[1] = (float*) malloc(channels*sizeof(float)); in main()
732 y[2] = (float*) malloc(channels*sizeof(float)); in main()
/third_party/ltp/testcases/network/nfsv4/locks/
H A Dlocktests.c194 dpr = malloc(sizeof(struct dataPriv)); in initClientFork()
195 df = malloc(sizeof(struct dataChild)); in initClientFork()
200 dp.lclnt[i] = malloc(sizeof(int) * 2); in initClientFork()
216 dp.lclnt = malloc(sizeof(int *) * clnt); in initialize()
217 dp.lthreads = malloc(sizeof(pthread_t) * clnt); in initialize()
668 buf = malloc(clnt * (maxClients + 1)); in master()
1013 dp.fname = malloc(512); in main()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dturbojpeg.c458 /* These are exposed mainly because Windows can't malloc() and free() across
471 return (unsigned char *)malloc(bytes); in tjAlloc()
511 if ((this = (tjinstance *)malloc(sizeof(tjinstance))) == NULL) { in tjInitCompress()
687 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * height)) == NULL) in tjCompress2()
823 if ((row_pointer = (JSAMPROW *)malloc(sizeof(JSAMPROW) * ph0)) == NULL) in tjEncodeYUVPlanes()
836 _tmpbuf[i] = (JSAMPLE *)malloc( in tjEncodeYUVPlanes()
843 (JSAMPROW *)malloc(sizeof(JSAMPROW) * cinfo->max_v_samp_factor); in tjEncodeYUVPlanes()
855 (JSAMPLE *)malloc(PAD(compptr->width_in_blocks * DCTSIZE, 32) * in tjEncodeYUVPlanes()
859 tmpbuf2[i] = (JSAMPROW *)malloc(sizeof(JSAMPROW) * compptr->v_samp_factor); in tjEncodeYUVPlanes()
871 outbuf[i] = (JSAMPROW *)malloc(sizeo in tjEncodeYUVPlanes()
[all...]
/third_party/backends/backend/
H A Dcanon_pp-dev.c503 if (((sp->blueweight = malloc(cal_data_size)) == NULL) in sanei_canon_pp_load_weights()
504 || ((sp->redweight = malloc(cal_data_size)) == NULL) in sanei_canon_pp_load_weights()
505 || ((sp->greenweight = malloc(cal_data_size)) == NULL) in sanei_canon_pp_load_weights()
506 || ((sp->blackweight = malloc(cal_data_size)) == NULL)) in sanei_canon_pp_load_weights()
620 if ((output_image = malloc(sizeof(*output_image))) == NULL) in sanei_canon_pp_read_segment()
628 if ((input_buffer = malloc(scanline_size * scanline_number)) == NULL) in sanei_canon_pp_read_segment()
641 malloc(output_image->width * output_image->height * in sanei_canon_pp_read_segment()
972 databuf = malloc(scanline_size * scanline_count * calibration_reads*3); in sanei_canon_pp_calibrate()
975 image.image_data = malloc(scanline_count * sp->scanheadwidth * 2 * in sanei_canon_pp_calibrate()
H A Dplustek-pp_scan.h104 # define _KALLOC(x,y) malloc(x)
106 # define _VMALLOC(x) malloc(x)
/third_party/alsa-lib/src/
H A Duserfile.c89 buf = malloc(bufsize); in snd_user_file()
106 *result = malloc(len); in snd_user_file()
/third_party/curl/lib/
H A Dcurl_threads.c64 curl_thread_t t = malloc(sizeof(pthread_t)); in Curl_thread_create()
65 struct Curl_actual_call *ac = malloc(sizeof(struct Curl_actual_call)); in Curl_thread_create()

Completed in 25 milliseconds

12345678910>>...102