Home
last modified time | relevance | path

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

1234

/system/iorap/src/inode2filename/
Dsystem_call.h33 virtual DIR *opendir(const char *name) = 0;
36 virtual struct dirent *readdir(DIR *dirp) = 0;
39 virtual int closedir(DIR *dirp) = 0;
55 virtual DIR *opendir(const char *name) override { in opendir()
60 virtual struct dirent *readdir(DIR *dirp) override { in readdir()
65 virtual int closedir(DIR *dirp) override { in closedir()
/system/bt/gd/cert/
Dset_up_and_run_device_cert.sh3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
147 cd "${DIR}"
151 $DRY_RUN sed -i "s/\"DUT\"/\"${DUT_SERIAL}\"/g" ${DIR}/android_devices_config.json
152 $DRY_RUN sed -i "s/\"CERT\"/\"${CERT_SERIAL}\"/g" ${DIR}/android_devices_config.json
/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()
Dvold_prepare_subdirs.cpp97 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(path.c_str()), closedir); in rmrf_contents()
126 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir("/apex"), closedir); in prepare_apex_subdirs()
Dmain.cpp179 static void do_coldboot(DIR* d, int lvl) { in do_coldboot()
192 DIR* d2; in do_coldboot()
213 DIR* d = opendir(path); in coldboot()
DLoop.cpp130 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(root.c_str()), closedir); in destroyAll()
/system/libbase/include/android-base/
Dprocess.h32 PidIterator(DIR* dir) : dir_(dir, closedir) { Increment(); } in PidIterator()
51 std::unique_ptr<DIR, decltype(&closedir)> dir_;
Dunique_fd.h251 inline DIR* Fdopendir(unique_fd&& ufd) { in Fdopendir()
253 DIR* dir = fdopendir(fd); in Fdopendir()
291 DIR* fdopendir(const android::base::unique_fd_impl<T>&) __attribute__((
/system/core/init/
Dfirst_stage_init.cpp58 void FreeRamdisk(DIR* dir, dev_t dev) { in FreeRamdisk()
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()
Duevent_listener.cpp128 ListenerAction UeventListener::RegenerateUeventsForDir(DIR* d, in RegenerateUeventsForDir()
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()
Duevent_listener.h60 ListenerAction RegenerateUeventsForDir(DIR* d, const ListenerCallback& callback) const;
Dbootchart.cpp109 std::unique_ptr<DIR, int(*)(DIR*)> dir(opendir("/proc"), closedir); in log_processes()
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()
/system/core/libprocinfo/include/procinfo/
Dprocess.h73 std::unique_ptr<DIR, int (*)(DIR*)> dir(fdopendir(task_fd), closedir);
/system/core/bootstat/
Dboot_event_record_store.cpp116 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(store_path_.c_str()), closedir); in GetAllBootEvents()
120 CHECK_NE(static_cast<DIR*>(nullptr), dir.get()); in GetAllBootEvents()
/system/sepolicy/tools/
DREADME57 post_process_mac_perms [-h] -s SEINFO -d DIR -f POLICY
60 -d DIR, --dir DIR Directory to search for apks
/system/core/fs_mgr/libfs_avb/
Dutil.cpp132 std::unique_ptr<DIR, int (*)(DIR*)> dirp(opendir(dir.c_str()), closedir); in ListFiles()
/system/core/libvndksupport/tests/
Dlinker_test.cpp32 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in find_sphal_lib()
/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/bpf/bpfloader/
DBpfLoader.cpp58 DIR* dir; in loadAllElfObjects()
/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/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp27 DIR* d; in get_files_in_dirs()
/system/apex/libs/libapexutil/
Dapexutil.cpp55 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(apex_root.c_str()), in GetActivePackages()
/system/memory/libmeminfo/libdmabufinfo/tools/
Ddmabuf_dump.cpp186 std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir("/proc"), closedir); in ReadDmaBufs()

1234