Lines Matching defs:dir
160 " -d, --dir-count=<count>\tThe maximal number of directories to create.\n"
164 " -b, --base-dir=<path>\t\tThe base directory for the actions. "
465 DIR* dir = opendir(path.c_str());
466 if (dir == NULL) {
472 while (struct dirent* entry = readdir(dir)) {
480 closedir(dir);
510 std::string name = create_name(parent, "dir");
512 action("create dir %s (identifier %lu)", name.c_str(), sCount);
515 error("creating dir \"%s\" failed: %s", name.c_str(), strerror(errno));
517 struct entry dir;
518 dir.name = name;
519 dir.identifier = sCount;
520 dir.size = 0;
522 dirs.push_back(dir);
544 error("removing dir \"%s\" failed: %s", name.c_str(), strerror(errno));
547 action("removed dir %s", name.c_str());
710 {"dir-count", required_argument, 0, 'd'},
713 {"base-dir", required_argument, 0, 'b'},