Home
last modified time | relevance | path

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

/external/libbrillo/brillo/
Dprocess_unittest.cc111 process_.RedirectOutput(output_file_); in SetUp()
125 ProcessImpl process_; member in brillo::ProcessTest
132 process_.AddArg(kBinEcho); in TEST_F()
133 process_.AddArg("hello world"); in TEST_F()
134 EXPECT_EQ(0, process_.Run()); in TEST_F()
140 process_.AddArg(kBinEcho); in TEST_F()
141 process_.AddStringOption("--hello", "world"); in TEST_F()
142 EXPECT_EQ(0, process_.Run()); in TEST_F()
147 process_.AddArg(kBinEcho); in TEST_F()
148 process_.AddIntOption("--answer", 42); in TEST_F()
[all …]
/external/libchrome/base/process/
Dprocess_posix.cc217 Process::Process(ProcessHandle handle) : process_(handle) { in Process()
223 Process::Process(Process&& other) : process_(other.process_) { in Process()
229 process_ = other.process_; in operator =()
273 return process_ != kNullProcessHandle; in IsValid()
277 return process_; in Handle()
284 return Process(process_); in Duplicate()
289 return GetProcId(process_); in Pid()
293 return process_ == GetCurrentProcessHandle(); in is_current()
297 process_ = kNullProcessHandle; in Close()
307 CHECK_GT(process_, 0); in Terminate()
[all …]
Dprocess_metrics_linux.cc174 return internal::ReadProcStatsAndGetFieldAsSizeT(process_, in GetPagefileUsage()
180 return ReadProcStatusAndGetFieldAsSizeT(process_, "VmPeak") * 1024; in GetPeakPagefileUsage()
185 return internal::ReadProcStatsAndGetFieldAsSizeT(process_, internal::VM_RSS) * in GetWorkingSetSize()
191 return ReadProcStatusAndGetFieldAsSizeT(process_, "VmHWM") * 1024; in GetPeakWorkingSetSize()
223 last_cpu_ = GetProcessCPU(process_); in GetCPUUsage()
233 int cpu = GetProcessCPU(process_); in GetCPUUsage()
266 FilePath io_file = internal::GetProcPidDir(process_).Append("io"); in GetIOCounters()
299 FilePath fd_path = internal::GetProcPidDir(process_).Append("fd"); in GetOpenFdCount()
317 FilePath fd_path = internal::GetProcPidDir(process_).Append("limits"); in GetOpenFdSoftLimit()
343 : process_(process), in ProcessMetrics()
[all …]
Dprocess.h167 win::ScopedHandle process_; variable
169 ProcessHandle process_;
Dprocess_metrics.h228 win::ScopedHandle process_; variable
230 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/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.cc134 Global<Function> process_; member in JsHttpRequestProcessor
205 process_.Reset(GetIsolate(), process_fun); in Initialize()
295 v8::Local<v8::Function>::New(GetIsolate(), process_); in Process()
312 process_.Reset(); in ~JsHttpRequestProcessor()