/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | ffmpeg_utils.cpp | 165 bool StartWith(const char* name, const char* chars) in StartWith() function 441 if (!strcmp(name, "audio_device") || StartWith(name, "image") || in IsInputFormatSupported() 442 !strcmp(name, "mjpeg") || !strcmp(name, "redir") || StartWith(name, "u8") || in IsInputFormatSupported() 443 StartWith(name, "u16") || StartWith(name, "u24") || in IsInputFormatSupported() 444 StartWith(name, "u32") || in IsInputFormatSupported() 445 StartWith(name, "s8") || StartWith(name, "s16") || in IsInputFormatSupported() 446 StartWith(name, "s24") || in IsInputFormatSupported() 447 StartWith(nam in IsInputFormatSupported() [all...] |
H A D | ffmpeg_utils.h | 47 bool StartWith(const char* name, const char* chars);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/ |
H A D | verify_manager_host_impl.cpp | 75 if (BundleUtil::StartWith(path, DATA_STORAGE_EL1_BASE)) { in GetDataDir() 82 if (BundleUtil::StartWith(path, DATA_STORAGE_EL1_DATABASE)) { in GetDataDir() 89 if (BundleUtil::StartWith(path, DATA_STORAGE_EL2_BASE)) { in GetDataDir() 96 if (BundleUtil::StartWith(path, DATA_STORAGE_EL2_DATABASE)) { in GetDataDir() 103 if (BundleUtil::StartWith(path, DATA_STORAGE_EL3_BASE)) { in GetDataDir() 110 if (BundleUtil::StartWith(path, DATA_STORAGE_EL3_DATABASE)) { in GetDataDir() 117 if (BundleUtil::StartWith(path, DATA_STORAGE_EL4_BASE)) { in GetDataDir() 124 if (BundleUtil::StartWith(path, DATA_STORAGE_EL4_DATABASE)) { in GetDataDir() 249 if (!BundleUtil::StartWith(path, ServiceConstants::PATH_SEPARATOR)) { in GetRealPath() 254 if (BundleUtil::StartWith(pat in GetRealPath() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/ |
H A D | js_backend_asset_manager.cpp | 50 if (Framework::StartWith(filePath, SLASHSTR)) { in GetFileInfo() 64 if (Framework::StartWith(filePath, SUPDIRECTORY)) { in ParseWorkerUri() 98 bool startWithSlash = Framework::StartWith(file, SLASHSTR); in ParseFileUri()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_info_creator.cpp | 131 if (bundleProfile.iconPath != nullptr && !BundleUtil::StartWith(bundleProfile.iconPath, in SetBundleInfo() 145 if ((bundleProfile.label != nullptr) && !BundleUtil::StartWith(bundleProfile.label, DEFAULT_LABEL_SETTING)) { in SetBundleInfo() 195 !BundleUtil::StartWith(bundleProfile.moduleInfo.description, DEFAULT_DESC_SETTING)) { in SetModuleInfos() 253 !BundleUtil::StartWith(bundleProfile.abilityInfos[index].iconPath, DEFAULT_ICON_SETTING_BEGIN)) { in SetAbilityInfo() 267 !BundleUtil::StartWith(bundleProfile.abilityInfos[index].description, DEFAULT_DESC_SETTING)) { in SetAbilityInfo() 275 !BundleUtil::StartWith(bundleProfile.abilityInfos[index].label, DEFAULT_LABEL_SETTING)) { in SetAbilityInfo()
|
H A D | gt_bundle_extractor.cpp | 161 (!BundleUtil::StartWith(relativeFilePath, ASSET_JS_PATH) && in ExtractResourceFile() 162 !BundleUtil::StartWith(relativeFilePath, NEW_ASSET_JS_PATH))) { in ExtractResourceFile()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_media_player.cpp | 363 if (StringUtils::StartWith(filePath, "dataability://") || StringUtils::StartWith(filePath, "datashare://") || in SetMediaSource() 364 StringUtils::StartWith(filePath, "file://media")) { in SetMediaSource() 372 } else if (StringUtils::StartWith(filePath, "file://")) { in SetMediaSource() 376 } else if (StringUtils::StartWith(filePath, "resource:///")) { in SetMediaSource() 379 } else if (StringUtils::StartWith(filePath, "resource://RAWFILE")) { in SetMediaSource() 386 } else if (StringUtils::StartWith(filePath, "http")) { in SetMediaSource() 394 if (StringUtils::StartWith(filePath, "/")) { in SetMediaSource()
|
/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | string_helper.h | 29 static bool StartWith(const std::string &value, char prefix);
31 static bool StartWith(const std::string &value, const std::string &prefix);
|
H A D | string_helper.cpp | 54 bool StringHelper::StartWith(const std::string &value, char prefix)
in StartWith() function in OHOS::Idl::StringHelper 59 bool StringHelper::StartWith(const std::string &value, const std::string &prefix)
in StartWith() function in OHOS::Idl::StringHelper
|
H A D | options.cpp | 695 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPackage() 712 if (StringHelper::StartWith(package, packageRoot.first)) { in GetRootPath() 750 if (StringHelper::StartWith(package, packageRoot.first)) { in GetPackagePath()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | data_ability_helper_standard.cpp | 142 if (!useStageModel_ || StringUtils::StartWith(uriStr, "dataability://")) { in OpenFile() 145 if (StringUtils::StartWith(uriStr, "datashare://") || StringUtils::StartWith(uriStr, "file://")) { in OpenFile()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ |
H A D | sa_code_emitter.cpp | 82 baseName_ = StringHelper::StartWith(interfaceName_, "I") ? interfaceName_.substr(1) : interfaceName_;
in Reset() 88 deathRecipientName_ = StringHelper::StartWith(interfaceName_, "I") ? interfaceName_.substr(1) + "Recipient" :
in Reset() 131 if (!StringHelper::StartWith(targetDirectory, "/")) {
in ResolveDirectory()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.cpp | 39 if (StartWith(filePath, SLASHSTR)) { in GetFileInfo() 53 if (StartWith(filePath, SUPDIRECTORY)) { in ParseWorkerUri() 87 bool startWithSlash = StartWith(file, SLASHSTR); in ParseFileUri()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_format_helper.cpp | 277 return StartWith(avcodec_get_name(codecID), "pcm_"); in IsPCMStream() 385 if (StartWith(valPtr->key, "moov_level_meta_key_")) { in ParseUserMeta() 391 if (StartWith(valPtr->value, "00000001")) { // string in ParseUserMeta() 394 } else if (StartWith(valPtr->value, "00000017")) { // float in ParseUserMeta() 397 } else if (StartWith(valPtr->value, "00000043") || StartWith(valPtr->value, "00000015")) { // int in ParseUserMeta() 464 if (StartWith(fileName, "mov,mp4,m4a")) { in GetFileTypeByName() 469 if (StartWith(type->value, "m4a") || StartWith(type->value, "M4A") || in GetFileTypeByName() 470 StartWith(typ in GetFileTypeByName() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/ |
H A D | jsi_module_searcher.cpp | 183 if (StringUtils::StartWith(curJsModulePath, bundleInstallPath_.c_str(), bundleInstallPath_.length())) { in GetInstallPath() 314 if (StringUtils::StartWith(newJsModuleUri, PREFIX_BUNDLE, sizeof(PREFIX_BUNDLE) - 1)) { in ParseOhmUri() 330 } else if (StringUtils::StartWith(newJsModuleUri, PREFIX_MODULE, sizeof(PREFIX_MODULE) - 1)) { in ParseOhmUri() 343 } else if (StringUtils::StartWith(newJsModuleUri, PREFIX_LOCAL, sizeof(PREFIX_LOCAL) - 1)) { in ParseOhmUri()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/include/ |
H A D | utils.h | 62 static bool StartWith(const std::string &mainStr, const std::string &subStr);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/ |
H A D | utils.h | 62 static bool StartWith(const std::string &mainStr, const std::string &subStr);
|
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_appinfo.cpp | 28 if (!StringUtils::StartWith(rawAppName, APP_NAME_PREFIX) || rawAppName.size() <= APP_NAME_PREFIX.size()) { in ParseI18nAppName()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_util.h | 43 static bool StartWith(const char *str, const char *subStr);
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/ |
H A D | hdi_interface_type_emitter.cpp | 149 (StringHelper::StartWith(name_, "I") ? name_.substr(1) : name_) + "Proxy").c_str(), name.c_str()); in EmitCppReadVar() 165 std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ + "Stub"); in EmitJavaReadVar() 173 std::string stubName = StringHelper::StartWith(name_, "I") ? (name_.substr(1) + "Stub") : (name_ + "Stub"); in EmitJavaReadInnerVar()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/type/ |
H A D | sa_interface_type_emitter.cpp | 90 return StringHelper::StartWith(name, 'I') ? (name.substr(1) + "Stub") : (name + "Stub"); in StubName()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend_delegate.cpp | 56 if (Framework::StartWith(value, "$event.")) { in FireCardEvent()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/ |
H A D | sa_ts_code_emitter.cpp | 115 std::string dependStubName = StringHelper::StartWith(dependInterface, 'I') ?
in EmitInterfaceImports()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/ |
H A D | utils.cpp | 86 bool Utils::StartWith(const std::string &mainStr, const std::string &subStr) in StartWith() function in OHOS::CastEngine::CastEngineService::Utils
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/src/ |
H A D | utils.cpp | 86 bool Utils::StartWith(const std::string &mainStr, const std::string &subStr)
in StartWith() function in OHOS::CastEngine::CastEngineService::Utils
|