Lines Matching refs:dir_len
539 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
868 char *cp = XNEWVEC (char, dir_len + 1 + file_len + 1); in dwarf2_directive_loc()
870 memcpy (cp, dirs[files[filenum].dir], dir_len); in dwarf2_directive_loc()
871 INSERT_DIR_SEPARATOR (cp, dir_len); in dwarf2_directive_loc()
872 memcpy (cp + dir_len + 1, files[filenum].filename, file_len); in dwarf2_directive_loc()
873 cp[dir_len + file_len + 1] = '\0'; in dwarf2_directive_loc()