/system/iorap/src/inode2filename/ |
D | system_call.h | 39 virtual int closedir(DIR *dirp) = 0; 65 virtual int closedir(DIR *dirp) override { in closedir() function 66 return ::closedir(dirp); in closedir()
|
/system/core/libvndksupport/tests/ |
D | linker_test.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
|
/system/libbase/include/android-base/ |
D | process.h | 32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator() 51 std::unique_ptr<DIR, decltype(&closedir)> dir_;
|
/system/core/init/ |
D | first_stage_init.cpp | 84 std::unique_ptr<DIR, decltype(&closedir)>{fdopendir(fd), closedir}; in FreeRamdisk() 127 std::unique_ptr<DIR, decltype(&closedir)> base_dir(opendir(MODULE_BASE_DIR), closedir); in LoadKernelModules() 254 auto old_root_dir = std::unique_ptr<DIR, decltype(&closedir)>{opendir("/"), closedir}; in FirstStageMain()
|
D | uevent_listener.cpp | 153 std::unique_ptr<DIR, decltype(&closedir)> d2(fdopendir(fd), closedir); in RegenerateUeventsForDir() 169 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(path.c_str()), closedir); in RegenerateUeventsForPath()
|
D | persistent_properties.cpp | 57 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in LoadLegacyPersistentProperties() 106 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(kLegacyPersistentPropertyDir), closedir); in RemoveLegacyPersistentPropertyFiles()
|
D | parser.cpp | 159 std::unique_ptr<DIR, decltype(&closedir)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
|
D | ueventd.cpp | 165 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(directory.c_str()), &closedir); in GenerateRestoreCon()
|
/system/extras/iotop/ |
D | tasklist.cpp | 32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
|
/system/apex/libs/libapexutil/ |
D | apexutil.cpp | 55 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages() 56 closedir); in GetActivePackages()
|
/system/core/fs_mgr/ |
D | fs_mgr_vendor_overlay.cpp | 53 std::unique_ptr<DIR, decltype(&closedir)> vendor_overlay_top(opendir(overlay_top.c_str()), in fs_mgr_get_vendor_overlay_dirs() 54 closedir); in fs_mgr_get_vendor_overlay_dirs()
|
/system/libvintf/ |
D | FileSystem.cpp | 42 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); in listFiles()
|
/system/vold/ |
D | Process.cpp | 87 auto proc_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/proc"), closedir); in KillProcessesWithOpenFiles() 109 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); in KillProcessesWithOpenFiles()
|
D | main.cpp | 206 closedir(d2); in do_coldboot() 216 closedir(d); in coldboot()
|
/system/incremental_delivery/incfs/ |
D | path.h | 63 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(::opendir(path), &::closedir); in openDir()
|
D | path.cpp | 235 const auto d = std::unique_ptr<DIR, decltype(&::closedir)>{::opendir(c_str(dir)), ::closedir}; in isEmptyDir()
|
/system/core/bootstat/ |
D | boot_event_record_store.cpp | 116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
|
D | boot_event_record_store_test.cpp | 72 typedef std::unique_ptr<DIR, decltype(&closedir)> ScopedDIR; in DeleteDirectory() 73 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory()
|
/system/bpf/bpfloader/ |
D | BpfLoader.cpp | 77 closedir(dir); in loadAllElfObjects()
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 147 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path.c_str()), closedir); in RemoveUidProcessGroups() 187 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path.c_str()), closedir); in removeAllProcessGroups()
|
/system/extras/tests/audio/alsa/ |
D | pcmtest.cpp | 68 closedir(d); in getPcmNodes() 123 closedir(d); in getSndDev()
|
/system/libvintf/xsd/halManifest/vts/ |
D | ValidateHalManifest.cpp | 41 closedir(d); in get_files_in_dirs()
|
/system/tools/aidl/ |
D | io_delegate.cpp | 205 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files()
|
/system/core/libutils/ |
D | ProcessCallStack.cpp | 130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | WakeLockEntryList.cpp | 225 std::unique_ptr<DIR, decltype(&closedir)> wakelockDp(fdopendir(dup(wakelockFd.get())), in createKernelEntry() 226 &closedir); in createKernelEntry() 286 std::unique_ptr<DIR, decltype(&closedir)> dp(fdopendir(dup(mKernelWakelockStatsFd.get())), in getKernelWakelockStats() 287 &closedir); in getKernelWakelockStats()
|