Searched refs:alloc_mem (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | sections.c | 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() [all …]
|
H A D | relocate.c | 253 char *alloc_mem; in Dbg_reloc_discard() local 264 dbg_fmt_isec_name(isp, buf, &alloc_mem), isp->is_file->ifl_name, in Dbg_reloc_discard() 267 if (alloc_mem != NULL) in Dbg_reloc_discard() 268 free(alloc_mem); in Dbg_reloc_discard() 276 char *alloc_mem; in Dbg_reloc_transition() local 286 dbg_fmt_isec_name(isp, buf, &alloc_mem), isp->is_file->ifl_name, in Dbg_reloc_transition() 289 if (alloc_mem != NULL) in Dbg_reloc_transition() 290 free(alloc_mem); in Dbg_reloc_transition() 312 char *alloc_mem; in Dbg_reloc_in() local 320 dbg_fmt_isec_name2(secname, secndx, buf, &alloc_mem), symname, in Dbg_reloc_in() [all …]
|
H A D | unused.c | 46 char *alloc_mem; in Dbg_unused_sec() local 69 dbg_fmt_isec_name(isp, buf, &alloc_mem), in Dbg_unused_sec() 71 if (alloc_mem != NULL) in Dbg_unused_sec() 72 free(alloc_mem); in Dbg_unused_sec()
|
H A D | shdr.c | 65 char *alloc_mem; in Dbg_shdr_modified() local 74 dbg_fmt_isec_name2(name, ndx, buf, &alloc_mem), obj); in Dbg_shdr_modified() 75 if (alloc_mem != NULL) in Dbg_shdr_modified() 76 free(alloc_mem); in Dbg_shdr_modified()
|
H A D | segments.c | 172 char *alloc_mem; in Dbg_seg_os() local 195 dbg_fmt_isec_name(isp, buf, &alloc_mem), str); in Dbg_seg_os() 196 if (alloc_mem != NULL) in Dbg_seg_os() 197 free(alloc_mem); in Dbg_seg_os()
|
H A D | syms.c | 185 char *alloc_mem; in Dbg_syms_discarded() local 199 dbg_fmt_isec_name(sdp->sd_isc, buf, &alloc_mem), file); in Dbg_syms_discarded() 200 if (alloc_mem != NULL) in Dbg_syms_discarded() 201 free(alloc_mem); in Dbg_syms_discarded()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_alloc.c | 506 char * alloc_mem = 0; in _dwarf_get_alloc() local 534 alloc_mem = malloc(size); in _dwarf_get_alloc() 535 if (!alloc_mem) { in _dwarf_get_alloc() 539 char * ret_mem = alloc_mem + DW_RESERVE; in _dwarf_get_alloc() 541 struct reserve_data_s *r = (struct reserve_data_s*)alloc_mem; in _dwarf_get_alloc() 544 memset(alloc_mem, 0, size); in _dwarf_get_alloc()
|