Home
last modified time | relevance | path

Searched refs:de (Results 1 – 11 of 11) sorted by relevance

/bootable/deprecated-ota/applypatch/
Dfreecache.cpp48 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/recovery_ui/
Dwear_ui.cpp174 dirent* de; in LoadAnimation() local
180 while ((de = readdir(dir.get())) != nullptr) { in LoadAnimation()
182 if (sscanf(de->d_name, "progress%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
183 progress_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
184 } else if (sscanf(de->d_name, "rtl_progress%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
185 rtl_progress_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
Dscreen_ui.cpp973 dirent* de; in LoadAnimation() local
977 while ((de = readdir(dir.get())) != nullptr) { in LoadAnimation()
979 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
980 intro_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
981 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
982 loop_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
/bootable/recovery/install/
Dfuse_install.cpp70 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/tests/unit/
Dresources_test.cpp41 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()
/bootable/recovery/recovery_utils/
Dthermalutil.cpp33 static int thermal_filter(const dirent* de) { in thermal_filter() argument
34 if (android::base::StartsWith(de->d_name, "thermal_zone")) { in thermal_filter()
Dlogging.cpp262 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/minui/
Devents.cpp167 dirent* de; in ev_init() local
168 while ((de = readdir(dir.get())) != nullptr) { in ev_init()
169 if (strncmp(de->d_name, "event", 5)) continue; in ev_init()
170 android::base::unique_fd fd(openat(dirfd(dir.get()), de->d_name, O_RDONLY | O_CLOEXEC)); in ev_init()
/bootable/deprecated-ota/tests/unit/
Dapplypatch_test.cpp166 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/update_verifier/
Dupdate_verifier.cpp74 static int dm_name_filter(const dirent* de) { in dm_name_filter() argument
75 if (android::base::StartsWith(de->d_name, "dm-")) { in dm_name_filter()
/bootable/recovery/tests/testdata/
Drecovery_body3592 qn�8�L�xDN���? ����07꼹ŘY�Q���Y��Q�de��
5043 …x(��=�;W± ������Mn`de���R��� &�ɤLN��1��P��v�tt���O>����ƺA{���W8X���R@�j�sf�����A�Ł"�O�…