/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_module_reader.cpp | 55 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 D | js_module_reader.h | 45 …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 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()
|
/ohos5.0/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()
|
/ohos5.0/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 | 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()
|
H A D | command_parser.h | 31 std::string inputPath; member
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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 &ed… in TakeEffect() argument 43 ret = imageEffect->SetInputPath(inputPath); in TakeEffect()
|
/ohos5.0/foundation/multimedia/player_framework/services/engine/histreamer/player/ |
H A D | dragging_player_agent.cpp | 193 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 D | hks_chipset_platform_encrypt_test.cpp | 606 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 D | policy_info_manager.cpp | 692 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 D | heif_hw_decoder_demo.cpp | 25 if (!opt.inputPath.empty()) { in main()
|
/ohos5.0/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);
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/common/include/ |
H A D | monitor_utils.h | 29 bool IsRealPath(const std::string& inputPath);
|
/ohos5.0/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 199 .inputPath = TEST_HEIF_IMG_WITH_GRID
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_xml_utils.cpp | 41 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 D | ark_native_engine.cpp | 1408 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 D | medialibrary_photo_operations.h | 131 static int32_t AddFiltersToPhoto(const std::string &inputPath, const std::string &outputPath,
|