Searched refs:ScopedPipe (Results 1 – 7 of 7) sorted by relevance
29 class ScopedPipe {33 ScopedPipe() : pipe_(Traits::kInvalidValue) {} in ScopedPipe() function34 explicit ScopedPipe(PipeType pipe) : pipe_(pipe) {} in ScopedPipe() function35 ScopedPipe(const ScopedPipe&) = delete;36 ScopedPipe(ScopedPipe&& other) : pipe_(other.release()) {} in ScopedPipe() function37 ~ScopedPipe() { in ~ScopedPipe()42 ScopedPipe& operator=(ScopedPipe&& other) {56 bool operator==(const ScopedPipe& other) const {59 bool operator!=(const ScopedPipe& other) const { return !(*this == other); }67 using ScopedFd = ScopedPipe<IntFdTraits>;
45 { ScopedPipe<IntTraits> x; } in TEST_F()48 { ScopedPipe<IntTraits> x(3); } in TEST_F()53 ScopedPipe<IntTraits> x(3); in TEST_F()56 ScopedPipe<IntTraits> y; in TEST_F()62 ScopedPipe<IntTraits> x(3); in TEST_F()63 ScopedPipe<IntTraits> y(std::move(x)); in TEST_F()72 ScopedPipe<IntTraits> x(3); in TEST_F()73 ScopedPipe<IntTraits> y(4); in TEST_F()86 ScopedPipe<IntTraits> x; in TEST_F()87 ScopedPipe<IntTraits> y; in TEST_F()[all …]
17 const int ScopedPipe::kPipeSize = 4096;19 ScopedPipe::ScopedPipe() { in ScopedPipe() function in brillo::ScopedPipe29 ScopedPipe::~ScopedPipe() { in ~ScopedPipe()
14 class ScopedPipe {19 ScopedPipe();20 ~ScopedPipe();
89 ScopedPipe pipe; in TEST()384 ScopedPipe pipe; in TEST_F()393 ScopedPipe pipe; in TEST_F()
47 struct ScopedPipe struct49 ~ScopedPipe() in ~ScopedPipe() argument319 ScopedPipe mStdoutPipe;320 ScopedPipe mStderrPipe;
26 struct ScopedPipe struct28 ~ScopedPipe() in ~ScopedPipe() argument379 ScopedPipe mStdoutPipe;380 ScopedPipe mStderrPipe;