/third_party/node/test/parallel/ |
D | test-stream-writable-decoded-encoding.js | 35 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);
|
D | test-stream-writable-change-default-encoding.js | 35 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
|
D | test-tls-finished.js | 54 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));
|
D | test-tls-keylog-tlsv13.js | 25 assert(Buffer.isBuffer(line)); 29 assert(Buffer.isBuffer(line));
|
D | test-fs-realpath-on-substed-drive.js | 41 assert(Buffer.isBuffer(result)); 49 assert(Buffer.isBuffer(result));
|
D | test-tls-ocsp-callback.js | 76 assert.ok(Buffer.isBuffer(cert)); 77 assert.ok(Buffer.isBuffer(issuer));
|
D | test-crypto-keygen.js | 147 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/ |
D | tests.js | 151 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/ |
D | utils.js | 196 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/ |
D | index.js | 51 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/ |
D | body.js | 43 } 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/ |
D | test.js | 66 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/ |
D | hlslParseables.cpp | 82 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/ |
D | prepend.js | 19 …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/ |
D | es2fNegativeStateApiTests.cpp | 628 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/ |
D | util.js | 103 exports.isBuffer = Buffer.isBuffer;
|
/third_party/node/deps/npm/node_modules/http-signature/lib/ |
D | verify.js | 29 if (typeof (pubkey) === 'string' || Buffer.isBuffer(pubkey)) 83 if (Buffer.isBuffer(h1) && !h1.equals)
|
D | signer.js | 65 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/ |
D | qs.js | 269 …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/ |
D | util.js | 56 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.js | 176 if (!util.isBuffer(chunk) && 199 if (util.isBuffer(chunk)) 252 if (util.isBuffer(chunk))
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeStateApiTests.cpp | 1076 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/ |
D | index.js | 52 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/ |
D | index.js | 52 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/ |
D | index.js | 52 const isArrayBufferView = b => !B.isBuffer(b) && ArrayBuffer.isView(b) 129 if (!this[OBJECTMODE] && !B.isBuffer(chunk)) { 158 if (B.isBuffer(chunk) && this[ENCODING])
|