Searched refs:de (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/applypatch/ |
D | freecache.cpp | 48 struct dirent* de; in EliminateOpenFiles() local 49 while ((de = readdir(d.get())) != 0) { in EliminateOpenFiles() 51 if (!android::base::ParseUint(de->d_name, &pid)) { in EliminateOpenFiles() 54 std::string path = android::base::StringPrintf("/proc/%s/fd/", de->d_name); in EliminateOpenFiles() 71 LOG(INFO) << link << " is open by " << de->d_name; in EliminateOpenFiles() 90 struct dirent* de; in FindExpendableFiles() local 91 while ((de = readdir(d.get())) != 0) { in FindExpendableFiles() 92 std::string path = dirname + "/" + de->d_name; in FindExpendableFiles() 101 if (name_filter != nullptr && !name_filter(de->d_name)) { in FindExpendableFiles()
|
/bootable/recovery/install/ |
D | fuse_install.cpp | 70 dirent* de; in BrowseDirectory() local 71 while ((de = readdir(d.get())) != nullptr) { in BrowseDirectory() 72 std::string name(de->d_name); in BrowseDirectory() 74 if (de->d_type == DT_DIR) { in BrowseDirectory() 78 } else if (de->d_type == DT_REG && (android::base::EndsWithIgnoreCase(name, ".zip") || in BrowseDirectory()
|
/bootable/recovery/recovery_utils/ |
D | thermalutil.cpp | 33 static int thermal_filter(const dirent* de) { in thermal_filter() argument 34 if (android::base::StartsWith(de->d_name, "thermal_zone")) { in thermal_filter()
|
D | logging.cpp | 262 struct dirent* de; in ReadLogFilesToMemory() local 272 while ((de = readdir(d.get())) != nullptr) { in ReadLogFilesToMemory() 273 if (strncmp(de->d_name, "last_", 5) == 0 || strcmp(de->d_name, "log") == 0) { in ReadLogFilesToMemory() 274 std::string path = android::base::StringPrintf("%s/%s", CACHE_LOG_DIR, de->d_name); in ReadLogFilesToMemory()
|
/bootable/recovery/tests/unit/ |
D | resources_test.cpp | 41 static int png_filter(const dirent* de) { in png_filter() argument 42 if (de->d_type != DT_REG || !android::base::EndsWith(de->d_name, "_text.png")) { in png_filter()
|
D | applypatch_test.cpp | 166 struct dirent* de; in FindFilesInDir() local 167 while ((de = readdir(d.get())) != 0) { in FindFilesInDir() 168 std::string path = dirname + "/" + de->d_name; in FindFilesInDir() 172 file_list.emplace_back(de->d_name); in FindFilesInDir()
|
/bootable/recovery/minui/ |
D | events.cpp | 165 dirent* de; in ev_init() local 166 while ((de = readdir(dir.get())) != nullptr) { in ev_init() 167 if (strncmp(de->d_name, "event", 5)) continue; in ev_init() 168 android::base::unique_fd fd(openat(dirfd(dir.get()), de->d_name, O_RDONLY | O_CLOEXEC)); in ev_init()
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 78 static int dm_name_filter(const dirent* de) { in dm_name_filter() argument 79 if (android::base::StartsWith(de->d_name, "dm-")) { in dm_name_filter()
|
/bootable/recovery/recovery_ui/ |
D | screen_ui.cpp | 942 dirent* de; in LoadAnimation() local 946 while ((de = readdir(dir.get())) != nullptr) { in LoadAnimation() 948 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation() 949 intro_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation() 950 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation() 951 loop_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
|