Home
last modified time | relevance | path

Searched refs:Process (Results 1 – 25 of 1097) sorted by relevance

12345678910>>...44

/external/libchrome/base/process/
Dprocess_posix.cc224 Process::Process(ProcessHandle handle) : process_(handle) { in Process() function in base::Process
227 Process::~Process() = default;
229 Process::Process(Process&& other) : process_(other.process_) { in Process() function in base::Process
233 Process& Process::operator=(Process&& other) { in operator =()
240 Process Process::Current() { in Current()
241 return Process(GetCurrentProcessHandle()); in Current()
245 Process Process::Open(ProcessId pid) { in Open()
250 return Process(pid); in Open()
254 Process Process::OpenWithExtraPrivileges(ProcessId pid) { in OpenWithExtraPrivileges()
260 Process Process::DeprecatedGetProcessFromHandle(ProcessHandle handle) { in DeprecatedGetProcessFromHandle()
[all …]
Dprocess.h46 class BASE_EXPORT Process {
50 explicit Process(ProcessHandle handle = kNullProcessHandle);
52 Process(Process&& other);
55 ~Process();
57 Process& operator=(Process&& other);
60 static Process Current();
63 static Process Open(ProcessId pid);
68 static Process OpenWithExtraPrivileges(ProcessId pid);
73 static Process OpenWithAccess(ProcessId pid, DWORD desired_access);
80 static Process DeprecatedGetProcessFromHandle(ProcessHandle handle);
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowProcessTest.java16 assertThat(android.os.Process.myPid()).isEqualTo(0); in shouldBeZeroWhenNotSet()
22 assertThat(android.os.Process.myPid()).isEqualTo(3); in shouldGetMyPidAsSet()
28 assertThat(android.os.Process.myUid()).isEqualTo(123); in shouldGetMyUidAsSet()
33 assertThat(android.os.Process.myTid()).isEqualTo(Thread.currentThread().getId()); in myTid_mainThread_returnsCurrentThreadId()
43 ok.set(android.os.Process.myTid() == Thread.currentThread().getId()); in myTid_backgroundThread_returnsCurrentThreadId()
59 tid1.set(android.os.Process.myTid()); in myTid_returnsDifferentValuesForDifferentThreads()
64 tid2.set(android.os.Process.myTid()); in myTid_returnsDifferentValuesForDifferentThreads()
76 assertThat(android.os.Process.getThreadPriority(123)).isEqualTo(0); in getThreadPriority_notSet_returnsZero()
81 android.os.Process.setThreadPriority(123, android.os.Process.THREAD_PRIORITY_VIDEO); in getThreadPriority_returnsThreadPriority()
83 assertThat(android.os.Process.getThreadPriority(123)) in getThreadPriority_returnsThreadPriority()
[all …]
/external/deqp/framework/delibs/decpp/
DdeProcess.cpp31 Process::Process (void) in Process() function in de::Process
38 Process::~Process (void) in ~Process()
43 void Process::start (const char* commandLine, const char* workingDirectory) in start()
49 void Process::waitForFinish (void) in waitForFinish()
55 void Process::terminate (void) in terminate()
61 void Process::kill (void) in kill()
67 void Process::closeStdIn (void) in closeStdIn()
73 void Process::closeStdOut (void) in closeStdOut()
79 void Process::closeStdErr (void) in closeStdErr()
DdeProcess.hpp41 class Process class
44 Process (void);
45 ~Process (void);
65 Process (const Process& other);
66 Process& operator= (const Process& other);
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DProcess.inc1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Process class.
42 // solely so it can be called once in Process::GetPageSize to initialize the
56 Process::GetPageSize() {
62 Process::GetMallocUsage()
76 Process::GetTotalMemoryUsage()
84 Process::GetTimeUsage(
101 int Process::GetCurrentUserId()
106 int Process::GetCurrentGroupId()
114 void Process::PreventCoreFiles() {
[all …]
/external/webrtc/webrtc/video/
Dcall_stats_unittest.cc53 call_stats_->Process(); in TEST_F()
59 call_stats_->Process(); in TEST_F()
73 call_stats_->Process(); in TEST_F()
78 call_stats_->Process(); in TEST_F()
84 call_stats_->Process(); in TEST_F()
89 call_stats_->Process(); in TEST_F()
113 call_stats_->Process(); in TEST_F()
122 call_stats_->Process(); in TEST_F()
130 call_stats_->Process(); in TEST_F()
146 call_stats_->Process(); in TEST_F()
[all …]
/external/bcc/tools/
Dbitesize_example.txt10 Process Name = 'kworker/u128:1'
16 Process Name = 'bitesize.py'
27 Process Name = 'dd'
41 Process Name = 'jbd2/dm-1-8'
47 Process Name = 'cat'
59 Process Name = 'ntpd'
65 Process Name = 'vmtoolsd'
71 Process Name = 'bash'
79 Process Name = 'jbd2/sdb-8'
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc166 send_bucket_->Process(); in TEST_F()
178 send_bucket_->Process(); in TEST_F()
195 send_bucket_->Process(); in TEST_F()
216 send_bucket_->Process(); in TEST_F()
225 EXPECT_EQ(0, send_bucket_->Process()); in TEST_F()
230 EXPECT_EQ(0, send_bucket_->Process()); in TEST_F()
252 send_bucket_->Process(); in TEST_F()
281 send_bucket_->Process(); in TEST_F()
293 EXPECT_EQ(0, send_bucket_->Process()); in TEST_F()
298 EXPECT_EQ(0, send_bucket_->Process()); in TEST_F()
[all …]
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc93 pipe->Process(); in TEST_F()
98 pipe->Process(); in TEST_F()
103 pipe->Process(); in TEST_F()
108 pipe->Process(); in TEST_F()
132 pipe->Process(); in TEST_F()
137 pipe->Process(); in TEST_F()
142 pipe->Process(); in TEST_F()
166 pipe->Process(); in TEST_F()
189 pipe->Process(); in TEST_F()
220 pipe->Process(); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DProcess.inc1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Process class.
45 Process::GetPageSize()
62 size_t Process::GetMallocUsage() {
89 Process::GetTotalMemoryUsage()
109 Process::GetTimeUsage(TimeValue& elapsed, TimeValue& user_time,
133 int Process::GetCurrentUserId() {
137 int Process::GetCurrentGroupId() {
148 void Process::PreventCoreFiles() {
185 bool Process::StandardInIsUserInput() {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDynamicLibrary.cpp33 void *Process; member in DynamicLibrary::HandleSet
40 HandleSet() : Process(nullptr) {} in HandleSet()
48 return Handle == Process || Find(Handle) != Handles.end(); in Contains()
65 if (Process) { in AddLibrary()
67 DLClose(Process); in AddLibrary()
68 if (Process == Handle) in AddLibrary()
72 Process = Handle; in AddLibrary()
96 if (!Process || (Order & SO_LoadedFirst)) { in Lookup()
100 if (Process) { in Lookup()
102 if (void *Ptr = DLSym(Process, Symbol)) in Lookup()
/external/deqp/execserver/
DxsWin32TestProcess.hpp133 class Process class
136 Process (void);
137 ~Process (void);
153 Process (const Process& other);
154 Process& operator= (const Process& other);
199 win32::Process* m_process;
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DProcessTest.cpp23 const unsigned r1 = Process::GetRandomNumber(); in TEST()
24 const unsigned r2 = Process::GetRandomNumber(); in TEST()
36 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
43 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST()
52 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
59 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time_unittest.cc100 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
103 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
125 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
147 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
178 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
198 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
217 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
235 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
255 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
272 EXPECT_EQ(0, bitrate_estimator_->Process()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Process class.
65 unsigned Process::getPageSize() {
71 Process::GetMallocUsage()
84 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
100 void Process::PreventCoreFiles() {
120 Optional<std::string> Process::GetEnv(StringRef Name) {
237 Process::GetArgumentVector(SmallVectorImpl<const char *> &Args,
271 std::error_code Process::FixupStandardFileDescriptors() {
275 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
[all …]
/external/llvm/lib/Support/Windows/
DProcess.inc1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Process class.
77 unsigned Process::getPageSize() {
83 Process::GetMallocUsage()
96 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
112 void Process::PreventCoreFiles() {
132 Optional<std::string> Process::GetEnv(StringRef Name) {
249 Process::GetArgumentVector(SmallVectorImpl<const char *> &Args,
283 std::error_code Process::FixupStandardFileDescriptors() {
287 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DProcess.inc1 //===- Win32/Process.cpp - Win32 Process Implementation ------- -*- C++ -*-===//
10 // This file provides the Win32 specific implementation of the Process class.
58 unsigned Process::getPageSize() {
64 Process::GetMallocUsage()
77 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
93 void Process::PreventCoreFiles() {
113 Optional<std::string> Process::GetEnv(StringRef Name) {
273 std::error_code Process::FixupStandardFileDescriptors() {
277 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
283 bool Process::StandardInIsUserInput() {
[all …]
/external/python/cpython2/Doc/includes/
Dmp_benchmarks.py31 def test_queuespeed(Process, q, c): argument
38 p = Process(target=queuespeed_func, args=(q, c, iterations))
80 p = multiprocessing.Process(target=pipe_func,
153 def test_conditionspeed(Process, c): argument
161 p = Process(target=conditionspeed_func, args=(c, iterations))
191 test_queuespeed(multiprocessing.Process, multiprocessing.Queue(),
194 test_queuespeed(multiprocessing.Process, manager.Queue(),
230 test_conditionspeed(multiprocessing.Process, multiprocessing.Condition())
232 test_conditionspeed(multiprocessing.Process, manager.Condition())
/external/webrtc/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc79 void Process(size_t num_blocks);
187 void DebugDumpGenerator::Process(size_t num_blocks) { in Process() function in webrtc::test::__anonbbd193a00111::DebugDumpGenerator
475 generator.Process(100); in TEST_F()
484 generator.Process(100); in TEST_F()
492 generator.Process(100); in TEST_F()
501 generator.Process(100); in TEST_F()
504 generator.Process(100); in TEST_F()
513 generator.Process(100); in TEST_F()
516 generator.Process(100); in TEST_F()
525 generator.Process(100); in TEST_F()
[all …]
/external/libchrome/base/test/
Dmultiprocess_test.h64 Process SpawnMultiProcessTestChild(const std::string& procname,
74 bool WaitForMultiprocessTestChildExit(const Process& process,
80 bool TerminateMultiProcessTestChild(const Process& process,
123 Process SpawnChild(const std::string& procname);
128 Process SpawnChildWithOptions(const std::string& procname,
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProcess.inc1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Process class.
75 unsigned Process::getPageSize() {
86 size_t Process::GetMallocUsage() {
115 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
128 void Process::PreventCoreFiles() {
167 Optional<std::string> Process::GetEnv(StringRef Name) {
176 Process::GetArgumentVector(SmallVectorImpl<const char *> &ArgsOut,
203 std::error_code Process::FixupStandardFileDescriptors() {
240 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
[all …]
/external/llvm/lib/Support/Unix/
DProcess.inc1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Process class.
84 unsigned Process::getPageSize() {
95 size_t Process::GetMallocUsage() {
124 void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
137 void Process::PreventCoreFiles() {
176 Optional<std::string> Process::GetEnv(StringRef Name) {
185 Process::GetArgumentVector(SmallVectorImpl<const char *> &ArgsOut,
212 std::error_code Process::FixupStandardFileDescriptors() {
249 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
[all …]
/external/llvm/unittests/Support/
DProcessTest.cpp23 const unsigned r1 = Process::GetRandomNumber(); in TEST()
24 const unsigned r2 = Process::GetRandomNumber(); in TEST()
36 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
43 Process::GetEnv("__LLVM_TEST_ENVIRON_NO_SUCH_VAR__")); in TEST()
51 Optional<std::string> val(Process::GetEnv("__LLVM_TEST_ENVIRON_VAR__")); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/
DProcess.inc1 //===- Unix/Process.cpp - Unix Process Implementation --------- -*- C++ -*-===//
10 // This file provides the generic Unix implementation of the Process class.
76 unsigned Process::getPageSize() {
87 size_t Process::GetMallocUsage() {
116 void Process::GetTimeUsage(TimePoint<> &elapsed, std::chrono::nanoseconds &user_time,
129 void Process::PreventCoreFiles() {
168 Optional<std::string> Process::GetEnv(StringRef Name) {
195 std::error_code Process::FixupStandardFileDescriptors() {
229 std::error_code Process::SafelyCloseFileDescriptor(int FD) {
264 bool Process::StandardInIsUserInput() {
[all …]

12345678910>>...44