/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
H A D | TypeTracking_test.cpp | 50 return mInfoLog.find(stringToFind) != std::string::npos; in foundInIntermediateTree() 62 if (idPrefixPos != std::string::npos) in RemoveSymbolIdsFromInfoLog() 67 } while (idPrefixPos != std::string::npos); in RemoveSymbolIdsFromInfoLog()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | charconv_parse_test.cc | 55 if (open_bracket_pos != std::string::npos) { in ExpectParsedFloat() 59 ABSL_RAW_CHECK(close_bracket_pos != absl::string_view::npos, in ExpectParsedFloat() 65 ABSL_RAW_CHECK(expected_characters_matched != std::string::npos, in ExpectParsedFloat()
|
/third_party/skia/experimental/sktext/editor/ |
H A D | Texts.h | 168 text.append(this->fText.substr(toRemove.fEnd, std::u16string::npos)); in removeElement() 176 text.append(fText.substr(toInsert, std::u16string::npos)); in insertElement() 184 text.append(fText.substr(toReplace.fEnd, std::u16string::npos)); in replaceElement()
|
/foundation/ability/ability_base/test/unittest/want/ |
H A D | want_test.cpp | 1129 if (head != std::string::npos) { in HWTEST_F() 1135 if (content != std::string::npos) { in HWTEST_F() 1225 if (result != std::string::npos) { in HWTEST_F() 1232 EXPECT_NE(result, std::string::npos); in HWTEST_F() 1235 if (result != std::string::npos) { in HWTEST_F() 1238 if (delims != std::string::npos) { in HWTEST_F() 1248 EXPECT_NE(result, std::string::npos); in HWTEST_F() 1250 if (result != std::string::npos) { in HWTEST_F() 1294 EXPECT_NE(result, std::string::npos); in HWTEST_F() 1296 if (result != std::string::npos) { in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration.cpp | 52 if (leftIndex == std::string::npos || rightIndex == std::string::npos) { in ParseFunctionValue() 670 if (style.first.find(DOM_PSEUDO_CLASS_SYMBOL) == std::string::npos) { 697 if (value.find("ms") != std::string::npos) { 719 if (value.find("ms") != std::string::npos) { 1522 if (value.find("ms") != std::string::npos) { 1524 } else if (value.find('s') != std::string::npos) { 2466 if (index != std::string::npos && index != 0) { 2471 if (area.find("px") != std::string::npos) { 2473 } else if (area.find('%') != std::string::npos) { [all...] |
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 161 } else if (key.rfind(".js") != std::string::npos) { in TranslateBySourceMap() 327 if (pos != std::string::npos) { in Find() 388 std::size_t splitPos = std::string::npos; in GetRelativePath() 393 if (splitPos != std::string::npos) { in GetRelativePath() 488 if (findLineEnd == std::string::npos) { in GetErrorPos()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_worker.cpp | 152 if (index == std::string::npos) { in NormalizedFileName() 217 if (ami.find(CACHE_DIRECTORY) != std::string::npos) { in operator ()() 234 if (realPath.find_last_of(".") != std::string::npos) { in operator ()() 260 if (ami.find(CACHE_DIRECTORY) != std::string::npos) { in operator ()() 494 if (filePos != std::string::npos) { in GetAmi()
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/ |
H A D | wfd_message.cpp | 300 if (nPos != std::string::npos) { in GetVideoFormats() 513 if (item.find("client_port=") != std::string::npos) { in GetClientPort() 531 if (item.find("server_port=") != std::string::npos) { in GetServerPort() 556 if (nPos != std::string::npos) { in StringifyEx() 571 if (nPos != std::string::npos) { in StringifyEx()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_utils.cpp | 117 while (position != string.npos) { in Replace() 270 if (std::string::npos != lastSlashIdx) { in GetFileName() 284 if (std::string::npos != lastSlashIdx) { in GetDirectory() 398 return options.find('w') != std::string::npos; in HasWriteFlag() 403 return options.find('a') != std::string::npos; in HasAppendFlag()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | m3u8.cpp | 44 if ((uri.find("http://") != std::string::npos) || (uri.find("https://") != std::string::npos)) { in UriJoin() 101 if (playList.find("\n#EXT-X-STREAM-INF:") != std::string::npos) { in Update() 343 if (n != std::string::npos) { in SetDrmInfo() 428 if (playList_.find("\n#EXTINF:") != std::string::npos) { in M3U8MasterPlaylist()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_data_utils.cpp | 335 if (slashIndex != std::string::npos) { in GetFormatByPath() 340 if (extensionIndex != std::string::npos) { in GetFormatByPath() 348 if ((pair.second).find(extension) != std::string::npos) { in GetFormatByPath() 529 if (displayNameIndex != std::string::npos) { in GetMediaTypeByName() 538 if ((pair.second).find(extension) != std::string::npos) { in GetMediaTypeByName()
|
/third_party/libwebsockets/lib/jose/jwe/ |
H A D | jwe.c | 95 if (*args->temp_len < ctx->npos) { in lws_jwe_json_cb() 111 memcpy(args->temp, ctx->buf, ctx->npos); in lws_jwe_json_cb() 112 args->temp += ctx->npos; in lws_jwe_json_cb() 113 *args->temp_len -= ctx->npos; in lws_jwe_json_cb() 114 args->jws->map_b64.len[m] += ctx->npos; in lws_jwe_json_cb()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.cpp | 44 if (pos == std::string::npos) { in GetMsgStr() 221 bool isAppPage = rawStack.find(runningPageTag, 1) != std::string::npos && appMap; in GenerateSummaryBody() 264 if (findLineEnd == std::string::npos) { in GetErrorPos() 273 if (secondPos == std::string::npos) { in GetErrorPos() 278 if (firstPos == std::string::npos) { in GetErrorPos() 390 if (res[0].find('/') == std::string::npos) { in TranslateStack() 404 if (temp.rfind(runningPageTag) == std::string::npos) { in TranslateStack() 550 std::size_t splitPos = std::string::npos; in GetRelativePath() 555 if (splitPos != std::string::npos) { in GetRelativePath()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | string.h | 52 static constexpr size_type npos = size_type(-1); member in basic_string 449 string_view substr(size_type pos = 0, size_type count = npos) const in substr() 456 return erase(0, npos); in erase() 461 return erase(off, npos); in erase() 652 } else if (count == npos) { in append() 703 size_type rfind(const value_type str, size_type pos = npos) const noexcept 708 size_type rfind(const string_view& str, size_type pos = npos) const noexcept 725 size_type find_last_of(const string_view& str, size_type pos = npos) const noexcept 730 size_type find_last_of(value_type ch, size_type pos = npos) const noexcept
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_frontend.cpp | 199 if (eventMarker.GetData().eventType.find("touch") != std::string::npos) { in HandleAsyncEvent() 201 } else if (eventMarker.GetData().eventType.find("mouse") != std::string::npos) { in HandleAsyncEvent() 267 if (startPos != std::string::npos && endPos != std::string::npos && startPos < endPos) { in HandleAsyncEvent()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl.cpp | 213 if (rawString.front() == '#' || rawString.find(COLOR_VALUE_PREFIX) != std::string::npos) { in ParseContent() 219 } else if (rawString.find(PATTERN_NAME_KEY_WORD) != std::string::npos) { in ParseContent() 228 } else if (rawString.rfind(STATE_VALUE_KEY_WORD) != std::string::npos) { in ParseContent() 240 } else if (rawString.find(REF_ATTR_VALUE_KEY_WORD) != std::string::npos) { in ParseContent()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/ |
H A D | jsi_module_searcher.cpp | 78 while ((endPos = str.find_first_of(seps, startPos)) != std::string::npos) { in SplitString() 107 if (startPos == std::string::npos) { in StripString() 182 size_t pos = std::string::npos; in GetInstallPath() 189 if (pos == std::string::npos) { in GetInstallPath()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | metadata_common_utils.cpp | 234 float npos = -1.0; in ParsePhysicalApertureRangeByMode() local 238 if (item.data.f[i] == npos && item.data.f[i + 1] == npos) { in ParsePhysicalApertureRangeByMode() 239 modeRange.emplace_back(npos); in ParsePhysicalApertureRangeByMode()
|
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_controller_stub.cpp | 312 if (str.find_first_not_of("01") != std::string::npos) { in HandleSetAVCallMetaFilter() 329 if (str.find_first_not_of("01") != std::string::npos) { in HandleSetAVCallStateFilter() 346 if (str.find_first_not_of("01") != std::string::npos) { in HandleSetMetaFilter() 363 if (str.find_first_not_of("01") != std::string::npos) { in HandleSetPlaybackFilter()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_dualfwk_restore.cpp | 144 if (uri.find(uriKey) != string::npos) { in MediaUriAppendKeyValue() 148 char queryMark = (uri.find('?') == string::npos) ? '?' : '&'; in MediaUriAppendKeyValue() 152 if (posJ == string::npos) { in MediaUriAppendKeyValue() 417 if (found != string::npos) { in DupToneFile()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/test/unittest/ |
H A D | cgroup_sched_test.cpp | 205 EXPECT_NE(result.find("show the cgroup_sched_plugin help"), std::string::npos); in HWTEST_F() 210 EXPECT_NE(result.find("lockType"), std::string::npos); in HWTEST_F() 215 EXPECT_NE(result.find("processState"), std::string::npos); in HWTEST_F() 220 EXPECT_NE(result.find("windowInfo"), std::string::npos); in HWTEST_F()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_group_controller.cpp | 140 if (it->first.find(bundleName) != std::string::npos) { in DeleteUsageGroupCache() 362 if (packageHistoryIter.first.find(bundleName) == std::string::npos || packageHistoryIter.second == nullptr) { in SetAppGroup() 394 if (packageHistoryIter.first.find(bundleName) == std::string::npos || packageHistoryIter.second == nullptr) { in IsBundleIdle() 430 if (packageHistoryIter.first.find(bundleName) == std::string::npos || packageHistoryIter.second == nullptr) { in QueryAppGroup()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 202 if (doubleSlashPos == std::string::npos) { in ExtractDomainFormUrl() 209 if (domainEndPos != std::string::npos) { in ExtractDomainFormUrl() 255 if (ipAddress.find(ip) != std::string::npos) { in GetAddrInfo() 402 auto proxyType = (proxyHost.find("https://") != std::string::npos) ? CURLPROXY_HTTPS : CURLPROXY_HTTP; in SetProxyInfo()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/ |
H A D | http_request.cpp | 265 if (urlTmp.find("https://") != std::string::npos) { in GetHostAddrFromUrl() 267 } else if (urlTmp.find("http://") != std::string::npos) { in GetHostAddrFromUrl() 287 if (strHost.find(":") != std::string::npos) { in GetPortFromUrl() 340 if (strHost.find(":") != std::string::npos) { in GetIPFromUrl()
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | util.cpp | 225 size_t npos = name.find_last_of("//"); in ReadZipFile() local 226 if (npos != std::string::npos) { in ReadZipFile() 227 name = name.substr(npos + 1, name.length()); in ReadZipFile()
|