Searched refs:libld_malloc (Results 1 – 18 of 18) sorted by relevance
208 #define calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))210 #define malloc libld_malloc213 #define libld_calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))215 extern void *libld_malloc(size_t);
103 libld_malloc(size_t size) in libld_malloc() function159 return (libld_malloc(size)); in libld_realloc()173 if ((vptr = libld_malloc(size)) != NULL) in libld_realloc()272 if ((new = libld_malloc(strlen(str) + 1)) == NULL) in add_string()295 if ((str = libld_malloc(len)) == NULL) in str2chr_wrap_cb()
209 if ((_path = libld_malloc(strlen(path) + 1)) == NULL) in find_lib_name()243 if ((_path = libld_malloc(strlen(path) + 1)) == NULL) in find_lib_name()388 if ((path = libld_malloc(strlen(cp) + 1)) == NULL) in ld_lib_setup()
392 if ((psegs = libld_malloc(sizeof (sg_desc))) == NULL) in ld_ent_setup()424 if ((enp = libld_malloc(sizeof (ent_desc))) == NULL) in ld_ent_setup()
197 if ((prestr = libld_malloc(len)) == NULL) in dbg_print()
171 if ((new_buf = libld_malloc(new_bufsize)) == NULL) in demangle_symname()276 if ((nsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_copy()376 if ((_name = libld_malloc(strlen(name) + 1)) == NULL) in ld_sym_enter()2019 if ((ifl->ifl_oldndx = libld_malloc((size_t)(total * in ld_sym_process()2586 libld_malloc(sizeof (Sym_desc))) == NULL) in ld_sym_process()2608 if ((rsym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_process()2753 if ((sort = libld_malloc(nsize)) == NULL) in ld_sym_process()2961 if ((cname = libld_malloc(tsize)) == 0) in ld_sym_process()2972 if ((csym = libld_malloc(sizeof (Sym))) == NULL) in ld_sym_process()3128 if ((str = libld_malloc(len)) == NULL) in ld_stt_section_sym_name()
666 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in isp_convert_type()931 if ((oname = libld_malloc(size + 1)) == NULL) in ld_place_section()997 if ((oname = libld_malloc(size + 1)) == NULL) in ld_place_section()
212 if ((adp = libld_malloc(sizeof (Ar_desc))) == NULL) in ld_ar_setup()349 if ((path = libld_malloc(len)) == NULL) { in ar_member_path()
638 if ((ocapset->oc_id.cs_str = libld_malloc(len)) == NULL) in get_cap_group()785 if (((mcsp = libld_malloc(sizeof (Cap_sym))) == NULL) || in ld_cap_add_family()1886 (machine = libld_malloc((size_t)size))) { in expand()1915 (platform = libld_malloc((size_t)size))) { in expand()2012 if ((_next = lptr = libld_malloc(mlen)) == NULL) in expand()2062 if ((nptr = libld_malloc(strlen(_name) + 1)) == NULL) in expand()3501 if ((_path = libld_malloc(strlen(path) + 1)) == NULL) in process_req_lib()3638 rpath = libld_malloc(strlen(sdf->sdf_rpath) + 1); in ld_finish_libs()
389 if ((ifl->ifl_sortsyms = libld_malloc((ifl->ifl_symscnt + 1) * in disp_inspect()525 if (((rcbp = libld_malloc(size)) == NULL) || in ld_add_rel_cache()573 if (((racp = libld_malloc(size)) == NULL) || in ld_add_rel_aux()2344 libld_malloc(sizeof (Mv_reloc))) == NULL)) in process_movereloc()2571 if ((sorted_list = libld_malloc((size_t)(sizeof (Reloc_list) * in do_sorted_outrelocs()
711 if ((shdr = libld_malloc(sizeof (Shdr))) == NULL) in new_section_from_template()1697 if ((data->d_buf = libld_malloc(shdr->sh_size)) == NULL) in make_cap()2451 if ((sectname = libld_malloc(strlen(rel_prefix) + in make_reloc()2947 if ((mstr_data->d_buf = libld_malloc(data_size)) == NULL) in ld_make_strmerge()
670 extern void *libld_malloc(size_t);
764 if ((argv = libld_malloc((sizeof (char *)) * (argc + 1))) == NULL) in createargv()873 if ((name = libld_malloc(strlen(optarg) + 1)) == NULL) in guidance_parse()
1419 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
1411 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
2332 mf = libld_malloc(sizeof (*mf) + name_len + stat_buf.st_size + 1); in ld_map_parse()
1965 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
1003 6267352 libld_malloc provides inadequate alignment