Home
last modified time | relevance | path

Searched refs:Blob (Results 1 - 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/common/spirv/
H A Dspirv_instruction_builder_autogen.h24 void WriteNop(Blob *blob);
25 void WriteUndef(Blob *blob, IdResultType idResultType, IdResult idResult);
26 void WriteSourceContinued(Blob *blob, LiteralString continuedSource);
27 void WriteSource(Blob *blob,
32 void WriteSourceExtension(Blob *blob, LiteralString extension);
33 void WriteName(Blob *blob, IdRef target, LiteralString name);
34 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name);
35 void WriteString(Blob *blob, IdResult idResult, LiteralString string);
36 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column);
37 void WriteExtension(Blob *blo
[all...]
H A Dspirv_instruction_builder_autogen.cpp54 void WriteNop(Blob *blob) in WriteNop()
61 void WriteUndef(Blob *blob, IdResultType idResultType, IdResult idResult) in WriteUndef()
69 void WriteSourceContinued(Blob *blob, LiteralString continuedSource) in WriteSourceContinued()
81 void WriteSource(Blob *blob, in WriteSource()
106 void WriteSourceExtension(Blob *blob, LiteralString extension) in WriteSourceExtension()
118 void WriteName(Blob *blob, IdRef target, LiteralString name) in WriteName()
131 void WriteMemberName(Blob *blob, IdRef type, LiteralInteger member, LiteralString name) in WriteMemberName()
145 void WriteString(Blob *blob, IdResult idResult, LiteralString string) in WriteString()
158 void WriteLine(Blob *blob, IdRef file, LiteralInteger line, LiteralInteger column) in WriteLine()
167 void WriteExtension(Blob *blo in WriteLine()
[all...]
/third_party/node/test/fixtures/wpt/FileAPI/blob/
H A DBlob-constructor.any.js1 // META: title=Blob constructor
2 // META: script=../support/Blob.js
6 assert_true("Blob" in globalThis, "globalThis should have a Blob property.");
7 assert_equals(Blob.length, 0, "Blob.length should be 0.");
8 assert_true(Blob instanceof Function, "Blob should be a function.");
9 }, "Blob interface object");
13 var blob = new Blob();
[all...]
H A DBlob-slice.any.js1 // META: title=Blob slice
2 // META: script=../support/Blob.js
6 var blobTemp = new Blob(["PASS"]);
11 desc: "no-argument Blob slice"
18 return blob1 = new Blob(["squiggle"]);
26 return blob2 = new Blob(["steak"], {type: "content/type"});
34 return new Blob().slice(0,0,null);
38 desc: "null type Blob slice"
42 return new Blob().slice(0,0,undefined);
46 desc: "undefined type Blob slic
[all...]
H A DBlob-slice-overflow.any.js1 // META: title=Blob slice overflow
11 var blob = new Blob([text]);
13 assert_equals(sliceBlob.size, 1, "Blob slice size");
17 var blob = new Blob([text]);
19 assert_equals(sliceBlob.size, 0, "Blob slice size");
23 var blob = new Blob([text]);
25 assert_equals(sliceBlob.size, 1, "Blob slice size");
29 var blob = new Blob([text]);
31 assert_equals(sliceBlob.size, 2, "Blob slice size");
H A DBlob-constructor-dom.window.js1 // META: title=Blob constructor
2 // META: script=../support/Blob.js
17 new Blob(arg);
31 new Blob(list);
38 return new Blob(select);
48 return new Blob(elm.attributes);
/third_party/node/test/parallel/
H A Dtest-blob.js6 const { Blob } = require('buffer');
11 const b = new Blob();
16 assert.throws(() => new Blob(false), {
20 assert.throws(() => new Blob('hello'), {
24 assert.throws(() => new Blob({}), {
29 const b = new Blob([]);
45 assert.strictEqual(new Blob([], { type: 1 }).type, '1');
46 assert.strictEqual(new Blob([], { type: false }).type, 'false');
47 assert.strictEqual(new Blob([], { type: {} }).type, '[object object]');
51 const b = new Blob([Buffe
[all...]
/third_party/node/src/
H A Dnode_blob.cc35 void Blob::Initialize( in Initialize()
53 Local<FunctionTemplate> Blob::GetConstructorTemplate(Environment* env) { in GetConstructorTemplate()
62 FIXED_ONE_BYTE_STRING(env->isolate(), "Blob")); in GetConstructorTemplate()
70 bool Blob::HasInstance(Environment* env, v8::Local<v8::Value> object) { in HasInstance()
74 BaseObjectPtr<Blob> Blob::Create(Environment* env, in Create()
81 return BaseObjectPtr<Blob>(); in Create()
85 return BaseObjectPtr<Blob>(); in Create()
87 return MakeBaseObject<Blob>(env, obj, store, length); in Create()
90 void Blob
206 Blob::Blob( Blob() function in node::Blob
[all...]
H A Dnode_blob.h27 class Blob : public BaseObject { class
48 static BaseObjectPtr<Blob> Create(Environment* env,
57 SET_MEMORY_INFO_NAME(Blob)
58 SET_SELF_SIZE(Blob)
60 // Copies the contents of the Blob into an ArrayBuffer.
63 BaseObjectPtr<Blob> Slice(Environment* env, size_t start, size_t end);
92 Blob(
133 Blob* blob,
157 BaseObjectPtr<Blob> blob;
164 const BaseObjectPtr<Blob>
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DBuildSPIRV.h248 spirv::Blob localVariables;
252 spirv::Blob body;
324 spirv::Blob *getSpirvDebug() { return &mSpirvDebug; }
325 spirv::Blob *getSpirvDecorations() { return &mSpirvDecorations; }
326 spirv::Blob *getSpirvTypeAndConstantDecls() { return &mSpirvTypeAndConstantDecls; }
327 spirv::Blob *getSpirvTypePointerDecls() { return &mSpirvTypePointerDecls; }
328 spirv::Blob *getSpirvFunctionTypeDecls() { return &mSpirvFunctionTypeDecls; }
329 spirv::Blob *getSpirvVariableDecls() { return &mSpirvVariableDecls; }
330 spirv::Blob *getSpirvFunctions() { return &mSpirvFunctions; }
331 spirv::Blob *getSpirvCurrentFunctionBloc
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp67 // Returns false if bad format. Blob must remain valid for the lifetime of the
69 bool AMDGPUPALMetadata::setFromBlob(unsigned Type, StringRef Blob) { in setFromBlob() argument
72 return setFromLegacyBlob(Blob); in setFromBlob()
73 return setFromMsgPackBlob(Blob); in setFromBlob()
77 bool AMDGPUPALMetadata::setFromLegacyBlob(StringRef Blob) { in setFromLegacyBlob() argument
78 auto Data = reinterpret_cast<const uint32_t *>(Blob.data()); in setFromLegacyBlob()
79 for (unsigned I = 0; I != Blob.size() / sizeof(uint32_t) / 2; ++I) in setFromLegacyBlob()
85 bool AMDGPUPALMetadata::setFromMsgPackBlob(StringRef Blob) { in setFromMsgPackBlob() argument
86 msgpack::Reader Reader(Blob); in setFromMsgPackBlob()
87 return MsgPackDoc.readFromBlob(Blob, /*Mult in setFromMsgPackBlob()
597 toBlob(unsigned Type, std::string &Blob) toBlob() argument
604 toLegacyBlob(std::string &Blob) toLegacyBlob() argument
617 toMsgPackBlob(std::string &Blob) toMsgPackBlob() argument
[all...]
H A DAMDGPUPALMetadata.h40 // Returns false if bad format. Blob must remain valid for the lifetime of
42 bool setFromBlob(unsigned Type, StringRef Blob);
127 bool setFromLegacyBlob(StringRef Blob);
128 bool setFromMsgPackBlob(StringRef Blob);
129 void toLegacyBlob(std::string &Blob);
130 void toMsgPackBlob(std::string &Blob);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_glslang_utils.h27 gl::ShaderMap<const angle::spirv::Blob *> *spirvBlobsOut,
32 const gl::ShaderMap<const angle::spirv::Blob *> &spirvBlobs,
35 gl::ShaderMap<angle::spirv::Blob> *shaderCodeOut);
45 gl::ShaderMap<angle::spirv::Blob> *spirvShaderCode,
46 angle::spirv::Blob *xfbOnlySpirvCode /** nullable */,
/third_party/node/test/fixtures/wpt/FileAPI/url/
H A Durl-in-tags-revoke.window.js6 const blob = new Blob([blob_contents], {type: 'text/html'});
24 const blob = new Blob([blob_contents], {type: 'text/html'});
45 const blob = new Blob([blob_contents], {type: 'text/html'});
75 const blob = new Blob([window_contents_for_channel(channel_name)], {type: 'text/html'});
89 const blob = new Blob([blob_contents]);
104 const blob = new Blob([window_contents_for_channel(channel_name)], {type: 'text/html'});
H A Durl-with-fetch.any.js16 const blob = new Blob([blob_contents], {type: blob_type});
22 }, 'fetch should return Content-Type from Blob');
26 const blob = new Blob([blob_contents]);
42 const blob = new Blob([blob_contents]);
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DSizedMRUCache_unittest.cpp15 using Blob = std::vector<uint8_t>;
17 Blob MakeBlob(size_t size) in MakeBlob()
19 Blob blob; in MakeBlob()
31 SizedMRUCache<std::string, Blob> sizedCache(kSize); in TEST()
41 const Blob *blob = nullptr; in TEST()
H A DBlobCache_unittest.cpp19 using Blob = BlobCache::Value;
60 Blob blob; in TEST()
78 Blob qvalue; in TEST()
93 Blob qvalue; in TEST()
129 Blob qvalue; in TEST()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DGlslangWrapperVk.h37 gl::ShaderMap<const angle::spirv::Blob *> *spirvBlobsOut,
42 const angle::spirv::Blob &initialSpirvBlob,
43 angle::spirv::Blob *shaderCodeOut);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp74 case BitCodeAbbrevOp::Blob: in readAbbreviatedField()
118 CodeOp.getEncoding() == BitCodeAbbrevOp::Blob) in skipRecord()
121 "Abbreviation starts with an Array or a Blob"); in skipRecord()
134 Op.getEncoding() != BitCodeAbbrevOp::Blob) { in skipRecord()
156 report_fatal_error("Array element type can't be an Array or a Blob"); in skipRecord()
180 assert(Op.getEncoding() == BitCodeAbbrevOp::Blob); in skipRecord()
181 // Blob case. Read the number of bytes as a vbr6. in skipRecord()
207 StringRef *Blob) { in readRecord()
236 CodeOp.getEncoding() == BitCodeAbbrevOp::Blob) in readRecord()
237 report_fatal_error("Abbreviation starts with an Array or a Blob"); in readRecord()
205 readRecord(unsigned AbbrevID, SmallVectorImpl<uint64_t> &Vals, StringRef *Blob) readRecord() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h291 /// data that should be emitted as part of the Blob or Array operand that is
297 StringRef Blob, Optional<unsigned> Code) { in EmitRecordWithAbbrevImpl()
298 const char *BlobData = Blob.data(); in EmitRecordWithAbbrevImpl()
299 unsigned BlobLen = (unsigned) Blob.size(); in EmitRecordWithAbbrevImpl()
315 Op.getEncoding() != BitCodeAbbrevOp::Blob && in EmitRecordWithAbbrevImpl()
337 "Blob data and record entries specified for array!"); in EmitRecordWithAbbrevImpl()
355 } else if (Op.getEncoding() == BitCodeAbbrevOp::Blob) { in EmitRecordWithAbbrevImpl()
361 "Blob data and record entries specified for blob operand!"); in EmitRecordWithAbbrevImpl()
363 assert(Blob.data() == BlobData && "BlobData got moved"); in EmitRecordWithAbbrevImpl()
364 assert(Blob in EmitRecordWithAbbrevImpl()
296 EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, StringRef Blob, Optional<unsigned> Code) EmitRecordWithAbbrevImpl() argument
[all...]
/third_party/node/lib/internal/
H A Dblob.js122 // the Blob.
128 class Blob {
130 * @typedef {string|ArrayBuffer|ArrayBufferView|Blob} SourcePart
139 * @constructs {Blob}
187 return `Blob ${inspect({
215 throw new ERR_INVALID_THIS('Blob');
225 throw new ERR_INVALID_THIS('Blob');
233 * @returns {Blob}
237 throw new ERR_INVALID_THIS('Blob');
272 return PromiseReject(new ERR_INVALID_THIS('Blob'));
[all...]
/third_party/node/test/fixtures/wpt/FileAPI/file/
H A DFile-constructor.any.js33 test_first_argument([new Blob()], 0, "Empty Blob fileBits");
34 test_first_argument([new Blob(["bits"])], 4, "Blob fileBits");
39 test_first_argument(["bits", new Blob(["bits"]), new Blob(), new Uint8Array([0x50, 0x41]),
/third_party/node/deps/undici/src/lib/api/
H A Dreadable.js11 let Blob
288 if (!Blob) {
289 Blob = require('buffer').Blob
291 resolve(new Blob(body, { type: stream[kContentType] }))
/third_party/node/deps/undici/src/lib/fetch/
H A Dfile.js3 const { Blob, File: NativeFile } = require('buffer')
12 class File extends Blob {
25 // Note: Blob handles this for us
206 webidl.converters.Blob = webidl.interfaceConverter(Blob)
211 return webidl.converters.Blob(V, { strict: false })
261 * @param {(NodeJS.TypedArray|Blob|string)[]} parts
300 // 3. If element is a Blob, append the bytes it represents
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp76 bool Document::readFromBlob(StringRef Blob, bool Multi) { in readFromBlob() argument
77 msgpack::Reader MPReader(Blob); in readFromBlob()
179 void Document::writeToBlob(std::string &Blob) { in writeToBlob() argument
180 Blob.clear(); in writeToBlob()
181 raw_string_ostream OS(Blob); in writeToBlob()

Completed in 14 milliseconds

1234