/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_formats.c | 1261 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers() 1318 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers_2()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_program.c | 127 zm = malloc(sizeof(struct zink_shader_module) + key->size + nonseamless_size + inline_size * sizeof(uint32_t)); in get_shader_module_for_stage() 322 zm = malloc(sizeof(struct zink_shader_module) + nonseamless_size + inline_size * sizeof(uint32_t)); in update_cs_shader_module()
|
/third_party/mesa3d/src/glx/ |
H A D | glxcmds.c | 724 glxDraw = malloc(sizeof(*glxDraw)); in glXCreateGLXPixmap() 1684 config_list = malloc(num_configs * sizeof *config_list); in glXGetFBConfigs()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cldrtest.c | 868 str = (UChar*) malloc(U_SIZEOF_UCHAR * strCapacity); in findSetMatch() 1497 UChar* isoCode = (UChar*)malloc(sizeof(UChar) * (uprv_strlen(usdCode) + 1)); in TestAvailableIsoCodes()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | intltest.cpp | 697 baseNameBuffer = (char*)malloc(1024); in runTest() 1623 tdpath = (char*) malloc(sizeof(char) *(( strlen(directory) * strlen(tdrelativepath)) + 100)); in loadTestData()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | compile-i386.c | 1003 list = malloc(sizeof(entry) * elem); in sort_array() 1882 ls = malloc(sizeof(*ls)); in loopstk_push()
|
H A D | example.c | 710 struct operand *op = malloc(sizeof(*op)); in alloc_op() 739 struct operand *op = malloc(sizeof(*op)); in get_generic_operand()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer_virtgpu.c | 520 uint32_t *gem_handles = malloc(sizeof(*gem_handles) * bo_count); in sim_submit_alloc_gem_handles() 535 /* TODO replace submit->bos by submit->gem_handles to avoid malloc/loop */ in sim_submit() 899 /* TODO replace wait->syncs by wait->sync_handles to avoid malloc/loop */ in virtgpu_ioctl_syncobj_timeline_wait() 901 malloc(sizeof(*syncobj_handles) * wait->sync_count); in virtgpu_ioctl_syncobj_timeline_wait()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 404 void *data = malloc(total_size); in create_aux_state_map() 1418 map->buffer = map->ptr = malloc(xfer->layer_stride * box->depth); in crocus_map_s8()
|
/third_party/optimized-routines/math/test/rtest/ |
H A D | dotest.c | 851 specifics = malloc(4400 * sizeof(*specifics)); in float32_case() 979 specifics = malloc(13056 * sizeof(*specifics)); in float64_case()
|
/third_party/optimized-routines/math/test/ |
H A D | mathtest.c | 635 tmp_op.name = malloc(strlen(sop->name)+2); in find_special_op_from_op() 1603 files = (char **)malloc((ac+1) * sizeof(char *)); in main() 1605 fprintf(stderr, "initial malloc failed!\n"); in main()
|
/third_party/protobuf/ruby/ext/google/protobuf_c/ |
H A D | encode_decode.c | 110 sink->ptr = malloc(sink->size); in stringsink_init() 888 msg->unknown_fields = malloc(sizeof(stringsink)); in unknown_field_handler() 993 // to avoid malloc() when possible, and a template for Ruby exception messages
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | wpagui.cpp | 360 cfile = (char *) malloc(flen); in openCtrlConnection() 366 cfile = (char *) malloc(flen); in openCtrlConnection()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | wpagui.cpp | 362 cfile = (char *) malloc(flen); in openCtrlConnection() 368 cfile = (char *) malloc(flen); in openCtrlConnection()
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_compile.c | 1200 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy() 1235 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy_with_tables() 1240 newtables = code->memctl.malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), in pcre2_code_copy_with_tables() 4688 cb->cx->memctl.malloc(newsize * sizeof(named_group), in parse_regex() 10145 uint32_t *heap_parsed_pattern = ccontext->memctl.malloc( in pcre2_compile() 10172 cb.groupinfo = ccontext->memctl.malloc( in pcre2_compile() 10252 ccontext->memctl.malloc(re_blocksize, ccontext->memctl.memory_data); in pcre2_compile()
|
H A D | pcre2_match.c | 677 new = match_data->memctl.malloc(newsize, match_data->memctl.memory_data); in match() 6557 match_data->subject = match_data->memctl.malloc(length, in pcre2_match() 6848 match_data->heapframes = match_data->memctl.malloc(heapframes_size, in pcre2_match() 7495 match_data->subject = match_data->memctl.malloc(length, in pcre2_match()
|
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 3445 multiple = malloc(sizeof(PyObject*) * 1000); in profile_int() 3463 multiple = malloc(sizeof(PyObject*) * 1000000); in profile_int() 3480 multiple = malloc(sizeof(PyObject*) * 1000000); in profile_int() 4153 return hook->alloc.malloc(hook->alloc.ctx, size); in hook_malloc() 4195 alloc.malloc = &hook_malloc; in test_setallocators() 4202 /* malloc, realloc, free */ in test_setallocators() 4221 error_msg = "malloc failed"; in test_setallocators() 4224 CHECK_CTX("malloc"); in test_setallocators() 4226 error_msg = "malloc invalid size"; in test_setallocators() 4363 return alloc->malloc(allo in hook_fmalloc() [all...] |
/third_party/curl/lib/ |
H A D | url.c | 2645 ubuf = malloc(ulen + 1); 2652 pbuf = malloc(plen + 1); 2661 obuf = malloc(olen + 1);
|
/third_party/curl/lib/vssh/ |
H A D | libssh2.c | 285 return malloc(count); in LIBSSH2_ALLOC_FUNC() 2309 sshp->readdir_filename = malloc(PATH_MAX + 1); in ssh_statemach_act() 2315 sshp->readdir_longentry = malloc(PATH_MAX + 1); in ssh_statemach_act()
|
/third_party/backends/backend/ |
H A D | plustek.c | 1293 dev = malloc( sizeof (*dev)); in attach() 1653 devlist = malloc((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices() 1700 s = malloc (sizeof (*s)); in sane_open()
|
H A D | lexmark_low.c | 1069 *data = (SANE_Byte *) malloc (bpl * lines); in low_simple_scan() 4961 dev->transfer_buffer = (SANE_Byte *) malloc (MAX_XFER_SIZE); in sanei_lexmark_low_read_scan_data() 5205 dev->read_buffer = (Read_Buffer *) malloc (sizeof (Read_Buffer)); in read_buffer_init() 5220 dev->read_buffer->data = (SANE_Byte *) malloc (dev->read_buffer->size); in read_buffer_init() 5801 data = (SANE_Byte *) malloc (bpl * lines); in sanei_lexmark_low_shading_calibration() 5812 dev->shading_coeff = (float *) malloc (bpl * sizeof (float)); in sanei_lexmark_low_shading_calibration()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_session_test.c | 3187 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_add_frame() 4658 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_headers_start_stream() 4693 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_headers_reply() 4728 nv[i].value = mem->malloc(vallen + 1, NULL); in test_nghttp2_session_send_headers_frame_size_error() 4743 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_headers_frame_size_error() 4787 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_headers_push_reply() 4820 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_rst_stream() 4853 item = mem->malloc(sizeof(nghttp2_outbound_item), NULL); in test_nghttp2_session_send_push_promise() 4874 frame = mem->malloc(sizeof(nghttp2_frame), NULL); in test_nghttp2_session_send_push_promise() 4881 item = mem->malloc(sizeo in test_nghttp2_session_send_push_promise() [all...] |
/third_party/ntfs-3g/src/ |
H A D | lowntfs-3g.c | 1151 buf = (char*)malloc(ntfs_bad_reparse_lth + 1); in ntfs_fuse_readlink() 1679 of = (struct open_file*)malloc(sizeof(struct open_file)); in ntfs_fuse_open() 2523 of = (struct open_file*)malloc(sizeof(struct open_file)); in ntfs_fuse_create() 3497 list = (char*)malloc(size); in ntfs_fuse_listxattr()
|
/third_party/backends/backend/escl/ |
H A D | escl.c | 410 tmp = (char *)malloc(len); in convertFromESCLDev() 1881 url = (char *)malloc(url_len); in escl_curl_url()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_serialize.c | 561 src->reg.indirect = malloc(sizeof(nir_src)); in read_src() 782 dst->reg.indirect = malloc(sizeof(nir_src)); in read_dest()
|