Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dprocess_unittest.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_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/perfetto/src/trace_processor/
Dproto_trace_parser_unittest.cc143 process_ = new MockProcessTracker(&context_); in ProtoTraceParserTest()
144 context_.process_tracker.reset(process_); in ProtoTraceParserTest()
183 MockProcessTracker* process_; member in perfetto::trace_processor::__anon83c82cc70111::ProtoTraceParserTest
245 EXPECT_CALL(*process_, UpdateThread(123, 123)); in TEST_F()
503 EXPECT_CALL(*process_, in TEST_F()
519 EXPECT_CALL(*process_, in TEST_F()
530 EXPECT_CALL(*process_, UpdateThread(1, 2)); in TEST_F()
588 EXPECT_CALL(*process_, UpdateThread(16, 15)) in TEST_F()
673 EXPECT_CALL(*process_, UpdateThread(16, 15)) in TEST_F()
841 EXPECT_CALL(*process_, UpdateThread(16, 15)) 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()
344 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.cc161 process_ = process; in Initialize()
168 if (SymCleanup(process_)) { in Cleanup()
179 HANDLE process_; member in google_breakpad::AutoSymSrv
/external/v8/samples/
Dprocess.cc156 Global<Function> process_; member in JsHttpRequestProcessor
228 process_.Reset(GetIsolate(), process_fun); in Initialize()
319 v8::Local<v8::Function>::New(GetIsolate(), process_); in Process()
335 process_.Reset(); in ~JsHttpRequestProcessor()