Home
last modified time | relevance | path

Searched refs:closedir (Results 1 – 25 of 88) sorted by relevance

1234

/system/iorap/src/inode2filename/
Dsystem_call.h39 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/
Dlinker_test.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
/system/libbase/include/android-base/
Dprocess.h32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator()
51 std::unique_ptr<DIR, decltype(&closedir)> dir_;
/system/core/init/
Dfirst_stage_init.cpp84 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()
Duevent_listener.cpp153 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()
Dpersistent_properties.cpp57 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()
Dparser.cpp159 std::unique_ptr<DIR, decltype(&closedir)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
Dueventd.cpp165 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(directory.c_str()), &closedir); in GenerateRestoreCon()
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
/system/apex/libs/libapexutil/
Dapexutil.cpp55 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages()
56 closedir); in GetActivePackages()
/system/core/fs_mgr/
Dfs_mgr_vendor_overlay.cpp53 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/
DFileSystem.cpp42 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); in listFiles()
/system/vold/
DProcess.cpp87 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()
Dmain.cpp206 closedir(d2); in do_coldboot()
216 closedir(d); in coldboot()
/system/incremental_delivery/incfs/
Dpath.h63 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(::opendir(path), &::closedir); in openDir()
Dpath.cpp235 const auto d = std::unique_ptr<DIR, decltype(&::closedir)>{::opendir(c_str(dir)), ::closedir}; in isEmptyDir()
/system/core/bootstat/
Dboot_event_record_store.cpp116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
Dboot_event_record_store_test.cpp72 typedef std::unique_ptr<DIR, decltype(&closedir)> ScopedDIR; in DeleteDirectory()
73 ScopedDIR dir(opendir(path.c_str()), closedir); in DeleteDirectory()
/system/bpf/bpfloader/
DBpfLoader.cpp77 closedir(dir); in loadAllElfObjects()
/system/core/libprocessgroup/
Dprocessgroup.cpp147 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/
Dpcmtest.cpp68 closedir(d); in getPcmNodes()
123 closedir(d); in getSndDev()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp41 closedir(d); in get_files_in_dirs()
/system/tools/aidl/
Dio_delegate.cpp205 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files()
/system/core/libutils/
DProcessCallStack.cpp130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update()
/system/hardware/interfaces/suspend/1.0/default/
DWakeLockEntryList.cpp225 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()

1234