Home
last modified time | relevance | path

Searched refs:libld_malloc (Results 1 – 18 of 18) sorted by relevance

/titanic_50/usr/src/cmd/sgs/include/
H A Dsgs.h208 #define calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))
210 #define malloc libld_malloc
213 #define libld_calloc(x, a) libld_malloc(((size_t)x) * ((size_t)a))
215 extern void *libld_malloc(size_t);
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dutil.c103 libld_malloc(size_t size) in libld_malloc() function
159 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()
H A Dldlibs.c209 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()
H A Dentry.c392 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()
H A Ddebug.c197 if ((prestr = libld_malloc(len)) == NULL) in dbg_print()
H A Dsyms.c171 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()
H A Dplace.c666 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()
H A Dlibs.c212 if ((adp = libld_malloc(sizeof (Ar_desc))) == NULL) in ld_ar_setup()
349 if ((path = libld_malloc(len)) == NULL) { in ar_member_path()
H A Dfiles.c638 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()
H A Drelocate.c389 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()
H A Dsections.c711 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()
H A D_libld.h670 extern void *libld_malloc(size_t);
H A Dargs.c764 if ((argv = libld_malloc((sizeof (char *)) * (argc + 1))) == NULL) in createargv()
873 if ((name = libld_malloc(strlen(optarg) + 1)) == NULL) in guidance_parse()
H A Dmachrel.intel.c1419 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
H A Dmachrel.amd.c1411 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
H A Dmap_core.c2332 mf = libld_malloc(sizeof (*mf) + name_len + stat_buf.st_size + 1); in ld_map_parse()
H A Dmachrel.sparc.c1965 if ((gnp = libld_malloc(sizeof (Gotndx))) == NULL) in ld_assign_got_ndx()
/titanic_50/usr/src/cmd/sgs/packages/common/
H A DSUNWonld-README1003 6267352 libld_malloc provides inadequate alignment