Home
last modified time | relevance | path

Searched refs:npos (Results 251 - 275 of 1616) sorted by relevance

1...<<11121314151617181920>>...65

/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_file_operations.cpp182 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 Dzip_util.cpp98 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 Dnet_monitor.cpp284 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 Dsqlite_utils.cpp86 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 Dnode_options-inl.h314 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 Dcrash_handler_posix.cpp422 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 DHexagonTargetObjectFile.cpp92 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 Dparser_test.cc279 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 Duncaught_exception_callback.cpp91 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 Djs_backend_asset_manager.cpp43 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 Ddom_image_animator.cpp55 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 Dbase_extractor.cpp119 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 Dresource_info.cpp53 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 Ddevice_config_file_parser.cpp95 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 Dhttp_request_utils.cpp31 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 Dmdns_common.cpp54 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 Dnetwork_selection_utils.cpp47 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 Dnet_interface_callback.cpp44 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 Dlog_print.cpp88 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 Dzip_util.cpp97 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 Dzip_util.cpp98 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 Dc_include_iterator.cc102 if (terminator_index == std::string_view::npos) in ExtractInclude()
113 return line.find("nogncheck") != std::string_view::npos; in HasNoCheckAnnotation()
H A Dohos_components_mapping.cc116 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 Dstringpiece.h303 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 Dtest-lecp.c87 if (ctx->npos) in cb()
88 lwsl_hexdump_notice(ctx->buf, (size_t)ctx->npos); in cb()

Completed in 12 milliseconds

1...<<11121314151617181920>>...65