/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | status.h | 86 static constexpr size_t npos() { return std::numeric_limits<size_t>::max(); } in npos() function 91 size_t pos = npos();
|
/third_party/node/deps/icu-small/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/node/deps/v8/src/extensions/ |
H A D | vtunedomain-support-extension.cc | 30 while (offindex != std::string::npos) { in split() 35 if (offindex == std::string::npos) in split()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/ |
H A D | sfn_test_shaders.cpp | 3089 if (line.find_first_not_of(" \t") == std::string::npos) in from_string() 3105 if (line.find_first_not_of(" \t") == std::string::npos) in from_string()
|
/third_party/skia/third_party/externals/angle2/src/tests/gles_conformance_tests/ |
H A D | gles_conformance_tests.cpp | 39 if (lastPathSepLoc != std::string::npos) in GetExecutableDirectory() 88 while ((offset = log.find("failure = ", offset)) != std::string::npos) in RunConformanceTest()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/ |
H A D | StringView.h | 28 static const size_t npos = ~size_t(0); member in StringView 51 return npos; in find()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | GlobPattern.cpp | 22 return S.find_first_of("?*[\\") != StringRef::npos; in hasWildcard() 81 if (End == StringRef::npos) in scan()
|
H A D | Path.cpp | 102 if (pos == StringRef::npos) in filename_pos() 106 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style))) in filename_pos() 113 // directory in str, it returns StringRef::npos. 131 return StringRef::npos; in root_dir_start() 146 (root_dir_pos == StringRef::npos || end_pos > root_dir_pos) && in parent_path_end() 324 (root_dir_pos == StringRef::npos || end_pos - 1 > root_dir_pos)) { 468 if (end_pos == StringRef::npos) 476 if (end_pos != StringRef::npos) 488 if (pos != StringRef::npos && pos >= filename_pos(p, style)) 593 if (pos == StringRef::npos) [all...] |
H A D | ARMTargetParser.cpp | 272 size_t offset = StringRef::npos; in getCanonicalArchName() 290 if (A.find("eb") != StringRef::npos) in getCanonicalArchName() 297 if (offset != StringRef::npos && A.substr(offset, 2) == "eb") in getCanonicalArchName() 303 if (offset != StringRef::npos) in getCanonicalArchName() 311 if (offset != StringRef::npos) { in getCanonicalArchName() 316 if (A.find("eb") != StringRef::npos) in getCanonicalArchName()
|
/third_party/skia/third_party/externals/icu/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/protobuf/src/google/protobuf/compiler/python/ |
H A D | python_plugin_unittest.cc | 150 if (lines[i].find(expected_import) != std::string::npos) { in TEST() 153 EXPECT_EQ(std::string::npos, lines[i].find("importlib")); in TEST()
|
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 87 while (index != string::npos) { in SplitStringFully() 91 if (start == string::npos) { in SplitStringFully() 108 while ((pos = strBig.find(strsrc, pos)) != std::string::npos) { in StringReplace() 196 if (inputFile.find("mp4") != std::string::npos || inputFile.find("m4a") != std::string::npos || in InitFile() 197 inputFile.find("ts") != std::string::npos) { in InitFile() 199 } else if (inputFile.find("opus") != std::string::npos) { in InitFile() 204 } else if (inputFile.find("g711") != std::string::npos) { in InitFile()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | softbus_channel_adapter.cpp | 177 if (sessName.find("avtrans.data") != std::string::npos) {
in CreateChannelServer() 221 if (((it->first).find(serverMapKey) != std::string::npos)) {
in RemoveChannelServer() 234 if ((it->first).find(sessName) != std::string::npos) {
in RemoveChannelServer() 254 if (((it->first).find(mySessName) != std::string::npos) && (it->second != nullptr)) {
in SendEventChannelOPened() 284 if (mySessName.find("avtrans.data") != std::string::npos) {
in OpenSoftbusChannel() 486 if (((it->first).find(mySessionName) != std::string::npos) && (it->second != nullptr)) {
in OnSoftbusChannelOpened() 596 if (position == std::string::npos) {
in GetPeerDevIdBySessId() 610 if (position != std::string::npos) {
in GetOwnerFromSessName()
|
/foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
H A D | ethernet_configuration.cpp | 485 if (pos == std::string::npos) { in ParseDevice() 496 if (pos == std::string::npos) { in ParseBootProto() 519 if (pos != std::string::npos) { in ParseStaticConfig() 525 if (pos != std::string::npos) { in ParseStaticConfig() 531 if (pos != std::string::npos) { in ParseStaticConfig() 537 if (pos != std::string::npos) { in ParseStaticConfig() 543 if (pos != std::string::npos) { in ParseStaticConfig() 549 if (pos != std::string::npos) { in ParseStaticConfig() 565 if (pos != std::string::npos) { in ParserFileHttpProxy() 571 if (pos != std::string::npos) { in ParserFileHttpProxy() [all...] |
/third_party/libwebsockets/lib/misc/ |
H A D | lecp.c | 454 ctx->npos = 0; in lecp_parse() 501 ctx->npos = 0; in lecp_parse() 553 ctx->npos = 0; in lecp_parse() 688 ctx->npos = 0; in lecp_parse() 757 ctx->buf[ctx->npos++] = (char)c; in lecp_parse() 762 if (ctx->npos != sizeof(ctx->buf) - 1 && in lecp_parse() 767 ctx->buf[ctx->npos] = '\0'; in lecp_parse() 774 if (pst->ppos + ctx->npos > sizeof(ctx->path)) in lecp_parse() 777 (size_t)(ctx->npos + 1)); in lecp_parse() 778 pst->ppos = (uint8_t)(pst->ppos + ctx->npos); in lecp_parse() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Path.cpp | 94 if (pos == StringRef::npos) in filename_pos() 98 if (pos == StringRef::npos || in filename_pos() 118 return StringRef::npos; in root_dir_start() 132 return StringRef::npos; in root_dir_start() 149 return StringRef::npos; in parent_path_end() 495 if (end_pos == StringRef::npos) 503 if (end_pos != StringRef::npos) 514 if (pos != StringRef::npos && pos >= filename_pos(p)) 581 if (pos == StringRef::npos) 594 if (pos == StringRef::npos) [all...] |
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
H A D | objectivec_helpers.cc | 290 if (last_slash == string::npos) { in PathSplit() 755 (val.find(".") != string::npos || val.find("e") != string::npos || in HandleExtremeFloatingPoint() 756 val.find("E") != string::npos)) { in HandleExtremeFloatingPoint() 1037 if (offset != StringPiece::npos) { in RemoveComment() 1058 if (offset == StringPiece::npos) { in ConsumeLine() 1415 if ((input_for_decode.find('\0') != string::npos) || in DecodeDataForString() 1416 (desired_output.find('\0') != string::npos)) { in DecodeDataForString() 1726 if (offset == StringPiece::npos) { in ConsumeLine() 1739 if (offset == StringPiece::npos) { in ConsumeLine() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/extend_resource/ |
H A D | extend_resource_manager_host_impl.cpp | 37 if (fileName.find("..") != std::string::npos in IsFileNameValid() 38 || fileName.find("/") != std::string::npos in IsFileNameValid() 39 || fileName.find("\\") != std::string::npos in IsFileNameValid() 40 || fileName.find("%") != std::string::npos) { in IsFileNameValid() 48 if (path.find("..") != std::string::npos) { in IsValidPath() 57 if (pos == std::string::npos) { in GetFileName()
|
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | fixed_string.h | 43 static constexpr size_type npos = string_view::npos; member in basic_fixed_string 226 constexpr size_type rfind(const CharT str, size_type pos = npos) const noexcept 231 constexpr size_type rfind(const string_view& str, size_type pos = npos) const noexcept 248 constexpr size_type find_last_of(const string_view& str, size_type pos = npos) const noexcept 253 constexpr size_type find_last_of(CharT ch, size_type pos = npos) const noexcept
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_uri_test.cpp | 84 if (slashIdx == std::string::npos) { in GetUriIdPrefix() 89 if (slashIdx == std::string::npos) { in GetUriIdPrefix() 103 if (index == string::npos) { in GetParamsFromUriTest() 110 if (index == string::npos) { in GetParamsFromUriTest() 115 if (tmpIdx == string::npos) { in GetParamsFromUriTest() 126 if (qIdx == string::npos) { in GetParamsFromUriTest()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
H A D | sta_auto_connect_service.cpp | 411 if (mgmt.find("WPA-PSK") != std::string::npos || mgmt.find("WPA2-PSK") != std::string::npos) { in RoamingEncryptionModeCheck() 413 } else if (mgmt.find("EAP") != std::string::npos) { in RoamingEncryptionModeCheck() 415 } else if (mgmt.find("SAE") != std::string::npos) { in RoamingEncryptionModeCheck() 418 if (mgmt.find("WEP") != std::string::npos && network.wepTxKeyIndex == 0) { in RoamingEncryptionModeCheck() 421 } else if (mgmt.find("WEP") == std::string::npos && network.wepTxKeyIndex != 0) { in RoamingEncryptionModeCheck()
|
/foundation/arkui/ace_engine/frameworks/core/components/grid_layout/ |
H A D | render_grid_layout.cpp | 410 if (rowsArgs_.empty() || rowsArgs_.find(UNIT_AUTO) == std::string::npos) { 432 if (colsArgs_.empty() || colsArgs_.find(UNIT_AUTO) == std::string::npos) { 454 if (args.empty() || args.find(UNIT_AUTO) == std::string::npos) { 488 (rowsArgs_.find(UNIT_PERCENT) != std::string::npos || rowsArgs_.find(UNIT_RATIO) != std::string::npos)) { 492 (colsArgs_.find(UNIT_PERCENT) != std::string::npos || colsArgs_.find(UNIT_RATIO) != std::string::npos)) { 570 if (str.find(UNIT_PIXEL) != std::string::npos) { 572 } else if (str.find(UNIT_PERCENT) != std::string::npos) { 574 } else if (str.find(UNIT_RATIO) != std::string::npos) { [all...] |
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | file_uri_helper_preview.cpp | 23 if (pos != std::string::npos) { in GetRealPath()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_state_machine.cpp | 1138 if (scanInfo.capabilities.find("PSK+SAE") != std::string::npos) { in ParseSecurityType() 1142 if (scanInfo.capabilities.find("WAPI-PSK") != std::string::npos) { in ParseSecurityType() 1146 if (scanInfo.capabilities.find("PSK") != std::string::npos) { in ParseSecurityType() 1150 if (scanInfo.capabilities.find("WEP") != std::string::npos) { in ParseSecurityType() 1154 if (scanInfo.capabilities.find("EAP-SUITE-B-192") != std::string::npos) { in ParseSecurityType() 1158 if (scanInfo.capabilities.find("EAP") != std::string::npos) { in ParseSecurityType() 1162 if (scanInfo.capabilities.find("SAE") != std::string::npos) { in ParseSecurityType() 1166 if (scanInfo.capabilities.find("OWE-TRANS-OPEN") != std::string::npos) { in ParseSecurityType() 1170 if (scanInfo.capabilities.find("OWE") != std::string::npos) { in ParseSecurityType() 1174 if (scanInfo.capabilities.find("CERT") != std::string::npos) { in ParseSecurityType() [all...] |
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksCacheBuilder.cpp | 105 if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2") != std::string::npos) in exportFilesForExternalCompiler() 111 else if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO") != std::string::npos) in exportFilesForExternalCompiler() 151 if (pipeline.pipelineContents.find("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO") != std::string::npos) in exportFilesForExternalCompiler() 276 else if (pipeline.pipelineContents.find("VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO") != std::string::npos) in exportFilesForExternalCompiler() 586 if (pipeline2.pipelineContents.find("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO") != std::string::npos) in buildPipelineCache() 588 else if (pipeline2.pipelineContents.find("VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO") != std::string::npos) in buildPipelineCache() 737 if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2") != std::string::npos) in buildPipelineCache() 745 else if (renderPass.second.find("VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO") != std::string::npos) in buildPipelineCache() 838 if (pipeline.pipelineContents.find("VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO") != std::string::npos) in buildPipelineCache() 883 else if (pipeline.pipelineContents.find("VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO") != std::string::npos) in buildPipelineCache() [all...] |