Home
last modified time | relevance | path

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

123

/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp47 struct dirent* dirent; in FindFiles() local
48 while ((dirent = readdir(dir)) != nullptr) { in FindFiles()
49 const std::string path = root + "/" + dirent->d_name; in FindFiles()
50 if (predicate(dirent->d_type, path)) { in FindFiles()
53 if (recurse && dirent->d_type == DT_DIR && strcmp(dirent->d_name, ".") != 0 && in FindFiles()
54 strcmp(dirent->d_name, "..") != 0) { in FindFiles()
/frameworks/base/tools/aapt/
DDirectoryWalker.h31 virtual struct dirent* nextEntry() = 0;
41 struct dirent mEntry;
73 virtual struct dirent* nextEntry() { in nextEntry()
74 struct dirent* entryPtr = readdir(dir); in nextEntry()
DFileFinder.cpp54 struct dirent* entry; in findFiles()
/frameworks/av/drm/drmserver/
DPlugInManager.h205 struct dirent* pEntry; in getPlugInPathList()
229 bool isPlugIn(const struct dirent* pEntry) const { in isPlugIn()
239 bool isDirectory(const struct dirent* pEntry) const { in isDirectory()
246 bool isRegularFile(const struct dirent* pEntry) const { in isRegularFile()
253 bool isLink(const struct dirent* pEntry) const { in isLink()
/frameworks/native/cmds/installd/
Dinstalld.cpp108 struct dirent *dirent; in initialize_directories() local
111 while ((dirent = readdir(dir))) { in initialize_directories()
112 const char *name = dirent->d_name; in initialize_directories()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp84 dirent* de; in findTrainInfoFileNameLocked()
398 dirent* de; in readAllTrainInfo()
430 dirent* de; in deleteAllFiles()
445 dirent* de; in deleteSuffixedFiles()
467 dirent* de; in sendBroadcast()
489 dirent* de; in hasConfigMetricsReport()
516 dirent* de; in appendConfigMetricsReport()
578 dirent* de; in readConfigFromDisk()
618 dirent* de; in readConfigFromDisk()
684 dirent* de; in trimToFit()
[all …]
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h27 struct dirent;
98 struct dirent* entry, char* fileSpot);
DPluginLoader.h42 struct dirent* pEntry; in PluginLoader()
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp290 struct dirent *dirent; in wall_clock_rtc() local
291 while (errno = 0, dirent = readdir(dir.get())) { in wall_clock_rtc()
293 int matched = sscanf(dirent->d_name, "rtc%u", &rtc_id); in wall_clock_rtc()
Dcom_android_server_am_CachedAppOptimizer.cpp47 struct dirent* current; in com_android_server_am_CachedAppOptimizer_compactSystem()
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp83 while (struct dirent *entry = readdir(d.get())) { in Create()
99 while (struct dirent* leaf_entry = readdir(subdir.get())) { in Create()
/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc55 struct dirent* entry; in main()
/frameworks/native/services/vr/performanced/
Ddirectory_reader.h38 dirent* Next() { in Next()
/frameworks/av/media/libstagefright/xmlparser/vts/
DValidateMediaCodecs.cpp29 struct dirent* de; in get_files_in_dirs()
/frameworks/base/core/xsd/vts/
DValidatePermission.cpp30 struct dirent* de; in get_files_in_dirs()
/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp36 struct dirent* de; in get_files_in_dirs()
/frameworks/native/libs/diskusage/
Ddirsize.c35 struct dirent *de; in calculate_dir_size()
/frameworks/base/core/jni/
Dfd_utils.h96 static int ParseFd(dirent* e, int dir_fd);
Dfd_utils.cpp481 dirent* dir_entry; in Create()
516 dirent* dir_entry; in Restat()
626 int FileDescriptorTable::ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd()
/frameworks/av/media/libmedia/
DMediaScanner.cpp135 struct dirent* entry; in doProcessDirectory()
174 struct dirent* entry, char* fileSpot) { in doProcessDirectoryEntry()
/frameworks/av/media/mtp/
DMtpUtils.cpp135 struct dirent* entry; in copyRecursive()
209 struct dirent* entry; in deleteRecursive()
/frameworks/base/tools/aapt/tests/
DMockDirectoryWalker.h42 virtual struct dirent* nextEntry() { in nextEntry()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp79 static int isPolicyFile(const struct dirent *d) { in isPolicyFile()
83 static int comparePolicyFiles(const struct dirent **d1, const struct dirent **d2) { in comparePolicyFiles()
97 struct dirent **dirlist; in initGlobals()
/frameworks/base/cmds/incidentd/src/
Dreport_directory.cpp43 struct dirent* entry; in clean_directory()
/frameworks/base/cmds/incidentd/tests/
DReporter_test.cpp117 struct dirent* entry; in InspectFiles()

123