Home
last modified time | relevance | path

Searched refs:path_ (Results 1 – 15 of 15) sorted by relevance

/system/core/libprocessgroup/cgrouprc_format/
Dcgroup_controller.cpp25 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/
Dutility.h32 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/
Dsearch_directories_test.cc413 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/
Dtest_utils.h146 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_;
Dutils.h351 : 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/
DUnixSocket.h109 const std::string& GetPath() const { return path_; } in GetPath()
114 : server_fd_(server_fd), path_(path) {} in UnixSocketServer()
116 const std::string path_; variable
Ddso.cpp270 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()
Ddso.h147 const std::string& Path() const { return path_; } in Path()
206 const std::string path_; variable
/system/extras/boottime_tools/bootio/
Dbootio_collector.h34 std::string path_; variable
Dbootio_collector.cpp325 path_ = path; in BootioCollector()
380 return path_ + SAMPLES_FILE; in getStoragePath()
/system/core/libprocessgroup/
Dtask_profiles.cpp140 : 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()
Dtask_profiles.h119 std::string path() const { return path_; } in path()
129 std::string path_; variable
/system/core/libprocessgroup/cgrouprc_format/include/processgroup/format/
Dcgroup_controller.h47 char path_[CGROUP_PATH_BUF_SZ]; member
/system/update_engine/payload_consumer/
Ddownload_action_unittest.cc76 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/
Dgsi_service.cpp732 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