Home
last modified time | relevance | path

Searched refs:kHandle (Results 1 – 20 of 20) sorted by relevance

/third_party/node/lib/internal/
Dhistogram.js32 const kHandle = Symbol('kHandle'); constant
44 this[kHandle] = internal;
68 return this[kHandle]?.min();
72 return this[kHandle]?.max();
76 return this[kHandle]?.mean();
80 return this[kHandle]?.exceeds();
84 return this[kHandle]?.stddev();
94 return this[kHandle]?.percentile(percentile);
99 this[kHandle]?.percentiles(this[kMap]);
104 this[kHandle]?.reset();
[all …]
Dblocklist.js19 kHandle: kSocketAddressHandle,
30 const kHandle = Symbol('kHandle'); constant
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].getRules();
138 const handle = this[kHandle];
[all …]
Dworker.js71 const kHandle = Symbol('kHandle'); constant
190 this[kHandle] = new WorkerImpl(url,
195 if (this[kHandle].invalidExecArgv) {
196 throw new ERR_WORKER_INVALID_EXEC_ARGV(this[kHandle].invalidExecArgv);
198 if (this[kHandle].invalidNodeOptions) {
200 this[kHandle].invalidNodeOptions, 'invalid NODE_OPTIONS env variable');
202 this[kHandle].onexit = (code, customErr, customErrReason) => {
205 this[kPort] = this[kHandle].messagePort;
263 this[kHandle].startThread();
320 this[kHandle].onexit = null;
[all …]
Dsocketaddress.js39 const kHandle = Symbol('kHandle'); constant
44 return value?.[kHandle] !== undefined;
75 this[kHandle] = new _SocketAddress(address, port, type, flowlabel);
76 this[kDetail] = this[kHandle].detail({
98 return this[kHandle].flowlabel();
114 const handle = this[kHandle];
122 this[kHandle] = handle;
144 this[kHandle] = handle;
155 kHandle, property
Dheap_utils.js12 const kHandle = Symbol('kHandle'); constant
17 this[kHandle] = handle;
23 if (this[kHandle])
24 this[kHandle].readStart();
30 this[kHandle][owner_symbol] = undefined;
31 this[kHandle] = undefined;
Dblob.js56 const kHandle = Symbol('kHandle'); constant
71 return object?.[kHandle] !== undefined;
76 return [source.size, source[kHandle]];
95 this[kHandle] = handle;
124 this[kHandle] = createBlob(sources_, length);
148 const handle = this[kHandle];
158 this[kHandle] = handle;
192 this[kHandle].slice(start, start + span), span, contentType);
196 const job = new FixedSizeBlobCopyJob(this[kHandle]);
Dencoding.js25 const kHandle = Symbol('handle'); constant
402 this[kHandle] = handle;
427 const ret = _decode(this[kHandle], input, flags);
475 this[kHandle] = new (lazyStringDecoder())(enc);
510 this[kHandle].end(input) :
511 this[kHandle].write(input);
562 obj[kHandle] = this[kHandle];
Dstream_base_commons.js37 const kHandle = Symbol('kHandle'); constant
119 const req = createWriteWrap(self[kHandle]);
144 const req = createWriteWrap(self[kHandle]);
283 kHandle, property
/third_party/node/lib/internal/crypto/
Ddiffiehellman.js25 kHandle,
93 this[kHandle] = new _DiffieHellman(sizeOrKey, generator);
96 value: this[kHandle].verifyError,
105 this[kHandle] = new _DiffieHellmanGroup(name);
108 value: this[kHandle].verifyError,
119 const keys = this[kHandle].generateKeys();
133 const ret = this[kHandle].computeSecret(toBuf(key, inEnc));
145 const prime = this[kHandle].getPrime();
156 const generator = this[kHandle].getGenerator();
167 const key = this[kHandle].getPublicKey();
[all …]
Dhash.js15 kHandle,
46 this[kHandle] = new _Hash(algorithm, xofLen);
61 return new Hash(this[kHandle], options);
65 this[kHandle].update(chunk, encoding);
70 this.push(this[kHandle].digest());
88 if (!this[kHandle].update(data, encoding))
101 const ret = this[kHandle].digest(`${outputEncoding}`);
112 this[kHandle] = new _Hmac();
113 this[kHandle].init(hmac, toBuf(key));
135 const ret = this[kHandle].digest(`${outputEncoding}`);
Dcipher.js26 kHandle,
99 this[kHandle] = new CipherBase(decipher);
101 this[kHandle].init(cipher, credential, authTagLength);
103 this[kHandle].initiv(cipher, credential, iv, authTagLength);
135 this.push(this[kHandle].update(chunk, encoding));
141 this.push(this[kHandle].final());
161 const ret = this[kHandle].update(data, inputEncoding);
174 const ret = this[kHandle].final();
186 if (!this[kHandle].setAutoPadding(!!ap))
192 const ret = this[kHandle].getAuthTag();
[all …]
Dsig.js23 kHandle,
37 this[kHandle] = new _Sign();
38 this[kHandle].init(algorithm);
61 this[kHandle].update(data, encoding);
110 const ret = this[kHandle].sign(data, format, type, passphrase, rsaPadding,
157 this[kHandle] = new _Verify();
158 this[kHandle].init(algorithm);
188 return this[kHandle].verify(data, format, type, passphrase, signature,
Dkeys.js29 const { kHandle } = require('internal/crypto/util');
69 ObjectDefineProperty(this, kHandle, {
88 return this[kHandle].getSymmetricKeySize();
92 return this[kHandle].export();
101 (this[kAsymmetricKeyType] = this[kHandle].getAsymmetricKeyType());
115 return this[kHandle].export(format, type);
131 return this[kHandle].export(format, type, cipher, passphrase);
270 return key[kHandle];
320 return key[kHandle];
Dutil.js35 const kHandle = Symbol('kHandle'); constant
99 kHandle, property
/third_party/node/lib/
Dtrace_events.js11 const kHandle = Symbol('handle'); constant
35 this[kHandle] = new CategorySet(categories);
43 this[kHandle].enable();
57 this[kHandle].disable();
Dperf_hooks.js72 kHandle,
653 this[kHandle].start();
659 this[kHandle].stop();
Dnet.js80 kHandle,
290 this[kHandle] = null;
1702 get() { return this[kHandle]; },
1703 set(v) { return this[kHandle] = v; }
/third_party/node/lib/internal/http2/
Dcore.js150 kHandle,
414 if (this[kHandle] !== undefined) {
415 this[kHandle].rstStream(code);
693 const ret = session[kHandle].request(headers,
790 if (!this[kHandle].settings(settingsCallback.bind(this, callback))) {
808 this[kHandle].priority(options.parent | 0,
823 this[kHandle].goaway(code, lastStreamID, opaqueData);
1002 this[kHandle] = handle;
1057 const handle = session[kHandle];
1060 session[kHandle] = undefined;
[all …]
/third_party/node/lib/internal/fs/
Dpromises.js75 const kHandle = Symbol('kHandle'); constant
100 this[kHandle] = filehandle;
108 return this[kHandle].getAsyncId();
183 this[kClosePromise] = this[kHandle].close().finally(() => {
207 const handle = this[kHandle];
209 this[kHandle] = null;
219 return [ this[kHandle] ];
223 this[kHandle] = handle;
248 handle[kHandle]
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md504 * [[`c14aa07b94`](https://github.com/nodejs/node/commit/c14aa07b94)] - **net**: use kHandle symbol …