Home
last modified time | relevance | path

Searched refs:process_ (Results 1 – 14 of 14) sorted by relevance

/external/libbrillo/brillo/
Dprocess_test.cc110 process_.RedirectOutput(output_file_); in SetUp()
124 ProcessImpl process_; member in brillo::ProcessTest
131 process_.AddArg(kBinEcho); in TEST_F()
132 process_.AddArg("hello world"); in TEST_F()
133 EXPECT_EQ(0, process_.Run()); in TEST_F()
139 process_.AddArg(kBinEcho); in TEST_F()
140 process_.AddStringOption("--hello", "world"); in TEST_F()
141 EXPECT_EQ(0, process_.Run()); in TEST_F()
146 process_.AddArg(kBinEcho); in TEST_F()
147 process_.AddIntOption("--answer", 42); in TEST_F()
[all …]
/external/libchrome/base/process/
Dprocess_posix.cc224 Process::Process(ProcessHandle handle) : process_(handle) { in Process()
229 Process::Process(Process&& other) : process_(other.process_) { in Process()
234 process_ = other.process_; in operator =()
278 return process_ != kNullProcessHandle; in IsValid()
282 return process_; in Handle()
289 return Process(process_); in Duplicate()
294 return GetProcId(process_); in Pid()
298 return process_ == GetCurrentProcessHandle(); in is_current()
302 process_ = kNullProcessHandle; in Close()
312 CHECK_GT(process_, 0); in Terminate()
[all …]
Dprocess.h189 win::ScopedHandle process_;
191 zx::process process_;
193 ProcessHandle process_;
Dprocess_linux.cc107 base::FilePath(StringPrintf(kProcPath, process_)), &proc)) { in IsProcessBackgrounded()
122 std::string pid = IntToString(process_); in SetProcessBackgrounded()
133 int result = setpriority(PRIO_PROCESS, process_, priority); in SetProcessBackgrounded()
171 FilePath("/proc").Append(IntToString(process_)).Append("status"); in GetPidInNamespace()
Dprocess_metrics_linux.cc197 return internal::ReadProcStatsAndGetFieldAsSizeT(process_, internal::VM_RSS) * in GetResidentSetSize()
202 return internal::ClockTicksToTimeDelta(GetProcessCPU(process_)); in GetCumulativeCPUUsage()
209 if (!ReadProcFileToTrimmedStringPairs(process_, "io", &pairs)) in GetIOCounters()
237 return ReadProcStatusAndGetFieldAsSizeT(process_, "VmSwap") * 1024; in GetVmSwapBytes()
246 if (!internal::ReadProcStats(process_, &stats_data)) in GetPageFaultCounts()
262 FilePath fd_path = internal::GetProcPidDir(process_).Append("fd"); in GetOpenFdCount()
280 FilePath fd_path = internal::GetProcPidDir(process_).Append("limits"); in GetOpenFdSoftLimit()
305 : process_(process), last_absolute_idle_wakeups_(0) {} in ProcessMetrics()
307 ProcessMetrics::ProcessMetrics(ProcessHandle process) : process_(process) {} in ProcessMetrics()
335 FilePath totmaps_file = internal::GetProcPidDir(process_).Append("totmaps"); in GetTotalsSummary()
[all …]
Dprocess_metrics.h220 win::ScopedHandle process_; variable
222 ProcessHandle process_; variable
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc133 : process_(new(*allocator) AtosSymbolizerProcess(path, getpid())) {} in AtosSymbolizer()
136 if (!process_) return false; in SymbolizePC()
140 const char *buf = process_->SendCommand(command); in SymbolizePC()
145 process_ = nullptr; in SymbolizePC()
153 if (!process_) return false; in SymbolizeData()
156 const char *buf = process_->SendCommand(command); in SymbolizeData()
160 process_ = nullptr; in SymbolizeData()
Dsanitizer_symbolizer_mac.h41 AtosSymbolizerProcess *process_;
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cpp202 : process_(new (*allocator) AtosSymbolizerProcess(path)) {} in AtosSymbolizer()
205 if (!process_) return false; in SymbolizePC()
209 const char *buf = process_->SendCommand(command); in SymbolizePC()
215 process_ = nullptr; in SymbolizePC()
239 if (!process_) return false; in SymbolizeData()
242 const char *buf = process_->SendCommand(command); in SymbolizeData()
246 process_ = nullptr; in SymbolizeData()
252 void AtosSymbolizer::LateInitialize() { process_->LateInitialize(); } in LateInitialize()
Dsanitizer_symbolizer_mac.h41 AtosSymbolizerProcess *process_;
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser_unittest.cc247 process_ = new MockProcessTracker(&context_); in ProtoTraceParserTest()
248 context_.process_tracker.reset(process_); in ProtoTraceParserTest()
304 MockProcessTracker* process_; member in perfetto::trace_processor::__anonde9b72fc0111::ProtoTraceParserTest
364 EXPECT_CALL(*process_, GetOrCreateProcess(123)); in TEST_F()
631 EXPECT_CALL(*process_, in TEST_F()
648 EXPECT_CALL(*process_, in TEST_F()
660 EXPECT_CALL(*process_, UpdateThread(1, 2)); in TEST_F()
692 EXPECT_CALL(*process_, GetOrCreateProcess(15)) in TEST_F()
694 EXPECT_CALL(*process_, GetOrCreateProcess(16)).WillOnce(testing::Return(2u)); in TEST_F()
696 EXPECT_CALL(*process_, SetProcessNameIfUnset( in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_timeline.cc181 if (process_.find(device) == process_.end()) { in AllocateTimeNodes()
183 process_[device].reset(new Process(device, pid)); in AllocateTimeNodes()
186 Process* p = process_[device].get(); in AllocateTimeNodes()
346 Process* p = process_[process.first].get(); in AllocateLanes()
Dtfprof_timeline.h185 std::map<string, std::unique_ptr<Process>> process_; variable
/external/google-breakpad/src/tools/windows/converter/
Dms_symbol_server_converter.cc188 process_ = process; in Initialize()
223 if (SymCleanup(process_)) { in Cleanup()
234 HANDLE process_; member in google_breakpad::AutoSymSrv