Searched refs:de (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/applypatch/ |
D | freecache.cpp | 44 struct dirent* de; in EliminateOpenFiles() local 45 while ((de = readdir(d.get())) != 0) { in EliminateOpenFiles() 47 if (!android::base::ParseUint(de->d_name, &pid)) { in EliminateOpenFiles() 50 std::string path = android::base::StringPrintf("/proc/%s/fd/", de->d_name); in EliminateOpenFiles() 67 printf("%s is open by %s\n", link, 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 = std::string(dirs[i]) + "/" + de->d_name; in FindExpendableFiles()
|
/bootable/recovery/otautil/ |
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()
|
/bootable/recovery/minui/ |
D | events.cpp | 66 dirent* de; in ev_init() local 67 while ((de = readdir(dir))) { in ev_init() 68 if (strncmp(de->d_name, "event", 5)) continue; in ev_init() 69 int fd = openat(dirfd(dir), de->d_name, O_RDONLY); in ev_init()
|
/bootable/recovery/tests/manual/ |
D | recovery_test.cpp | 104 static int png_filter(const dirent* de) { in png_filter() argument 105 if (de->d_type != DT_REG || !android::base::EndsWith(de->d_name, "_text.png")) { in png_filter()
|
/bootable/recovery/update_verifier/ |
D | update_verifier.cpp | 69 static int dm_name_filter(const dirent* de) { in dm_name_filter() argument 70 if (android::base::StartsWith(de->d_name, "dm-")) { in dm_name_filter()
|
/bootable/recovery/ |
D | screen_ui.cpp | 642 dirent* de; in LoadAnimation() local 646 while ((de = readdir(dir.get())) != nullptr) { in LoadAnimation() 648 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation() 649 intro_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation() 650 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation() 651 loop_frame_names.emplace_back(de->d_name, num_chars); in LoadAnimation()
|