Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/recovery_utils/
Dthermalutil.cpp41 dirent** namelist; in InitThermalPaths() local
42 int n = scandir(THERMAL_PREFIX, &namelist, thermal_filter, alphasort); in InitThermalPaths()
54 thermal_paths.push_back(THERMAL_PREFIX + std::string(namelist[n]->d_name) + "/temp"); in InitThermalPaths()
55 free(namelist[n]); in InitThermalPaths()
57 free(namelist); in InitThermalPaths()
/bootable/recovery/tests/unit/
Dresources_test.cpp54 dirent** namelist; in add_files() local
55 int n = scandir(dir_path.c_str(), &namelist, png_filter, alphasort); in add_files()
65 std::string file_path = dir_path + namelist[n]->d_name; in add_files()
67 free(namelist[n]); in add_files()
69 free(namelist); in add_files()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp90 dirent** namelist = nullptr; in FindDmPartitions() local
91 int n = scandir(DM_PATH_PREFIX, &namelist, dm_name_filter, alphasort); in FindDmPartitions()
105 std::string path = DM_PATH_PREFIX + std::string(namelist[n]->d_name) + DM_PATH_SUFFIX; in FindDmPartitions()
125 dm_block_devices.emplace(dm_block_name, DEV_PATH + std::string(namelist[n]->d_name)); in FindDmPartitions()
127 free(namelist[n]); in FindDmPartitions()
129 free(namelist); in FindDmPartitions()