/foundation/ability/ability_runtime/frameworks/native/child_process/src/ |
H A D | native_child_process.cpp | 80 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 D | string_util.h | 55 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 D | svg_node.cpp | 52 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 D | xml_parse.cpp | 72 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 D | ringtone_utils.cpp | 44 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 D | watchdog_task.cpp | 67 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 D | net_address.cpp | 51 if (pos != std::string::npos) { in SetIpAddress() 86 if (pos == std::string::npos) { in SetIpAddressInner()
|
/foundation/communication/netstack/test/unittest/tlssocket/client/ |
H A D | TlsConfigurationTest.cpp | 130 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 D | TlsConfigurationTest.cpp | 130 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 D | connection_detector.cpp | 65 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 D | svc_backup_connection.cpp | 67 if (bundleNameIndexInfo_.find(bundleName) == string::npos) { in OnAbilityConnectDone() 84 if (bundleNameIndexInfo_.find(bundleName) == string::npos) { in OnAbilityDisconnectDone()
|
H A D | svc_restore_deps_manager.cpp | 90 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 D | rs_graphic_test_main.cpp | 43 while (pos2 != string::npos) { in SplitString() 88 if (filePath.find(findPath) == string::npos) { in DisplayAllCaseInfo()
|
/third_party/gn/src/gn/ |
H A D | bundle_data.cc | 29 if (sep == std::string_view::npos) { in GetAssetsCatalogDirectory() 167 if (last_separator != std::string::npos) in GetBundleRootDirOutput()
|
H A D | ninja_target_command_util.cc | 131 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 D | unit-alt-string.cpp | 32 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 D | gtest-type-util.h | 65 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 D | amber_script.cc | 48 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 D | ShCompile_test.cpp | 211 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 D | SystemUtils.cpp | 138 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 D | FormatVariadic.cpp | 94 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 D | metadata_test.cc | 135 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 D | string_utils.h | 352 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 D | media_file_utils.cpp | 364 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 D | netmanager_base_common_utils.cpp | 219 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()
|