| /third_party/node/doc/api/ |
| D | async_hooks.md | 3 <!--introduced_in=v8.1.0--> 5 > Stability: 1 - Experimental 7 <!-- source_link=lib/async_hooks.js --> 20 event in `net.createServer()`, or just a single time like in `fs.open()`. 37 // Return the ID of the current execution context. 49 // action after running the constructor, and must be explicitly run to begin 66 // called 0-N times for handles (e.g. TCPWrap), and will be called exactly 1 84 <!-- YAML 86 --> 88 * `callbacks` {Object} The [Hook Callbacks][] to register [all …]
|
| D | esm.md | 3 <!--introduced_in=v8.5.0--> 4 <!-- type=misc --> 5 <!-- YAML 8 - version: 9 - v12.20.0 10 pr-url: https://github.com/nodejs/node/pull/35249 12 - version: v12.20.0 13 pr-url: https://github.com/nodejs/node/pull/31974 15 - version: 16 - v12.17.0 [all …]
|
| D | addons.md | 3 <!--introduced_in=v0.10.0--> 4 <!-- type=misc --> 6 _Addons_ are dynamically-linked shared objects written in C++. The 10 There are three options for implementing addons: N-API, nan, or direct 12 direct access to functionality which is not exposed by N-API, use N-API. 13 Refer to [C/C++ addons with N-API](n-api.html) for more information on N-API. 15 When not using N-API, implementing addons is complicated, 20 calling functions, etc. V8's API is documented mostly in the 21 `v8.h` header file (`deps/v8/include/v8.h` in the Node.js source 22 tree), which is also available [online][v8-docs]. [all …]
|
| /third_party/node/deps/npm/node_modules/is-callable/ |
| D | .istanbul.yml | 5 - .js 6 - .jsx 7 default-excludes: true 11 preserve-comments: false 12 complete-copy: false 13 save-baseline: false 14 baseline-file: ./coverage/coverage-baseline.raw.json 15 include-all-sources: false 16 include-pid: false 17 es-modules: false [all …]
|
| /third_party/boost/boost/asio/ |
| D | handler_invoke_hook.hpp | 5 // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) 33 * invoked, in particular that a handler can only be invoked from a thread that 34 * is currently calling @c run() on the corresponding io_context object. 40 * method as the final handler. This is required to ensure that user-defined 41 * objects are not accessed in a way that may violate the guarantees. This 51 * so that the non-const operator() can be used. 58 * void asio_handler_invoke(Function function, my_handler* context) 60 * context->strand_.dispatch(function); 68 // Places in asio that would have previously called the invocation hook to 71 // has the old hooks in place, and if so we want to trigger a compile error. [all …]
|
| D | spawn.hpp | 5 // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) 34 /// Context object the represents the currently executing coroutine. 48 * The initiating function (async_read_some in the above example) suspends the 86 /// Construct a yield context to represent the specified coroutine. 89 * spawn() function passes a yield context as an argument to the coroutine 102 /// Construct a yield context from another yield context type. 115 /// Return a yield context that sets the specified error_code. 117 * By default, when a yield context is used with an asynchronous operation, a 118 * non-success error_code is converted to system_error and thrown. This 151 /// Context object that represents the currently executing coroutine. [all …]
|
| /third_party/node/lib/ |
| D | async_hooks.js | 62 throw new ERR_ASYNC_CALLBACK('hook.init'); 64 throw new ERR_ASYNC_CALLBACK('hook.before'); 66 throw new ERR_ASYNC_CALLBACK('hook.after'); 68 throw new ERR_ASYNC_CALLBACK('hook.destroy'); 70 throw new ERR_ASYNC_CALLBACK('hook.promiseResolve'); 80 // The set of callbacks for a hook should be the same regardless of whether 81 // enable()/disable() are run during their execution. The following 82 // references are reassigned to the tmp arrays if a hook is currently being 86 // Each hook is only allowed to be added once. 114 if (index === -1) [all …]
|
| /third_party/boost/libs/fiber/doc/ |
| D | scheduling.qbk | 11 The fibers in a thread are coordinated by a fiber manager. Fibers trade 12 control cooperatively, rather than preemptively: the currently-running fiber 15 scheduler to determine which fiber will run next. 20 Each thread has its own scheduler. Different threads in a process may use 25 part, your `algorithm` subclass need not defend against cross-thread 43 // thread registers itself at work-stealing scheduler 50 // start worker-threads first 52 for ( std::uint32_t i = 1 /* count start-thread */; i < thread_count; ++i) { 56 // start-thread registers itself at work-stealing scheduler 63 scheduler needs to know how many threads run the work-stealing scheduler in the [all …]
|
| /third_party/e2fsprogs/lib/et/ |
| D | com_err.texinfo | 1 \input texinfo @c -*-texinfo-*- 7 @c Note that although this source file is in texinfo format (more 11 @c In order to produce hardcopy documentation from a texinfo file, 12 @c run ``tex com_err.texinfo'' which will load in texinfo.tex, 13 @c provided in this distribution. (texinfo.tex is from the Free 41 that the above copyright notice appear in all copies and that both that 42 copyright notice and this permission notice appear in supporting 44 used in advertising or publicity pertaining to distribution of the software 77 @vskip 2in 100 that the above copyright notice appear in all copies and that both that [all …]
|
| /third_party/node/src/api/ |
| D | hooks.cc | 1 #include "env-inl.h" 8 using v8::Context; 19 env->RunAtExitCallbacks(); in RunAtExit() 29 env->AtExit(cb, arg); in AtExit() 35 if (!env->destroy_async_id_list()->empty()) in EmitBeforeExit() 38 HandleScope handle_scope(env->isolate()); in EmitBeforeExit() 39 Context::Scope context_scope(env->context()); in EmitBeforeExit() 42 if (!env->process_object()->Get(env->context(), env->exit_code_string()) in EmitBeforeExit() 46 if (!exit_code_v->ToInteger(env->context()).ToLocal(&exit_code)) return; in EmitBeforeExit() 49 // actually forward empty MaybeLocal<>s (and check env->can_call_into_js()). in EmitBeforeExit() [all …]
|
| /third_party/node/src/ |
| D | env.cc | 4 #include "debug_utils-inl.h" 5 #include "memory_tracker-inl.h" 11 #include "node_options-inl.h" 13 #include "node_v8_platform-inl.h" 15 #include "req_wrap-inl.h" 18 #include "util-inl.h" 19 #include "v8-profiler.h" 30 using v8::Context; 60 Isolate* isolate = creator->GetIsolate(); in Serialize() 72 indexes.push_back(creator->AddData(PropertyName##_.Get(isolate))); in Serialize() [all …]
|
| D | node.h | 5 // "Software"), to deal in the Software without restriction, including 12 // in all copies or substantial portions of the Software. 16 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN 18 // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 19 // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 20 // USE OR OTHER DEALINGS IN THE SOFTWARE. 42 // This should be defined in make system. 43 // See issue https://github.com/nodejs/node-v0.x-archive/issues/1236 65 #pragma GCC diagnostic ignored "-Wcast-function-type" 72 #include "v8-platform.h" // NOLINT(build/include_order) [all …]
|
| /third_party/icu/icu4c/source/test/perf/ucnvavailperf/ |
| D | ucnvavailperf.cpp | 15 * encoding: UTF-8 23 * for a before-and-after comparison of 26 * Run with one optional command-line argument: 30 * switching between old (pre-ticket-6441) behavior of actually 34 * Code in the ucnv_bld.c haveAvailableConverterList() function: 36 // old pre-ticket-6441 behavior 58 my_alloc(const void *context, size_t size) { in my_alloc() argument 70 my_free(const void *context, void *mem) { in my_free() argument 72 const size_t *p = (const size_t *)mem - 1; in my_free() 73 icuMemUsage -= *p; in my_free() [all …]
|
| /third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/ |
| D | FlutterActivity.java | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 11 import android.content.Context; 43 * may be specified explicitly by passing the name of the entrypoint method as a {@code String} in 47 * route may be specified explicitly by passing the name of the route as a {@code String} in 57 * The app bundle path, Dart entrypoint, and initial route can also be controlled in a subclass of 70 * in the cache. 78 * pre-warming a {@link FlutterEngine} would have no impact in this situation.</li> 82 * The following illustrates how to pre-warm and cache a {@link FlutterEngine}: 85 * // Create and pre-warm a FlutterEngine. [all …]
|
| D | FlutterActivityAndFragmentDelegate.java | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 9 import android.content.Context; 44 * The {@code Fragment} support library adds 100k of binary size to an app, and full-Flutter 47 * {@link FlutterFragment} for add-to-app developers. 49 * If a time ever comes where the inclusion of {@code Fragment}s in a full-Flutter app is no 63 * Maintainers of this class should take care to only place code in this delegate that would 64 * otherwise be placed in either {@link FlutterActivity} or {@link FlutterFragment}, and in 105 * behavior that destroys a {@link FlutterEngine} can be found in {@link #onDetach()}. 124 … * Invoke this method from {@code Activity#onCreate(Bundle)} or {@code Fragment#onAttach(Context)}. [all …]
|
| /third_party/python/Lib/unittest/ |
| D | case.py | 28 Raise this exception in a test to skip it. 76 # exc_info -> frame -> exc_info 107 # Swallows all but first exception. If a multi-exception handler 154 return all(_is_subtype(e, basetype) for e in expected) 181 context manager, so check for a 'msg' kwarg and return self. 204 # bpo-23890: manually break a reference cycle 209 """A context manager used to implement TestCase.assertRaises* methods.""" 246 """A context manager used to implement TestCase.assertWarns* methods.""" 252 # The __warningregistry__'s need to be in a pristine state for tests 254 for v in list(sys.modules.values()): [all …]
|
| /third_party/Linux_Kernel/include/linux/ |
| D | tracehook.h | 4 * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. 10 * This file defines hook entry points called by core code where 12 * entry points are called tracehook_*(). Each hook declared below 13 * has a detailed kerneldoc comment giving the context (locking et 17 * to have some nontrivial tracehook_*() inlines. In all cases, the 26 * need to understand all the calling core or arch code in detail, just 36 * are chosen to pass in all the information that is on hand in the 41 * can change so there is no make-work burden on the core code. The 61 int ptrace = current->ptrace; in ptrace_report_syscall() 71 * stopping signal is not SIGTRAP. -brl in ptrace_report_syscall() [all …]
|
| /third_party/python/Doc/library/ |
| D | threading.rst | 1 :mod:`threading` --- Thread-based parallelism 5 :synopsis: Thread-based parallelism. 9 -------------- 11 This module constructs higher-level threading interfaces on top of the lower 20 methods and functions in this module in the Python 2.x series are still 43 Handle uncaught exception raised by :func:`Thread.run`. 59 exceptions raised by :func:`Thread.run` are handled. 61 Storing *exc_value* using a custom hook can create a reference cycle. It 65 Storing *thread* using a custom hook can resurrect it if it is set to an 67 hook completes to avoid resurrecting objects. [all …]
|
| D | sys.rst | 1 :mod:`sys` --- System-specific parameters and functions 5 :synopsis: Access system-specific parameters and functions. 7 -------------- 26 .. function:: addaudithook(hook) 28 Append the callable *hook* to the list of active auditing hooks for the 32 hook will be called in the order it was added with the event name and the 34 called first, followed by hooks added in the current interpreter. 36 .. audit-event:: sys.addaudithook "" sys.addaudithook 40 new hook will not be added and the exception suppressed. As a result, 41 callers cannot assume that their hook has been added unless they control [all …]
|
| /third_party/boost/doc/html/boost_asio/reference/ |
| D | asio_handler_invoke.html | 3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 22 <div class="spirit-nav"> 36 Default handler invocation hook used for non-const function objects. 46 Default handler invocation hook used for const function objects. 58 Certain guarantees are made on when the handler may be invoked, in particular 60 …<code class="computeroutput">run()</code> on the corresponding <a class="link" href="io_context.ht… 68 final handler. This is required to ensure that user-defined objects are not 69 accessed in a way that may violate the guarantees. This hooking function 84 so that the non-const operator() can be used. 93 void asio_handler_invoke(Function function, my_handler* context) [all …]
|
| /third_party/python/Lib/venv/ |
| D | __init__.py | 4 Copyright (C) 2011-2014 Vinay Sajip. 24 By default, the builder makes the system (global) site-packages dir 27 If invoked using the Python -m option, the default is to use copying 31 :param system_site_packages: If True, the system (global) site-packages 38 :param with_pip: If True, ensure pip is installed in the virtual 54 Create a virtual environment in a directory. 56 :param env_dir: The target directory to create an environment in. 60 context = self.ensure_directories(env_dir) 65 self.create_configuration(context) 66 self.setup_python(context) [all …]
|
| /third_party/boost/libs/asio/doc/ |
| D | net_ts.qbk | 2 / Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com) 11 Extensions for Networking" Technical Specification. In addition to access via 13 headers that correspond to the header files defined in the TS. These are listed 14 in the table below: 28 In some cases the new Networking TS compatible interfaces supersede older Boost.Asio 29 facilities. In these cases the older interfaces have been deprecated. The table 57 hook returns true] 75 [[link boost_asio.reference.io_context.run `io_context::run`]] 76 [[link boost_asio.reference.io_context.run `io_service::run`] overload that takes 92 [These functions add the ability to run an `io_context` for a limited time.] [all …]
|
| /third_party/lwip/src/include/lwip/ |
| D | opt.h | 8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science. 11 * Redistribution and use in source and binary forms, with or without modification, 16 * 2. Redistributions in binary form must reproduce the above copyright notice, 17 * this list of conditions and the following disclaimer in the documentation 24 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 40 * NOTE: || defined __DOXYGEN__ is a workaround for doxygen bug - 48 * Include user defined options first. Anything not defined in these files 64 * @defgroup lwip_opts_callback Callback-style APIs [all …]
|
| /third_party/python/Lib/ |
| D | warnings.py | 11 """Hook to write a warning to a file; replace if you like.""" 25 # sys.stderr is None when run with pythonw.exe: 32 # the file (probably stderr) is invalid - this warning gets lost. 74 for frame in tb: 97 """Hook to write a warning to a file; replace if you like.""" 134 'action' -- one of "error", "ignore", "always", "default", "module", 136 'message' -- a regex that the warning message must match 137 'category' -- a class that the warning must be a subclass of 138 'module' -- a regex that the module name must match 139 'lineno' -- an integer line number, 0 matches all warnings [all …]
|
| /third_party/python/Python/ |
| D | pythonrun.c | 2 /* Top level execution of Python code (including in __main__) */ 13 #include "Python-ast.h" 97 int show_ref_count = _PyInterpreterState_Get()->config.show_ref_count; in PyRun_InteractiveLoopFlags() 103 return -1; in PyRun_InteractiveLoopFlags() 122 if (ret == -1 && PyErr_Occurred()) { in PyRun_InteractiveLoopFlags() 129 err = -1; in PyRun_InteractiveLoopFlags() 156 if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) in PARSER_FLAGS() 158 if (flags->cf_flags & PyCF_IGNORE_COOKIE) in PARSER_FLAGS() 160 if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) in PARSER_FLAGS() 162 if (flags->cf_flags & PyCF_TYPE_COMMENTS) in PARSER_FLAGS() [all …]
|