Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/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.25/gas/
Ddwarf2dbg.c540 size_t dir_len; in get_filenum() local
566 dir_len = file - filename; in get_filenum()
569 if (dir_len) in get_filenum()
572 --dir_len; in get_filenum()
575 if (filename_ncmp (filename, dirs[dir], dir_len) == 0 in get_filenum()
576 && dirs[dir][dir_len] == '\0') in get_filenum()
588 dirs[dir] = (char *) xmalloc (dir_len + 1); in get_filenum()
589 memcpy (dirs[dir], filename, dir_len); in get_filenum()
590 dirs[dir][dir_len] = '\0'; in get_filenum()
603 last_used_dir_len = dir_len; in get_filenum()
[all …]