/system/core/libprocessgroup/cgrouprc_format/ |
D | cgroup_controller.cpp | 25 memset(path_, 0, sizeof(path_)); in CgroupController() 38 strncpy(path_, path.c_str(), sizeof(path_) - 1); in CgroupController() 39 path_[sizeof(path_) - 1] = '\0'; in CgroupController() 55 return path_; in path()
|
/system/core/fastboot/device/ |
D | utility.h | 32 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle() 34 : path_(path), closer_(std::move(closer)) {} in PartitionHandle() 44 const std::string& path() const { return path_; } in path() 49 std::string path_;
|
/system/iorap/tests/src/inode2filename/ |
D | search_directories_test.cc | 413 constexpr PurePath() : path_(".") { in PurePath() 423 constexpr PurePath(std::string_view path) : path_(path) { in PurePath() 436 PurePath(std::string&& path) : owner_(std::move(path)), path_(owner_.value()) { in PurePath() 470 VisitSplitStringView(path_, in VisitParts() 515 std::string_view component = StringSplit::EmptySubstringAtEnd(path_); in Name() 604 DCHECK_GE(prev_last_view.data(), path_.data()); in Parent() 605 DCHECK_LE(prev_last_view.data() + prev_last_view.size(), path_.data() + path_.size()); in Parent() 609 size_t length = prev_last_view.data() + prev_last_view.size() - path_.data(); in Parent() 610 std::string_view parent = std::string_view{path_.data(), length} ; in Parent() 613 LOG(DEBUG) << "PurePath::Parent of \"" << path_ << "\" returns \"" << parent << "\""; in Parent() [all …]
|
/system/update_engine/common/ |
D | test_utils.h | 146 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile() 147 unlinker_.reset(new ScopedPathUnlinker(path_)); in ScopedTempFile() 150 const std::string& path() const { return path_; } in path() 153 std::string path_;
|
D | utils.h | 351 : path_(path), should_remove_(true) {} in ScopedPathUnlinker() 353 if (should_remove_ && unlink(path_.c_str()) < 0) { in ~ScopedPathUnlinker() 354 PLOG(ERROR) << "Unable to unlink path " << path_; in ~ScopedPathUnlinker() 360 const std::string path_;
|
/system/extras/simpleperf/ |
D | UnixSocket.h | 109 const std::string& GetPath() const { return path_; } in GetPath() 114 : server_fd_(server_fd), path_(path) {} in UnixSocketServer() 116 const std::string path_; variable
|
D | dso.cpp | 270 return FindExpectedBuildIdForPath(path_); in GetExpectedBuildId() 275 path_(path), in Dso() 353 size_t pos = path_.rfind('/'); in IsForJavaMethod() 355 return strncmp(&path_[pos], "TemporaryFile", strlen("TemporaryFile")) == 0; in IsForJavaMethod() 528 dex_file_dso_.reset(new DexFileDso(path_, path_)); in AddDexFileOffset() 562 ReportReadElfSymbolResult(status, path_, debug_file_path_, in LoadSymbols() 596 ReportReadElfSymbolResult(status, path_, vmlinux_); in LoadSymbols() 663 ReportReadElfSymbolResult(status, path_, debug_file_path_, in LoadSymbols()
|
D | dso.h | 147 const std::string& Path() const { return path_; } in Path() 206 const std::string path_; variable
|
/system/extras/boottime_tools/bootio/ |
D | bootio_collector.h | 34 std::string path_; variable
|
D | bootio_collector.cpp | 325 path_ = path; in BootioCollector() 380 return path_ + SAMPLES_FILE; in getStoragePath()
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 140 : controller_(c), path_(p) { in SetCgroupAction() 142 if (IsAppDependentPath(path_)) { in SetCgroupAction() 158 std::string tasks_path = controller_.GetTasksFilePath(path_); in EnableResourceCaching() 211 std::string procs_path = controller()->GetProcsFilePath(path_, uid, pid); in ExecuteForProcess() 248 std::string tasks_path = controller()->GetTasksFilePath(path_); in ExecuteForTask()
|
D | task_profiles.h | 119 std::string path() const { return path_; } in path() 129 std::string path_; variable
|
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/ |
D | cgroup_controller.h | 47 char path_[CGROUP_PATH_BUF_SZ]; member
|
/system/update_engine/payload_consumer/ |
D | download_action_unittest.cc | 76 ASSERT_TRUE(utils::ReadFile(path_, &found_data)); in ProcessingDone() 98 string path_; member in chromeos_update_engine::__anond321a0ef0111::DownloadActionTestProcessorDelegate 188 delegate.path_ = output_temp_file.path(); in TestWithData() 579 delegate_.path_ = output_temp_file.path(); in StartDownload()
|
/system/gsid/ |
D | gsi_service.cpp | 732 FdWriter(const std::string& path, unique_fd&& fd) : path_(path), fd_(std::move(fd)) {} in FdWriter() 739 PLOG(ERROR) << "fsync failed: " << path_; in Flush() 747 std::string path_; member in android::gsi::FdWriter
|