/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | hap_asset_provider_impl.cpp | 71 hasFile = runtimeExtractor_->GetFileBuffer(fileName, osstream); in GetAsMapping() 95 hasFile = runtimeExtractor_->GetFileBuffer(fileName, osstream); in GetAsMappingFromI18n()
|
H A D | utils.cpp | 75 bool hasFile = extractor->GetFileBuffer(fileName, osstream); in GetStringFromHap()
|
/foundation/ability/ability_base/test/unittest/extractor/ |
H A D | extractor_test.cpp | 156 * Function: GetFileBuffer 167 EXPECT_FALSE(extractor->GetFileBuffer(srcPath, outStream)); in HWTEST_F() 170 EXPECT_FALSE(extractor->GetFileBuffer("", outStream)); in HWTEST_F() 171 EXPECT_FALSE(extractor->GetFileBuffer(CONFIG_JSON_PATH, outStream)); in HWTEST_F() 172 EXPECT_TRUE(extractor->GetFileBuffer(srcPath, outStream)); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | mock_js_runtime.h | 86 bool GetFileBuffer(const std::string& filePath, std::string& fileFullName, std::vector<uint8_t>& buffer) in GetFileBuffer() function in OHOS::AbilityRuntime::MockJsRuntime 88 GTEST_LOG_(INFO) << "MockJsRuntime::GetFileBuffer called"; in GetFileBuffer()
|
H A D | js_runtime_test.cpp | 890 * @tc.desc: JsRuntime test for GetFileBuffer. 895 TAG_LOGI(AAFwkTag::TEST, "GetFileBuffer start"); in HWTEST_F() 906 jsRuntime->GetFileBuffer(filePath, fileFullName, buffer); in HWTEST_F() 909 TAG_LOGI(AAFwkTag::TEST, "GetFileBuffer end"); in HWTEST_F() 914 * @tc.desc: JsRuntime test for GetFileBuffer. 919 TAG_LOGI(AAFwkTag::TEST, "GetFileBuffer start"); in HWTEST_F() 930 jsRuntime->GetFileBuffer(filePath, fileFullName, buffer, false); in HWTEST_F() 933 TAG_LOGI(AAFwkTag::TEST, "GetFileBuffer end"); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | hap_asset_provider_impl.cpp | 55 hasFile = runtimeExtractor_->GetFileBuffer(fileName, osStream); in GetAsMapping()
|
H A D | hap_asset_provider.cpp | 55 hasFile = runtimeExtractor_->GetFileBuffer(fileName, osStream); in GetAsMapping()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | extractor.h | 73 bool GetFileBuffer(const std::string& srcPath, std::ostringstream& dest);
|
/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.h | 143 const uint8_t* GetFileBuffer(const std::string& filePath, const std::string& moduleKey, size_t &len);
|
H A D | native_module_manager.cpp | 926 const uint8_t* NativeModuleManager::GetFileBuffer(const std::string& filePath, in GetFileBuffer() function in NativeModuleManager 1028 abcBuffer = GetFileBuffer(loadPath, moduleKey, len); in FindNativeModuleByDisk()
|
/foundation/ability/ability_runtime/interfaces/inner_api/runtime/include/ |
H A D | js_runtime.h | 118 static bool GetFileBuffer(const std::string& filePath, std::string& fileFullName, std::vector<uint8_t>& buffer,
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | extractor.cpp | 51 bool Extractor::GetFileBuffer(const std::string& srcPath, std::ostringstream& dest) in GetFileBuffer() function in OHOS::AbilityBase::Extractor
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 367 bool JsRuntime::GetFileBuffer(const std::string& filePath, std::string& fileFullName, std::vector<uint8_t>& buffer, in GetFileBuffer() function in OHOS::AbilityRuntime::JsRuntime 882 if (!GetFileBuffer(hqfFilePath, patchSoureMapFile, soureMapBuffer, false)) { in InitSourceMap()
|