Home
last modified time | relevance | path

Searched refs:malloc (Results 1976 - 2000 of 3474) sorted by relevance

1...<<71727374757677787980>>...139

/third_party/zlib/contrib/minizip/
H A Dminiunz.c157 buffer = (char*)malloc(len+1); in makedir()
366 buf = (void*)malloc(size_buf); in do_extract_currentfile()
/third_party/zlib/examples/
H A Dzran.c86 index = malloc(sizeof(struct deflate_index)); in add_point()
91 index->list = malloc(sizeof(point_t) * index->mode); in add_point()
/third_party/zlib/
H A Dgzread.c97 state->in = (unsigned char *)malloc(state->want); in gz_look()
98 state->out = (unsigned char *)malloc(state->want << 1); in gz_look()
/vendor/hisilicon/hispark_taurus/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath()
213 char *buf = malloc(buffLen); in ReadTokenWithFlag()
/vendor/hisilicon/hispark_taurus_linux/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath()
213 char *buf = malloc(buffLen); in ReadTokenWithFlag()
/vendor/hisilicon/hispark_taurus_mini_system/hals/utils/token/
H A Dhal_token.c65 char* filePath = (char *)malloc(filePathLen); in GenTokenFilePath()
213 char *buf = malloc(buffLen); in ReadTokenWithFlag()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf.c771 btf->raw_data = malloc(size); in btf__new()
969 data = malloc(sz); in btf__parse_raw()
1110 log_buf = malloc(log_buf_size); in btf__load()
1260 ptr = malloc(last_size); in btf__get_from_id()
1421 hdr = malloc(btf->hdr->hdr_len); in btf_ensure_modifiable()
1422 types = malloc(btf->hdr->type_len); in btf_ensure_modifiable()
1423 strs = malloc(btf->hdr->str_len); in btf_ensure_modifiable()
2532 btf_ext->data = malloc(size); in btf_ext__new()
2986 d->map = malloc(sizeof(__u32) * (1 + btf->nr_types)); in btf_dedup_new()
3003 d->hypot_map = malloc(sizeo in btf_dedup_new()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dccapitst.c217 aliases=(const char **)malloc(count * sizeof(const char *)); in ListNames()
346 mytarget = (char*) malloc(MAX_FILE_LEN * sizeof(mytarget[0])); in TestConvert()
347 output_cp_buffer = (char*) malloc(MAX_FILE_LEN * sizeof(output_cp_buffer[0])); in TestConvert()
348 ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(ucs_file_buffer[0])); in TestConvert()
349 my_ucs_file_buffer = (UChar*) malloc(MAX_FILE_LEN * sizeof(my_ucs_file_buffer[0])); in TestConvert()
433 target=(char*)malloc(sizeof(char) * targetLimit); in TestConvert()
703 displayname=(UChar*)malloc((disnamelen+1) * sizeof(UChar)); in TestConvert()
876 uchar1=(UChar*)malloc(sizeof(UChar) * (i+1)); in TestConvert()
881 uchar3=(UChar*)malloc(sizeof(UChar)*(i+1)); in TestConvert()
912 uchar2=(UChar*)malloc((targetsiz in TestConvert()
[all...]
/third_party/selinux/libsepol/src/
H A Dmodule_to_cil.c143 *line = malloc(len+1); in get_line()
763 attr_name = malloc(len); in get_new_attr_name()
976 *names = malloc(sizeof(char *)); in set_to_names()
1158 str = malloc(len); in name_list_to_string()
1278 new_val = malloc(len); in cond_expr_to_cil()
1332 new_val = malloc(len); in cond_expr_to_cil()
1772 new_val = malloc(len); in constraint_expr_to_string()
1820 new_val = malloc(len); in constraint_expr_to_string()
1881 new_val = malloc(len); in constraint_expr_to_string()
2565 item = malloc(sizeo in ocontext_isid_to_cil()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcm_app_utils.c165 bitmap = (uint8 *)malloc(bitmap_sz); in cca_analyze()
944 wlccnt = (wl_cnt_wlc_t *)malloc(sizeof(*wlccnt)); in wl_cntbuf_to_xtlv_format()
945 macstat = (uint32 *)malloc(WL_CNT_MCST_STRUCT_SZ); in wl_cntbuf_to_xtlv_format()
948 printf("%s: malloc fail!\n", __FUNCTION__); in wl_cntbuf_to_xtlv_format()
/kernel/linux/linux-5.10/arch/x86/tools/
H A Drelocs.c451 sec->strtab = malloc(sec->shdr.sh_size); in read_strtabs()
453 die("malloc of %d bytes for strtab failed\n", in read_strtabs()
476 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
478 die("malloc of %d bytes for symtab failed\n", in read_symtabs()
509 sec->reltab = malloc(sec->shdr.sh_size); in read_relocs()
511 die("malloc of %d bytes for relocs failed\n", in read_relocs()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c500 buf = malloc(expected_read_len); in test_overflow()
679 val = malloc(8 * bpf_num_possible_cpus()); in test_bpf_percpu_hash_map()
851 val = malloc(8 * bpf_num_possible_cpus()); in test_bpf_percpu_array_map()
/kernel/linux/linux-5.10/tools/perf/pmu-events/
H A Djevents.c164 fixed = (char *) malloc(len + esc_count + 1); in fixregex()
452 es = malloc(sizeof(*es)); in save_arch_std_events()
796 line = malloc(n); in process_mapfile()
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/
H A Dtest_memcontrol.c100 buf = malloc(size); in alloc_anon_50M_check()
102 fprintf(stderr, "malloc() failed\n"); in alloc_anon_50M_check()
218 buf = malloc(size); in alloc_anon_noexit()
220 fprintf(stderr, "malloc() failed\n"); in alloc_anon_noexit()
792 buf = malloc(size); in alloc_anon_50M_check_swap()
794 fprintf(stderr, "malloc() failed\n"); in alloc_anon_50M_check_swap()
/kernel/linux/linux-6.6/tools/testing/selftests/x86/
H A Dlam.c276 * Test lam feature through dereference pointer get from malloc.
288 ptr = (char *)malloc(MALLOC_LEN); in handle_malloc()
290 perror("malloc() failure\n"); in handle_malloc()
591 fi = malloc(sizeof(*fi) + sizeof(struct iovec) * blocks); in do_uring()
598 ring = malloc(sizeof(*ring)); in do_uring()
953 printf("\t\t0x1:malloc; 0x2:max_bits; 0x4:mmap; 0x8:syscall; 0x10:io_uring; 0x20:inherit;\n"); in cmd_help()
/kernel/liteos_m/testsuites/sample/posix/
H A Dpthread_func_test.c533 int *data = (int *)malloc(TEST_KEY_SIZE); in PthreadFunc08()
545 data = (int *)malloc(TEST_KEY_SIZE); in PthreadFunc08()
985 stackAddr = malloc(OS_TSK_TEST_STACK_SIZE);
/kernel/uniproton/src/fs/vfs/
H A Dvfs_fs.c495 dir = (struct TagDir *)malloc(sizeof(struct TagDir)); in OsVfsOpendir()
812 buf = (char *)malloc(totalLen); in OsVfsReadv()
870 buf = (char *)malloc(totalLen); in OsVfsWritev()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dcommon.c257 file = malloc(strlen(name) + 1); in mount_bpffs_for_pin()
873 fds = malloc(sizeof(int)); in prog_parse_fd()
1010 fds = malloc(sizeof(int)); in map_parse_fd()
/third_party/f2fs-tools/fsck/
H A Dresize.c290 nat_block = malloc(BLOCK_SZ); in shrink_nats()
339 nat_block = malloc(BLOCK_SZ); in migrate_nat()
470 buf = malloc(BLOCK_SZ); in rebuild_checkpoint()
/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()
/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()

Completed in 37 milliseconds

1...<<71727374757677787980>>...139