Home
last modified time | relevance | path

Searched refs:cachedData (Results 1 – 18 of 18) sorted by relevance

/third_party/node/test/parallel/
Dtest-vm-createcacheddata.js11 let cachedData = script.createCachedData(); variable
12 assert(cachedData instanceof Buffer);
14 assert(!new Script(source, { cachedData }).cachedDataRejected); field
19 cachedData = script.createCachedData();
21 assert(!new Script(source, { cachedData }).cachedDataRejected); field
Dtest-vm-cached-data.js44 for (const cachedData of common.getArrayBufferViews(data)) {
47 cachedData field
69 cachedData: data property
82 cachedData: data property
91 cachedData: 'ohai' property
Dtest-vm-module-cached-data.js12 const cachedData = m.createCachedData(); constant
14 new SourceTextModule('const a = 1', { cachedData }); field
17 new SourceTextModule('differentSource', { cachedData }); field
Dtest-vm-options-validation.js59 new vm.Script('void 0', { cachedData: value }); property
Dtest-vm-module-errors.js227 () => new SourceTextModule('import "foo";', { cachedData: invalidArg }), property
/third_party/node/lib/
Dvm.js77 cachedData,
86 if (cachedData !== undefined && !isArrayBufferView(cachedData)) {
90 cachedData
106 cachedData,
325 cachedData = undefined,
334 if (cachedData !== undefined)
335 validateBuffer(cachedData, 'options.cachedData');
361 cachedData,
372 if (result.cachedData) {
373 result.function.cachedData = result.cachedData;
/third_party/node/lib/internal/vm/
Dmodule.js124 options.cachedData);
279 cachedData,
298 if (cachedData !== undefined && !isArrayBufferView(cachedData)) {
302 cachedData
312 cachedData, property
/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp101 SkCachedData* cachedData = static_cast<SkCachedData*>(data); in YUVGen_DataReleaseProc() local
102 SkASSERT(cachedData); in YUVGen_DataReleaseProc()
103 cachedData->unref(); in YUVGen_DataReleaseProc()
/third_party/skia/src/image/
DSkImage_Lazy.cpp307 auto cachedData = static_cast<SkCachedData*>(data); in textureProxyViewFromPlanes() local
308 SkASSERT(cachedData); in textureProxyViewFromPlanes()
309 cachedData->unref(); in textureProxyViewFromPlanes()
/third_party/node/doc/api/
Dvm.md63 description: The `cachedData` and `produceCachedData` options are
75 * `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
79 * `produceCachedData` {boolean} When `true` and no `cachedData` is present, V8
82 `cachedData` property of the returned `vm.Script` instance.
112 `cachedData` option. Returns a `Buffer`. This method may be called at any
641 * `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
644 `cachedData` was created.
733 `cachedData` option. Returns a `Buffer`. This method may be called any number
741 const cachedData = module.createCachedData();
744 const module2 = new vm.SourceTextModule('const a = 1;', { cachedData });
[all …]
Dv8.md23 whether a [`vm.Script`][] `cachedData` buffer is compatible with this instance
Derrors.md2212 The `cachedData` option passed to a module constructor is invalid.
/third_party/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp520 const SkData& cachedData) { in PrecompileProgram() argument
521 SkReadBuffer reader(cachedData.data(), cachedData.size()); in PrecompileProgram()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm738 bool GrMtlPipelineStateBuilder::PrecompileShaders(GrMtlGpu* gpu, const SkData& cachedData,
742 SkReadBuffer reader(cachedData.data(), cachedData.size());
/third_party/node/doc/changelogs/
DCHANGELOG_V5.md639cachedData'` options to `new vm.Script()` to interact with V8's code cache. When a new `vm.Script`…
758 …odejs/node/commit/d1cacb814f)] - **(SEMVER-MINOR)** **vm**: introduce `cachedData`/`produceCachedD…
DCHANGELOG_V11.md2389 * [[`2331181410`](https://github.com/nodejs/node/commit/2331181410)] - **vm**: allow `cachedData` t…
DCHANGELOG_V14.md4012 …js/node/commit/92c7e0620f)] - **test**: check args on SourceTextModule cachedData (Juan José Arbol…
DCHANGELOG_V10.md778 …om/nodejs/node/commit/d9d31e8d51)] - **(SEMVER-MINOR)** **vm**: allow `cachedData` to also be Type…