Lines Matching refs:alloc_mem

54     char **alloc_mem)  in dbg_fmt_isec_name2()  argument
63 *alloc_mem = NULL; in dbg_fmt_isec_name2()
77 ((*alloc_mem = malloc(cnt + 1)) != NULL)) { in dbg_fmt_isec_name2()
78 (void) snprintf(*alloc_mem, cnt + 1, in dbg_fmt_isec_name2()
80 return (*alloc_mem); in dbg_fmt_isec_name2()
84 *alloc_mem = NULL; in dbg_fmt_isec_name2()
88 dbg_fmt_isec_name(Is_desc *isp, dbg_isec_name_buf_t buf, char **alloc_mem) in dbg_fmt_isec_name() argument
91 alloc_mem)); in dbg_fmt_isec_name()
164 char *alloc_mem; in Dbg_sec_unsup_strmerge() local
181 dbg_fmt_isec_name(isp, buf, &alloc_mem), str, in Dbg_sec_unsup_strmerge()
184 if (alloc_mem != NULL) in Dbg_sec_unsup_strmerge()
185 free(alloc_mem); in Dbg_sec_unsup_strmerge()
221 char *alloc_mem; in Dbg_sec_in() local
224 dbg_fmt_isec_name(isp, buf, &alloc_mem), in Dbg_sec_in()
226 if (alloc_mem != NULL) in Dbg_sec_in()
227 free(alloc_mem); in Dbg_sec_in()
264 char *alloc_mem; in Dbg_sec_discarded() local
267 dbg_fmt_isec_name(isp, buf, &alloc_mem), in Dbg_sec_discarded()
269 if (alloc_mem != NULL) in Dbg_sec_discarded()
270 free(alloc_mem); in Dbg_sec_discarded()
292 char *alloc_mem; in Dbg_sec_group() local
303 isp_str = dbg_fmt_isec_name(isp, buf, &alloc_mem); in Dbg_sec_group()
319 if (alloc_mem != NULL) in Dbg_sec_group()
320 free(alloc_mem); in Dbg_sec_group()
361 char *alloc_mem; in Dbg_sec_order_list() local
387 isp1_str = dbg_fmt_isec_name(isp1, buf, &alloc_mem); in Dbg_sec_order_list()
401 if (alloc_mem != NULL) in Dbg_sec_order_list()
402 free(alloc_mem); in Dbg_sec_order_list()
424 char *alloc_mem; in Dbg_sec_order_error() local
435 dbg_fmt_isec_name(ifl->ifl_isdesc[ndx], buf, &alloc_mem), in Dbg_sec_order_error()
437 if (alloc_mem != NULL) in Dbg_sec_order_error()
438 free(alloc_mem); in Dbg_sec_order_error()
448 char *alloc_mem; in Dbg_sec_redirected() local
454 dbg_fmt_isec_name(isp, buf, &alloc_mem), nname); in Dbg_sec_redirected()
455 if (alloc_mem != NULL) in Dbg_sec_redirected()
456 free(alloc_mem); in Dbg_sec_redirected()
463 char *alloc_mem; in Dbg_sec_gnu_comdat() local
476 dbg_print(lml, fmt, dbg_fmt_isec_name(isp, buf, &alloc_mem)); in Dbg_sec_gnu_comdat()
477 if (alloc_mem != NULL) in Dbg_sec_gnu_comdat()
478 free(alloc_mem); in Dbg_sec_gnu_comdat()