Home
last modified time | relevance | path

Searched refs:malloc (Results 351 - 375 of 4606) sorted by relevance

1...<<11121314151617181920>>...185

/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()
/third_party/openssl/fuzz/
H A Dtest-corpus.c51 buf = malloc(st.st_size); in testfile()
79 pathname = malloc(PATH_MAX); in main()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dreadpng.c66 row = malloc(rowbytes); in read_png()
67 display = malloc(rowbytes); in read_png()
/third_party/optimized-routines/string/test/
H A Dmte.h53 return malloc (size); in mte_mmap()
119 return malloc (size); in mte_mmap()
/third_party/toybox/kconfig/
H A Dutil.c21 file = malloc(sizeof(*file)); in file_lookup()
60 gs.s = malloc(sizeof(char) * 64); in str_new()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_memory.cpp75 fBuffer = (char*)malloc (size); in Allocate()
187 fMalloc = (char*)malloc (PhysicalSize ()); in dng_malloc_block()
/third_party/selinux/libsepol/cil/test/unit/
H A Dtest_cil_lexer.c40 char *buffer = malloc(str_size + 2); in test_cil_lexer_setup()
54 char *buffer = malloc(str_size + 2); in test_cil_lexer_next()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioRoutingManager.cpp276 (OH_AudioDeviceDescriptorArray *)malloc(sizeof(OH_AudioDeviceDescriptorArray)); in ConvertDesc()
279 AUDIO_ERR_LOG("failed to malloc."); in ConvertDesc()
284 (OH_AudioDeviceDescriptor **)malloc(sizeof(OH_AudioDeviceDescriptor *) * size); in ConvertDesc()
288 AUDIO_ERR_LOG("failed to malloc descriptors."); in ConvertDesc()
406 (OH_AudioDeviceDescriptorArray *)malloc(sizeof(OH_AudioDeviceDescriptorArray)); in OnDeviceChange()
409 (OH_AudioDeviceDescriptor**)malloc(sizeof(OH_AudioDeviceDescriptor*) * size); in OnDeviceChange()
413 AUDIO_ERR_LOG("failed to malloc descriptors."); in OnDeviceChange()
442 (OH_AudioDeviceDescriptorArray *)malloc(sizeof(OH_AudioDeviceDescriptorArray)); in OnMicrophoneBlocked()
445 (OH_AudioDeviceDescriptor**)malloc(sizeof(OH_AudioDeviceDescriptor*) * size); in OnMicrophoneBlocked()
449 AUDIO_ERR_LOG("failed to malloc descriptor in OnMicrophoneBlocked()
[all...]
/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp106 SoftbusBaseListener *setListener = (SoftbusBaseListener *)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
187 SoftbusBaseListener* listener = (SoftbusBaseListener*)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
225 SoftbusBaseListener *setListener = (SoftbusBaseListener *)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
271 SoftbusBaseListener* listener = (SoftbusBaseListener*)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
292 SoftbusBaseListener* listener = (SoftbusBaseListener*)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
321 SoftbusBaseListener* listener = (SoftbusBaseListener*)malloc(sizeof(SoftbusBaseListener)); in HWTEST_F()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
H A DTaskpoolSpecifiedTaskTest.cpp285 request.data = malloc(request.len); in HWTEST_F()
309 request2.data = malloc(request2.len); in HWTEST_F()
341 request.data = malloc(request.len); in HWTEST_F()
365 request2.data = malloc(request2.len); in HWTEST_F()
393 request.data = malloc(request.len); in HWTEST_F()
410 request2.data = malloc(request2.len); in HWTEST_F()
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
H A Dtaskpool_specifiedtask_func_test.c281 request.data = malloc(request.len);
303 request2.data = malloc(request2.len);
332 request.data = malloc(request.len);
354 request2.data = malloc(request2.len);
379 request.data = malloc(request.len);
393 request2.data = malloc(request2.len);
/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/selinux/checkpolicy/
H A Dpolicy_define.c166 datum = (class_datum_t *) malloc(sizeof(class_datum_t)); in define_class()
302 newc = (ocontext_t *) malloc(sizeof(ocontext_t)); in define_initial_sid()
513 comdatum = (common_datum_t *) malloc(sizeof(common_datum_t)); in define_common_perms()
537 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_common_perms()
644 perdatum = (perm_datum_t *) malloc(sizeof(perm_datum_t)); in define_av_perms()
729 level = (mls_level_t *) malloc(sizeof(mls_level_t)); in define_sens()
738 datum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens()
775 aliasdatum = (level_datum_t *) malloc(sizeof(level_datum_t)); in define_sens()
908 datum = (cat_datum_t *) malloc(sizeof(cat_datum_t)); in define_category()
945 aliasdatum = (cat_datum_t *) malloc(sizeo in define_category()
[all...]
/kernel/linux/linux-5.10/tools/iio/
H A Diio_utils.c370 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
595 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
654 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
750 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
857 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
904 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
951 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()
/kernel/linux/linux-5.10/lib/
H A Dinflate.c167 "uch *slide;" and then malloc'ed in the latter case. The definition
238 /* A trivial malloc implementation, adapted from
239 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
245 static void *malloc(int size) in malloc() function
273 #define malloc(a) kmalloc(a, GFP_KERNEL) macro
364 stk = malloc(sizeof(*stk)); in huft_build()
488 if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == in huft_build()
570 /* Free the malloc'ed tables built by huft_build(), which makes a linked in huft_free()
779 l = malloc(sizeof(*l) * 288); in inflate_fixed()
852 ll = malloc(sizeo in inflate_dynamic()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dinflate.c167 "uch *slide;" and then malloc'ed in the latter case. The definition
238 /* A trivial malloc implementation, adapted from
239 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994
245 static void *malloc(int size) in malloc() function
273 #define malloc(a) kmalloc(a, GFP_KERNEL) macro
364 stk = malloc(sizeof(*stk)); in huft_build()
488 if ((q = (struct huft *)malloc((z + 1)*sizeof(struct huft))) == in huft_build()
570 /* Free the malloc'ed tables built by huft_build(), which makes a linked in huft_free()
779 l = malloc(sizeof(*l) * 288); in inflate_fixed()
852 ll = malloc(sizeo in inflate_dynamic()
[all...]
/kernel/linux/linux-6.6/tools/iio/
H A Diio_utils.c373 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
599 filename = malloc(strlen(iio_dir) + strlen(type) in find_type_by_name()
658 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int()
754 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_string()
861 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_posint()
908 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_float()
955 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in read_sysfs_string()
/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()

Completed in 21 milliseconds

1...<<11121314151617181920>>...185