Home
last modified time | relevance | path

Searched refs:CachedData (Results 1 - 25 of 30) sorted by relevance

12

/third_party/node/deps/v8/include/v8-include/
H A Dv8-script.h375 struct V8_EXPORT CachedData { struct in v8::ScriptCompiler
378 CachedData() in CachedData() function
385 // data and guarantees that it stays alive until the CachedData object is
387 // (with delete[]) when the CachedData object is destroyed.
388 CachedData(const uint8_t* data, int length,
390 ~CachedData();
399 CachedData(const CachedData&) = delete;
400 CachedData& operator=(const CachedData
[all...]
/third_party/node/deps/v8/include/
H A Dv8-script.h344 struct V8_EXPORT CachedData { struct in v8::ScriptCompiler
347 CachedData() in CachedData() function
354 // data and guarantees that it stays alive until the CachedData object is
356 // (with delete[]) when the CachedData object is destroyed.
357 CachedData(const uint8_t* data, int length,
359 ~CachedData();
368 CachedData(const CachedData&) = delete;
369 CachedData& operator=(const CachedData
[all...]
/third_party/node/src/
H A Dnode_builtins.h31 std::unique_ptr<v8::ScriptCompiler::CachedData>>;
102 const v8::ScriptCompiler::CachedData* GetCodeCache(const char* id) const;
H A Dnode_builtins.cc157 const ScriptCompiler::CachedData* BuiltinLoader::GetCodeCache( in GetCodeCache()
276 ScriptCompiler::CachedData* cached_data = nullptr; in LookupAndCompileInternal()
335 ScriptCompiler::CachedData::BufferNotOwned in LookupAndCompileInternal()
343 std::unique_ptr<ScriptCompiler::CachedData> new_cached_data( in LookupAndCompileInternal()
526 auto new_cache = std::make_unique<v8::ScriptCompiler::CachedData>( in RefreshCodeCache()
527 buffer, length, v8::ScriptCompiler::CachedData::BufferOwned); in RefreshCodeCache()
H A Dnode_contextify.cc830 ScriptCompiler::CachedData* cached_data = nullptr; in New()
833 cached_data = new ScriptCompiler::CachedData( in New()
882 std::unique_ptr<ScriptCompiler::CachedData> new_cached_data; in New()
919 std::unique_ptr<ScriptCompiler::CachedData> new_cached_data) { in StoreCodeCacheResult()
970 std::unique_ptr<ScriptCompiler::CachedData> cached_data( in CreateCachedData()
1201 ScriptCompiler::CachedData* cached_data = nullptr; in CompileFunction()
1204 cached_data = new ScriptCompiler::CachedData( in CompileFunction()
1292 std::unique_ptr<ScriptCompiler::CachedData> new_cached_data; in CompileFunction()
H A Dnode_contextify.h189 std::unique_ptr<v8::ScriptCompiler::CachedData> new_cached_data);
H A Dmodule_wrap.cc174 ScriptCompiler::CachedData* cached_data = nullptr; in New()
181 new ScriptCompiler::CachedData(data + cached_data_buf->ByteOffset(), in New()
739 std::unique_ptr<ScriptCompiler::CachedData> cached_data( in CreateCachedData()
H A Djs_native_api_v8.cc1639 v8::ScriptCompiler::CachedData* cache = cachedData in OH_JSVM_CompileScript()
1640 ? new v8::ScriptCompiler::CachedData(cachedData, cachedDataLength) : nullptr; in OH_JSVM_CompileScript()
1747 v8::ScriptCompiler::CachedData* cache = cachedData in OH_JSVM_CompileScriptWithOrigin()
1748 ? new v8::ScriptCompiler::CachedData(cachedData, cachedDataLength) : nullptr; in OH_JSVM_CompileScriptWithOrigin()
1782 new v8::ScriptCompiler::CachedData(cache->cache, cache->length) : nullptr; in CompileOptionResolver()
1830 v8::ScriptCompiler::CachedData *cachedData = nullptr;
1882 v8::ScriptCompiler::CachedData* cache; in OH_JSVM_CreateCodeCache()
1892 cache->buffer_policy = v8::ScriptCompiler::CachedData::BufferNotOwned; in OH_JSVM_CreateCodeCache()
/third_party/node/deps/v8/src/snapshot/
H A Dcode-serializer.cc51 ScriptCompiler::CachedData* CodeSerializer::Serialize( in Serialize()
89 ScriptCompiler::CachedData* result = in Serialize()
90 new ScriptCompiler::CachedData(cached_data->data(), cached_data->length(), in Serialize()
91 ScriptCompiler::CachedData::BufferOwned); in Serialize()
H A Dcode-serializer.h75 V8_EXPORT_PRIVATE static ScriptCompiler::CachedData* Serialize(
/third_party/skia/tests/
H A DCachedDataTest.cpp81 DEF_TEST(CachedData, reporter) { in DEF_TEST()
/third_party/node/deps/v8/src/d8/
H A Dd8.h772 static ScriptCompiler::CachedData* LookupCodeCache(Isolate* isolate,
775 const ScriptCompiler::CachedData* data);
783 static std::map<std::string, std::unique_ptr<ScriptCompiler::CachedData>>
H A Dd8.cc477 std::map<std::string, std::unique_ptr<ScriptCompiler::CachedData>>
488 ScriptCompiler::CachedData* Shell::LookupCodeCache(Isolate* isolate, in LookupCodeCache()
499 ScriptCompiler::CachedData* cached_data = new ScriptCompiler::CachedData( in LookupCodeCache()
500 cache, length, ScriptCompiler::CachedData::BufferOwned); in LookupCodeCache()
507 const ScriptCompiler::CachedData* cache_data) { in StoreInCodeCache()
516 cached_code_map_[*key] = std::unique_ptr<ScriptCompiler::CachedData>( in StoreInCodeCache()
517 new ScriptCompiler::CachedData(cache, length, in StoreInCodeCache()
518 ScriptCompiler::CachedData::BufferOwned)); in StoreInCodeCache()
638 ScriptCompiler::CachedData* cached_cod in CompileString()
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dcompiler.h596 std::unique_ptr<ScriptCompiler::CachedData> data);
H A Dcompiler.cc1842 Isolate* isolate, std::unique_ptr<ScriptCompiler::CachedData> cached_data) in BackgroundDeserializeTask()
1847 if (cached_data->buffer_policy == ScriptCompiler::CachedData::BufferOwned && in BackgroundDeserializeTask()
1849 cached_data->buffer_policy = ScriptCompiler::CachedData::BufferNotOwned; in BackgroundDeserializeTask()
/third_party/node/deps/v8/src/execution/arm/
H A Dsimulator-arm.h50 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
H A Dsimulator-arm.cc665 char* cached_line = cache_page->CachedData(offset & ~CachePage::kLineMask); in CheckICache()
669 cache_page->CachedData(offset), kInstrSize)); in CheckICache()
/third_party/node/deps/v8/src/execution/ppc/
H A Dsimulator-ppc.h51 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
/third_party/node/deps/v8/src/execution/loong64/
H A Dsimulator-loong64.h68 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
H A Dsimulator-loong64.cc818 char* cached_line = cache_page->CachedData(offset & ~CachePage::kLineMask); in CheckICache()
822 cache_page->CachedData(offset), kInstrSize)); in CheckICache()
/third_party/node/deps/v8/src/execution/mips64/
H A Dsimulator-mips64.h69 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
/third_party/node/deps/v8/src/execution/mips/
H A Dsimulator-mips.h69 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
/third_party/node/deps/v8/src/execution/riscv64/
H A Dsimulator-riscv64.h184 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
/third_party/node/deps/v8/src/execution/s390/
H A Dsimulator-s390.h48 char* CachedData(int offset) { return &data_[offset]; } in CachedData() function in v8::internal::CachePage
/third_party/node/deps/v8/src/api/
H A Dapi.cc2000 ScriptCompiler::CachedData::CachedData(const uint8_t* data_, int length_, in CachedData() function in v8::ScriptCompiler::CachedData
2007 ScriptCompiler::CachedData::~CachedData() { in ~CachedData()
2723 Isolate* v8_isolate, std::unique_ptr<CachedData> cached_data) { in StartConsumingCodeCache()
2793 ScriptCompiler::CachedData* ScriptCompiler::CreateCodeCache( in CreateCodeCache()
2804 ScriptCompiler::CachedData* ScriptCompiler::CreateCodeCache( in CreateCodeCache()
2814 ScriptCompiler::CachedData* ScriptCompiler::CreateCodeCacheForFunction( in CreateCodeCacheForFunction()

Completed in 93 milliseconds

12