/third_party/node/lib/internal/ |
D | promise_hooks.js | 17 const hooks = { variable 25 const hookSet = ArrayPrototypeSlice(hooks.init); 66 const beforeAll = makeRunHook(hooks.before); 67 const afterAll = makeRunHook(hooks.after); 68 const settledAll = makeRunHook(hooks.settled); 75 const init = maybeFastPath(hooks.init, initAll); 76 const before = maybeFastPath(hooks.before, beforeAll); 77 const after = maybeFastPath(hooks.after, afterAll); 78 const settled = maybeFastPath(hooks.settled, settledAll); 91 const list = hooks[name]; [all …]
|
/third_party/node/test/async-hooks/ |
D | test-shutdownwrap.js | 10 const hooks = initHooks(); constant 11 hooks.enable(); 25 assert.strictEqual(hooks.activitiesOfTypes('SHUTDOWNWRAP').length, 0); 29 const as = hooks.activitiesOfTypes('SHUTDOWNWRAP'); 38 assert.strictEqual(hooks.activitiesOfTypes('SHUTDOWNWRAP').length, 1); 41 assert.strictEqual(hooks.activitiesOfTypes('SHUTDOWNWRAP').length, 0); 46 const as = hooks.activitiesOfTypes('SHUTDOWNWRAP'); 54 hooks.disable(); 55 hooks.sanityCheck('SHUTDOWNWRAP'); 56 const as = hooks.activitiesOfTypes('SHUTDOWNWRAP');
|
D | test-pipeconnectwrap.js | 13 const hooks = initHooks(); constant 14 hooks.enable(); 26 const pipeservers = hooks.activitiesOfTypes('PIPESERVERWRAP'); 27 let pipeconnects = hooks.activitiesOfTypes('PIPECONNECTWRAP'); 34 const pipes = hooks.activitiesOfTypes('PIPEWRAP'); 35 pipeconnects = hooks.activitiesOfTypes('PIPECONNECTWRAP'); 61 const pipes = hooks.activitiesOfTypes('PIPEWRAP'); 62 const pipeconnects = hooks.activitiesOfTypes('PIPECONNECTWRAP'); 82 hooks.disable(); 83 hooks.sanityCheck('PIPEWRAP'); [all …]
|
D | test-tcpwrap.js | 18 const hooks = initHooks(); constant 19 hooks.enable(); 28 const tcpsservers = hooks.activitiesOfTypes('TCPSERVERWRAP'); 29 const tcpconnects = hooks.activitiesOfTypes('TCPCONNECTWRAP'); 44 const tcps = hooks.activitiesOfTypes('TCPWRAP'); 47 const tcpconnects = hooks.activitiesOfTypes('TCPCONNECTWRAP'); 63 assert.strictEqual(hooks.activitiesOfTypes('TCPWRAP').length, 1); 83 const tcpconnects = hooks.activitiesOfTypes('TCPCONNECTWRAP'); 112 const tcps = hooks.activitiesOfTypes([ 'TCPWRAP' ]); 113 const tcpconnects = hooks.activitiesOfTypes('TCPCONNECTWRAP'); [all …]
|
D | test-promise.chain-promise-before-init-hooks.js | 21 const hooks = initHooks(); constant 22 hooks._allowNoInit = true; 23 hooks.enable(); 27 hooks.disable(); 28 hooks.sanityCheck('PROMISE'); 32 const as = hooks.activitiesOfTypes('PROMISE'); 33 const unknown = hooks.activitiesOfTypes('Unknown');
|
D | test-writewrap.js | 9 const hooks = initHooks(); constant 10 hooks.enable(); 20 assert.strictEqual(hooks.activitiesOfTypes('WRITEWRAP').length, 0); 23 assert.strictEqual(hooks.activitiesOfTypes('WRITEWRAP').length, 0); 31 assert.strictEqual(hooks.activitiesOfTypes('WRITEWRAP').length, 0); 35 const as = hooks.activitiesOfTypes('WRITEWRAP'); 110 hooks.disable(); 111 hooks.sanityCheck('WRITEWRAP');
|
D | test-promise.js | 12 const hooks = initHooks(); constant 14 hooks.enable(); 19 const as = hooks.activitiesOfTypes('PROMISE'); 27 const as = hooks.activitiesOfTypes('PROMISE'); 36 hooks.disable(); 37 hooks.sanityCheck('PROMISE'); 39 const as = hooks.activitiesOfTypes('PROMISE');
|
D | test-immediate.js | 9 const hooks = initHooks(); constant 10 hooks.enable(); 15 const as = hooks.activitiesOfTypes('Immediate'); 27 let as = hooks.activitiesOfTypes('Immediate'); 34 as = hooks.activitiesOfTypes('Immediate'); 57 hooks.disable(); 58 hooks.sanityCheck('Immediate');
|
D | test-timers.setTimeout.js | 10 const hooks = initHooks(); constant 11 hooks.enable(); 15 const as = hooks.activitiesOfTypes('Timeout'); 29 const as = hooks.activitiesOfTypes('Timeout'); 41 const as = hooks.activitiesOfTypes('Timeout'); 54 hooks.disable(); 55 hooks.sanityCheck('Timeout');
|
D | test-fsreqcallback-access.js | 10 const hooks = initHooks(); constant 12 hooks.enable(); 16 const as = hooks.activitiesOfTypes('FSREQCALLBACK'); 26 hooks.disable(); 27 hooks.sanityCheck('FSREQCALLBACK'); 29 const as = hooks.activitiesOfTypes('FSREQCALLBACK');
|
D | test-getnameinforeqwrap.js | 13 const hooks = initHooks(); constant 15 hooks.enable(); 21 const as = hooks.activitiesOfTypes('GETNAMEINFOREQWRAP'); 36 hooks.disable(); 37 hooks.sanityCheck('GETNAMEINFOREQWRAP'); 39 const as = hooks.activitiesOfTypes('GETNAMEINFOREQWRAP');
|
D | test-querywrap.js | 11 const hooks = initHooks(); constant 13 hooks.enable(); 18 const as = hooks.activitiesOfTypes('QUERYWRAP'); 28 hooks.disable(); 29 hooks.sanityCheck('QUERYWRAP'); 31 const as = hooks.activitiesOfTypes('QUERYWRAP');
|
D | test-getaddrinforeqwrap.js | 13 const hooks = initHooks(); constant 15 hooks.enable(); 21 const as = hooks.activitiesOfTypes('GETADDRINFOREQWRAP'); 35 hooks.disable(); 36 hooks.sanityCheck('GETADDRINFOREQWRAP'); 38 const as = hooks.activitiesOfTypes('GETADDRINFOREQWRAP');
|
D | test-promise.promise-before-init-hooks.js | 13 const hooks = initHooks({ allowNoInit: true }); constant 14 hooks.enable(); 18 const as = hooks.activitiesOfTypes('PROMISE'); 26 hooks.disable(); 27 hooks.sanityCheck('PROMISE'); 29 const as = hooks.activitiesOfTypes('PROMISE');
|
D | test-crypto-randomBytes.js | 16 const hooks = initHooks(); constant 18 hooks.enable(); 22 const as = hooks.activitiesOfTypes('RANDOMBYTESREQUEST'); 32 hooks.disable(); 33 hooks.sanityCheck('RANDOMBYTESREQUEST'); 35 const as = hooks.activitiesOfTypes('RANDOMBYTESREQUEST');
|
D | test-crypto-pbkdf2.js | 16 const hooks = initHooks(); constant 18 hooks.enable(); 23 const as = hooks.activitiesOfTypes('PBKDF2REQUEST'); 31 hooks.disable(); 32 hooks.sanityCheck('PBKDF2REQUEST'); 34 const as = hooks.activitiesOfTypes('PBKDF2REQUEST');
|
D | test-pipewrap.js | 16 const hooks = initHooks(); constant 18 hooks.enable(); 27 const processes = hooks.activitiesOfTypes('PROCESSWRAP'); 28 const pipes = hooks.activitiesOfTypes('PIPEWRAP'); 65 hooks.disable(); 66 hooks.sanityCheck('PROCESSWRAP'); 67 hooks.sanityCheck('PIPEWRAP');
|
D | test-udpsendwrap.js | 10 const hooks = initHooks(); constant 12 hooks.enable(); 29 assert.strictEqual(hooks.activitiesOfTypes('UDPSENDWRAP').length, 0); 33 const as = hooks.activitiesOfTypes('UDPSENDWRAP'); 52 hooks.disable(); 53 hooks.sanityCheck('UDPSENDWRAP');
|
D | test-fsreqcallback-readFile.js | 13 const hooks = initHooks(); constant 15 hooks.enable(); 19 const as = hooks.activitiesOfTypes('FSREQCALLBACK'); 45 hooks.disable(); 46 hooks.sanityCheck('FSREQCALLBACK'); 47 const as = hooks.activitiesOfTypes('FSREQCALLBACK');
|
/third_party/node/deps/npm/node_modules/libnpmhook/ |
D | README.md | 8 programmatically managing the npm registry's server-side hooks. 10 For a more general introduction to managing hooks, see [the introductory blog 11 post](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm). 29 const hooks = require('libnpmhook') 31 console.log(await hooks.ls('mypkg', {token: 'deadbeef'})) 54 #### <a name="add"></a> `> hooks.add(name, endpoint, secret, [opts]) -> Promise` 70 /v1/hooks/hook`](https://github.com/npm/registry/blob/master/docs/hooks/endpoints.md#post-v1hooksho… 75 await hooks.add('~zkat', 'https://example.com/api/added', 'supersekrit', { 97 #### <a name="find"></a> `> hooks.find(id, [opts]) -> Promise` 105 /v1/hooks/hook/:id`](https://github.com/npm/registry/blob/master/docs/hooks/endpoints.md#get-v1hook… [all …]
|
/third_party/node/deps/v8/src/d8/ |
D | async-hooks-wrapper.cc | 26 AsyncHooks* hooks = PerIsolateData::Get(isolate)->GetAsyncHooks(); in UnwrapHook() local 28 if (!hooks->async_hook_ctor.Get(isolate)->HasInstance(hook)) { in UnwrapHook() 171 AsyncHooks* hooks = PerIsolateData::Get(isolate)->GetAsyncHooks(); in ShellPromiseHook() local 188 ++hooks->current_async_id; in ShellPromiseHook() 189 Local<Integer> async_id = Integer::New(isolate, hooks->current_async_id); in ShellPromiseHook() 191 !promise->HasPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook() 193 promise->SetPrivate(currentContext, hooks->async_id_smb.Get(isolate), in ShellPromiseHook() 200 ->GetPrivate(currentContext, hooks->async_id_smb.Get(isolate)) in ShellPromiseHook() 202 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook() 206 promise->SetPrivate(currentContext, hooks->trigger_id_smb.Get(isolate), in ShellPromiseHook() [all …]
|
/third_party/mbedtls/tests/git-scripts/ |
D | README.md | 1 README for git hooks script 4 The git hooks are located in `<Mbed TLS root>/.git/hooks`, and as such are not under version control 7 …d TLS git hooks are located in `<Mbed TLS root>/tests/git-scripts` directory, and one must create … 11 Execute the following command to create a link on Linux from the Mbed TLS `.git/hooks` directory: 14 …ote: Currently the Mbed TLS git hooks work only on a GNU platform. If using a non-GNU platform, do…
|
/third_party/rust/crates/minimal-lexical/scripts/ |
D | hooks.sh | 11 echo 'echo "Running rustfmt and clippy checks."' > .git/hooks/pre-commit 12 echo "scripts/check.sh" >> .git/hooks/pre-commit 13 echo 'echo "Running linter checks."' > .git/hooks/pre-commit 14 echo 'RUSTFLAGS="--deny warnings" cargo +nightly build --features=lint' >> .git/hooks/pre-commit 15 chmod +x .git/hooks/pre-commit
|
/third_party/alsa-lib/src/conf/cards/ |
D | CMI8738-MC8.conf | 82 type hooks 89 hooks.0 { 120 type hooks 127 hooks.0 { 154 type hooks 161 hooks.0 { 200 type hooks 206 hooks.0 {
|
D | HdmiLpeAudio.conf | 24 type hooks 29 hooks.0 { 61 type hooks 67 hooks.0 { 99 type hooks 105 hooks.0 {
|