Home
last modified time | relevance | path

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

123456

/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-crypto-keygen-async-encrypted-private-key-der.js31 assert(Buffer.isBuffer(publicKeyDER));
34 assert(Buffer.isBuffer(privateKeyDER));
Dtest-tls-keylog-tlsv13.js25 assert(Buffer.isBuffer(line));
29 assert(Buffer.isBuffer(line));
Dtest-crypto-keygen-async-encrypted-private-key.js33 assert(Buffer.isBuffer(publicKeyDER));
36 assert(Buffer.isBuffer(privateKeyDER));
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-tls-passphrase.js35 assert(Buffer.isBuffer(passKey));
36 assert(Buffer.isBuffer(cert));
Dtest-crypto-keygen-async-dsa.js40 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/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/node/deps/npm/node_modules/minipass-fetch/lib/
Dbody.js26 : 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/
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/minipass-sized/
Dindex.js37 const buffer = Buffer.isBuffer(chunk) ? chunk
42 if (!Buffer.isBuffer(buffer)) {
/third_party/node/deps/npm/node_modules/minipass-collect/
Dindex.js17 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/
Dprepend.mjs17 …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/
Dsbmh.js37 if (!Buffer.isBuffer(needle)) {
77 if (!Buffer.isBuffer(chunk)) {
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeStateApiTests.cpp1080 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/
Dutil.js69 const { isBuffer } = require('buffer').Buffer;
365 isBuffer, property
/third_party/node/deps/npm/lib/utils/
Daudit-error.js23 const body = Buffer.isBuffer(errBody) ? errBody.toString() : errBody
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/
Dindex.js57 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/
Dindex.js57 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/
Dindex.js57 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/
Dindex.js57 const isArrayBufferView = b => !Buffer.isBuffer(b) && ArrayBuffer.isView(b)
173 if (!this[OBJECTMODE] && !Buffer.isBuffer(chunk)) {
222 if (Buffer.isBuffer(chunk) && this[ENCODING])

123456