/ohos5.0/foundation/arkui/napi/test/fuzztest/runscriptbuffer_fuzzer/ |
H A D | runscriptbuffer_fuzzer.cpp | 37 void RunScriptBuffer(const char* path, std::vector<uint8_t>& buffer, bool isBundle) in RunScriptBuffer() argument 39 arkNativeEngine_->RunScriptBuffer(path, buffer, isBundle); in RunScriptBuffer() 42 void RunScriptBuffer(const std::string& path, uint8_t* buffer, size_t size, bool isBundle) in RunScriptBuffer() argument 44 arkNativeEngine_->RunScriptBuffer(path, buffer, size, isBundle); in RunScriptBuffer()
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | js_environment.cpp | 165 bool JsEnvironment::LoadScript(const std::string& path, std::vector<uint8_t>* buffer, bool isBundle) in LoadScript() argument 176 return engine_->RunScriptBuffer(path.c_str(), *buffer, isBundle) != nullptr; in LoadScript() 253 bool JsEnvironment::LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle) in LoadScript() argument 260 return engine_->RunScriptBuffer(path, buffer, len, isBundle); in LoadScript()
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | js_environment.h | 77 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f… 92 bool LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle);
|
H A D | js_environment_impl.h | 32 bool isBundle = true; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | form_frontend_declarative.h | 137 void SetIsBundle(bool isBundle) in SetIsBundle() argument 139 isBundle_ = isBundle; in SetIsBundle()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime_lite.cpp | 187 panda::JSNApi::SetBundle(vm, options.isBundle); in Init() 383 workerInfo->isBundle = options.isBundle; in InitWorkerModule() 411 childOptions_->isBundle = options.isBundle; in SetChildOptions()
|
H A D | js_runtime.cpp | 549 bool JsRuntime::LoadScript(const std::string& path, std::vector<uint8_t>* buffer, bool isBundle) in LoadScript() argument 553 return jsEnv_->LoadScript(path, buffer, isBundle); in LoadScript() 556 bool JsRuntime::LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle, in LoadScript() argument 568 return jsEnv_->LoadScript(path, buffer, len, isBundle); in LoadScript() 729 isBundle_ = options.isBundle; in Initialize() 742 panda::JSNApi::SetBundle(vm, options.isBundle); in Initialize() 1514 workerInfo->isBundle = options.isBundle; in InitWorkerModule()
|
/ohos5.0/base/print/print_fwk/test/unittest/extension_test/mock/ |
H A D | mock_runtime.h | 117 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f… 236 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f…
|
/ohos5.0/base/startup/appspawn/test/mock/ |
H A D | js_runtime.h | 38 bool isBundle = true; member
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | js_runtime.h | 112 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f… 113 bool LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle,
|
H A D | runtime.h | 51 bool isBundle = true; member
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_test_runner_test/ |
H A D | cj_mock_runtime.h | 100 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f…
|
H A D | cj_test_runner_test.cpp | 92 options_.isBundle = true; in SetUp()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_runtime_test/ |
H A D | cj_mock_runtime.h | 102 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f…
|
H A D | cj_runtime_test.cpp | 63 options_.isBundle = true; in SetUp()
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_runtime_test/ |
H A D | mock_runtime.h | 115 …bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = f…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | ark_js_runtime.h | 136 void SetBundle(bool isBundle) in SetBundle() argument 138 panda::JSNApi::SetBundle(vm_, isBundle); in SetBundle()
|
H A D | jsi_base_utils.h | 96 const bool isBundle = true);
|
H A D | jsi_base_utils.cpp | 526 const bool isBundle) in GetSourceInfo() argument 542 std::string sources = isBundle ? GetRelativePath(mapInfo.sources) : mapInfo.sources; in GetSourceInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | declarative_frontend.h | 129 const std::string& assetPath, bool isBundle) in InitializeModuleSearcher() argument 132 jsEngine_->InitializeModuleSearcher(bundleName, moduleName, assetPath, isBundle); in InitializeModuleSearcher()
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.h | 185 …napi_value RunScriptBuffer(const char* path, std::vector<uint8_t>& buffer, bool isBundle) override; 186 …bool RunScriptBuffer(const std::string& path, uint8_t* buffer, size_t size, bool isBundle) overrid…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.h | 439 const std::string assetPath, bool isBundle) override in InitializeModuleSearcher() argument 444 isBundle_ = isBundle; in InitializeModuleSearcher()
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_engine.h | 148 …tual napi_value RunScriptBuffer(const char* path, std::vector<uint8_t>& buffer, bool isBundle) = 0; 149 …ual bool RunScriptBuffer(const std::string &path, uint8_t* buffer, size_t size, bool isBundle) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_container.cpp | 235 bool isBundle = (compileMode != "esmodule"); in InitializeAppConfig() local 238 declarativeFrontend->InitializeModuleSearcher(bundleName, moduleName, assetPath, isBundle); in InitializeAppConfig() 244 formFrontend->SetIsBundle(isBundle); in InitializeAppConfig()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/ |
H A D | js_engine.h | 468 …std::string& bundleName, const std::string& moduleName, const std::string assetPath, bool isBundle) in InitializeModuleSearcher() argument
|