Home
last modified time | relevance | path

Searched refs:toBuffer (Results 1 – 25 of 33) sorted by relevance

12

/third_party/node/deps/npm/node_modules/ip/test/
Dapi-test.js11 var buf = ip.toBuffer('127.0.0.1');
19 ip.toBuffer('127.0.0.1', buf, offset);
25 var buf = ip.toBuffer('::1');
28 assert.equal(ip.toString(ip.toBuffer('1::')), '1::');
29 assert.equal(ip.toString(ip.toBuffer('abcd::dcba')), 'abcd::dcba');
35 ip.toBuffer('::1', buf, offset);
38 assert.equal(ip.toString(ip.toBuffer('1::', buf, offset),
40 assert.equal(ip.toString(ip.toBuffer('abcd::dcba', buf, offset),
45 var buf = ip.toBuffer('::ffff:127.0.0.1');
49 buf = ip.toBuffer('ffff::127.0.0.1');
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/formats/
Dopenssh-cert.js12 toBuffer: toBuffer property
178 var blob = toBuffer(cert, true);
197 var blob = toBuffer(cert, true);
215 signature.toBuffer('ssh');
229 var blob = toBuffer(cert);
237 function toBuffer(cert, noSig) { function
276 buf.writeBuffer(sub.toBuffer());
296 buf.writeBuffer(sig.signature.toBuffer('ssh'));
298 return (buf.toBuffer());
Dssh-private.js170 privBuf.write(key.toBuffer('rfc4253'));
176 privBuf = privBuf.toBuffer();
188 kdfopts = kdfssh.toBuffer();
232 buf.writeBuffer(pubKey.toBuffer('rfc4253'));
237 buf = buf.toBuffer();
Drfc4253.js127 key._rfc4253Cache = sshbuf.toBuffer();
165 return (buf.toBuffer());
/third_party/node/deps/npm/node_modules/ip/lib/
Dip.js7 ip.toBuffer = function(ip, buff, offset) { function
26 v4Buffer = this.toBuffer(sections[i]);
129 addr = ip.toBuffer(addr);
130 mask = ip.toBuffer(mask);
182 var maskBuffer = ip.toBuffer(mask);
232 var buff = ip.toBuffer(addr);
240 a = ip.toBuffer(a);
241 b = ip.toBuffer(b);
269 a = ip.toBuffer(a);
270 b = ip.toBuffer(b);
/third_party/node/deps/npm/node_modules/sshpk/lib/
Dsignature.js35 Signature.prototype.toBuffer = function (format) { method in Signature
64 return (buf.toBuffer());
75 return (buf.toBuffer());
109 return (buf.toBuffer());
129 buf.writeBuffer(inner.toBuffer());
130 return (buf.toBuffer());
140 return (this.toBuffer(format).toString('base64'));
310 assert.func(obj.toBuffer);
Dkey.js81 Key.prototype.toBuffer = function (format, options) { method in Key
98 return (this.toBuffer(format, options).toString());
110 update(this.toBuffer('rfc4253')).digest();
173 var key = this.toBuffer('pkcs8');
186 return (oldVerify(key, signature.toBuffer('asn1')));
264 assert.func(obj.toBuffer);
Dcertificate.js60 Certificate.prototype.toBuffer = function (format, options) { method in Certificate
73 return (this.toBuffer(format, options).toString());
98 update(this.toBuffer('x509')).digest();
Dprivate-key.js53 PrivateKey.prototype.toBuffer = function (format, options) { method in PrivateKey
164 var key = this.toBuffer('pkcs1');
Ded-compat.js46 sig = signature.toBuffer('raw');
Dssh-buffer.js18 SSHBuffer.prototype.toBuffer = function () { method in SSHBuffer
/third_party/node/deps/npm/node_modules/socks/build/client/
Dsocksclient.js140 buff.writeBuffer(ip.toBuffer(options.remoteHost.host));
151 return buff.toBuffer();
382 buff.writeBuffer(ip.toBuffer(this._options.destination.host));
396 this._socket.write(buff.toBuffer());
471 this._socket.write(buff.toBuffer());
516 this._socket.write(buff.toBuffer());
544 buff.writeBuffer(ip.toBuffer(this._options.destination.host));
548 buff.writeBuffer(ip.toBuffer(this._options.destination.host));
558 this._socket.write(buff.toBuffer());
/third_party/node/deps/npm/node_modules/ip/
DREADME.md27 ip.toBuffer('127.0.0.1') // Buffer([127, 0, 0, 1])
41 ip.toBuffer('127.0.0.1', buf, offset); // [127, 0, 0, 1] at offset 64
/third_party/node/deps/npm/node_modules/sshpk/
DREADME.md65 var pemBuf = key.toBuffer('pkcs8');
164 ### `Key#toBuffer([format = 'ssh'])`
175 Same as `this.toBuffer(format).toString()`.
278 ### `PrivateKey#toBuffer([format = 'pkcs1'])`
291 Same as `this.toBuffer(format).toString()`.
405 ### `Signature#toBuffer([format = 'asn1'])`
415 Same as `this.toBuffer(format).toString('base64')`.
556 ### `Certificate#toBuffer([format])`
/third_party/node/deps/npm/node_modules/smart-buffer/
DREADME.md78 return packet.toBuffer();
123 console.log(buff.toBuffer())
132 console.log(buff.toBuffer());
141 console.log(buff.toBuffer());
606 ### buff.toBuffer()
615 console.log(buff.toBuffer()); // <Buffer 68 65 6c 6c 6f>
/third_party/skia/experimental/graphite/src/mtl/
DMtlBlitCommandEncoder.h53 toBuffer: buffer in copyFromTexture()
/third_party/node/deps/npm/node_modules/smart-buffer/typings/
Dsmartbuffer.d.ts662 toBuffer(): Buffer;
/third_party/node/deps/npm/node_modules/sshpk/bin/
Dsshpk-sign174 output = sig.toBuffer(fmt);
Dsshpk-conv179 outFile.write(key.toBuffer(fmt));
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm119 toBuffer: fMtlBuffer
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlBuffer.mm149 toBuffer: fMtlBuffer
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm743 toBuffer:ToBackend(copy->destination)->GetMTLBuffer()
816 toBuffer:buffer->GetMTLBuffer()
837 toBuffer:buffer->GetMTLBuffer()
949 toBuffer:destination->GetMTLBuffer()
1033 toBuffer:dstBuffer->GetMTLBuffer()
/third_party/node/deps/npm/node_modules/smart-buffer/docs/
DREADME_v3.md79 return packet.toBuffer();
348 ### SmartBuffer.toBuffer()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.mm246 toBuffer:buffer
/third_party/node/deps/npm/node_modules/smart-buffer/build/
Dsmartbuffer.js969 toBuffer() { method in SmartBuffer

12