Lines Matching refs:agent_
60 inline bool empty() const { return agent_ == nullptr; } in empty()
68 inline Agent* agent() { return agent_; } in agent()
76 inline AgentWriterHandle(Agent* agent, int id) : agent_(agent), id_(id) {} in AgentWriterHandle()
78 Agent* agent_ = nullptr; variable
159 if (agent_ != nullptr) in reset()
160 agent_->Disconnect(id_); in reset()
161 agent_ = nullptr; in reset()
166 agent_ = other.agent_;
168 other.agent_ = nullptr;
177 if (agent_ != nullptr) agent_->Enable(id_, categories); in Enable()
181 if (agent_ != nullptr) agent_->Disable(id_, categories); in Disable()
185 return agent_ != nullptr && id_ == Agent::kDefaultHandleId; in IsDefaultHandle()
189 return agent_ != nullptr ? agent_->GetTracingController() : nullptr; in GetTracingController()