Home
last modified time | relevance | path

Searched refs:malloc (Results 1476 - 1500 of 2531) sorted by relevance

1...<<51525354555657585960>>...102

/third_party/elfutils/libdw/
H A Ddwarf_getsrclines.c165 the stack. Stack allocate some entries, only dynamically malloc in read_srclines()
381 dirarray = malloc (ndirlist * sizeof (*dirarray)); in read_srclines()
470 : malloc (sizeof (struct filelist))); \ in read_srclines()
690 : malloc (sizeof (struct linelist))); \ in read_srclines()
H A Ddwarf_getlocation.c299 : malloc (sizeof (struct loclist))); \ in __libdw_intern_expression()
599 result = malloc (sizeof *result * n); in __libdw_intern_expression()
646 newp = malloc (sizeof *newp); in __libdw_intern_expression()
/third_party/curl/lib/vtls/
H A Dmbedtls.c778 char *buffer = malloc(bufsize);
812 pubkey = malloc(PUB_DER_MAX_BYTES);
895 our_ssl_sessionid = malloc(sizeof(mbedtls_ssl_session));
/third_party/backends/backend/
H A Dpint.c129 dev = malloc (sizeof (*dev)); in attach()
624 devlist = malloc ((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
664 s = malloc (sizeof (*s)); in sane_open()
H A Dricoh2.c182 device = (Ricoh2_Device *) malloc (sizeof (Ricoh2_Device)); in attach()
255 dev->val[OPT_MODE].s = malloc (od->size); in init_options()
320 sane_devices = (const SANE_Device **) malloc (sizeof (const SANE_Device *) in sane_get_devices()
H A Ddell1600n_net.c347 pDevice = malloc (sizeof (struct DeviceRecord)); in sane_get_devices()
488 if (!(gOpenScanners[iHandle] = malloc (sizeof (struct ScannerState)))) in sane_open()
1017 pBuf->m_pBuf = malloc (INITIAL_COM_BUF_SIZE); in InitComBuf()
1261 pDevice = malloc (sizeof (struct DeviceRecord)); in ProcessFindResponse()
H A Dibm.c242 dev = malloc (sizeof (*dev)); in attach()
251 str = malloc (prod_rev_size); in attach()
609 devlist = malloc ((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
655 s = malloc (sizeof (*s)); in sane_open()
H A Dgt68xx_mid.c76 delay->mem_block = (SANE_Byte *) malloc (bytes_per_line * line_count); in gt68xx_delay_buffer_init()
87 (unsigned int **) malloc (sizeof (unsigned int *) * line_count); in gt68xx_delay_buffer_init()
986 reader = (GT68xx_Line_Reader *) malloc (sizeof (GT68xx_Line_Reader)); in gt68xx_line_reader_new()
1116 reader->pixel_buffer = malloc (scan_bpl_full); in gt68xx_line_reader_new()
H A Dhpljm1005.c263 dev = malloc (sizeof (struct device_s)); in attach()
468 devlist = malloc (sizeof (devlist[0]) * (devlist_count + 1)); in sane_get_devices()
476 devlist[i] = malloc (sizeof (SANE_Device)); in sane_get_devices()
867 dev->buffer = malloc (dev->bufs); in get_data()
H A Ds9036.c594 dev = malloc (sizeof (*dev)); in attach()
890 devlist = malloc ((num_devices + 1) * sizeof (devlist[0])); in sane_get_devices()
927 s = malloc (sizeof (*s)); in sane_open()
1226 s->buffer = (Byte *) malloc (s->bufsize * sizeof (Byte)); in sane_start()
1230 DBG (1, "open malloc(%lu) failed.\n", (u_long) s->bufsize); in sane_start()
/third_party/curl/lib/
H A Dmqtt.c291 packet = malloc(packetlen); in mqtt_connect()
458 packet = malloc(packetlen); in mqtt_subscribe()
544 pkt = malloc(remaininglength + 1 + encodelen); in mqtt_publish()
/third_party/icu/icu4c/source/test/cintltst/
H A Dutransts.c71 rep->text = malloc(sizeof(UChar) * (strlen(cstring)+1)); in InitXReplaceable()
105 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace()
117 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy()
/third_party/FreeBSD/sbin/fsck_msdosfs/
H A Dfat.c593 buffer = malloc(len = boot->bpbBytesPerSec); in checkdirty()
660 buffer = malloc(len = boot->bpbBytesPerSec); in cleardirty()
742 fat->fatbuf = malloc(readsize); in _readfat()
/third_party/NuttX/drivers/usbdev/gadget/
H A Df_hid.c250 buf[i] = (char *)malloc(len); in hid_device_string_info()
253 usb_err("%s malloc failed\n", __FUNCTION__); in hid_device_string_info()
290 report_desc = (uint8_t *)malloc(len); in hid_report_descriptor_info()
293 usb_err("%s malloc failed\n", __FUNCTION__); in hid_report_descriptor_info()
939 hid_s = (struct hid_softc *)malloc(sizeof(struct hid_softc)); in hid_classobject()
/third_party/libdrm/amdgpu/
H A Damdgpu_bo.c652 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_create()
656 *result = malloc(sizeof(struct amdgpu_bo_list)); in amdgpu_bo_list_create()
724 list = malloc(number_of_resources * sizeof(struct drm_amdgpu_bo_list_entry)); in amdgpu_bo_list_update()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_pipeline_cache.c89 cache->hash_table = malloc(byte_size); in radv_pipeline_cache_init()
276 table = malloc(byte_size); in radv_pipeline_cache_grow()
421 *stack_sizes = malloc(entry->num_stack_sizes * sizeof(**stack_sizes)); in radv_create_shaders_from_pipeline_cache()
/third_party/ltp/
H A Drunltp142 [NUM_PROCS = no. of processes creating main Memory Load by spinning over malloc()]
143 [CHUNKS = malloc these many chunks (default is 1 when value 0 or undefined)]
144 [BYTES = malloc CHUNKS of BYTES bytes (default is 256MB when value 0 or undefined) ]
/third_party/libdrm/tests/exynos/
H A Dexynos_fimg2d_test.c270 userptr = (unsigned long)malloc(size); in g2d_copy_test()
476 userptr = (unsigned long)malloc(size); in g2d_copy_with_scale_test()
566 userptr = (unsigned long)malloc(size); in g2d_blend_test()
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_descriptor_set.h735 cmd_data = malloc(cmd_size); in vn_submit_vkAllocateDescriptorSets()
756 cmd_data = malloc(cmd_size); in vn_submit_vkFreeDescriptorSets()
777 cmd_data = malloc(cmd_size); in vn_submit_vkUpdateDescriptorSets()
H A Dvn_protocol_driver_descriptor_set_layout.h696 cmd_data = malloc(cmd_size); in vn_submit_vkCreateDescriptorSetLayout()
717 cmd_data = malloc(cmd_size); in vn_submit_vkDestroyDescriptorSetLayout()
738 cmd_data = malloc(cmd_size); in vn_submit_vkGetDescriptorSetLayoutSupport()
/third_party/musl/
H A Dconfigure39 --with-malloc=... choose malloc implementation [mallocng]
175 --with-malloc=*) malloc_dir=${arg#*=} ;;
223 # Check that the requested malloc implementation exists
225 test -d "$srcdir/src/malloc/$malloc_dir" \
226 || fail "$0: error: chosen malloc implementation '$malloc_dir' does not exist"
463 test "$optimize" = yes && optimize="internal,malloc,string"
/third_party/popt/src/
H A Dpopthelp.c212 char * le = malloc(4*lineLength + 1); in singleOptionDefaultValue()
306 left = malloc(nb); in singleOptionHelp()
352 char * t = malloc((help ? strlen(help) : 0) + in singleOptionHelp()
/third_party/skia/third_party/externals/libpng/contrib/visupng/
H A DVisualPng.c561 *ppFileList = (TCHAR *) malloc (*pFileCount * MAX_PATH); in BuildPngList()
733 if (!(pDib = (BYTE *) malloc (sizeof(BITMAPINFOHEADER) +
858 pStretchedImage = malloc (cImgChannels * cxNewSize * cyNewSize);
/third_party/python/PC/
H A D_msi.c400 res = malloc(size+1); in msierror()
492 res = (WCHAR*) malloc((size + 1)*sizeof(WCHAR)); in _msi_Record_GetString_impl()
684 sval = malloc(ssize); in _msi_SummaryInformation_GetProperty_impl()
/third_party/f2fs-tools/fsck/
H A Ddict.c249 dict_t *new = malloc(sizeof *new); in dict_create()
949 return malloc(sizeof *dnode_alloc(NULL)); in dnode_alloc()
959 dnode_t *new = malloc(sizeof *new); in dnode_create()
1241 char *new = malloc(sz); in dupstring()

Completed in 34 milliseconds

1...<<51525354555657585960>>...102