Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
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/update_verifier/
Dupdate_verifier.cpp85 dirent** namelist; in read_blocks() local
86 int n = scandir(DM_PATH_PREFIX, &namelist, dm_name_filter, alphasort); in read_blocks()
100 std::string path = DM_PATH_PREFIX + std::string(namelist[n]->d_name) + DM_PATH_SUFFIX; in read_blocks()
113 dm_block_device = DEV_PATH + std::string(namelist[n]->d_name); in read_blocks()
115 free(namelist[n]); in read_blocks()
120 free(namelist[n]); in read_blocks()
122 free(namelist); in read_blocks()
/bootable/recovery/tests/manual/
Drecovery_test.cpp116 dirent** namelist; in add_files() local
117 int n = scandir(dir_path.c_str(), &namelist, png_filter, alphasort); in add_files()
127 std::string file_path = dir_path + namelist[n]->d_name; in add_files()
129 free(namelist[n]); in add_files()
131 free(namelist); in add_files()