Home
last modified time | relevance | path

Searched refs:DIR (Results 1 – 25 of 61) sorted by relevance

123

/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp40 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir(fd_dir_name.c_str()), closedir); in populate_open_files_list()
/system/core/libprocinfo/include/procinfo/
Dprocess.h73 std::unique_ptr<DIR, int (*)(DIR*)> dir(fdopendir(task_fd), closedir);
/system/core/init/
Duevent_listener.cpp127 ListenerAction UeventListener::RegenerateUeventsForDir(DIR* d, in RegenerateUeventsForDir()
149 std::unique_ptr<DIR, decltype(&closedir)> d2(fdopendir(fd), closedir); in RegenerateUeventsForDir()
165 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(path.c_str()), closedir); in RegenerateUeventsForPath()
Duevent_listener.h54 ListenerAction RegenerateUeventsForDir(DIR* d, const ListenerCallback& callback) const;
Dinit_parser.cpp135 std::unique_ptr<DIR, int(*)(DIR*)> config_dir(opendir(path.c_str()), closedir); in ParseConfigDir()
Dbootchart.cpp107 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes()
/system/vold/
Dmain.cpp176 static void do_coldboot(DIR *d, int lvl) { in do_coldboot()
189 DIR *d2; in do_coldboot()
212 DIR *d = opendir(path); in coldboot()
DProcess.cpp89 DIR *dir = opendir(path); in checkFileDescriptorSymLinks()
182 DIR* dir; in killProcessesWithOpenFiles()
DExt4Crypt.cpp106 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(directory_path.c_str()), closedir); in get_ce_key_paths()
288 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(de_dir.c_str()), closedir); in load_all_de_keys()
DUtils.h37 struct DIR;
/system/sepolicy/tools/
DREADME48 post_process_mac_perms [-h] -s SEINFO -d DIR -f POLICY
51 -d DIR, --dir DIR Directory to search for apks
/system/core/bootstat/
Dboot_event_record_store.cpp119 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
123 CHECK_NE(static_cast<DIR*>(nullptr), dir.get()); in GetAllBootEvents()
/system/core/libvndksupport/tests/
Dlinker_test.cpp37 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp55 DIR *d; in getPcmNodes()
74 DIR *d; in getSndDev()
/system/extras/iotop/
Dtasklist.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(name.c_str()), closedir); in ScanPidsInDir()
/system/extras/ext4_utils/
Dext4_crypt.cpp84 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
/system/core/adb/
Dsysdeps.h227 extern DIR* adb_opendir(const char* dirname);
228 extern struct dirent* adb_readdir(DIR* dir);
229 extern int adb_closedir(DIR* dir);
264 inline void seekdir(DIR*, long) { in seekdir() argument
/system/core/adb/client/
Dusb_linux.cpp127 std::unique_ptr<DIR, int(*)(DIR*)> bus_dir(opendir(base.c_str()), closedir); in find_usb_device()
136 std::unique_ptr<DIR, int(*)(DIR*)> dev_dir(opendir(bus_name.c_str()), closedir); in find_usb_device()
/system/core/sdcard/
Dfuse.h101 DIR *d;
/system/netd/server/
DPppController.cpp138 DIR *d = opendir("/sys/class/tty"); in updateTtyList()
/system/extras/libpagemap/
Dpm_kernel.c63 DIR *proc; in pm_kernel_pids()
/system/libhidl/base/
DHidlInternal.cpp86 DIR *dir = opendir(path.c_str()); in registerInstrumentationCallbacks()
/system/core/libprocessgroup/
Dprocessgroup.cpp201 std::unique_ptr<DIR, decltype(&closedir)> uid(opendir(uid_path), closedir); in removeUidProcessGroups()
226 std::unique_ptr<DIR, decltype(&closedir)> root(opendir(cgroup_root_path), closedir); in removeAllProcessGroups()
/system/security/keystore/
Dkeystore.cpp249 DIR* dir = opendir(userState->getUserDirName()); in isEmpty()
449 DIR* dir = opendir(userState->getUserDirName()); in list()
756 DIR* dir = opendir("."); in upgradeKeystore()
787 DIR* otherdir = opendir(otherUser->getUserDirName()); in upgradeKeystore()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp80 DIR* dir = opendir(buf); in iterate_siblings()

123