Home
last modified time | relevance | path

Searched refs:inputPath (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_module_reader.cpp55 auto realHapPath = GetAppHspPath(inputPath); in operator ()()
83 return GetFormAppHspPath(inputPath); in GetAppHspPath()
85 return GetCommonAppHspPath(inputPath); in GetAppHspPath()
94 .append(GetModuleName(inputPath)) in GetFormAppHspPath()
109 return inputPath.substr(inputPath.find_last_of("/") + 1); in GetModuleName()
131 const std::string& inputPath) in GetOtherHspPath() argument
133 std::string presetAppHapPath = inputPath; in GetOtherHspPath()
146 std::string tmpPath = inputPath.substr(inputPath.find_first_of("/") + 1); in GetOtherHspPath()
172 std::string presetAppHapPath = inputPath; in GetPresetAppHapPath()
173 std::string moduleName = inputPath.substr(inputPath.find_last_of("/") + 1); in GetPresetAppHapPath()
[all …]
H A Djs_module_reader.h45 …bool operator()(const std::string& inputPath, uint8_t **buff, size_t *buffSize, std::string& error…
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);
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/
H A Daudio_opensles_player_test.cpp68 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()
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/src/
H A Dmonitor_utils.cpp31 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()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/common/
H A Dmock_heif_hw_decode_flow.h32 explicit InputParser(const std::string& inputPath) : source_(inputPath) {} in InputParser() argument
67 bool PrepareInput(const std::string& inputPath);
H A Dcommand_parser.cpp56 opt.inputPath = string(optarg); in Parse()
88 std::cout << " inputPath : " << inputPath << endl; in Print()
H A Dmock_heif_hw_decode_flow.cpp171 bool ret = PrepareInput(opt.inputPath); in Run()
182 bool HeifHwDecoderFlow::PrepareInput(const std::string& inputPath) in PrepareInput() argument
184 InputParser parser(inputPath); in PrepareInput()
H A Dcommand_parser.h31 std::string inputPath; member
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_blendmode_test.cpp67 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 Daudio_render_mode_callback_test.cpp196 char *inputPath = argv[1]; in main() local
198 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
H A Daudio_interrupt_test.cpp321 char *inputPath = argv[1]; in main() local
323 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main()
H A Daudio_voip_test.cpp127 bool TestPlayback(char *inputPath) const in TestPlayback()
134 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
H A Daudio_renderer_test.cpp306 char *inputPath = argv[1]; in TestPlayback() local
308 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_hdi_device_test.cpp136 char *inputPath = argv[1]; in TestPlayback() local
139 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_change_effect.cpp35 int32_t MediaChangeEffect::TakeEffect(const string &inputPath, const string &outputPath, string &ed… in TakeEffect() argument
43 ret = imageEffect->SetInputPath(inputPath); in TakeEffect()
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/player/
H A Ddragging_player_agent.cpp193 const char *inputPath = REFENCE_LIB_ABSOLUTE_PATH.c_str(); in LoadLibrary() local
194 if (strlen(inputPath) > PATH_MAX || realpath(inputPath, path) == nullptr) { in LoadLibrary()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp606 const char *inputPath = std::getenv(envInputPath); variable
607 HKS_TEST_LOG_I("the environment variable $%s = \"%s\"", envInputPath, inputPath);
608 if (inputPath == nullptr) {
609 inputPath = defaultPath;
611 HKS_TEST_LOG_I("read \"%s\" now", inputPath);
613 int32_t ret = ReadInputFile(inputPath, input);
/ohos5.0/base/accesscontrol/sandbox_manager/services/sandbox_manager/main/cpp/src/service/
H A Dpolicy_info_manager.cpp692 std::string inputPath = AdjustPath(path); in GetDepth() local
693 if (inputPath.empty()) { in GetDepth()
697 if (inputPath.back() == '/') { in GetDepth()
698 return static_cast<int64_t>(count(inputPath.begin(), inputPath.end(), '/') - 1); in GetDepth()
700 return static_cast<int64_t>(count(inputPath.begin(), inputPath.end(), '/')); in GetDepth()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/demo/
H A Dheif_hw_decoder_demo.cpp25 if (!opt.inputPath.empty()) { in main()
/ohos5.0/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/
H A Dmedia_change_effect.h29 static int32_t TakeEffect(const string &inputPath, const string &outputPath, string &editdata);
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/include/
H A Dmonitor_utils.h29 bool IsRealPath(const std::string& inputPath);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/heif_hw_decode/unittest/
H A Dheif_hw_decoder_test.cpp185 .inputPath = TEST_HEIF_IMG_NO_GRID
199 .inputPath = TEST_HEIF_IMG_WITH_GRID
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/
H A Dpreferences_xml_utils.cpp41 static bool IsFileExist(const std::string &inputPath) in IsFileExist() argument
43 if (inputPath.length() > PATH_MAX) { in IsFileExist()
47 return (stat(inputPath.c_str(), &buffer) == 0); in IsFileExist()
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_engine.cpp1408 std::string inputPath(path); in NapiLoadModule() local
1413 switch (CheckLoadType(inputPath)) { in NapiLoadModule()
1415 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModule()
1419 exportObj = panda::JSNApi::GetModuleNameSpaceFromFile(vm_, inputPath, modulePath); in NapiLoadModule()
1423 … std::string msg = "ArkNativeEngine:NapiLoadModule input path:" + inputPath + " is invalid."; in NapiLoadModule()
1443 std::string inputPath(path); in NapiLoadModuleWithInfo() local
1447 exportObj = panda::JSNApi::GetModuleNameSpaceWithModuleInfo(vm_, inputPath, modulePath); in NapiLoadModuleWithInfo()
1449 exportObj = NapiLoadNativeModule(inputPath); in NapiLoadModuleWithInfo()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/
H A Dmedialibrary_photo_operations.h131 static int32_t AddFiltersToPhoto(const std::string &inputPath, const std::string &outputPath,

12