/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | path_helper.h | 55 size_t prev = script.find_first_of(SLASH_TAG); in CheckWorkerPath() 58 prev = script.find_first_of(SLASH_TAG); in CheckWorkerPath() 65 prev = temp.find_first_of(SLASH_TAG); in CheckWorkerPath() 90 size_t prev = fileName.find_first_of(SLASH_TAG); in CheckNormalizedWorkerPath() 100 prev = script.find_first_of(SLASH_TAG); in CheckNormalizedWorkerPath() 116 if (script.find_first_of(POINT_TAG) == 0) { in ConcatFileNameForWorker()
|
/ohos5.0/foundation/multimedia/player_framework/services/utils/ |
H A D | time_format_utils.cpp | 103 } else if (data.find_first_of("-") == data.find_last_of("-")) { in FormatDataTimeByString() 112 } else if (data.find_first_of("-") == data.find_last_of("-")) { in FormatDataTimeByString() 117 } else if (time.find_first_of(":") == time.find_last_of(":")) { in FormatDataTimeByString()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/src/ |
H A D | uri.cpp | 224 size_t portSeparator = authority.find_first_of(PORT_SEPARATOR, start); in ParseHost() 257 size_t portSeparator = authority.find_first_of(PORT_SEPARATOR, start); in ParsePort() 287 size_t qsi = uriString_.find_first_of(QUERY_FLAG, ssi); in ParseQuery() 424 cachedSsi_ = uriString_.find_first_of(SCHEME_SEPARATOR); in FindSchemeSeparator() 432 cachedFsi_ = uriString_.find_first_of(SCHEME_FRAGMENT, FindSchemeSeparator()); in FindFragmentSeparator()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | svg_transform.cpp | 48 std::string type = attr.substr(0, attr.find_first_of("(")); in CreateMatrix4() 49 std::string values = attr.substr(attr.find_first_of("(") + 1); in CreateMatrix4() 139 std::string type = attr.substr(0, attr.find_first_of("(")); in CreateMap() 140 std::string values = attr.substr(attr.find_first_of("(") + 1); in CreateMap()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_config.cpp | 146 std::string::size_type newLinePos = line.find_first_of("\n"); in ReadConfig() 150 std::string::size_type equalSignPos = line.find_first_of("="); in ReadConfig()
|
/ohos5.0/base/print/print_fwk/services/print_service/src/ |
H A D | print_ipp_over_usb_manager.cpp | 62 auto posColon = printerId.find_first_of(SPLIT_VALUE_COLON); in ConnectPrinter() 94 auto posColon = printerId.find_first_of(SPLIT_VALUE_COLON); in DisConnectPrinter()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_module_reader.cpp | 146 std::string tmpPath = inputPath.substr(inputPath.find_first_of("/") + 1); in GetOtherHspPath() 147 const std::string sharedBundleName = tmpPath.substr(0, tmpPath.find_first_of("/")); in GetOtherHspPath() 183 if (inputPath.find_first_of("/") == inputPath.find_last_of("/")) { in GetPresetAppHapPath()
|
H A D | js_worker.cpp | 192 if (uri.find_first_of("/") == 0) { in operator ()() 198 } else if (uri.find_first_of("@") == 0) { in operator ()() 200 realPath = uri.substr(uri.find_first_of("/") + 1); in operator ()() 240 } else if (uri.find_first_of("/") == 0) { in operator ()() 243 } else if (uri.find_first_of("@") == 0) { in operator ()()
|
/ohos5.0/base/update/updateservice/services/engine/src/ |
H A D | update_service_impl_firmware.cpp | 185 size_t startIndex = dataXml.find_first_of("|"); in GetNewVersionDescription() 195 … static_cast<DescriptionType>(atoi(dataXml.substr(0, dataXml.find_first_of("|")).c_str())); in GetNewVersionDescription() 234 size_t startIndex = dataXml.find_first_of("|"); in GetCurrentVersionDescription() 244 static_cast<DescriptionType>(atoi(dataXml.substr(0, dataXml.find_first_of("|")).c_str())); in GetCurrentVersionDescription()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | clip_path.cpp | 116 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo() 122 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo() 128 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo() 134 data = value.substr(first, (value.find_first_of(')', first) - first)); in GetBasicShapeInfo()
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | svc_restore_deps_manager.cpp | 110 size_t index = srcStr.find_first_of(separator, 0); in SplitString() 120 index = srcStr.find_first_of(separator, start); in SplitString()
|
/ohos5.0/base/update/updater/services/package/pkg_package/ |
H A D | packages_info.cpp | 37 size_t index = str.find_first_of(pattern, 0); in SplitString() 47 index = str.find_first_of(pattern, start); in SplitString()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | fixed_string.h | 237 constexpr size_type find_first_of(const string_view& str, size_type pos = 0) const noexcept 239 return string_view(*this).find_first_of(str, pos); 242 constexpr size_type find_first_of(CharT ch, size_type pos = 0) const noexcept 244 return string_view(*this).find_first_of(ch, pos);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_uri.cpp | 256 size_t questionPosition = uriString.find_first_of('?'); in GetTableName() 400 size_t fragIndex = uri.find_first_of('#'); in RemoveAllFragment() 454 return path.substr(0, path.find_first_of('/')); in GetPathFirstDentry() 479 return tmp.substr(0, tmp.find_first_of('/')); in GetPhotoId()
|
H A D | mimetype_utils.cpp | 101 size_t pos = mimeType.find_first_of("/"); in GetMediaTypeFromMimeType()
|
/ohos5.0/base/update/updater/services/flashd/daemon/ |
H A D | flashd_utils.cpp | 25 auto pos = path.find_first_of('/', 1); in GetPathRoot()
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | ext_backup.cpp | 240 … appVersionStr_.substr(0, appVersionStr_.find_first_of(BConstants::VERSION_NAME_SEPARATOR_CHAR)); in WasFromSpecialVersion() 250 … appVersionStr_.substr(0, appVersionStr_.find_first_of(BConstants::VERSION_NAME_SEPARATOR_CHAR)); in SpecialVersionForCloneAndCloud()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/listener/ |
H A D | device_status_listener.cpp | 227 auto nameEnd = info.find_first_of(";", nameBegin); in OnPnpDeviceStatusChanged() 232 auto addressEnd = info.find_first_of(";", addressBegin); in OnPnpDeviceStatusChanged()
|
/ohos5.0/base/global/i18n/frameworks/intl/src/ |
H A D | holiday_manager.cpp | 214 std::string language = displayName.substr(0, displayName.find_first_of(":")); in ParseFileLine() 215 …std::string localName = displayName.substr(displayName.find_first_of(":") + 1, displayName.length(… in ParseFileLine()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_system_properties.cpp | 46 size_t pos = cmdline.find_first_of('\0'); in getCurrentProcessName()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | string_util.h | 80 auto const pos = left.find_first_of(delims); in CORE3D_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/multimedia/ringtone_library/services/utils/src/ |
H A D | ringtone_mimetype_utils.cpp | 96 size_t pos = mimeType.find_first_of("/"); in GetMediaTypeFromMimeType()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_style.cpp | 38 auto nameEnd = style.find_first_of('{'); in ParseCssStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_style.cpp | 38 auto nameEnd = style.find_first_of('{'); in ParseCssStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | string_utils.h | 642 std::string::size_type pos = str.find_first_of(sep, startPos); 649 pos = str.find_first_of(sep, startPos); 666 std::string::size_type pos = str.find_first_of(sep, startPos); 675 pos = str.find_first_of(sep, startPos);
|