/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_module_reader.cpp | 45 bool JsModuleReader::operator()(const std::string& inputPath, uint8_t **buff, in operator ()() argument 48 TAG_LOGD(AAFwkTag::JSRUNTIME, "called start: %{private}s", inputPath.c_str()); in operator ()() 50 if (inputPath.empty() || buff == nullptr || buffSize == nullptr) { in operator ()() 55 auto realHapPath = GetAppHspPath(inputPath); in operator ()() 80 std::string JsModuleReader::GetAppHspPath(const std::string& inputPath) const in GetAppHspPath() 83 return GetFormAppHspPath(inputPath); in GetAppHspPath() 85 return GetCommonAppHspPath(inputPath); in GetAppHspPath() 88 std::string JsModuleReader::GetFormAppHspPath(const std::string& inputPath) const in GetFormAppHspPath() 94 .append(GetModuleName(inputPath)) in GetFormAppHspPath() 107 std::string JsModuleReader::GetModuleName(const std::string& inputPath) cons 130 GetOtherHspPath(const std::string& bundleName, const std::string& moduleName, const std::string& inputPath) GetOtherHspPath() argument 170 GetPresetAppHapPath(const std::string& inputPath, const std::string& bundleName) GetPresetAppHapPath() argument [all...] |
H A D | js_module_reader.h | 45 bool operator()(const std::string& inputPath, uint8_t **buff, size_t *buffSize, std::string& errorMsg) const; 46 static std::string GetPresetAppHapPath(const std::string& inputPath, const std::string& bundleName); 50 std::string GetAppHspPath(const std::string& inputPath) const; 51 std::string GetCommonAppHspPath(const std::string& inputPath) const; 52 std::string GetFormAppHspPath(const std::string& inputPath) const; 53 std::string GetModuleName(const std::string& inputPath) const; 55 const std::string& inputPath);
|
/foundation/multimedia/media_foundation/services/media_monitor/common/src/ |
H A D | monitor_utils.cpp | 31 bool IsRealPath(const std::string& inputPath) in IsRealPath() argument 33 if (inputPath.length() > PATH_MAX) { in IsRealPath() 39 auto realPath = realpath(inputPath.c_str(), path); in IsRealPath()
|
/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_player_test.cpp | 68 char *inputPath = argv[1]; in main() local 70 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 82 inputPath = argv[2]; in main() 83 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 112 char *inputPath = argv[1]; in main() local 114 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/ |
H A D | mock_heif_hw_decode_flow.h | 32 explicit InputParser(const std::string& inputPath) : source_(inputPath) {} in InputParser() argument 67 bool PrepareInput(const std::string& inputPath);
|
H A D | command_parser.cpp | 56 opt.inputPath = string(optarg); in Parse() 88 std::cout << " inputPath : " << inputPath << endl; in Print()
|
H A D | command_parser.h | 31 std::string inputPath; member
|
H A D | mock_heif_hw_decode_flow.cpp | 171 bool ret = PrepareInput(opt.inputPath); in Run() 182 bool HeifHwDecoderFlow::PrepareInput(const std::string& inputPath) in PrepareInput() argument 184 InputParser parser(inputPath); in PrepareInput()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/ |
H A D | audio_blendmode_test.cpp | 67 static int32_t StartRendererPlayback(char *inputPath, int mode) in StartRendererPlayback() argument 73 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in StartRendererPlayback()
|
H A D | audio_render_mode_callback_test.cpp | 196 char *inputPath = argv[1]; in main() local 198 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
|
H A D | audio_interrupt_test.cpp | 321 char *inputPath = argv[1]; in main() local 323 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
|
H A D | audio_voip_test.cpp | 127 bool TestPlayback(char *inputPath) const in TestPlayback() 134 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
|
H A D | audio_renderer_test.cpp | 306 char *inputPath = argv[1]; in TestPlayback() local 308 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
|
/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | audio_hdi_device_test.cpp | 136 char *inputPath = argv[1]; in TestPlayback() local 139 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_change_effect.cpp | 35 int32_t MediaChangeEffect::TakeEffect(const string &inputPath, const string &outputPath, string &editdata) in TakeEffect() argument 43 ret = imageEffect->SetInputPath(inputPath); in TakeEffect()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/demo/ |
H A D | heif_hw_decoder_demo.cpp | 25 if (!opt.inputPath.empty()) { in main()
|
/foundation/multimedia/media_foundation/services/media_monitor/common/include/ |
H A D | monitor_utils.h | 29 bool IsRealPath(const std::string& inputPath);
|
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_change_effect.h | 29 static int32_t TakeEffect(const string &inputPath, const string &outputPath, string &editdata);
|
/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | dragging_player_agent.cpp | 178 const char *inputPath = REFENCE_LIB_ABSOLUTE_PATH.c_str(); in LoadLibrary() local 179 if (strlen(inputPath) > PATH_MAX || realpath(inputPath, path) == nullptr) { in LoadLibrary()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/ |
H A D | heif_hw_decoder_test.cpp | 185 .inputPath = TEST_HEIF_IMG_NO_GRID in HWTEST_F() 199 .inputPath = TEST_HEIF_IMG_WITH_GRID in HWTEST_F()
|
/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 43 static bool IsFileExist(const std::string &inputPath) in IsFileExist() argument 45 if (inputPath.length() > PATH_MAX) { in IsFileExist() 49 return (stat(inputPath.c_str(), &buffer) == 0); in IsFileExist()
|
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 1404 std::string inputPath(path); in NapiLoadModule() 1409 switch (CheckLoadType(inputPath)) { in NapiLoadModule() 1411 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModule() 1415 exportObj = panda::JSNApi::GetModuleNameSpaceFromFile(vm_, inputPath, modulePath); in NapiLoadModule() 1419 std::string msg = "ArkNativeEngine:NapiLoadModule input path:" + inputPath + " is invalid."; in NapiLoadModule() 1439 std::string inputPath(path); in NapiLoadModuleWithInfo() 1443 exportObj = panda::JSNApi::GetModuleNameSpaceWithModuleInfo(vm_, inputPath, modulePath); in NapiLoadModuleWithInfo() 1445 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModuleWithInfo()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_photo_operations.h | 124 static int32_t AddFiltersToPhoto(const std::string &inputPath, const std::string &outputPath,
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_photo_operations.cpp | 3122 int32_t MediaLibraryPhotoOperations::AddFiltersToPhoto(const std::string &inputPath, in AddFiltersToPhoto() argument 3125 MEDIA_INFO_LOG("AddFiltersToPhoto inputPath: %{public}s, outputPath: %{public}s, editdata: %{public}s", in AddFiltersToPhoto() 3126 inputPath.c_str(), outputPath.c_str(), editdata.c_str()); in AddFiltersToPhoto() 3136 ret = MediaChangeEffect::TakeEffect(inputPath, tempOutputPath, info); in AddFiltersToPhoto()
|