Searched refs:namelist (Results 1 – 3 of 3) sorted by relevance
41 dirent** namelist; in InitThermalPaths() local42 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()
85 dirent** namelist; in read_blocks() local86 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()
116 dirent** namelist; in add_files() local117 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()