Searched refs:dir_path (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/otautil/ |
D | dirutil.cpp | 87 std::string dir_path = path.substr(0, next_end); in mkdir_recursively() local 89 switch (dir_status(dir_path)) { in mkdir_recursively() 96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode); in mkdir_recursively() 99 int err = mkdir(dir_path.c_str(), mode); in mkdir_recursively()
|
/bootable/recovery/tests/unit/ |
D | resources_test.cpp | 53 std::string dir_path = exec_dir + "/" + images_dir; in add_files() local 55 int n = scandir(dir_path.c_str(), &namelist, png_filter, alphasort); in add_files() 57 printf("Failed to scandir %s: %s\n", dir_path.c_str(), strerror(errno)); in add_files() 61 printf("No file is added for test in %s\n", dir_path.c_str()); in add_files() 65 std::string file_path = dir_path + namelist[n]->d_name; in add_files()
|