Home
last modified time | relevance | path

Searched refs:npos (Results 301 - 325 of 1616) sorted by relevance

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

/foundation/ability/ability_runtime/frameworks/native/child_process/src/
H A Dnative_child_process.cpp80 if (strLibName.find("../") != std::string::npos) { in OH_Ability_CreateNativeChildProcess()
116 if (entryName.find(":") == std::string::npos) { in OH_Ability_StartNativeChildProcess()
/foundation/ai/intelligent_voice_framework/utils/
H A Dstring_util.h55 if (p == std::string::npos) { in TrimL()
66 if (p == std::string::npos) { in TrimR()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_node.cpp52 if (start != std::string::npos) { in ParseIdFromUrl()
55 if (end != std::string::npos) { in ParseIdFromUrl()
604 } else if (attrName.find(TRANSFORM) != std::string::npos) { in AsRSPath()
/foundation/multimedia/player_framework/services/utils/
H A Dxml_parse.cpp72 if (pos != str.npos && pos + 1 < str.size()) { in TransStrAsRange()
113 if (pos != strAddDelim.npos) { in SpiltKeyList()
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_utils.cpp44 for (std::string::size_type pos(0); pos != std::string::npos; pos += newValue.length()) { in ReplaceAll()
45 if ((pos = str.find(oldValue, pos)) != std::string::npos) { in ReplaceAll()
/foundation/multimodalinput/input/service/module_loader/src/
H A Dwatchdog_task.cpp67 if (pos != std::string::npos) { in GetProcessNameFromProcCmdline()
71 if (pos != std::string::npos) { in GetProcessNameFromProcCmdline()
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dnet_address.cpp51 if (pos != std::string::npos) { in SetIpAddress()
86 if (pos == std::string::npos) { in SetIpAddressInner()
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsConfigurationTest.cpp130 EXPECT_NE(idx, std::string::npos); in HWTEST_F()
143 EXPECT_NE(idx, std::string::npos); in HWTEST_F()
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsConfigurationTest.cpp130 EXPECT_NE(idx, std::string::npos); in HWTEST_F()
143 EXPECT_NE(idx, std::string::npos); in HWTEST_F()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/ipc/
H A Dconnection_detector.cpp65 if (str.find("connection_status") == string::npos) { in MatchConnectionStatus()
208 if (pos == std::string::npos) { in ParseHmdfsPath()
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_backup_connection.cpp67 if (bundleNameIndexInfo_.find(bundleName) == string::npos) { in OnAbilityConnectDone()
84 if (bundleNameIndexInfo_.find(bundleName) == string::npos) { in OnAbilityDisconnectDone()
H A Dsvc_restore_deps_manager.cpp90 if (restoreDeps.find(",") != string::npos) { in BuildDepsMap()
111 while (index != srcStr.npos) { in SplitString()
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test_main.cpp43 while (pos2 != string::npos) { in SplitString()
88 if (filePath.find(findPath) == string::npos) { in DisplayAllCaseInfo()
/third_party/gn/src/gn/
H A Dbundle_data.cc29 if (sep == std::string_view::npos) { in GetAssetsCatalogDirectory()
167 if (last_separator != std::string::npos) in GetBundleRootDirOutput()
H A Dninja_target_command_util.cc131 if (extension_offset == std::string::npos) { in GetPCHOutputFiles()
152 output_value.replace(extension_offset - 1, std::string::npos, in GetPCHOutputFiles()
/third_party/json/tests/src/
H A Dunit-alt-string.cpp32 static constexpr auto npos = static_cast<std::size_t>(-1); member in alt_string
149 alt_string substr(std::size_t pos = 0, std::size_t count = npos) const in substr()
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-type-util.h65 if (end != s.npos) { in CanonicalizeForStdLibVersioning()
79 if (pos == std::string::npos) { in CanonicalizeForStdLibVersioning()
/third_party/vk-gl-cts/external/amber/src/android_sample/jni/
H A Damber_script.cc48 if (spv_extension_pos == std::string::npos) in GetShaderID()
53 if (shader_id_pos == std::string::npos) in GetShaderID()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DShCompile_test.cpp211 EXPECT_NE(referenceOut.find("1.9"), std::string::npos) in TEST_F()
219 EXPECT_NE(localizedOut.find("1.9"), std::string::npos) in TEST_F()
/third_party/skia/third_party/externals/dawn/src/common/
H A DSystemUtils.cpp138 return lastPathSepLoc != std::string::npos ? exePath.substr(0, lastPathSepLoc + 1) : ""; in GetExecutableDirectory()
177 return lastPathSepLoc != std::string::npos ? modPath.substr(0, lastPathSepLoc + 1) : ""; in GetModuleDirectory()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFormatVariadic.cpp94 while (From < Fmt.size() && From != StringRef::npos) { in splitLiteralAndReplacement()
114 if (BC == StringRef::npos) { in splitLiteralAndReplacement()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dmetadata_test.cc135 EXPECT_TRUE(pb_h.find("#ifdef guard_name") != std::string::npos); in TEST_F()
137 std::string::npos); in TEST_F()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h352 if (value.find("calc") != std::string::npos) { in StringToCalcDimension()
436 if (value.find("calc") != std::string::npos) { in StringToCalcDimensionNG()
608 if (firstPos == std::string::npos) { in TrimStr()
618 if (firstIndexNotOfSpace == std::string::npos) { in TrimStrLeadingAndTrailing()
624 if (lastIndexNotOfSpace == std::string::npos) { in TrimStrLeadingAndTrailing()
643 while (pos != std::string::npos) { in SplitStr()
667 while (pos != std::string::npos) { in SplitStr()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dmedia_file_utils.cpp364 if (lastSlash != string::npos) { in GetFileName()
859 if (lastPoint == string::npos) { in CheckTitle()
897 if (uri.find(uriPrefix) != string::npos) { in CheckTitle()
899 } else if (uri.find(ML_FILE_URI_PREFIX) != string::npos) { in CheckTitle()
913 if (uri.find(uriPrefix) != string::npos) { in GetHighlightVideoPath()
915 } else if (uri.find(ML_FILE_URI_PREFIX) != string::npos) { in GetHighlightVideoPath()
949 if (dirIndex == string::npos) { in GetRootDirFromRelativePath()
955 if (dirIndex == string::npos) { in GetRootDirFromRelativePath()
996 if (slashIndex != string::npos) {
1008 if (pos == string::npos) {
[all...]
/foundation/communication/netmanager_base/utils/common_utils/src/
H A Dnetmanager_base_common_utils.cpp219 std::string::size_type npos = tmpAddress.find(IPADDR_DELIMITER); in ConvertIpv4Address() local
220 if (npos == std::string::npos) { in ConvertIpv4Address()
223 const auto &value = tmpAddress.substr(0, npos); in ConvertIpv4Address()
230 tmpAddress = tmpAddress.substr(npos + 1); in ConvertIpv4Address()
678 if (start == std::string::npos || end == std::string::npos) { in Trim()

Completed in 14 milliseconds

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