/components/libc/compilers/picolibc/ |
A D | syscall.c | 37 void *malloc(size_t n) in malloc() function 41 RTM_EXPORT(malloc);
|
/components/libc/compilers/armlibc/ |
A D | syscall_mem.c | 30 void *malloc(size_t n) in malloc() function 39 RTM_EXPORT(malloc);
|
/components/legacy/fdt/src/ |
A D | dtb_get.c | 48 dtb_property->next = (struct dtb_property *)malloc(sizeof(struct dtb_property)); in _dtb_node_get_dtb_properties_list() 113 dtb_node->properties = (struct dtb_property *)malloc(sizeof(struct dtb_property)); in _dtb_node_get_dtb_nodes_list() 114 dtb_node->child = (struct dtb_node *)malloc(sizeof(struct dtb_node)); in _dtb_node_get_dtb_nodes_list() 148 dtb_node->sibling = (struct dtb_node *)malloc(sizeof(struct dtb_node)); in _dtb_node_get_dtb_nodes_list() 179 if ((dtb_node_head = (struct dtb_node *)malloc(sizeof(struct dtb_node))) == NULL) in dtb_node_get_dtb_list() 187 paths_buf.ptr = (char *)malloc(FDT_DTB_ALL_NODES_PATH_SIZE); in dtb_node_get_dtb_list() 200 if ((dtb_node_head->header = (struct dtb_header *)malloc(sizeof(struct dtb_header))) == NULL) in dtb_node_get_dtb_list() 219 …b_header *)dtb_node_head->header)->memreserve = (struct dtb_memreserve *)malloc(sizeof(struct dtb_… in dtb_node_get_dtb_list() 244 dtb_node_head->properties = (struct dtb_property *)malloc(sizeof(struct dtb_property)); in dtb_node_get_dtb_list() 245 dtb_node_head->child = (struct dtb_node *)malloc(sizeof(struct dtb_node)); in dtb_node_get_dtb_list() [all …]
|
A D | dtb_load.c | 43 if ((fdt = (struct fdt_header *)malloc(sizeof(uint8_t) * dtb_sz)) == NULL) in dtb_node_load_from_fs() 90 if ((fdt = (size_t *)malloc(dtb_sz)) != NULL) in dtb_node_load_from_memory()
|
A D | dtb_base.c | 404 new = (struct dtb_property *)malloc(sizeof(struct dtb_property)); in dtb_node_write_prop()
|
/components/libc/compilers/common/ |
A D | cstring.c | 164 char *news = (char *)malloc(strlen(s) + 1); in strdup() 177 char *news = (char *)malloc(nsize + 1); in strndup()
|
/components/libc/compilers/dlib/ |
A D | syscall_mem.c | 24 void *malloc(size_t n) in malloc() function
|
/components/libc/posix/io/mman/ |
A D | mman.c | 43 else mem = (uint8_t *)malloc(length); in mmap()
|
/components/dfs/dfs_v1/filesystems/cromfs/ |
A D | dfs_cromfs.c | 357 block_buff = (uint8_t *)malloc(2 * ci->bytes_per_sector); in cromfs_blk_read_bytes() 442 dir = (cromfs_dirent_cache *)malloc(sizeof *dir); in cromfs_dirent_cache_get() 447 dir->buff = (uint8_t *)malloc(size); in cromfs_dirent_cache_get() 490 ci = (cromfs_info *)malloc(sizeof *ci); in dfs_cromfs_mount() 697 compressed_file_buff = (void *)malloc(size); in fill_file_data() 822 fi = (file_info *)malloc(sizeof *fi); in inset_file_info() 840 file_buff = (void *)malloc(osize); in inset_file_info() 850 node = (struct cromfs_avl_struct *)malloc(sizeof *node); in inset_file_info() 1071 dirent = (cromfs_dirent_item *)malloc(fi->size); in dfs_cromfs_getdents()
|
/components/net/lwip/lwip-1.4.1/src/include/lwip/ |
A D | mem.h | 57 #define mem_malloc malloc
|
/components/dfs/dfs_v2/filesystems/cromfs/ |
A D | dfs_cromfs.c | 382 block_buff = (uint8_t *)malloc(2 * ci->bytes_per_sector); in cromfs_blk_read_bytes() 467 dir = (cromfs_dirent_cache *)malloc(sizeof *dir); in cromfs_dirent_cache_get() 472 dir->buff = (uint8_t *)malloc(size); in cromfs_dirent_cache_get() 524 ci = (cromfs_info *)malloc(sizeof *ci); in dfs_cromfs_mount() 760 compressed_file_buff = (void *)malloc(size); in fill_file_data() 873 fi = (file_info *)malloc(sizeof *fi); in inset_file_info() 891 file_buff = (void *)malloc(osize); in inset_file_info() 901 node = (struct cromfs_avl_struct *)malloc(sizeof *node); in inset_file_info() 1131 dirent = (cromfs_dirent_item *)malloc(fi->size); in dfs_cromfs_getdents()
|
/components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
A D | demand.c | 92 frame = malloc(framemax); in demand_conf() 299 pkt = (struct packet *) malloc(sizeof(struct packet) + len);
|
A D | multilink.c | 173 bundle_id = malloc(l); in mp_join_bundle() 189 blinks_id = malloc(l + 7); in mp_join_bundle() 325 p = malloc(l); in make_bundle_links()
|
A D | auth.c | 512 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l); 534 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l); 2064 ip = (struct permitted_ip *) malloc((n + 1) * sizeof(struct permitted_ip)); 2433 malloc(sizeof(struct wordlist) + strlen(word) + 1);
|
/components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
A D | demand.c | 92 frame = malloc(framemax); in demand_conf() 299 pkt = (struct packet *) malloc(sizeof(struct packet) + len);
|
A D | multilink.c | 173 bundle_id = malloc(l); in mp_join_bundle() 189 blinks_id = malloc(l + 7); in mp_join_bundle() 325 p = malloc(l); in make_bundle_links()
|
A D | auth.c | 512 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l); 534 wp = (struct wordlist *) malloc(sizeof(struct wordlist) + l); 2064 ip = (struct permitted_ip *) malloc((n + 1) * sizeof(struct permitted_ip)); 2433 malloc(sizeof(struct wordlist) + strlen(word) + 1);
|
/components/net/lwip/lwip-2.1.2/src/apps/http/makefsdata/ |
A D | makefsdata.c | 414 buf = malloc(COPY_BUFSIZE); in copy_file() 553 buf = (u8_t *)malloc(fsize); in get_file_data() 588 ret_buf = (u8_t *)malloc(out_bytes); in get_file_data() 707 char *new_name = (char *)malloc(len + 2); in fix_filename_for_c() 743 struct file_entry *fe = (struct file_entry *)malloc(sizeof(struct file_entry)); in register_filename() 774 buf = (char*)malloc(fsize); in checkSsiByFilelist() 800 lines = (char**)malloc(sizeof(char*) * num_lines); in checkSsiByFilelist()
|
A D | tinydir.h | 175 #define _TINYDIR_MALLOC(_size) malloc(_size)
|
/components/net/lwip/lwip-2.0.3/src/apps/httpd/makefsdata/ |
A D | makefsdata.c | 405 buf = malloc(COPY_BUFSIZE); in copy_file() 501 buf = (u8_t*)malloc(fsize); in get_file_data() 535 ret_buf = (u8_t*)malloc(out_bytes); in get_file_data() 654 char *new_name = (char*)malloc(len + 2); in fix_filename_for_c() 690 struct file_entry* fe = (struct file_entry*)malloc(sizeof(struct file_entry)); in register_filename()
|
/components/libc/posix/io/stdio/ |
A D | stdio.c | 221 if ((*lineptr = (char *)malloc(*n)) == NULL) in getdelim()
|
/components/libc/posix/tls/ |
A D | emutls.c | 68 if ((object = (char *)malloc(EXTRA_ALIGN_PTR_BYTES + size)) == NULL) in emutls_memalign_alloc()
|
/components/net/lwip/lwip-2.1.2/test/unit/arch/ |
A D | sys_arch.c | 219 mbox->q_mem = (void**)malloc(sizeof(void*)*mboxsize); in sys_mbox_new()
|
/components/libc/ |
A D | posix-info.txt | 233 + malloc()
|
/components/net/lwip/lwip-2.0.3/src/core/ |
A D | mem.c | 101 #define mem_clib_malloc malloc
|