Home
last modified time | relevance | path

Searched refs:find_first_of (Results 1 – 25 of 173) sorted by relevance

1234567

/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dpath_helper.h55 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 Dtime_format_utils.cpp103 } 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 Duri.cpp224 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 Dsvg_transform.cpp48 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 Ddfx_config.cpp146 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 Dprint_ipp_over_usb_manager.cpp62 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 Djs_module_reader.cpp146 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 Djs_worker.cpp192 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 Dupdate_service_impl_firmware.cpp185 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 Dclip_path.cpp116 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 Dsvc_restore_deps_manager.cpp110 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 Dpackages_info.cpp37 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 Dfixed_string.h237 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 Dmedia_file_uri.cpp256 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 Dmimetype_utils.cpp101 size_t pos = mimeType.find_first_of("/"); in GetMediaTypeFromMimeType()
/ohos5.0/base/update/updater/services/flashd/daemon/
H A Dflashd_utils.cpp25 auto pos = path.find_first_of('/', 1); in GetPathRoot()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_backup.cpp240 … 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 Ddevice_status_listener.cpp227 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 Dholiday_manager.cpp214 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 Dimage_system_properties.cpp46 size_t pos = cmdline.find_first_of('\0'); in getCurrentProcessName()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dstring_util.h80 auto const pos = left.find_first_of(delims); in CORE3D_BEGIN_NAMESPACE()
/ohos5.0/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_mimetype_utils.cpp96 size_t pos = mimeType.find_first_of("/"); in GetMediaTypeFromMimeType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_style.cpp38 auto nameEnd = style.find_first_of('{'); in ParseCssStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_style.cpp38 auto nameEnd = style.find_first_of('{'); in ParseCssStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h642 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);

1234567