Lines Matching refs:c_str
25 err = stat(path.c_str(), &st); in is_dir()
32 int err = unlink(path.c_str()); in remove_file()
34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(), in remove_file()
47 DIR *d = opendir(path.c_str()); in remove_recursively()
50 path.c_str(), strerror(errno)); in remove_recursively()
89 err = rmdir(path.c_str()); in remove_recursively()
91 fprintf(stderr, "error deleting directory %s (%s)\n", path.c_str(), in remove_recursively()
114 err = stat(p.c_str(), &st); in mkdir_recursively()
116 err = mkdir(p.c_str(), 0770); in mkdir_recursively()
119 path.c_str(), strerror(errno)); in mkdir_recursively()
125 path.c_str(), p.c_str()); in mkdir_recursively()
140 err = copyFile(src.c_str(), dst.c_str(), in copy_file()
175 return execlp(strip_cmd, strip_cmd, path.c_str(), (char *)NULL); in strip_file()
197 args[num_args] = path.c_str(); in strip_file()