Home
last modified time | relevance | path

Searched refs:d_name (Results 1 – 16 of 16) sorted by relevance

/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp86 char* fileName = de->d_name; in findTrainInfoFileNameLocked()
400 char* name = de->d_name; in readAllTrainInfo()
432 char* name = de->d_name; in deleteAllFiles()
447 char* name = de->d_name; in deleteSuffixedFiles()
469 char* name = de->d_name; in sendBroadcast()
491 char* name = de->d_name; in hasConfigMetricsReport()
518 char* name = de->d_name; in appendConfigMetricsReport()
580 char* name = de->d_name; in readConfigFromDisk()
620 char* name = de->d_name; in readConfigFromDisk()
688 char* name = de->d_name; in trimToFit()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp71 if (strcmp(dirent->d_name, ".") == 0 || strcmp(dirent->d_name, "..") == 0) { in removeDirAndFiles()
74 const int filePathBufSize = getFilePathBufSize(dirPath, dirent->d_name); in removeDirAndFiles()
76 getFilePath(dirPath, dirent->d_name, filePathBufSize, filePath); in removeDirAndFiles()
/packages/providers/MediaProvider/jni/
DMediaProviderWrapper.cpp152 ScopedUtfChars d_name(env, j_d_name.get()); in getFilesInDirectoryInternal() local
153 if (d_name.c_str() == nullptr) { in getFilesInDirectoryInternal()
157 } else if (d_name.c_str()[0] == '\0') { in getFilesInDirectoryInternal()
167 ScopedUtfChars d_name(env, j_d_name.get()); in getFilesInDirectoryInternal() local
169 if (d_name.c_str() == nullptr) { in getFilesInDirectoryInternal()
175 directory_entries.push_back(std::make_shared<DirectoryEntry>(d_name.c_str(), DT_REG)); in getFilesInDirectoryInternal()
403 if (res_size && res[0]->d_name[0] == '/') { in GetDirectoryEntries()
407 } else if (res_size == 0 || !res[0]->d_name.empty()) { in GetDirectoryEntries()
DReaddirHelper.cpp52 if (is_dot_or_dotdot(entry->d_name)) continue; in addDirectoryEntriesFromLowerFs()
55 std::make_shared<DirectoryEntry>(entry->d_name, entry->d_type)); in addDirectoryEntriesFromLowerFs()
DFuseDaemon.cpp1611 if (num_directory_entries && h->de[0]->d_name.empty()) { in do_readdir_common()
1622 if (do_lookup(req, ino, de->d_name.c_str(), &e, &error_code, FuseOp::readdir)) { in do_readdir_common()
1623 entry_size = fuse_add_direntry_plus(req, buf + used, len - used, de->d_name.c_str(), in do_readdir_common()
1637 LOG(WARNING) << "Handling plain readdir for " << de->d_name << ". Invalid d_ino"; in do_readdir_common()
1640 entry_size = fuse_add_direntry(req, buf + used, len - used, de->d_name.c_str(), &e.attr, in do_readdir_common()
/packages/providers/MediaProvider/jni/include/libfuse_jni/
DReaddirHelper.h41 DirectoryEntry(const std::string& name, int type) : d_name(name), d_type(type) {} in DirectoryEntry()
42 const std::string d_name; member
/packages/modules/Virtualization/tests/init/
Dmain.cc66 if (sscanf(entry->d_name, "%d.%d", &dir_major, &dir_minor) != 2 || dir_major != major || in LoadKernelModules()
70 module_dirs.emplace_back(entry->d_name); in LoadKernelModules()
/packages/modules/adb/client/
Dusb_linux.cpp134 if (contains_non_digit(de->d_name)) continue; in find_usb_device()
136 std::string bus_name = base + "/" + de->d_name; in find_usb_device()
153 if (contains_non_digit(de->d_name)) continue; in find_usb_device()
155 std::string dev_name = bus_name + "/" + de->d_name; in find_usb_device()
Dfile_sync_client.cpp1282 if (IsDotOrDotDot(de->d_name)) { in local_build_list()
1287 std::string stat_path = lpath + de->d_name; in local_build_list()
1296 copyinfo ci(lpath, rpath, de->d_name, st.st_mode); in local_build_list()
Dauth.cpp186 std::string name = dent->d_name; in load_keys()
/packages/services/Car/cpp/watchdog/server/src/
DProcPidStat.cpp244 if (pidDir->d_type != DT_DIR || !ParseInt(pidDir->d_name, &pid)) { in getProcessStatsLocked()
301 if (tidDir->d_type != DT_DIR || !ParseInt(tidDir->d_name, &tid)) { in getProcessStatsLocked()
/packages/services/Car/procfs-inspector/server/
Ddirectory.cpp66 return Entry(mPath, entry->d_name); in next()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp207 std::string filename(StringPrintf("%s/%s", path, de->d_name)); in do_list()
232 size_t d_name_length = strlen(de->d_name); in do_list()
236 !WriteFdExactly(s, de->d_name, d_name_length)) { in do_list()
/packages/services/Car/cpp/evs/sampleDriver/
DEvsEnumerator.cpp191 if (strncmp(entry->d_name, "video", 5) == 0) { in enumerateCameras()
193 deviceName += entry->d_name; in enumerateCameras()
/packages/modules/SdkExtensions/derive_sdk/
Dderive_sdk.cpp125 std::string name = de->d_name; in SetSdkLevels()
/packages/modules/adb/
Dsysdeps_win32.cpp2499 if (!android::base::WideToUTF8(went->d_name, &name_utf8)) { in adb_readdir()
2507 if (name_utf8.length() + 1 > sizeof(went->d_name)) { in adb_readdir()
2521 strcpy(ent->d_name, name_utf8.c_str()); in adb_readdir()