/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-crypto-keygen-async-encrypted-private-key-der.js | 31 assert(Buffer.isBuffer(publicKeyDER)); 34 assert(Buffer.isBuffer(privateKeyDER));
|
D | test-tls-keylog-tlsv13.js | 25 assert(Buffer.isBuffer(line)); 29 assert(Buffer.isBuffer(line));
|
D | test-crypto-keygen-async-encrypted-private-key.js | 33 assert(Buffer.isBuffer(publicKeyDER)); 36 assert(Buffer.isBuffer(privateKeyDER));
|
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-tls-passphrase.js | 35 assert(Buffer.isBuffer(passKey)); 36 assert(Buffer.isBuffer(cert));
|
D | test-crypto-keygen-async-dsa.js | 40 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/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/node/deps/npm/node_modules/minipass-fetch/lib/ |
D | body.js | 26 : Buffer.isBuffer(bodyArg) ? bodyArg 115 if (Buffer.isBuffer(this.body)) { 214 : Buffer.isBuffer(body) ? null 227 : Buffer.isBuffer(body) ? body.length 242 } else if (Buffer.isBuffer(body) || typeof body === 'string') {
|
/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/minipass-sized/ |
D | index.js | 37 const buffer = Buffer.isBuffer(chunk) ? chunk 42 if (!Buffer.isBuffer(buffer)) {
|
/third_party/node/deps/npm/node_modules/minipass-collect/ |
D | index.js | 17 const c = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding) 54 const c = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk, encoding)
|
/third_party/typescript/scripts/build/ |
D | prepend.mjs | 17 …if (typeof input === "string" || Buffer.isBuffer(input)) return cb(new Error("Only Vinyl files are… 18 if (!input.isBuffer()) return cb(new Error("Streams not supported."));
|
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/deps/streamsearch/ |
D | sbmh.js | 37 if (!Buffer.isBuffer(needle)) { 77 if (!Buffer.isBuffer(chunk)) {
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeStateApiTests.cpp | 1080 GLboolean isBuffer; 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_FALSE); in init() 1091 isBuffer = glIsBuffer(buffer); in init() 1092 checkBooleans (isBuffer, GL_TRUE); in init() 1096 isBuffer = glIsBuffer(buffer); in init() 1097 checkBooleans (isBuffer, GL_FALSE); in init()
|
/third_party/node/lib/ |
D | util.js | 69 const { isBuffer } = require('buffer').Buffer; 365 isBuffer, property
|
/third_party/node/deps/npm/lib/utils/ |
D | audit-error.js | 23 const body = Buffer.isBuffer(errBody) ? errBody.toString() : errBody
|
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/ |
D | index.js | 57 const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) 173 if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { 222 if (Buffer.isBuffer(chunk) && this[ENCODING])
|
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass/ |
D | index.js | 57 const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) 173 if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { 222 if (Buffer.isBuffer(chunk) && this[ENCODING])
|
/third_party/node/deps/npm/node_modules/minipass-flush/node_modules/minipass/ |
D | index.js | 57 const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) 173 if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { 222 if (Buffer.isBuffer(chunk) && this[ENCODING])
|
/third_party/node/deps/npm/node_modules/minipass-json-stream/node_modules/minipass/ |
D | index.js | 57 const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b) 173 if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) { 222 if (Buffer.isBuffer(chunk) && this[ENCODING])
|