Home
last modified time | relevance | path

Searched refs:cache (Results 1 - 6 of 6) sorted by relevance

/test/testfwk/arkxtest/uitest/core/
H A Ddump_handler.cpp57 const DumperCache &cache) in DFSMarshalWidget()
66 if (cache.widgetCountMap_.find(hierarchy) != cache.widgetCountMap_.cend()) { in DFSMarshalWidget()
67 childCount = cache.widgetCountMap_.at(hierarchy); in DFSMarshalWidget()
72 if (cache.visitWidgetMap_.find(tempChildHierarchy) == cache.visitWidgetMap_.cend()) { in DFSMarshalWidget()
75 auto childWidIndex = cache.visitWidgetMap_.at(tempChildHierarchy); in DFSMarshalWidget()
77 if (!HasVisibleChild(cache.visibleWidgetHies_, tempChildHierarchy)) { in DFSMarshalWidget()
83 DFSMarshalWidget(allWidget, childWidIndex, childData, cache); in DFSMarshalWidget()
133 DumperCache cache; in DumpWindowInfoToJson() local
56 DFSMarshalWidget(std::vector<Widget> &allWidget, int index, nlohmann::json &dom, const DumperCache &cache) DFSMarshalWidget() argument
[all...]
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/
H A Djsvm_utils.cpp146 JSVM_Script Compile(JSVM_Value js_str, const uint8_t *cache, size_t size) in Compile() argument
149 JSVMTEST_CALL(OH_JSVM_CompileScript(jsvm_env, js_str, cache, size, false, nullptr, &script)); in Compile()
165 JSVM_Script Compile(const char *s, const uint8_t *cache, size_t size) in Compile() argument
167 return Compile(Str(s), cache, size); in Compile()
H A Djsvm_utils.h106 JSVM_Script Compile(JSVM_Value js_str, const uint8_t *cache = nullptr, size_t size = JSVM_AUTO_LENGTH);
108 JSVM_Script Compile(const char *s, const uint8_t *cache = nullptr, size_t size = JSVM_AUTO_LENGTH);
/test/testfwk/xdevice/src/xdevice/_core/
H A Dlogger.py236 cache = getattr(self.platform_log, "_cache", None)
237 if cache and isinstance(cache, dict):
238 cache.clear()
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/unittests/
H A Dtest_wasm.cpp220 // 对编译后的 WebAssembly moudle 进行序列化,创建 wasm cache in WebAssemblyDemo()
228 // 对序列化得到的 cache data 进行持久化存储 in WebAssemblyDemo()
229 const std::string wasmCachePath = path + ".cache"; in WebAssemblyDemo()
234 // 下次使用时,直接使用 wasm cache 反序列化得到 WebAssembly module,避免编译开销 in WebAssemblyDemo()
302 std::string cacheFile = wasmPath + filename + ".test.cache";
319 std::vector<uint8_t> cache; local
320 ReadBinaryFile(cacheFile, cache);
323 JSVMTEST_CALL(OH_JSVM_CompileWasmModule(env, buffer.data(), buffer.size(), cache.data(), cache.size(),
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/
H A Dnapi_test.cpp8717 uint8_t *cache; in testCompileScriptWithOptions() local
8735 OH_JSVM_CreateCodeCache(env, script, (const uint8_t**)&cache, &length); in testCompileScriptWithOptions()

Completed in 22 milliseconds