Home
last modified time | relevance | path

Searched refs:dir_len (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.27/intl/
Dlocalcharset.c125 size_t dir_len = strlen (dir); in get_charset_aliases() local
127 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases()
128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases()
131 memcpy (file_name, dir, dir_len); in get_charset_aliases()
133 file_name[dir_len] = DIRECTORY_SEPARATOR; in get_charset_aliases()
134 memcpy (file_name + dir_len + add_slash, base, base_len + 1); in get_charset_aliases()
/toolchain/binutils/binutils-2.27/gas/
Ddwarf2dbg.c539 size_t dir_len; in get_filenum() local
565 dir_len = file - filename; in get_filenum()
568 if (dir_len) in get_filenum()
571 --dir_len; in get_filenum()
574 if (filename_ncmp (filename, dirs[dir], dir_len) == 0 in get_filenum()
575 && dirs[dir][dir_len] == '\0') in get_filenum()
586 dirs[dir] = xmemdup0 (filename, dir_len); in get_filenum()
599 last_used_dir_len = dir_len; in get_filenum()
621 last_used_dir_len = dir_len; in get_filenum()
866 size_t dir_len = strlen (dirs[files[filenum].dir]); in dwarf2_directive_loc() local
[all …]