Searched refs:seglen (Results 1 – 2 of 2) sorted by relevance
209 size_t seglen = strlen (segname); in obj_mach_o_make_or_get_sect() local213 n = xmalloc (seglen + 1 + sectlen + 1); in obj_mach_o_make_or_get_sect()214 memcpy (n, segname, seglen); in obj_mach_o_make_or_get_sect()215 n[seglen] = '.'; in obj_mach_o_make_or_get_sect()216 memcpy (n + seglen + 1, sectname, sectlen); in obj_mach_o_make_or_get_sect()217 n[seglen + 1 + sectlen] = 0; in obj_mach_o_make_or_get_sect()
443 unsigned int seglen; in bfd_mach_o_convert_section_name_to_mach_o() local470 seglen = dot - name; in bfd_mach_o_convert_section_name_to_mach_o()473 if (seglen <= BFD_MACH_O_SEGNAME_SIZE in bfd_mach_o_convert_section_name_to_mach_o()476 memcpy (section->segname, name, seglen); in bfd_mach_o_convert_section_name_to_mach_o()477 section->segname[seglen] = 0; in bfd_mach_o_convert_section_name_to_mach_o()