/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_file_operations.cpp | 182 if (groupByPoint != string::npos) { in SolvePendingInQuery() 379 for (size_t pos = 0; pos != string::npos;) { in ReplaceSelectionAndArgsInQuery() 381 if (pos == string::npos) { in ReplaceSelectionAndArgsInQuery() 388 if (argPos == string::npos) { in ReplaceSelectionAndArgsInQuery() 443 if (keyPos != string::npos) { in RemoveWhereSuffix()
|
H A D | zip_util.cpp | 98 if (pos != std::string::npos && pos != file.length() - 1) { in GetDestFilePath() 102 if (pos != std::string::npos && pos != parent.length() - 1) { in GetDestFilePath()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_monitor.cpp | 284 if (pos != std::string::npos) { in GetHttpProbeUrlFromConfig() 294 if (pos != std::string::npos) { in GetHttpProbeUrlFromConfig() 300 if (pos != std::string::npos) { in GetHttpProbeUrlFromConfig() 306 if (pos != std::string::npos) { in GetHttpProbeUrlFromConfig() 331 if (pos != std::string::npos) { in GetDetectUrlConfig()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 86 while ((pos = src.find(rep, pos)) != std::string::npos) { in Replace() 223 if (pre == std::string::npos || end - pre < FILE_PATH_MINI_SIZE) { in Anonymous() 228 if (area == std::string::npos || area + AREA_MINI_SIZE > path.size()) { in Anonymous() 260 return (pos != std::string::npos) && (pos == fileName.size() - slaveSuffix.size()); in IsSlaveDbName() 298 if (pos == std::string::npos || pos < name.length() - suffix.length()) { in GetSlavePath()
|
/third_party/node/src/ |
H A D | node_options-inl.h | 314 arg[0] == '-' && arg[1] == '-' ? arg.find('=') : std::string::npos; in Parse() 316 equals_index == std::string::npos ? arg : arg.substr(0, equals_index); in Parse() 322 if (equals_index != std::string::npos) in Parse() 350 (equals_index != std::string::npos && in Parse() 415 if (equals_index != std::string::npos) { in Parse()
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
H A D | crash_handler_posix.cpp | 422 ASSERT(lastModuleSlash != std::string::npos); 428 if (pathSlashPos != std::string::npos && region.path.substr(pathSlashPos) == baseModule) 534 if (pos != std::string::npos) 546 if (pos != std::string::npos) 563 ASSERT(lastSlash != std::string::npos);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetObjectFile.cpp | 92 return Sec.find(".sdata.") != StringRef::npos || in isSmallDataSection() 93 Sec.find(".sbss.") != StringRef::npos || in isSmallDataSection() 94 Sec.find(".scommon.") != StringRef::npos; in isSmallDataSection() 181 if (Section.find(".access.text.group") != StringRef::npos) in getExplicitSectionGlobal() 184 if (Section.find(".access.data.group") != StringRef::npos) in getExplicitSectionGlobal()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
H A D | parser_test.cc | 279 EXPECT_EQ(fmt.find('-') == std::string::npos, in TEST_F() 281 EXPECT_EQ(fmt.find('+') == std::string::npos, in TEST_F() 283 EXPECT_EQ(fmt.find(' ') == std::string::npos, in TEST_F() 285 EXPECT_EQ(fmt.find('#') == std::string::npos, in TEST_F() 287 EXPECT_EQ(fmt.find('0') == std::string::npos, in TEST_F()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | uncaught_exception_callback.cpp | 91 if (errorStack.find(BACKTRACE) != std::string::npos) { in operator ()() 115 if (spitlPos != std::string::npos) { in GetBuildId()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/common/ |
H A D | js_backend_asset_manager.cpp | 43 if (slashPos == std::string::npos) { in GetFileInfo() 73 if (filePos != std::string::npos) { in ParseWorkerUri()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_image_animator.cpp | 55 if (val.find("ms") != std::string::npos) { in SetSpecializedAttr() 57 } else if (val.find('s') != std::string::npos) { in SetSpecializedAttr()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_extractor.cpp | 119 if (position != std::string::npos) { in GetZipFileNames() 123 if ((entry.first.find(ServiceConstants::RELATIVE_PATH) == std::string::npos) && !isHqfFile) { in GetZipFileNames()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | resource_info.cpp | 53 if (firstPos == std::string::npos) { in ParseKey() 107 if ((pos == std::string::npos) || (pos == 0)) { in InnerParseAppIndex()
|
/foundation/multimodalinput/input/service/device_config/src/ |
H A D | device_config_file_parser.cpp | 95 if (pos != tmp.npos && pos != COMMENT_SUBSCRIPT) { in ReadConfigFile() 102 if ((pos == std::string::npos) || (tmp.back() == '=')) { in ReadConfigFile()
|
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | http_request_utils.cpp | 31 if (pos == std::string::npos) { in Split() 88 if (index == std::string::npos) { in EncodeUrlParam()
|
/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/ |
H A D | mdns_common.cpp | 54 while ((pos = s.find(seperator, pos)) != std::string::npos) { in Split() 69 name.find(MDNS_DOMAIN_SPLITER) == std::string::npos; in IsNameValid()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/network_select/ |
H A D | network_selection_utils.cpp | 47 return networkCandidate.interScanInfo.capabilities.find("OWE") != std::string::npos; in IsScanResultForOweNetwork() 147 return iter != std::string::npos; in CheckDeviceTypeByVendorCountry()
|
/foundation/communication/netmanager_ext/services/mdnsmanager/src/ |
H A D | net_interface_callback.cpp | 44 if (ifrName.find("p2p") != std::string::npos) { in OnInterfaceAddressUpdated() 50 if (pos == std::string::npos) { in OnInterfaceAddressUpdated()
|
/foundation/distributeddatamgr/kv_store/kvstoremock/interfaces/mock/ |
H A D | log_print.cpp | 88 while ((pos = outStrFormat.find(PRIVATE_TAG)) != std::string::npos) { in PreparePrivateLog() 92 while ((pos = outStrFormat.find(PUBLIC_TAG)) != std::string::npos) { in PreparePrivateLog()
|
/foundation/filemanagement/app_file_service/utils/src/b_hiaudit/ |
H A D | zip_util.cpp | 97 if (pos != std::string::npos && pos != file.length() - 1) { in GetDestFilePath() 101 if (pos != std::string::npos && pos != parent.length() - 1) { in GetDestFilePath()
|
/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | zip_util.cpp | 98 if (pos != std::string::npos && pos != file.length() - 1) { in GetDestFilePath() 102 if (pos != std::string::npos && pos != parent.length() - 1) { in GetDestFilePath()
|
/third_party/gn/src/gn/ |
H A D | c_include_iterator.cc | 102 if (terminator_index == std::string_view::npos) in ExtractInclude() 113 return line.find("nogncheck") != std::string_view::npos; in HasNoCheckAnnotation()
|
H A D | ohos_components_mapping.cc | 116 if (tool_sep != std::string::npos) {
in MappingTargetAbsoluteDpes() 125 if (pos == std::string::npos) {
in MappingTargetAbsoluteDpes()
|
/third_party/icu/icu4c/source/common/unicode/ |
H A D | stringpiece.h | 303 static const int32_t npos; // = 0x7fffffff; member in StringPiece 313 StringPiece substr(int32_t pos, int32_t len = npos) const { in substr()
|
/third_party/libwebsockets/test-apps/ |
H A D | test-lecp.c | 87 if (ctx->npos) in cb() 88 lwsl_hexdump_notice(ctx->buf, (size_t)ctx->npos); in cb()
|