Home
last modified time | relevance | path

Searched refs:opendir (Results 1 – 25 of 83) sorted by relevance

1234

/system/iorap/src/inode2filename/
Dsystem_call.h33 virtual DIR *opendir(const char *name) = 0;
55 virtual DIR *opendir(const char *name) override { in opendir() function
56 return ::opendir(name); in opendir()
/system/vold/
DProcess.cpp90 auto proc_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/proc"), closedir); in KillProcessesWithTmpfsMounts()
135 auto proc_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/proc"), closedir); in KillProcessesWithOpenFiles()
157 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); in KillProcessesWithOpenFiles()
Dvold_prepare_subdirs.cpp115 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(path.c_str()), closedir); in rmrf_contents()
144 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/apex"), closedir); in prepare_apex_subdirs()
DLoop.cpp130 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(root.c_str()), closedir); in destroyAll()
/system/memory/libmeminfo/libdmabufinfo/
Ddmabuf_sysfs_stats.cpp56 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(dmabuf_sysfs_stats_path.c_str()), closedir); in GetDmabufSysfsStats()
118 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(dmabuf_sysfs_stats_path.c_str()), closedir); in GetDmabufTotalExportedKb()
/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.h55 PidIterator begin() { return opendir("/proc"); } in begin()
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp30 d = opendir(dir_path); in get_files_in_dirs()
/system/apex/libs/libapexutil/
Dapexutil.cpp56 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages()
/system/bpf/bpfloader/
DBpfLoader.cpp75 if ((dir = opendir(progDir)) != NULL) { in loadAllElfObjects()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp80 d = opendir(kSoundDir); in getPcmNodes()
99 d = opendir(kSoundDir); in getSndDev()
/system/core/init/
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()
Dfirst_stage_init.cpp136 std::unique_ptr<DIR, decltype(&closedir)> base_dir(opendir(MODULE_BASE_DIR), closedir); in LoadKernelModules()
273 auto old_root_dir = std::unique_ptr<DIR, decltype(&closedir)>{opendir("/"), closedir}; in FirstStageMain()
Dbootchart.cpp109 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes()
/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()
/system/libvintf/
DFileSystem.cpp42 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); in listFiles()
/system/netd/server/
DPppController.cpp139 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
/system/core/libprocessgroup/
Dprocessgroup.cpp153 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path.c_str()), closedir); in RemoveUidProcessGroups()
193 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path.c_str()), closedir); in removeAllProcessGroups()
235 auto dir = std::unique_ptr<DIR, decltype(&closedir)>(opendir(path.c_str()), closedir); in MkdirAndChown()
/system/core/bootstat/
Dboot_event_record_store.cpp116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp132 std::unique_ptr<DIR, int (*)(DIR*)> dirp(opendir(dir.c_str()), closedir); in ListFiles()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp43 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); in populate_open_files_list()
/system/libhidl/base/
DHidlInternal.cpp156 DIR *dir = opendir(path.c_str()); in registerInstrumentationCallbacks()
/system/incremental_delivery/incfs/include/
Dpath.h101 auto dir = std::unique_ptr<DIR, closer>(::opendir(path)); in openDir()
/system/core/libutils/
DProcessCallStack.cpp130 std::unique_ptr<DIR, decltype(&closedir)> dp(opendir(PATH_SELF_TASK), closedir); in update()

1234