Lines Matching refs:entry
78 struct dirent *entry; in getFilesInDir() local
85 while ((entry = readdir(dir)) != NULL) in getFilesInDir()
86 files->push_back(entry->d_name); in getFilesInDir()
158 struct dirent *entry; in dumpTcpmPsyUevent() local
163 while ((entry = readdir(dir)) != NULL) { in dumpTcpmPsyUevent()
164 if (std::string::npos != std::string(entry->d_name).find(tcpmPsy)) { in dumpTcpmPsyUevent()
165 std::string fullPath("/sys/class/power_supply/" + (const std::string)entry->d_name + in dumpTcpmPsyUevent()
374 struct dirent *entry; in dumpBatteryDefend() local
384 while ((entry = readdir(dir)) != NULL) { in dumpBatteryDefend()
385 if (std::string(entry->d_name).find(config[2]) != std::string::npos && in dumpBatteryDefend()
386 strncmp(config[2], entry->d_name, strlen(config[2])) == 0) { in dumpBatteryDefend()
387 files.push_back(entry->d_name); in dumpBatteryDefend()
414 struct dirent *entry; in printValuesOfDirectory() local
420 while ((entry = readdir(dir)) != NULL) in printValuesOfDirectory()
421 if (std::string(entry->d_name).find(strMatch) != std::string::npos) in printValuesOfDirectory()
422 files.push_back(entry->d_name); in printValuesOfDirectory()
552 struct dirent *entry; in dumpChargerStats() local
565 while ((entry = readdir(dir)) != NULL) in dumpChargerStats()
566 if (std::string(entry->d_name).find(stat[2]) != std::string::npos) in dumpChargerStats()
567 files.push_back(entry->d_name); in dumpChargerStats()