/third_party/openssl/crypto/ |
H A D | threads_none.c | 65 int CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void)) in CRYPTO_THREAD_run_once() argument 67 if (*once != 0) in CRYPTO_THREAD_run_once() 71 *once = 1; in CRYPTO_THREAD_run_once()
|
/third_party/openssl/ms/ |
H A D | applink.c | 105 static int once = 1; in __declspec() local 109 if (once) { in __declspec() 135 once = 0; in __declspec()
|
/third_party/skia/src/core/ |
H A D | SkGlobalInitialization_core.cpp | 12 static SkOnce once; in RegisterFlattenablesIfNeeded() local 13 once([]{ in RegisterFlattenablesIfNeeded()
|
/third_party/skia/src/ports/ |
H A D | SkFontConfigInterface_direct_factory.cpp | 13 static SkOnce once; in GetSingletonDirectInterface() local 14 once([]{ singleton = new SkFontConfigInterfaceDirect(); }); in GetSingletonDirectInterface()
|
/third_party/node/lib/ |
H A D | events.js | 219 module.exports.once = once; 650 EventEmitter.prototype.once = function once(type, listener) { 965 async function once(emitter, name, options = kEmptyObject) { 989 const opts = { __proto__: null, once: true, [kResistStopPropagation]: true }; 991 if (name !== 'error' && typeof emitter.once === 'function') { 994 emitter.once('error', errorListener); 1003 signal, 'abort', abortListener, { __proto__: null, once: true, [kResistStopPropagation]: true }); 1027 if (flags?.once) { [all...] |
H A D | _tls_wrap.js | 181 let once = false; 184 if (once) 186 once = true; 219 let once = false; 221 if (once) 223 once = true; 302 let once = false; 304 debug('server OCSPRequest done', 'handle?', !!socket._handle, 'once?', once, 306 if (once) [all...] |
H A D | _http_client.js | 48 once, 244 this.once('response', cb); 348 const oncreate = once((err, socket) => { 859 req.socket.once('timeout', emitRequestTimeout); 862 socket.once('timeout', emitRequestTimeout); 911 // This function is for calls that need to happen once the socket is 926 this.socket.once('connect', callSocketMethod); 931 this.once('socket', onSocket); 944 if (callback) this.once('timeout', callback); 949 this.once('socke [all...] |
/third_party/node/test/parallel/ |
H A D | test-http-max-http-headers.js | 16 function once(cb) { function 28 client.on(e, once(() => setImmediate(callback))); 91 sock.once('data', () => { 125 server.once('clientError', common.mustCall((err) => {
|
H A D | test-http2-compat-socket-set.js | 42 const realOnce = request.stream.once; 43 request.socket.once = noop; 44 assert.strictEqual(request.stream.once, noop); 45 request.stream.once = realOnce;
|
H A D | test-domain-ee-error-listener.js | 13 ee.once('error', common.mustCall((err) => { 19 ee.once('error', common.expectsError(err));
|
H A D | test-child-process-internal.js | 45 child.once('message', common.mustCall(function(data) { 49 child.once('internalMessage', common.mustCall(function(data) {
|
H A D | test-cluster-setup-primary-emit.js | 30 cluster.once('setup', common.mustCall(function(settings) { 38 cluster.once('setup', common.mustCall(function(settings) {
|
H A D | test-tls-ticket.js | 73 s.once('session', () => { 140 s.once('session', (session) => onNewSession(s, session)); 141 s.once('session', () => ticketLog.push(s.getTLSTicket().toString('hex')));
|
/third_party/skia/src/fonts/ |
H A D | SkRemotableFontMgr.cpp | 19 static SkOnce once; in NewEmpty() local 21 once([]{ empty = new SkRemotableFontIdentitySet; }); in NewEmpty()
|
/third_party/libuv/test/ |
H A D | test-timer.c | 117 uv_timer_t *once; in TEST_IMPL() local 127 once = once_timers + i; in TEST_IMPL() 128 r = uv_timer_init(uv_default_loop(), once); in TEST_IMPL() 130 r = uv_timer_start(once, once_cb, i * 50, 0); in TEST_IMPL() 165 uv_timer_t once; in TEST_IMPL() local 168 r = uv_timer_init(uv_default_loop(), &once); in TEST_IMPL() 170 r = uv_timer_start(&once, never_cb, 86400 * 1000, 0); in TEST_IMPL() 172 r = uv_timer_start(&once, twice_cb, 10, 0); in TEST_IMPL()
|
/third_party/libuv/src/unix/ |
H A D | random-getrandom.c | 37 static uv_once_t once = UV_ONCE_INIT; variable 44 uv_once(&once, uv__random_getrandom_init_once); in uv__random_getrandom_init()
|
H A D | random-getentropy.c | 31 static uv_once_t once = UV_ONCE_INIT; variable 43 uv_once(&once, uv__random_getentropy_init); in uv__random_getentropy()
|
/third_party/node/deps/uv/src/unix/ |
H A D | random-getrandom.c | 39 static uv_once_t once = UV_ONCE_INIT; variable 46 uv_once(&once, uv__random_getrandom_init_once); in uv__random_getrandom_init()
|
H A D | random-getentropy.c | 31 static uv_once_t once = UV_ONCE_INIT; variable 43 uv_once(&once, uv__random_getentropy_init); in uv__random_getentropy()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifs_debug.h | 77 cifs_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 102 cifs_server_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 126 cifs_tcon_dbg_func(once, type, fmt, ##__VA_ARGS__); \
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifs_debug.h | 77 cifs_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 102 cifs_server_dbg_func(once, type, fmt, ##__VA_ARGS__); \ 126 cifs_tcon_dbg_func(once, type, fmt, ##__VA_ARGS__); \
|
/third_party/curl/tests/libtest/ |
H A D | lib554.c | 63 static int once(char *URL, bool oldstyle) in once() function 201 res = once(URL, TRUE); /* old */ in test() 203 res = once(URL, FALSE); /* new */ in test()
|
/third_party/node/lib/internal/cluster/ |
H A D | round_robin_handle.js | 43 this.server.once('listening', () => { 72 this.server.once('listening', done); 73 this.server.once('error', (err) => {
|
/third_party/node/lib/internal/repl/ |
H A D | history.js | 108 repl.once('exit', onexit); 111 repl.once('flushHistory', function() { 156 repl.once('flushHistory', onexit);
|
/third_party/node/test/sequential/ |
H A D | test-worker-eventlooputil.js | 20 parentPort.once('message', mustCall((msg) => { 61 metricsCh.port2.once('message', mustCall(checkWorkerIdle)); 100 metricsCh.port2.once('message', (wElu) => {
|