Home
last modified time | relevance | path

Searched refs:StartWith (Results 1 - 25 of 60) sorted by relevance

123

/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dffmpeg_utils.cpp165 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 Dffmpeg_utils.h47 bool StartWith(const char* name, const char* chars);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp75 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 Djs_backend_asset_manager.cpp50 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 Dbundle_info_creator.cpp131 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 Dgt_bundle_extractor.cpp161 (!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 Drosen_media_player.cpp363 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 Dstring_helper.h29 static bool StartWith(const std::string &value, char prefix);
31 static bool StartWith(const std::string &value, const std::string &prefix);
H A Dstring_helper.cpp54 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 Doptions.cpp695 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 Ddata_ability_helper_standard.cpp142 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 Dsa_code_emitter.cpp82 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 Dfrontend_delegate.cpp39 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 Dffmpeg_format_helper.cpp277 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 Djsi_module_searcher.cpp183 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 Dutils.h62 static bool StartWith(const std::string &mainStr, const std::string &subStr);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/
H A Dutils.h62 static bool StartWith(const std::string &mainStr, const std::string &subStr);
/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/
H A Dmanifest_appinfo.cpp28 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 Dbundle_util.h43 static bool StartWith(const char *str, const char *subStr);
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/
H A Dhdi_interface_type_emitter.cpp149 (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 Dsa_interface_type_emitter.cpp90 return StringHelper::StartWith(name, 'I') ? (name.substr(1) + "Stub") : (name + "Stub"); in StubName()
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Dcard_frontend_delegate.cpp56 if (Framework::StartWith(value, "$event.")) { in FireCardEvent()
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/ts/
H A Dsa_ts_code_emitter.cpp115 std::string dependStubName = StringHelper::StartWith(dependInterface, 'I') ? in EmitInterfaceImports()
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/
H A Dutils.cpp86 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 Dutils.cpp86 bool Utils::StartWith(const std::string &mainStr, const std::string &subStr) in StartWith() function in OHOS::CastEngine::CastEngineService::Utils

Completed in 13 milliseconds

123