Lines Matching refs:malloc
76 #define malloc __libc_malloc
702 p->parents = (struct dso **)malloc(sizeof(struct dso *) * PARENTS_BASE_CAPACITY);
742 (struct dso **)malloc(sizeof(struct dso *) * RELOC_CAN_SEARCH_DSO_BASE_CAPACITY);
1214 struct td_index *new = malloc(sizeof *new);
1498 sh_buf = malloc(shsize);
1519 shstrtab_content = (char *)malloc(shstrtab.sh_size);
1600 allocated_buf = malloc(phsize);
1941 p->rpath = malloc(strlen(p->rpath_orig) + n*l + 1);
2033 p->funcdescs = malloc(size);
2066 char *new_syspath = malloc(newlen);
2429 * program entry and malloc has been replaced, or if it's
2463 malloc(sizeof(*tmp) * (ndeps_all+cnt+1)) :
2489 malloc(sizeof(*tmp) * (ndeps_all+cnt+1)) :
3267 /* Donate unused parts of app and library mapping to malloc */
3362 * malloc, which may be provided by the application. Calling any
3418 /* Determine if malloc was interposed by a replacement implementation
3421 if (find_sym(head, "malloc", 1).dso != &ldso)
4362 struct dso_entry *start_entry = (struct dso_entry *)malloc(sizeof(struct dso_entry));
4395 struct dso_entry *edeps = (struct dso_entry *)malloc(sizeof(struct dso_entry));
4827 char *new_lib_paths = malloc(newlen);
4908 char *new_lib_paths = malloc(newlen);
5093 task->allocated_buf = malloc(task->phsize);
6209 struct dso_debug_info *debug_info = malloc(sizeof(struct dso_debug_info));
6211 LD_LOGE("malloc error! dso name: %{public}s.", so->name);