Searched refs:dirlen (Results 1 – 2 of 2) sorted by relevance
/toolchain/binutils/binutils-2.25/bfd/ |
D | opncls.c | 1360 size_t dirlen; in find_separate_debug_file() local 1386 for (dirlen = strlen (abfd->filename); dirlen > 0; dirlen--) in find_separate_debug_file() 1387 if (IS_DIR_SEPARATOR (abfd->filename[dirlen - 1])) in find_separate_debug_file() 1390 dir = (char *) bfd_malloc (dirlen + 1); in find_separate_debug_file() 1396 memcpy (dir, abfd->filename, dirlen); in find_separate_debug_file() 1397 dir[dirlen] = '\0'; in find_separate_debug_file() 1409 + (canon_dirlen > dirlen ? canon_dirlen : dirlen) in find_separate_debug_file() 1433 dirlen = strlen (debug_file_directory) - 1; in find_separate_debug_file() 1434 if (dirlen > 0 in find_separate_debug_file() 1435 && debug_file_directory[dirlen] != '/' in find_separate_debug_file()
|
D | syms.c | 1375 size_t dirlen; in _bfd_stab_section_find_nearest_line() local 1377 dirlen = strlen (directory_name); in _bfd_stab_section_find_nearest_line() 1379 || filename_ncmp (info->filename, directory_name, dirlen) != 0 in _bfd_stab_section_find_nearest_line() 1380 || filename_cmp (info->filename + dirlen, file_name) != 0) in _bfd_stab_section_find_nearest_line() 1388 info->filename = (char *) bfd_alloc (abfd, dirlen + len); in _bfd_stab_section_find_nearest_line() 1391 memcpy (info->filename, directory_name, dirlen); in _bfd_stab_section_find_nearest_line() 1392 memcpy (info->filename + dirlen, file_name, len); in _bfd_stab_section_find_nearest_line()
|