Lines Matching defs:cache
1639 v8::ScriptCompiler::CachedData* cache = cachedData
1641 v8::ScriptCompiler::Source scriptSource(v8_script.As<v8::String>(), cache);
1642 auto option = cache ? v8::ScriptCompiler::kConsumeCodeCache
1647 if (cache) {
1648 delete cache;
1651 if (cache && cacheRejected) {
1652 *cacheRejected = cache->rejected;
1747 v8::ScriptCompiler::CachedData* cache = cachedData
1749 v8::ScriptCompiler::Source scriptSource(v8_script.As<v8::String>(), scriptOrigin, cache);
1750 auto option = cache ? v8::ScriptCompiler::kConsumeCodeCache
1755 if (cache) {
1756 delete cache;
1759 if (cache && cacheRejected) {
1760 *cacheRejected = cache->rejected;
1780 auto cache = static_cast<JSVM_CodeCache*>(options[i].content.ptr);
1781 cachedData = cache->cache ?
1782 new v8::ScriptCompiler::CachedData(cache->cache, cache->length) : nullptr;
1882 v8::ScriptCompiler::CachedData* cache;
1883 cache = v8::ScriptCompiler::CreateCodeCache(v8script->GetUnboundScript());
1885 if (cache == nullptr) {
1890 *data = cache->data;
1891 *length = cache->length;
1892 cache->buffer_policy = v8::ScriptCompiler::CachedData::BufferNotOwned;
1893 delete cache;
5369 // If buffer size is 0, create wasm cache failed.