| /third_party/iptables/ |
| D | OAT.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- Copyright (c) 2022 Huawei Device Co., Ltd. 5 you may not use this file except in compliance with the License. 8 http://www.apache.org/licenses/LICENSE-2.0 10 Unless required by applicable law or agreed to in writing, software 17 …All configurations in this file will be merged to OAT-Default.xml, if you have any questions or co… 20 …1.If the project don't have "LICENSE" in root dir, please define all the license files in this pro… 23 …1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here. 27 "compatibility" is used to check license compatibility in the specified path; 28 "license" is used to check source license header in the specified path; [all …]
|
| /third_party/ltp/lib/ |
| D | README.md | 3 ## High-level picture 5 library process 6 +----------------------------+ 11 | for_each_filesystem | test process 12 | fork_testrun ------------->+--------------------------------------------+ 15 | | | tst_test->setup | 17 | | | tst_test->test(i) or tst_test->test_all | 19 | | | tst_test->cleanup | 21 | do_exit | +--------------------------------------------+ 24 +----------------------------+ [all …]
|
| /third_party/rust/rust/library/std/src/os/unix/ |
| D | process.rs | 1 //! Unix-specific extensions to primitives in the [`std::process`] module. 3 //! [`std::process`]: crate::process 10 use crate::process; 33 /// Unix-specific extensions to the [`process::Command`] builder. 39 /// Sets the child process's user ID. This translates to a 40 /// `setuid` call in the child process. Failure in the `setuid` 43 fn uid(&mut self, id: UserId) -> &mut process::Command; in uid() 45 /// Similar to `uid`, but sets the group ID of the child process. This has 48 fn gid(&mut self, id: GroupId) -> &mut process::Command; in gid() 50 /// Sets the supplementary group IDs for the calling process. Translates to [all …]
|
| /third_party/EGL/extensions/KHR/ |
| D | EGL_KHR_stream_cross_process_fd.txt | 20 Copyright (c) 2011-2013 The Khronos Group Inc. Copyright terms at 31 Version 8 - June 5, 2012 55 duplicated into another process so that the EGLStream producer can 56 be in one process while the EGLStream consumer can be in another 57 process. 59 Duplicating the EGLStreamKHR object handle into another process is 60 peformed in 3 steps 63 2) Duplicate the file descriptor into another process. 64 3) Create an EGLStreamKHR from the duplicated file descriptor in 65 the other process. [all …]
|
| /third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
| D | EGL_KHR_stream_cross_process_fd.txt | 20 Copyright (c) 2011-2013 The Khronos Group Inc. Copyright terms at 31 Version 8 - June 5, 2012 55 duplicated into another process so that the EGLStream producer can 56 be in one process while the EGLStream consumer can be in another 57 process. 59 Duplicating the EGLStreamKHR object handle into another process is 60 peformed in 3 steps 63 2) Duplicate the file descriptor into another process. 64 3) Create an EGLStreamKHR from the duplicated file descriptor in 65 the other process. [all …]
|
| /third_party/python/Doc/library/ |
| D | multiprocessing.rst | 1 :mod:`multiprocessing` --- Process-based parallelism 5 :synopsis: Process-based parallelism. 9 -------------- 11 .. include:: ../includes/wasm-notavail.rst 14 ------------ 18 offers both local and remote concurrency, effectively side-stepping the 26 analogs in the :mod:`threading` module. A prime example of this is the 30 example demonstrates the common practice of defining such functions in a module 51 to push tasks to a background process without blocking execution of the 52 calling process. Compared to using the :class:`~multiprocessing.pool.Pool` [all …]
|
| D | resource.rst | 1 :mod:`resource` --- Resource usage information 6 :synopsis: An interface to provide resource usage information on the current process. 11 -------------- 16 .. include:: ../includes/wasm-notavail.rst 19 request usage information about either the current process or its children. 33 --------------- 38 process over time. The soft limit can never exceed the hard limit. The hard 40 (Only processes with the effective UID of the super-user can raise a hard 44 described in the :manpage:`getrlimit(2)` man page. The resources listed below 46 which cannot be checked or controlled by the operating system are not defined in [all …]
|
| D | subprocess.rst | 1 :mod:`subprocess` --- Subprocess management 12 -------------- 22 modules and functions can be found in the following sections. 26 :pep:`324` -- PEP proposing the subprocess module 28 .. include:: ../includes/wasm-notavail.rst 31 ---------------------------------- 47 in :ref:`frequently-used-arguments` (hence the use of keyword-only notation 48 in the abbreviated signature). The full function signature is largely the 49 same as that of the :class:`Popen` constructor - most of the arguments to 61 expires, the child process will be killed and waited for. The [all …]
|
| D | asyncio-subprocess.rst | 3 .. _asyncio-subprocess: 12 ---------------------------------------- 14 This section describes high-level async/await asyncio APIs to 48 and monitor multiple subprocesses in parallel. It is indeed trivial 70 wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` 73 Return a :class:`~asyncio.subprocess.Process` instance. 88 wrappers for :attr:`Process.stdout` and :attr:`Process.stderr` 91 Return a :class:`~asyncio.subprocess.Process` instance. 102 escape whitespace and special shell characters in strings that are going 111 used. See :ref:`Subprocess Support on Windows <asyncio-windows-subprocess>` [all …]
|
| /third_party/libuv/docs/src/ |
| D | process.rst | 4 :c:type:`uv_process_t` --- Process handle 7 Process handles will spawn a new process and allow the user to control it and 12 ---------- 16 Process handle type. 20 Options for spawning the process (passed to :c:func:`uv_spawn`. 39 Type definition for callback passed in :c:type:`uv_process_options_t` which 40 will indicate the exit status and the signal that caused the process to 51 * Set the child process' user id. 55 * Set the child process' group id. 59 * Do not wrap any arguments in quotes, or perform any other escaping, when [all …]
|
| /third_party/python/Lib/multiprocessing/ |
| D | spawn.py | 7 # Copyright (c) 2006-2008, R Oudkerk 17 from . import process 59 if len(argv) >= 2 and argv[1] == '--multiprocessing-fork': 67 Run code for process object if this in not the main process 71 for arg in sys.argv[2:]: 83 Returns prefix of command line used for spawning a child process 86 return ([sys.executable, '--multiprocessing-fork'] + 87 ['%s=%r' % item for item in kwds.items()]) 90 prog %= ', '.join('%s=%r' % item for item in kwds.items()) 93 return [exe] + opts + ['-c', prog, '--multiprocessing-fork'] [all …]
|
| D | process.py | 2 # Module providing the `Process` class which emulates `threading.Thread` 4 # multiprocessing/process.py 6 # Copyright (c) 2006-2008, R Oudkerk 39 Return process object representing the current process 45 Return list of process objects corresponding to live child processes 53 Return process object representing the parent process 63 for p in list(_children): 68 # The `Process` class 73 Process objects represent activity that is run in a separate process 93 self._name = name or type(self).__name__ + '-' + \ [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
| D | assertions.xml | 3 fork() creates a new process. 6 The new process is a copy of the original process 7 -- unless specified otherwise below. 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. [all …]
|
| /third_party/libuv/docs/src/guide/ |
| D | processes.rst | 4 libuv offers considerable child process management, abstracting the platform 5 differences and allowing communication with the child process using streams or 8 A common idiom in Unix is for every process to do one thing and do it well. In 9 such a case, a process often uses multiple child processes to achieve tasks 10 (similar to using pipes in shells). A multi-process model with messages 14 A common refrain against event-based programs is that they cannot take 15 advantage of multiple cores in modern computers. In a multi-threaded program 18 workaround can be to launch multiple processes instead, with each process 19 running an event loop, and each process getting assigned to a separate CPU 23 ------------------------ [all …]
|
| /third_party/openhitls/testcode/framework/tls/process/src/ |
| D | process.c | 11 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, 32 #include "process.h" 35 #define ERROR (-1) 38 #define START_PROCESS_CMD "./process %d ./%s_%d ./%s %d > ./%s_%d.log &" 49 Process *process; member 59 static Process *g_process = NULL; 62 // Initialization process linked list, which is used only in the Local Process process and is used … 63 // Process. 73 // Inserts a process to a linked list. Currently, only remote processes are stored. 74 int InsertProcessToList(Process *tmpProcess) in InsertProcessToList() [all …]
|
| /third_party/grpc/src/python/grpcio_tests/tests/unit/ |
| D | _exit_test.py | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 9 # Unless required by applicable law or agreed to in writing, software 16 The tests in this module spawn a subprocess for each test case, the 40 BASE_SIGTERM_COMMAND = BASE_COMMAND + ["--wait_for_interrupt"] 54 for process in processes: 56 process.kill() 57 except Exception: # pylint: disable=broad-except 64 def _process_wait_with_timeout(process, timeout=WAIT_CHECK_DEFAULT_TIMEOUT): argument 65 """A function to mimic 3.3+ only timeout argument in process.wait.""" [all …]
|
| /third_party/ltp/testcases/kernel/syscalls/vfork/ |
| D | vfork02.c | 10 * This program is distributed in the hope that it will be useful, 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 24 * Fork a process using vfork() and verify that, the pending signals in 25 * the parent are not pending in the child process. 28 * The signal which is pending in the parent should not be pending in the 29 * child process. 39 * Check return code, if system call failed (return=-1) 44 * Issue Functionality-Pass message. 46 * Issue Functionality-Fail message. 50 * Usage: <for command-line> [all …]
|
| /third_party/rust/rust/library/std/src/ |
| D | process.rs | 5 //! current process. 7 //! # Spawning a process 12 //! use std::process::Command; 23 //! to spawn a process. In particular, [`output`] spawns the child process and 24 //! waits until the process terminates, while [`spawn`] will return a [`Child`] 25 //! that represents the spawned child process. 29 //! The [`stdout`], [`stdin`], and [`stderr`] of a child process can be 36 //! use std::process::{Command, Stdio}; 38 //! // stdout must be configured with `Stdio::piped` in order to use 44 //! .expect("Failed to start echo process"); [all …]
|
| /third_party/skia/third_party/externals/angle2/util/ |
| D | test_utils.h | 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 7 // test_utils.h: declaration of OS-specific utility functions 43 // Creates a temporary file. The full path is placed in |tempFileNameOut|, and the 44 // function returns true if was successful in creating the file. The file will 48 // Same as CreateTemporaryFile but the file is created in |dir|. 62 class Process : angle::NonCopyable 77 virtual ~Process(); 99 ProcessHandle(Process *process); 105 Process *operator->() { return mProcess; } [all …]
|
| /third_party/typescript/tests/ts_extra_tests/tool/ |
| D | testcfg.py | 2 # -*- coding: utf-8 -*- 3 # Copyright (c) 2023-2024 Huawei Device Co., Ltd. 5 # you may not use this file except in compliance with the License. 8 # http://www.apache.org/licenses/LICENSE-2.0 10 # Unless required by applicable law or agreed to in writing, software 24 STRICT_OFF = ['--strict', 'false'] 25 STRICT_ON = ['--strict', 'true'] 26 MODULE = ['--module'] 27 DECORATOR = ['--experimentalDecorators'] 28 STRICTNULLCHECKS = ['--strictNullChecks'] [all …]
|
| /third_party/googletest/googletest/src/ |
| D | gtest-death-test.cc | 4 // Redistribution and use in source and binary forms, with or without 10 // * Redistributions in binary form must reproduce the above 12 // in the documentation and/or other materials provided with the 21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33 #include "gtest/gtest-death-test.h" 43 #include "gtest/internal/gtest-port.h" 78 #include <lib/zx/process.h> 88 #include "gtest/gtest-message.h" [all …]
|
| /third_party/mesa3d/src/gtest/src/ |
| D | gtest-death-test.cc | 4 // Redistribution and use in source and binary forms, with or without 10 // * Redistributions in binary form must reproduce the above 12 // in the documentation and/or other materials provided with the 21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 33 #include "gtest/gtest-death-test.h" 39 #include "gtest/internal/gtest-port.h" 74 #include <lib/zx/process.h> 84 #include "gtest/gtest-message.h" [all …]
|
| /third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
| D | RefStructCompatibilityTest.cs | 2 // Protocol Buffers - Google's data interchange format 5 // Use of this source code is governed by a BSD-style 6 // license that can be found in the LICENSE file or at 7 // https://developers.google.com/open-source/licenses/bsd 23 …/// this setting doesn't accurately simulate compilation with an actual old pre-roslyn C# compiler. 42 …// If "ref struct" types are used in the generated code, compilation with an old compiler will fai… in GeneratedCodeCompilesWithOldCsharpCompiler() 43 …// "XYZ is obsolete: 'Types with embedded references are not supported in this version of your com… in GeneratedCodeCompilesWithOldCsharpCompiler() 44 … GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE to avoid the use of ref struct in the generated code. in GeneratedCodeCompilesWithOldCsharpCompiler() 45 var compatibilityFlag = "-define:GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE"; in GeneratedCodeCompilesWithOldCsharpCompiler() 50 …var args = $"-langversion:3 -nologo -nowarn:1691 -target:library {compatibilityFlag} -reference:{t… in GeneratedCodeCompilesWithOldCsharpCompiler() [all …]
|
| /third_party/rust/crates/nix/src/ |
| D | sched.rs | 26 /// The calling process and the child process run in the same 29 /// The caller and the child process share the same filesystem 32 /// The calling process and the child process share the same file 35 /// The calling process and the child process share the same table 38 /// If the calling process is being traced, then trace the child 41 /// The execution of the calling process is suspended until the 46 /// will be the same as that of the calling process. 48 /// The child is placed in the same thread group as the calling 49 /// process. 51 /// The cloned child is started in a new mount namespace. [all …]
|
| /third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
| D | assertions.xml | 4 the process specified by pid to policy and the parameters specified in the 11 If a process specified by pid exists, and if the calling process has 13 the process whose process ID is equal to pid 17 for the calling process 20 The condition under which one process has the appropriate privilege to 21 change the scheduling parameters of another process are 22 implementation-defined 25 Implementations may require that the requesting process have permission to 26 set its own scheduling parameters or those of another process 29 Implementation-defined restrictions may apply as to the appropriate [all …]
|