Lines Matching refs:dirname
734 dir_file_exists_p (char *dirname, char *filename) in dir_file_exists_p() argument
736 return dir_contents_file_exists_p (find_directory (dirname)->contents, in dir_file_exists_p()
746 char *dirname; in file_exists_p() local
783 dirname = "/"; in file_exists_p()
792 dirname = (char *) alloca (dirend - name + 1); in file_exists_p()
793 bcopy (name, dirname, dirend - name); in file_exists_p()
794 dirname[dirend - name] = '\0'; in file_exists_p()
796 return dir_file_exists_p (dirname, slash + 1); in file_exists_p()
840 char *dirname; in file_impossible() local
843 dirname = "/"; in file_impossible()
852 dirname = (char *) alloca (dirend - p + 1); in file_impossible()
853 bcopy (p, dirname, dirend - p); in file_impossible()
854 dirname[dirend - p] = '\0'; in file_impossible()
856 dir = find_directory (dirname); in file_impossible()
921 char *dirname; in file_impossible_p() local
924 dirname = "/"; in file_impossible_p()
933 dirname = (char *) alloca (dirend - filename + 1); in file_impossible_p()
934 bcopy (p, dirname, dirend - p); in file_impossible_p()
935 dirname[dirend - p] = '\0'; in file_impossible_p()
937 dir = find_directory (dirname)->contents; in file_impossible_p()