/third_party/node/lib/internal/ |
H A D | histogram.js | 42 const kHandle = Symbol('kHandle'); 53 return object?.[kHandle] !== undefined; 88 return this[kHandle]?.count(); 98 return this[kHandle]?.countBigInt(); 108 return this[kHandle]?.min(); 118 return this[kHandle]?.minBigInt(); 128 return this[kHandle]?.max(); 138 return this[kHandle]?.maxBigInt(); 148 return this[kHandle] [all...] |
H A D | blocklist.js | 19 kHandle: kSocketAddressHandle, 30 const kHandle = Symbol('kHandle'); 42 this[kHandle] = new BlockListHandle(); 43 this[kHandle][owner_symbol] = this; 69 this[kHandle].addAddress(address[kSocketAddressHandle]); 89 const ret = this[kHandle].addRange( 113 this[kHandle].addSubnet(network[kSocketAddressHandle], prefix); 130 return Boolean(this[kHandle].check(address[kSocketAddressHandle])); 134 return this[kHandle] [all...] |
H A D | worker.js | 76 const kHandle = Symbol('kHandle'); 207 this[kHandle] = new WorkerImpl(url, 214 if (this[kHandle].invalidExecArgv) { 215 throw new ERR_WORKER_INVALID_EXEC_ARGV(this[kHandle].invalidExecArgv); 217 if (this[kHandle].invalidNodeOptions) { 219 this[kHandle].invalidNodeOptions, 'invalid NODE_OPTIONS env variable'); 221 this[kHandle].onexit = (code, customErr, customErrReason) => { 224 this[kPort] = this[kHandle].messagePort; 284 this[kHandle] [all...] |
H A D | socketaddress.js | 40 const kHandle = Symbol('kHandle'); 45 return value?.[kHandle] !== undefined; 76 this[kHandle] = new _SocketAddress(address, port, type, flowlabel); 77 this[kDetail] = this[kHandle].detail({ 99 return this[kHandle].flowlabel(); 115 const handle = this[kHandle]; 123 this[kHandle] = handle; 145 this[kHandle] = handle; 146 this[kDetail] = this[kHandle] [all...] |
H A D | blob.js | 68 const kHandle = Symbol('kHandle'); 104 return object?.[kHandle] !== undefined; 109 return [source.size, source[kHandle]]; 167 this[kHandle] = _createBlob(sources_, length); 194 const handle = this[kHandle]; 204 this[kHandle] = handle; 262 this[kHandle].slice(start, start + span), 281 const job = new FixedSizeBlobCopyJob(this[kHandle]); 357 this[kHandle] [all...] |
H A D | encoding.js | 27 const kHandle = Symbol('handle'); 412 this[kHandle] = undefined; 420 if (this[kHandle] !== undefined) return; 424 this[kHandle] = handle; 448 return _decode(this[kHandle], input, flags, this.encoding); 492 this[kHandle] = new (lazyStringDecoder())(enc); 535 this[kHandle].end(input) : 536 this[kHandle].write(input); 585 obj[kHandle] = this[kHandle]; [all...] |
H A D | stream_base_commons.js | 35 const kHandle = Symbol('kHandle'); 123 const req = createWriteWrap(self[kHandle], cb); 148 const req = createWriteWrap(self[kHandle], cb); 274 kHandle,
|
/third_party/node/lib/internal/crypto/ |
H A D | x509.js | 57 kHandle, 102 this[kHandle] = handle; 119 this[kHandle] = parseX509(buffer); 147 const handle = this[kHandle]; 155 this[kHandle] = handle; 161 value = this[kHandle].subject(); 170 value = this[kHandle].subjectAltName(); 179 value = this[kHandle].issuer(); 188 const cert = this[kHandle].getIssuerCert(); 190 value = new InternalX509Certificate(this[kHandle] [all...] |
H A D | diffiehellman.js | 57 kHandle, 122 this[kHandle] = new _DiffieHellman(sizeOrKey, generator); 126 value: this[kHandle].verifyError, 135 this[kHandle] = new _DiffieHellmanGroup(name); 139 value: this[kHandle].verifyError, 150 const keys = this[kHandle].generateKeys(); 165 const ret = this[kHandle].computeSecret(key); 177 const prime = this[kHandle].getPrime(); 188 const generator = this[kHandle].getGenerator(); 199 const key = this[kHandle] [all...] |
H A D | hash.js | 22 kHandle, 69 this[kHandle] = new _Hash(algorithm, xofLen); 84 return new Hash(this[kHandle], options); 88 this[kHandle].update(chunk, encoding); 93 this.push(this[kHandle].digest()); 111 if (!this[kHandle].update(data, encoding)) 124 const ret = this[kHandle].digest(`${outputEncoding}`); 135 this[kHandle] = new _Hmac(); 136 this[kHandle].init(hmac, key); 158 const ret = this[kHandle] [all...] |
H A D | cipher.js | 51 kHandle, 118 this[kHandle] = new CipherBase(decipher); 120 this[kHandle].init(cipher, credential, authTagLength); 122 this[kHandle].initiv(cipher, credential, iv, authTagLength); 160 this.push(this[kHandle].update(chunk, encoding)); 166 this.push(this[kHandle].final()); 186 const ret = this[kHandle].update(data, inputEncoding); 199 const ret = this[kHandle].final(); 211 if (!this[kHandle].setAutoPadding(!!ap)) 217 const ret = this[kHandle] [all...] |
H A D | keys.js | 48 kHandle, 113 ObjectDefineProperty(this, kHandle, { 139 this[kHandle].equals(otherKeyObject[kHandle]); 157 return this[kHandle].getSymmetricKeySize(); 166 return this[kHandle].exportJwk({}, false); 169 return this[kHandle].export(); 195 (this[kAsymmetricKeyType] = this[kHandle].getAsymmetricKeyType()); 206 this[kHandle].keyDetail({}), 221 return this[kHandle] [all...] |
H A D | sig.js | 38 kHandle, 58 this[kHandle] = new _Sign(); 59 this[kHandle].init(algorithm); 82 this[kHandle].update(data, encoding); 131 const ret = this[kHandle].sign(data, format, type, passphrase, rsaPadding, 199 this[kHandle] = new _Verify(); 200 this[kHandle].init(algorithm); 230 return this[kHandle].verify(data, format, type, passphrase, signature,
|
H A D | aes.js | 41 kHandle, 126 key[kKeyObject][kHandle], 138 key[kKeyObject][kHandle], 148 key[kKeyObject][kHandle], 199 key[kKeyObject][kHandle], 321 ({ length } = keyObject[kHandle].keyDetail({ }));
|
H A D | ec.js | 26 kHandle, 149 key[kKeyObject][kHandle])); 267 if (!keyObject[kHandle].checkEcKeyData()) { 273 } = keyObject[kHandle].keyDetail({}); 296 key[kKeyObject][kHandle],
|
H A D | rsa.js | 36 kHandle, 100 key[kKeyObject][kHandle], 197 key[kKeyObject][kHandle], 299 } = keyObject[kHandle].keyDetail({}); 328 key[kKeyObject][kHandle],
|
H A D | mac.js | 23 kHandle, 156 const { length } = keyObject[kHandle].keyDetail({}); 174 key[kKeyObject][kHandle],
|
/third_party/node/lib/internal/webstreams/ |
H A D | encoding.js | 34 const kHandle = Symbol('kHandle'); 45 return typeof value?.[kHandle] === 'object' && 50 return typeof value?.[kHandle] === 'object' && 58 this[kHandle] = new TextEncoder(); 87 const value = this[kHandle].encode(finalChunk); 107 return this[kHandle].encoding; 134 encoding: this[kHandle].encoding, 151 this[kHandle] = new TextDecoder(encoding, options); 154 const value = this[kHandle] [all...] |
H A D | compression.js | 32 const kHandle = Symbol('kHandle'); 42 return typeof value?.[kHandle] === 'object' && 47 return typeof value?.[kHandle] === 'object' && 59 this[kHandle] = lazyZlib().createDeflate(); 62 this[kHandle] = lazyZlib().createGzip(); 67 this[kTransform] = newReadableWritablePairFromDuplex(this[kHandle]); 108 this[kHandle] = lazyZlib().createInflate(); 111 this[kHandle] = lazyZlib().createGunzip(); 116 this[kTransform] = newReadableWritablePairFromDuplex(this[kHandle]); [all...] |
/third_party/node/lib/internal/worker/ |
H A D | io.js | 69 const kHandle = Symbol('kHandle'); 410 const message = receiveMessageOnPort_(port?.[kHandle] ?? port); 433 this[kHandle] = broadcastChannel(this[kName]); 437 this[kHandle].on('message', this[kOnMessage]); 438 this[kHandle].on('messageerror', this[kOnMessageError]); 454 active: this[kHandle] !== undefined, 473 if (this[kHandle] === undefined) 475 this[kHandle].off('message', this[kOnMessage]); 476 this[kHandle] [all...] |
/third_party/node/lib/internal/perf/ |
H A D | event_loop_delay.js | 26 kHandle, 53 this[kHandle].start(); 65 this[kHandle].stop(); 85 this[kHandle] = createELDHistogram(resolution);
|
/third_party/node/lib/ |
H A D | trace_events.js | 10 const kHandle = Symbol('handle'); 37 this[kHandle] = new CategorySet(categories); 45 this[kHandle].enable(); 59 this[kHandle].disable();
|
/third_party/node/lib/internal/http2/ |
H A D | core.js | 170 kHandle, 442 if (this[kHandle] !== undefined) { 443 this[kHandle].rstStream(code); 723 const ret = session[kHandle].request(headers, 820 if (!this[kHandle].settings(FunctionPrototypeBind(settingsCallback, 839 this[kHandle].priority(options.parent | 0, 854 this[kHandle].goaway(code, lastStreamID, opaqueData); 1038 this[kHandle] = handle; 1093 const handle = session[kHandle]; 1096 session[kHandle] [all...] |
/third_party/node/test/fixtures/policy/crypto-hash-tampering/ |
H A D | main.js | 4 const kHandle = Object.getOwnPropertySymbols(h) 5 .find((s) => s.description === 'kHandle'); 6 h[kHandle].constructor.prototype.digest = () => fakeDigest;
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 97 const kHandle = Symbol('kHandle'); 133 this[kHandle] = filehandle; 141 return this[kHandle].getAsyncId(); 224 this[kHandle].close(), 276 this[kHandle], 360 const handle = this[kHandle]; 362 this[kHandle] = null; 372 return [ this[kHandle] ]; 376 this[kHandle] [all...] |