Home
last modified time | relevance | path

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

/third_party/node/lib/internal/
Dvm.js74 cachedData, produceCachedData, parsingContext, contextExtensions, argument
81 cachedData,
93 if (result.cachedData) {
94 result.function.cachedData = result.cachedData;
112 cachedData, argument
126 cachedData,
/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-basic.js334 assert.ok(result.cachedData.length > 0);
338 cachedData: result.cachedData property
343 cachedData: result.cachedData property
Dtest-vm-options-validation.js59 new vm.Script('void 0', { cachedData: value }); property
Dtest-vm-module-errors.js232 () => new SourceTextModule('import "foo";', { cachedData: invalidArg }), property
/third_party/node/lib/
Dvm.js79 cachedData,
88 if (cachedData !== undefined) {
89 validateBuffer(cachedData, 'options.cachedData');
103 cachedData,
309 cachedData = undefined,
319 if (cachedData !== undefined)
320 validateBuffer(cachedData, 'options.cachedData');
346 cachedData, produceCachedData, parsingContext, contextExtensions,
/third_party/node/lib/internal/vm/
Dmodule.js126 options.cachedData);
276 cachedData,
290 if (cachedData !== undefined) {
291 validateBuffer(cachedData, 'options.cachedData');
300 cachedData, property
/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/skia/src/gpu/gl/builders/
DGrGLProgramBuilder.cpp552 const SkData& cachedData) { in PrecompileProgram() argument
553 SkReadBuffer reader(cachedData.data(), cachedData.size()); in PrecompileProgram()
/third_party/node/doc/api/
Dvm.md73 description: The `cachedData` and `produceCachedData` options are
85 * `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
89 * `produceCachedData` {boolean} When `true` and no `cachedData` is present, V8
92 `cachedData` property of the returned `vm.Script` instance.
127 When `cachedData` is supplied to create the `vm.Script`, this value will be set
140 `cachedData` option. Returns a `Buffer`. This method may be called at any
751 * `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
754 `cachedData` was created.
854 `cachedData` option. Returns a `Buffer`. This method may be called any number
872 const cachedData = module.createCachedData();
[all …]
Dv8.md24 whether a [`vm.Script`][] `cachedData` buffer is compatible with this instance
Derrors.md3015 The `cachedData` option passed to a module constructor is invalid.
/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/src/
Djsvm.h237 const uint8_t* cachedData,
260 const uint8_t* cachedData,
Djs_native_api_v8.cc1496 const uint8_t *cachedData, in OH_JSVM_CompileScript() argument
1513 v8::ScriptCompiler::CachedData* cache = cachedData in OH_JSVM_CompileScript()
1514 ? new v8::ScriptCompiler::CachedData(cachedData, cachedDataLength) : nullptr; in OH_JSVM_CompileScript()
1582 const uint8_t* cachedData, in OH_JSVM_CompileScriptWithOrigin() argument
1608 v8::ScriptCompiler::CachedData* cache = cachedData in OH_JSVM_CompileScriptWithOrigin()
1609 ? new v8::ScriptCompiler::CachedData(cachedData, cachedDataLength) : nullptr; in OH_JSVM_CompileScriptWithOrigin()
/third_party/node/doc/changelogs/
DCHANGELOG_V5.md651cachedData'` options to `new vm.Script()` to interact with V8's code cache. When a new `vm.Script`…
770 …odejs/node/commit/d1cacb814f)] - **(SEMVER-MINOR)** **vm**: introduce `cachedData`/`produceCachedD…
DCHANGELOG_V11.md2406 * \[[`2331181410`](https://github.com/nodejs/node/commit/2331181410)] - **vm**: allow `cachedData` …
DCHANGELOG_V18.md1267 …hub.com/nodejs/node/commit/563f9fe06a)] - **doc,vm**: clarify usage of cachedData in vm.compileFun…
DCHANGELOG_V14.md3942 …js/node/commit/92c7e0620f)] - **test**: check args on SourceTextModule cachedData (Juan José Arbol…
DCHANGELOG_V10.md1035 …om/nodejs/node/commit/d9d31e8d51)] - **(SEMVER-MINOR)** **vm**: allow `cachedData` to also be Type…
DCHANGELOG_V12.md2210 …js/node/commit/3015887019)] - **test**: check args on SourceTextModule cachedData (Juan José Arbol…
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs19397 cachedData: buffer,
19401 this._cacheStore.set(filename, invalidationKey, script.cachedData);