Searched refs:base_dir (Results 1 – 2 of 2) sorted by relevance
123 string base_dir = caller_base_dir; in CreateNestedDirs() local124 if (base_dir.empty()) { in CreateNestedDirs()125 base_dir = "."; in CreateNestedDirs()128 if (base_dir[base_dir.size() - 1] != OS_PATH_SEPARATOR) { in CreateNestedDirs()129 base_dir += OS_PATH_SEPARATOR; in CreateNestedDirs()131 base_dir += subdir; in CreateNestedDirs()134 success = _mkdir(base_dir.c_str()) == 0; in CreateNestedDirs()136 success = mkdir(base_dir.c_str(), in CreateNestedDirs()141 LOG(ERROR) << "Error while creating " << base_dir << ": " in CreateNestedDirs()
1139 base_dir = tempfile.mkdtemp()1142 full_dir_path = base_dir + self.DEVICE_TEMP_DIR1154 os.environ['ANDROID_PRODUCT_OUT'] = base_dir1165 if base_dir is not None:1166 shutil.rmtree(base_dir)