Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 8 of 8) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Delfcomm.c415 size_t prefix_len = base_name - file_name; in adjust_relative_path() local
416 member_file_name = (char *) malloc (prefix_len + name_len + 1); in adjust_relative_path()
422 memcpy (member_file_name, file_name, prefix_len); in adjust_relative_path()
423 memcpy (member_file_name + prefix_len, name, name_len); in adjust_relative_path()
424 member_file_name[prefix_len + name_len] = '\0'; in adjust_relative_path()
Ddllwrap.c1077 size_t prefix_len = (p) ? (size_t) (p - dll_name) : strlen (dll_name); in main() local
1079 exp_file_name = (char *) xmalloc (prefix_len + 4 + 1); in main()
1080 strncpy (exp_file_name, dll_name, prefix_len); in main()
1081 exp_file_name[prefix_len] = '\0'; in main()
/toolchain/binutils/binutils-2.25/bfd/
Dcoffgen.c941 int prefix_len = bfd_coff_debug_string_prefix_length (abfd); in coff_fix_symbol_name() local
951 if (prefix_len == 4) in coff_fix_symbol_name()
960 (bfd_size_type) prefix_len) in coff_fix_symbol_name()
965 + prefix_len), in coff_fix_symbol_name()
971 *debug_string_size_p + prefix_len; in coff_fix_symbol_name()
973 *debug_string_size_p += name_length + 1 + prefix_len; in coff_fix_symbol_name()
Darchive.c605 size_t prefix_len; in _bfd_append_relative_path() local
611 prefix_len = base_name - arch_name; in _bfd_append_relative_path()
612 filename = (char *) bfd_alloc (arch, prefix_len + strlen (elt_name) + 1); in _bfd_append_relative_path()
616 strncpy (filename, arch_name, prefix_len); in _bfd_append_relative_path()
617 strcpy (filename + prefix_len, elt_name); in _bfd_append_relative_path()
Delf.c2325 int prefix_len = spec[i].prefix_length; in _bfd_elf_get_special_section() local
2327 if (len < prefix_len) in _bfd_elf_get_special_section()
2329 if (memcmp (name, spec[i].prefix, prefix_len) != 0) in _bfd_elf_get_special_section()
2335 if (name[prefix_len] != 0) in _bfd_elf_get_special_section()
2339 if (name[prefix_len] != '.' in _bfd_elf_get_special_section()
2347 if (len < prefix_len + suffix_len) in _bfd_elf_get_special_section()
2350 spec[i].prefix + prefix_len, in _bfd_elf_get_special_section()
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-tic6x.c4613 size_t prefix_len; in tic6x_start_unwind_section() local
4645 prefix_len = strlen (prefix); in tic6x_start_unwind_section()
4647 sec_name_len = prefix_len + text_len; in tic6x_start_unwind_section()
4649 memcpy (sec_name, prefix, prefix_len); in tic6x_start_unwind_section()
4650 memcpy (sec_name + prefix_len, text_name, text_len); in tic6x_start_unwind_section()
4651 sec_name[prefix_len + text_len] = '\0'; in tic6x_start_unwind_section()
Dtc-ia64.c3570 size_t prefix_len, suffix_len, sec_name_len; in start_unwind_section() local
3594 prefix_len = strlen (prefix); in start_unwind_section()
3596 sec_name_len = prefix_len + suffix_len; in start_unwind_section()
3598 memcpy (sec_name, prefix, prefix_len); in start_unwind_section()
3599 memcpy (sec_name + prefix_len, suffix, suffix_len); in start_unwind_section()
Dtc-arm.c21155 size_t prefix_len; in start_unwind_section() local
21187 prefix_len = strlen (prefix); in start_unwind_section()
21189 sec_name_len = prefix_len + text_len; in start_unwind_section()
21191 memcpy (sec_name, prefix, prefix_len); in start_unwind_section()
21192 memcpy (sec_name + prefix_len, text_name, text_len); in start_unwind_section()
21193 sec_name[prefix_len + text_len] = '\0'; in start_unwind_section()