Home
last modified time | relevance | path

Searched refs:isBuffer (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/node/test/parallel/
Dtest-stream-writable-decoded-encoding.js35 this.fn(Buffer.isBuffer(chunk), typeof chunk, encoding);
41 const m = new MyWritable(function(isBuffer, type, enc) { argument
42 assert(isBuffer);
51 const m = new MyWritable(function(isBuffer, type, enc) { argument
52 assert(!isBuffer);
Dtest-stream-writable-change-default-encoding.js35 this.fn(Buffer.isBuffer(chunk), typeof chunk, encoding);
41 const m = new MyWritable(function(isBuffer, type, enc) { argument
49 const m = new MyWritable(function(isBuffer, type, enc) { argument
60 (isBuffer, type, enc) => {},
72 const m = new MyWritable(function(isBuffer, type, enc) { argument
Dtest-tls-finished.js54 assert(Buffer.isBuffer(msg.server.alice));
55 assert(Buffer.isBuffer(msg.server.bob));
56 assert(Buffer.isBuffer(msg.client.alice));
57 assert(Buffer.isBuffer(msg.client.bob));
Dtest-tls-keylog-tlsv13.js25 assert(Buffer.isBuffer(line));
29 assert(Buffer.isBuffer(line));
Dtest-fs-realpath-on-substed-drive.js41 assert(Buffer.isBuffer(result));
49 assert(Buffer.isBuffer(result));
Dtest-tls-ocsp-callback.js76 assert.ok(Buffer.isBuffer(cert));
77 assert.ok(Buffer.isBuffer(issuer));
Dtest-crypto-keygen.js147 assert(Buffer.isBuffer(publicKeyDER));
171 assert(Buffer.isBuffer(publicKeyDER));
202 assert(Buffer.isBuffer(publicKeyDER));
205 assert(Buffer.isBuffer(privateKeyDER));
243 assert(Buffer.isBuffer(publicKeyDER));
246 assert(Buffer.isBuffer(privateKeyDER));
318 assert(Buffer.isBuffer(privateKeyDER));
/third_party/node/deps/npm/node_modules/safer-buffer/
Dtests.js151 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0)))
152 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 10)))
153 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(0, 'a')))
154 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10)))
155 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(10, 'x')))
156 t.ok(buffer.Buffer.isBuffer(impl.Buffer.alloc(9, 'ab')))
157 t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('')))
158 t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string')))
159 t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('string', 'utf-8')))
160 t.ok(buffer.Buffer.isBuffer(impl.Buffer.from('b25ldHdvdGhyZWU=', 'base64')))
[all …]
/third_party/node/deps/npm/node_modules/qs/lib/
Dutils.js196 var isBuffer = function isBuffer(obj) { function
201 return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
210 isBuffer: isBuffer, property
/third_party/node/deps/npm/node_modules/concat-stream/
Dindex.js51 if (Buffer.isBuffer(firstBuffer)) return 'buffer'
88 } else if (Buffer.isBuffer(p)) {
96 if (Buffer.isBuffer(parts[0])) {
109 if (Buffer.isBuffer(p)) {
/third_party/node/deps/npm/node_modules/node-fetch-npm/src/
Dbody.js43 } else if (Buffer.isBuffer(body)) {
167 if (Buffer.isBuffer(this.body)) {
337 } else if (Buffer.isBuffer(body)) {
363 } else if (Buffer.isBuffer(body)) {
400 } else if (Buffer.isBuffer(body)) {
/third_party/node/deps/npm/node_modules/core-util-is/
Dtest.js66 assert.equal(t.isBuffer(null), false);
67 assert.equal(t.isBuffer({}), false);
68 assert.equal(t.isBuffer(new Buffer(0)), true);
/third_party/glslang/glslang/HLSL/
DhlslParseables.cpp82 const bool isBuffer = IsBuffer(*argOrder); in IsIllegalSample() local
136 if (isBuffer && dim0 != 1) in IsIllegalSample()
154 bool HasMipInCoord(const glslang::TString& name, bool isMS, bool isBuffer, bool isImage) in HasMipInCoord() argument
156 return name == "Load" && !isMS && !isBuffer && !isImage; in HasMipInCoord()
220 const bool isBuffer = IsBuffer(argOrder[0]); in AppendTypeName() local
253 case 'T': s += ((isBuffer && isImage) ? "RWBuffer" : in AppendTypeName()
255 isBuffer ? "Buffer" : in AppendTypeName()
257 case 'i': s += ((isBuffer && isImage) ? "RWBuffer" : in AppendTypeName()
259 isBuffer ? "Buffer" : in AppendTypeName()
261 case 'u': s += ((isBuffer && isImage) ? "RWBuffer" : in AppendTypeName()
[all …]
/third_party/typescript/scripts/build/
Dprepend.js19 …if (typeof input === "string" || Buffer.isBuffer(input)) return cb(new Error("Only Vinyl files are…
20 if (!input.isBuffer()) return cb(new Error("Streams not supported."));
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fNegativeStateApiTests.cpp628 GLboolean isBuffer; in init()
631 isBuffer = glIsBuffer(buffer); in init()
632 checkBooleans (isBuffer, GL_FALSE); in init()
635 isBuffer = glIsBuffer(buffer); in init()
636 checkBooleans (isBuffer, GL_FALSE); in init()
639 isBuffer = glIsBuffer(buffer); in init()
640 checkBooleans (isBuffer, GL_TRUE); in init()
644 isBuffer = glIsBuffer(buffer); in init()
645 checkBooleans (isBuffer, GL_FALSE); in init()
/third_party/node/deps/npm/node_modules/core-util-is/lib/
Dutil.js103 exports.isBuffer = Buffer.isBuffer;
/third_party/node/deps/npm/node_modules/http-signature/lib/
Dverify.js29 if (typeof (pubkey) === 'string' || Buffer.isBuffer(pubkey))
83 if (Buffer.isBuffer(h1) && !h1.equals)
Dsigner.js65 if (typeof (options.key) !== 'string' && !Buffer.isBuffer(options.key))
84 if (typeof (key) === 'string' || Buffer.isBuffer(key))
352 if (typeof (options.key) !== 'string' && !Buffer.isBuffer(options.key))
361 if (typeof (key) === 'string' || Buffer.isBuffer(key))
/third_party/node/deps/npm/node_modules/qs/dist/
Dqs.js269 …f obj === 'string' || typeof obj === 'number' || typeof obj === 'boolean' || utils.isBuffer(obj)) {
618 var isBuffer = function isBuffer(obj) {
623 return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
632 isBuffer: isBuffer, property
/third_party/node/lib/
Dutil.js56 const { isBuffer } = require('buffer').Buffer;
340 isBuffer, property
/third_party/node/deps/npm/node_modules/sorted-union-stream/node_modules/readable-stream/lib/
D_stream_writable.js176 if (!util.isBuffer(chunk) &&
199 if (util.isBuffer(chunk))
252 if (util.isBuffer(chunk))
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeStateApiTests.cpp1076 GLboolean isBuffer; in init()
1079 isBuffer = glIsBuffer(buffer); in init()
1080 checkBooleans (isBuffer, GL_FALSE); in init()
1083 isBuffer = glIsBuffer(buffer); in init()
1084 checkBooleans (isBuffer, GL_FALSE); in init()
1087 isBuffer = glIsBuffer(buffer); in init()
1088 checkBooleans (isBuffer, GL_TRUE); in init()
1092 isBuffer = glIsBuffer(buffer); in init()
1093 checkBooleans (isBuffer, GL_FALSE); in init()
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/
Dindex.js52 const isArrayBufferView = b => !B.isBuffer(b) && ArrayBuffer.isView(b)
129 if (!this[OBJECTMODE] && !B.isBuffer(chunk)) {
158 if (B.isBuffer(chunk) && this[ENCODING])
/third_party/node/deps/npm/node_modules/fs-minipass/node_modules/minipass/
Dindex.js52 const isArrayBufferView = b => !B.isBuffer(b) && ArrayBuffer.isView(b)
129 if (!this[OBJECTMODE] && !B.isBuffer(chunk)) {
158 if (B.isBuffer(chunk) && this[ENCODING])
/third_party/node/deps/npm/node_modules/pacote/node_modules/minipass/
Dindex.js52 const isArrayBufferView = b => !B.isBuffer(b) && ArrayBuffer.isView(b)
129 if (!this[OBJECTMODE] && !B.isBuffer(chunk)) {
158 if (B.isBuffer(chunk) && this[ENCODING])

1234567