Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 25 of 76) sorted by relevance

1234

/system/libvintf/test/
DVintfObjectRecoveryTest.cpp31 for (struct dirent* dirent; (dirent = readdir(dir.get())) != nullptr;) { in directoryEmpty() local
32 if (strcmp(dirent->d_name, ".") == 0) continue; in directoryEmpty()
33 if (strcmp(dirent->d_name, "..") == 0) continue; in directoryEmpty()
34 LOG(ERROR) << "Seen: " << path << "/" << dirent->d_name; in directoryEmpty()
/system/iorap/src/inode2filename/
Dsystem_call.h36 virtual struct dirent *readdir(DIR *dirp) = 0;
60 virtual struct dirent *readdir(DIR *dirp) override { in readdir()
/system/update_engine/payload_generator/
Dext2_filesystem.cc95 struct ext2_dir_entry* dirent, in UpdateFileAndAppend() argument
102 uint32_t file_type = dirent->name_len >> 8; in UpdateFileAndAppend()
107 auto ino_file = state->inodes->find(dirent->inode); in UpdateFileAndAppend()
113 string basename(dirent->name, dirent->name_len & 0xff); in UpdateFileAndAppend()
123 state->used_inodes->insert(dirent->inode); in UpdateFileAndAppend()
/system/vold/
DProcess.cpp93 struct dirent* proc_de; in KillProcessesWithOpenFiles()
113 struct dirent* fd_de; in KillProcessesWithOpenFiles()
DLoop.cpp129 struct dirent* de; in destroyAll()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp29 struct dirent* de; in get_files_in_dirs()
/system/core/libvndksupport/tests/
Dlinker_test.cpp39 dirent* dp; in find_sphal_lib()
/system/extras/tests/audio/alsa/
Dpcmtest.cpp56 struct dirent *de; in getPcmNodes()
75 struct dirent *de; in getSndDev()
/system/libhidl/base/
DHidlInternal.cpp164 struct dirent *file; in registerInstrumentationCallbacks()
220 bool HidlInstrumentor::isInstrumentationLib(const dirent *file) { in isInstrumentationLib()
/system/extras/iotop/
Dtasklist.cpp37 dirent* entry; in ScanPidsInDir()
/system/bpf/bpfloader/
DBpfLoader.cpp72 struct dirent* ent; in loadAllElfObjects()
/system/core/libmemunreachable/
DThreadCapture.cpp136 linux_dirent64* dirent = reinterpret_cast<linux_dirent64*>(dirent_buf + off); in ListThreads() local
137 off += dirent->d_reclen; in ListThreads()
138 pid_t tid = atoi(dirent->d_name); in ListThreads()
/system/core/init/
Dpersistent_properties.cpp63 dirent* entry; in LoadLegacyPersistentProperties()
112 dirent* entry; in RemoveLegacyPersistentPropertyFiles()
Dbootchart.cpp110 struct dirent* entry; in log_processes()
Dparser.cpp164 dirent* current_file; in ParseConfigDir()
/system/core/fs_mgr/
Dfs_mgr_vendor_overlay.cpp60 struct dirent* dp; in fs_mgr_get_vendor_overlay_dirs()
/system/libvintf/
DFileSystem.cpp62 dirent* dp; in listFiles()
/system/core/libprocinfo/include/procinfo/
Dprocess.h81 struct dirent* dent;
/system/netd/server/
DPppController.cpp144 struct dirent *de; in updateTtyList()
/system/libhidl/base/include/hidl/
DHidlInternal.h200 bool isInstrumentationLib(const dirent *file);
/system/core/bootstat/
Dboot_event_record_store.cpp122 struct dirent* entry; in GetAllBootEvents()
/system/core/llkd/
Dlibllkd.cpp129 dirent* next;
132 static dirent buff[numLevels][buffEntries];
204 dirent* read(enum level index = proc, dirent* def = nullptr) { in read()
208 next = reinterpret_cast<dirent*>(reinterpret_cast<char*>(next) + next->d_reclen); in read()
213 dirent dir::buff[dir::numLevels][dir::buffEntries];
751 bool getValidTidDir(dirent* dp, std::string* piddir) { in getValidTidDir()
/system/core/deprecated-adf/libadf/
Dadf.cpp55 struct dirent *dirent; in adf_find_nodes() local
63 while ((dirent = readdir(dir.get()))) { in adf_find_nodes()
65 int matched = sscanf(dirent->d_name, pattern, &id); in adf_find_nodes()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp49 struct dirent* de; in populate_open_files_list()
/system/core/libprocessgroup/
Dprocessgroup.cpp179 dirent* dir; in RemoveUidProcessGroups()
220 dirent* dir; in removeAllProcessGroups()

1234