Home
last modified time | relevance | path

Searched full:process (Results 1 – 25 of 8799) sorted by relevance

12345678910>>...352

/external/bazelbuild-rules_rust/test/process_wrapper/test_files/
Dstdout1 Child process to stdout : 0
2 Child process to stdout : 1
3 Child process to stdout : 2
4 Child process to stdout : 3
5 Child process to stdout : 4
6 Child process to stdout : 5
7 Child process to stdout : 6
8 Child process to stdout : 7
9 Child process to stdout : 8
10 Child process to stdout : 9
[all …]
/external/deqp/framework/delibs/deutil/
DdeProcess.c21 * \brief Process abstraction.
67 printf("Process launch failed: %s\n", message); in die()
139 deProcess *process = (deProcess *)deCalloc(sizeof(deProcess)); in deProcess_create() local
140 if (!process) in deProcess_create()
143 process->state = PROCESSSTATE_NOT_STARTED; in deProcess_create()
145 return process; in deProcess_create()
148 static void deProcess_cleanupHandles(deProcess *process) in deProcess_cleanupHandles() argument
150 if (process->standardIn) in deProcess_cleanupHandles()
151 deFile_destroy(process->standardIn); in deProcess_cleanupHandles()
153 if (process->standardOut) in deProcess_cleanupHandles()
[all …]
/external/cronet/base/process/
Dprocess_unittest.cc5 #include "base/process/process.h"
13 #include "base/process/kill.h"
31 #include "base/process/internal_linux.h"
58 // Fake port provider that returns the calling process's
61 mach_port_t TaskForPid(base::ProcessHandle process) const override { in TaskForPid()
73 std::string GetProcessCpuCgroup(const base::Process& process) { in GetProcessCpuCgroup() argument
76 base::FilePath(base::StringPrintf(kProcPath, process.Pid())), in GetProcessCpuCgroup()
98 bool AddProcessToCpuCgroup(const base::Process& process, in AddProcessToCpuCgroup() argument
102 return base::WriteFile(path, base::NumberToString(process.Pid())); in AddProcessToCpuCgroup()
114 Process process(SpawnChild("SimpleChildProcess")); in TEST_F() local
[all …]
Dprocess.h9 #include "base/process/process_handle.h"
21 #include <lib/zx/process.h>
29 #include "base/process/port_provider_mac.h"
35 // OneGroupPerRenderer feature places each foreground renderer process into
37 // of all threads in the process when deciding on the next thread to schedule.
41 // Set all threads of a background process as backgrounded, which changes the
43 // is unchanged, since background process is under the spell of the background
52 // Provides a move-only encapsulation of a process.
54 // This object is not tied to the lifetime of the underlying process: the
55 // process may be killed and this object may still around, and it will still
[all …]
Dprocess_stubs.cc5 #include "base/process/process.h"
16 Process::Process(ProcessHandle handle) : process_(handle) { in Process() function in base::Process
20 Process::Process(Process&& other) : process_(other.process_) { in Process() function in base::Process
24 Process::~Process() = default;
26 Process& Process::operator=(Process&& other) { in operator =()
33 Process Process::Current() { in Current()
34 return Process(kCurrentProcessHandle); in Current()
38 Process Process::Open(ProcessId pid) { in Open()
42 return Process(pid); in Open()
46 Process Process::OpenWithExtraPrivileges(ProcessId pid) { in OpenWithExtraPrivileges()
[all …]
Dprocess_fuchsia.cc5 #include "base/process/process.h"
7 #include <lib/zx/process.h>
8 #include <zircon/process.h>
25 zx::process FindProcessInJobTree(const zx::job& job, ProcessId pid) { in FindProcessInJobTree()
26 zx::process process; in FindProcessInJobTree() local
27 zx_status_t status = job.get_child(pid, ZX_RIGHT_SAME_RIGHTS, &process); in FindProcessInJobTree()
30 return process; in FindProcessInJobTree()
44 return zx::process(); in FindProcessInJobTree()
62 process = FindProcessInJobTree(child_job, pid); in FindProcessInJobTree()
63 if (process) in FindProcessInJobTree()
[all …]
Dprocess_win.cc5 #include "base/process/process.h"
10 #include "base/process/kill.h"
30 // Sets Eco QoS (Quality of Service) level for background process which would
31 // select efficient CPU frequency and schedule the process to efficient cores
34 // efficiency of a process/thread. EcoQoS is introduced since Windows 11.
39 Process::Process(ProcessHandle handle) in Process() function in base::Process
44 Process::Process(Process&& other) in Process() function in base::Process
50 Process::~Process() { in ~Process()
53 Process& Process::operator=(Process&& other) { in operator =()
62 Process Process::Current() { in Current()
[all …]
Dkill.cc5 #include "base/process/kill.h"
8 #include "base/process/process_iterator.h"
21 Process process = Process::Open(entry->pid()); in KillProcesses() local
22 // Sometimes process open fails. This would cause a DCHECK in in KillProcesses()
23 // process.Terminate(). Maybe the process has killed itself between the in KillProcesses()
24 // time the process list was enumerated and the time we try to open the in KillProcesses()
25 // process? in KillProcesses()
26 if (!process.IsValid()) { in KillProcesses()
30 result &= process.Terminate(exit_code, true); in KillProcesses()
36 // Common implementation for platforms under which |process| is a handle to
[all …]
/external/libchrome/base/process/
Dprocess_unittest.cc5 #include "base/process/process.h"
10 #include "base/process/kill.h"
28 // Fake port provider that returns the calling process's
31 mach_port_t TaskForPid(base::ProcessHandle process) const override { in TaskForPid()
45 Process process(SpawnChild("SimpleChildProcess")); in TEST_F() local
46 ASSERT_TRUE(process.IsValid()); in TEST_F()
47 ASSERT_FALSE(process.is_current()); in TEST_F()
48 EXPECT_NE(process.Pid(), kNullProcessId); in TEST_F()
49 process.Close(); in TEST_F()
50 ASSERT_FALSE(process.IsValid()); in TEST_F()
[all …]
Dprocess.h10 #include "base/process/process_handle.h"
19 #include <lib/zx/process.h>
24 #include "base/process/port_provider_mac.h"
33 // Provides a move-only encapsulation of a process.
35 // This object is not tied to the lifetime of the underlying process: the
36 // process may be killed and this object may still around, and it will still
39 // Windows: The underlying ProcessHandle will be valid after the process dies
40 // and can be used to gather some information about that process, but most
44 // the process dies, and it may be reused by the system, which means that it may
45 // end up pointing to the wrong process.
[all …]
Dkill.cc5 #include "base/process/kill.h"
8 #include "base/process/process_iterator.h"
20 Process process = Process::Open(entry->pid()); in KillProcesses() local
21 // Sometimes process open fails. This would cause a DCHECK in in KillProcesses()
22 // process.Terminate(). Maybe the process has killed itself between the in KillProcesses()
23 // time the process list was enumerated and the time we try to open the in KillProcesses()
24 // process? in KillProcesses()
25 if (!process.IsValid()) { in KillProcesses()
29 result &= process.Terminate(exit_code, true); in KillProcesses()
35 // Common implementation for platforms under which |process| is a handle to
[all …]
/external/icu/icu4c/source/data/translit/
Droot.txt15 resource:process(transliterator){"Latin_ASCII.txt"}
21 resource:process(transliterator){"Any_Accents.txt"}
33 resource:process(transliterator){"Any_Accents.txt"}
39 resource:process(transliterator){"Any_Publishing.txt"}
45 resource:process(transliterator){"Arab_Latn.txt"}
63 resource:process(transliterator){"Latn_Armn.txt"}
75 resource:process(transliterator){"Beng_Arab.txt"}
81 resource:process(transliterator){"Beng_Deva.txt"}
87 resource:process(transliterator){"Beng_Gujr.txt"}
93 resource:process(transliterator){"Beng_Guru.txt"}
[all …]
/external/cronet/third_party/icu/source/data/translit/
Droot.txt15 resource:process(transliterator){"Latin_ASCII.txt"}
21 resource:process(transliterator){"Any_Accents.txt"}
33 resource:process(transliterator){"Any_Accents.txt"}
39 resource:process(transliterator){"Any_Publishing.txt"}
45 resource:process(transliterator){"Arab_Latn.txt"}
63 resource:process(transliterator){"Latn_Armn.txt"}
75 resource:process(transliterator){"Beng_Arab.txt"}
81 resource:process(transliterator){"Beng_Deva.txt"}
87 resource:process(transliterator){"Beng_Gujr.txt"}
93 resource:process(transliterator){"Beng_Guru.txt"}
[all …]
/external/ltp/testcases/kernel/controllers/freezer/
D00_description.txt2 This bash script tests freezer code by starting a long sleep process.
4 After we cancel the sleep process should eventually reach the thawed
5 state. We expect the process to still be alive as we cleanup the test.
8 This bash script tests freezer code by starting a long sleep process.
9 The sleep process is frozen. We then kill the sleep process.
10 Then we unfreeze the sleep process and see what happens. We expect the
11 sleep process to receive the kill signals and exit almost immediately
15 This bash script tests freezer code by starting a long sleep process.
16 The sleep process is frozen. We then move the sleep process to a THAWED
17 cgroup. We expect moving the sleep process to fail.
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_test.py54 for process in processes:
56 process.kill()
64 def _process_wait_with_timeout(process, timeout=WAIT_CHECK_DEFAULT_TIMEOUT): argument
65 """A funciton to mimic 3.3+ only timeout argument in process.wait."""
67 while (process.poll() is None) and (datetime.datetime.now() < deadline):
69 if process.returncode is None:
70 raise RuntimeError("Process failed to exit within %s" % timeout)
73 def interrupt_and_wait(process): argument
75 processes.append(process)
77 os.kill(process.pid, signal.SIGINT)
[all …]
/external/libbrillo/brillo/
Dprocess.h23 // Manages a process. Can create the process, attach to an existing
24 // process by pid or pid file, and kill the process. Upon destruction
25 // any managed process is killed with SIGKILL. Use Release() to
26 // release the process from management. A given system process may
27 // only be managed by one Process at a time.
28 class BRILLO_EXPORT Process {
30 Process();
31 virtual ~Process();
60 // Indicates we want to redirect |child_fd| in the child process's
62 // from child process's perspective iff |is_input|.
[all …]
/external/perfetto/test/trace_processor/diff_tests/parser/track_event/
Dtests.py75 SELECT tid, pid, process.name AS pname, thread.name AS tname
77 LEFT JOIN process USING(upid)
141 process.name AS process,
151 LEFT JOIN process ON process_track.upid = process.upid
154 LEFT JOIN process thread_process ON thread.upid = thread_process.upid
158 "track","process","thread","thread_process","ts","dur","category","name"
170 process.name AS process,
180 LEFT JOIN process ON process_track.upid = process.upid
183 LEFT JOIN process thread_process ON thread.upid = thread_process.upid
187 "track","process","thread","thread_process","ts","dur","category","name"
[all …]
/external/pigweed/pw_cli/py/pw_cli/
Dprocess.py40 """Information about a process executed in run_async.
43 pid: The process identifier.
44 returncode: The return code of the process.
49 process: asyncio.subprocess.Process, argument
52 assert process.returncode is not None
53 self.returncode: int = process.returncode
54 self.pid = process.pid
70 process = await asyncio.create_subprocess_exec(
80 if process.stdout:
82 line = await process.stdout.readline()
[all …]
/external/sdv/vsomeip/third_party/boost/process/doc/
Dtutorial.qbk1 [def bp::system [funcref boost::process::system bp::system]]
2 [def bp::async_system [funcref boost::process::async_system bp::async_system]]
3 [def bp::spawn [funcref boost::process::spawn bp::spawn]]
4 [def bp::child [classref boost::process::child bp::child]]
5 [def bp::cmd [classref boost::process::cmd bp::cmd]]
6 [def bp::group [classref boost::process::group bp::group]]
7 [def bp::ipstream [classref boost::process::ipstream bp::ipstream]]
8 [def bp::opstream [classref boost::process::opstream bp::opstream]]
9 [def bp::pstream [classref boost::process::pstream bp::pstream]]
10 [def bp::pipe [classref boost::process::pipe bp::pipe]]
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
Dassertions.xml3 fork() creates a new process.
6 The new process is a copy of the original process
10 The new process' ID does not match any existing
11 process or group ID.
14 The parent process ID (ppid) of the child process
15 is the process ID (pid) of the parent process
19 The opened file descriptors are copied to the child process
23 The opened directory streams are copied to the child process.
27 The child process gets a copy of the parent message catalog descriptor.
31 are set to 0 in the child process.
[all …]
/external/elfutils/libdwfl/
Ddwfl_frame.c50 Ebl *ebl = state->thread->process->ebl; in state_fetch_pc()
89 Ebl *ebl = thread->process->ebl; in state_alloc()
109 __libdwfl_process_free (Dwfl_Process *process) in __libdwfl_process_free() argument
111 Dwfl *dwfl = process->dwfl; in __libdwfl_process_free()
112 if (process->callbacks->detach != NULL) in __libdwfl_process_free()
113 process->callbacks->detach (dwfl, process->callbacks_arg); in __libdwfl_process_free()
114 assert (dwfl->process == process); in __libdwfl_process_free()
115 dwfl->process = NULL; in __libdwfl_process_free()
116 if (process->ebl_close) in __libdwfl_process_free()
117 ebl_closebackend (process->ebl); in __libdwfl_process_free()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowProcessTest.java17 // android.os.Process#setThreadPriority(int, int), which is [-20,19].
23 assertThat(android.os.Process.myPid()).isEqualTo(0); in shouldBeZeroWhenNotSet()
29 assertThat(android.os.Process.myPid()).isEqualTo(3); in shouldGetMyPidAsSet()
35 assertThat(android.os.Process.myUid()).isEqualTo(123); in shouldGetMyUidAsSet()
41 android.os.Process.killProcess(999); in shouldGetKilledProcess()
47 android.os.Process.killProcess(999); in shouldClearKilledProcessesOnReset()
54 android.os.Process.killProcess(999); in shouldClearKilledProcesses()
62 android.os.Process.killProcess(999); in shouldGetMultipleKilledProcesses()
63 android.os.Process.killProcess(123); in shouldGetMultipleKilledProcesses()
70 assertThat(android.os.Process.myTid()).isEqualTo(Thread.currentThread().getId()); in myTid_mainThread_returnsCurrentThreadId()
[all …]
/external/rust/crates/rustix/src/process/
Dwait.rs1 use crate::process::Pid;
9 use crate::backend::process::wait::SiginfoExt;
17 const NOHANG = bitcast!(backend::process::wait::WNOHANG);
21 const UNTRACED = bitcast!(backend::process::wait::WUNTRACED);
24 const CONTINUED = bitcast!(backend::process::wait::WCONTINUED);
38 const NOHANG = bitcast!(backend::process::wait::WNOHANG);
41 const CONTINUED = bitcast!(backend::process::wait::WCONTINUED);
43 const EXITED = bitcast!(backend::process::wait::WEXITED);
45 const NOWAIT = bitcast!(backend::process::wait::WNOWAIT);
47 const STOPPED = bitcast!(backend::process::wait::WSTOPPED);
[all …]
/external/perfetto/src/trace_processor/perfetto_sql/stdlib/chrome/scroll_jank/
Dscroll_jank_cause_utils.sql10 -- The process id for surfaceflinger.
14 FROM process
18 -- Map a generic process type to a specific name or substring of a name that
19 -- can be found in the trace process table.
21 -- The process type: one of 'Browser' or 'GPU'.
23 -- The process name for Chrome traces.
25 -- Substring identifying the process for system traces.
44 -- The process type: one of 'Browser' or 'GPU'.
47 -- The process name
56 -- The process type: one of 'Browser' or 'GPU'.
[all …]
/external/perfetto/src/trace_processor/importers/memory_tracker/
Dgraph_processor_unittest.cc29 using Process = GlobalNodeGraph::Process; typedef
56 Process* process) { in AssignTracingOverhead() argument
57 GraphProcessor::AssignTracingOverhead(allocator, global_graph, process); in AssignTracingOverhead()
163 Process* global_process = graph.shared_memory_graph(); in TEST_F()
167 Process* first = graph.CreateGraphForProcess(1); in TEST_F()
170 Process* second = graph.CreateGraphForProcess(2); in TEST_F()
182 Process* global_process = graph.shared_memory_graph(); in TEST_F()
187 Process* first = graph.CreateGraphForProcess(1); in TEST_F()
190 Process* second = graph.CreateGraphForProcess(2); in TEST_F()
193 Process* third = graph.CreateGraphForProcess(3); in TEST_F()
[all …]

12345678910>>...352