Home
last modified time | relevance | path

Searched refs:npos (Results 276 - 300 of 1616) sorted by relevance

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

/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dstatus.h86 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 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/node/deps/v8/src/extensions/
H A Dvtunedomain-support-extension.cc30 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 Dsfn_test_shaders.cpp3089 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 Dgles_conformance_tests.cpp39 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 DStringView.h28 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 DGlobPattern.cpp22 return S.find_first_of("?*[\\") != StringRef::npos; in hasWildcard()
81 if (End == StringRef::npos) in scan()
H A DPath.cpp102 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 DARMTargetParser.cpp272 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 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/protobuf/src/google/protobuf/compiler/python/
H A Dpython_plugin_unittest.cc150 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 Davcodec_audio_avbuffer_encoder_demo.cpp87 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 Dsoftbus_channel_adapter.cpp177 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 Dethernet_configuration.cpp485 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 Dlecp.c454 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 DPath.cpp94 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 Dobjectivec_helpers.cc290 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 Dextend_resource_manager_host_impl.cpp37 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 Dfixed_string.h43 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 Dmedia_file_uri_test.cpp84 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 Dsta_auto_connect_service.cpp411 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 Drender_grid_layout.cpp410 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 Dfile_uri_helper_preview.cpp23 if (pos != std::string::npos) { in GetRealPath()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
H A Dscan_state_machine.cpp1138 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 DvksCacheBuilder.cpp105 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...]

Completed in 24 milliseconds

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