Lines Matching refs:base_dir
123 string base_dir = caller_base_dir;
124 if (base_dir.empty()) {
125 base_dir = ".";
128 if (base_dir[base_dir.size() - 1] != OS_PATH_SEPARATOR) {
129 base_dir += OS_PATH_SEPARATOR;
131 base_dir += subdir;
134 success = _mkdir(base_dir.c_str()) == 0;
136 success = mkdir(base_dir.c_str(),
141 LOG(ERROR) << "Error while creating " << base_dir << ": "