Home
last modified time | relevance | path

Searched refs:ModuleSnapshot (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ohos/
Dmodule_snapshot_interfaces.cpp37 ModuleSnapshot::SerializeDataAndPostSavingJob(vm, path, version); in Serialize()
54 ModuleSnapshot::DeserializeData(vm, path, version); in Deserialize()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Dmodule_snapshot_test.cpp25 class MockModuleSnapshot : public ModuleSnapshot {
79 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in SetUp()
89 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in TearDown()
377 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in CheckRestoreUpdatedBindingBeforeSerialize()
402 ASSERT_TRUE(ModuleSnapshot::DeserializeData(vm, path, version)); in CheckRestoreUpdatedBindingBeforeSerialize()
440 ASSERT_TRUE(ModuleSnapshot::DeserializeData(vm, path, version)); in HWTEST_F_L0()
453 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in HWTEST_F_L0()
468 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in HWTEST_F_L0()
474 ASSERT_FALSE(ModuleSnapshot::DeserializeData(vm, path, version)); in HWTEST_F_L0()
481 CString fileName = path + ModuleSnapshot::MODULE_SNAPSHOT_FILE_NAME.data(); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_snapshot.cpp27 void ModuleSnapshot::SerializeDataAndPostSavingJob(const EcmaVM *vm, const CString &path, const CSt… in SerializeDataAndPostSavingJob()
45 bool ModuleSnapshot::DeserializeData(const EcmaVM *vm, const CString &path, const CString &version) in DeserializeData()
78 JSHandle<TaggedArray> ModuleSnapshot::GetModuleSerializeArray(JSThread *thread) in GetModuleSerializeArray()
91 void ModuleSnapshot::RestoreUpdatedBinding(JSThread* thread, JSHandle<TaggedArray> serializeArray) in RestoreUpdatedBinding()
119 bool ModuleSnapshot::ModuleSnapshotTask::Run(uint32_t threadIndex) in Run()
126 void ModuleSnapshot::RemoveSnapshotFiles(const CString &path) in RemoveSnapshotFiles()
131 std::unique_ptr<SerializeData> ModuleSnapshot::GetSerializeData(JSThread *thread) in GetSerializeData()
147 bool ModuleSnapshot::ReadDataFromFile(JSThread *thread, std::unique_ptr<SerializeData>& data, const… in ReadDataFromFile()
310 bool ModuleSnapshot::WriteDataToFile( in WriteDataToFile()
Dmodule_snapshot.h23 class ModuleSnapshot {
/arkcompiler/ets_runtime/ecmascript/serializer/
Dserialize_data.h524 friend class ModuleSnapshot; variable