/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderStorageBlockOutputHLSL.cpp | 156 while (pos != std::string::npos) in StripArrayIndices() 159 ASSERT(closePos != std::string::npos); in StripArrayIndices() 163 ASSERT(name.find(']') == std::string::npos); in StripArrayIndices()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcLayoutLocationTests.cpp | 367 m_isImageCase = (type.find("sampler") == std::string::npos); in SpecifiedLocationCase() 373 if (type.find("iimage") != std::string::npos) in SpecifiedLocationCase() 378 else if (type.find("uimage") != std::string::npos) in SpecifiedLocationCase()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | span.h | 185 static const size_type npos = ~(size_type(0)); member in absl::Span 388 // will be trimmed to at most size() - `pos`. A default `len` value of `npos` 399 constexpr Span subspan(size_type pos = 0, size_type len = npos) const { in subspan() 452 const typename Span<T>::size_type Span<T>::npos; member in absl::Span
|
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test_basic.cpp | 428 EXPECT_EQ(newDirUriTest1.ToString().find("测试目录"), std::string::npos); in HWTEST_F() 432 EXPECT_EQ(newFileUri.ToString().find("打开文件.txt"), std::string::npos); in HWTEST_F() 717 EXPECT_EQ(newDirUriTest.ToString().find("测试目录"), std::string::npos); in HWTEST_F() 721 EXPECT_EQ(newFileUri.ToString().find("删除文件.txt"), std::string::npos); in HWTEST_F() 1382 EXPECT_EQ(newDirUriTest1.ToString().find("测试目录1"), std::string::npos); in HWTEST_F() 1385 EXPECT_EQ(newDirUriTest2.ToString().find("测试目录2"), std::string::npos); in HWTEST_F() 1389 EXPECT_EQ(testUri.ToString().find("移动文件.txt"), std::string::npos); in HWTEST_F() 1430 EXPECT_EQ(newDirUriTest1.ToString().find("移动目录"), std::string::npos); in HWTEST_F()
|
H A D | external_file_access_test_info.cpp | 182 EXPECT_EQ(newDirUriTest.ToString().find("访问目录"), std::string::npos); in HWTEST_F() 186 EXPECT_EQ(newFileUri.ToString().find("访问文件.txt"), std::string::npos); in HWTEST_F() 464 EXPECT_EQ(newDirUriTest.ToString().find("测试目录"), std::string::npos); in HWTEST_F() 513 EXPECT_EQ(newDirUriTest.ToString().find("测试目录1"), std::string::npos); in HWTEST_F() 517 EXPECT_EQ(newFileUri.ToString().find("测试文件1.txt"), std::string::npos); in HWTEST_F() 797 EXPECT_EQ(newDirUriTest.ToString().find("新建目录"), std::string::npos); in HWTEST_F() 1270 EXPECT_EQ(newDirUriTest1.ToString().find(displayName), std::string::npos); in HWTEST_F() 1273 EXPECT_EQ(newDirUriTest2.ToString().find("查询目录2"), std::string::npos); in HWTEST_F() 1279 EXPECT_EQ(newFileUri1.ToString().find(fileName), std::string::npos); in HWTEST_F() 1282 EXPECT_EQ(newFileUri2.ToString().find(fileName), std::string::npos); in HWTEST_F() [all...] |
/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/ |
H A D | paste_service_test.cpp | 1250 EXPECT_TRUE(result.find("CrossDevice") != std::string::npos); in HWTEST_F() 1251 EXPECT_TRUE(result.find("remote") != std::string::npos); in HWTEST_F() 1273 EXPECT_TRUE(result.find("LocalDevice") != std::string::npos); in HWTEST_F() 1274 EXPECT_TRUE(result.find("local") != std::string::npos); in HWTEST_F() 1296 EXPECT_TRUE(result.find("InAPP") != std::string::npos); in HWTEST_F() 1297 EXPECT_TRUE(result.find("local") != std::string::npos); in HWTEST_F() 1315 EXPECT_EQ(result.find("Share"), std::string::npos); in HWTEST_F() 1316 EXPECT_EQ(result.find("Option"), std::string::npos); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 299 if (pos != std::string::npos) { in ExtractFiles() 517 if (targetName.find(ServiceConstants::PATH_SEPARATOR) != std::string::npos) { in ExtractTargetFile() 649 if (pos == std::string::npos) { in GetPathDir() 731 rootDir.find("..") != std::string::npos) { in IsValidPath() 734 if (path.find("..") != std::string::npos) { in IsValidPath() 1271 (currentName.find(ServiceConstants::QUICK_FIX_FILE_SUFFIX) != std::string::npos)) { in ObtainQuickFixFileDir() 1697 if ((pos == std::string::npos) || (pos == destinedDir.length() -1)) { in CopyDriverSoFiles() 1769 if (pos == std::string::npos) { in ExtractSoFilesToTmpHapPath() 1834 if (pos == std::string::npos) { in ExtractSoFilesToTmpSoPath() 2080 if ((pos != std::string::npos) in GetAtomicServiceBundleDataDir() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | renderergl_utils.cpp | 60 if (pos == std::string::npos) in IsMesa() 210 if (nativeVendorString.find("NVIDIA") != std::string::npos) in GetVendorID() 214 else if (nativeVendorString.find("ATI") != std::string::npos || in GetVendorID() 215 nativeVendorString.find("AMD") != std::string::npos || in GetVendorID() 216 nativeVendorString.find("Radeon") != std::string::npos) in GetVendorID() 220 else if (nativeVendorString.find("Qualcomm") != std::string::npos) in GetVendorID() 224 else if (nativeVendorString.find("Intel") != std::string::npos) in GetVendorID() 228 else if (nativeVendorString.find("Imagination") != std::string::npos) in GetVendorID() 232 else if (nativeVendorString.find("Vivante") != std::string::npos) in GetVendorID() 253 if (nativeRendererString.find(knownDeviceID.first) != std::string::npos) in GetDeviceID() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/ |
H A D | local_call_container_ut_test.cpp | 493 EXPECT_TRUE(idx != string::npos); in HWTEST_F() 515 EXPECT_FALSE(idx != string::npos); in HWTEST_F() 522 EXPECT_TRUE(idx != string::npos); in HWTEST_F() 543 EXPECT_FALSE(idx != string::npos); in HWTEST_F() 551 EXPECT_TRUE(idx != string::npos); in HWTEST_F()
|
/foundation/ability/ability_runtime/services/uripermmgr/src/ |
H A D | uri_permission_manager_stub_impl.cpp | 88 if (iPos == std::string::npos) { in VerifySubDirUriPermission() 114 if ((iPos == std::string::npos) || (cPos == std::string::npos)) { in IsDistributedSubDirUri() 460 if (authority != "docs" || uriStr.find(CLOUND_DOCS_URI_MARK) != std::string::npos) { in GrantBatchUriPermissionFor2In1Privileged() 743 if (authority == "docs" && uri.ToString().find(CLOUND_DOCS_URI_MARK) == std::string::npos) { in GrantUriPermissionFor2In1Inner()
|
/third_party/libwebsockets/lib/jose/jws/ |
H A D | jws.c | 97 if (*args->temp_len < ctx->npos) { in lws_jws_json_cb() 113 memcpy(args->temp, ctx->buf, ctx->npos); in lws_jws_json_cb() 114 args->temp += ctx->npos; in lws_jws_json_cb() 115 *args->temp_len -= ctx->npos; in lws_jws_json_cb() 116 args->jws->map_b64.len[m] += ctx->npos; in lws_jws_json_cb()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureGatherTests.cpp | 484 GLenum tex_type = Type().find('u') != std::string::npos ? GL_UNSIGNED_INT : GL_INT; in CreateTexture2DInt() 515 GLenum tex_type = Type().find('u') != std::string::npos ? GL_UNSIGNED_INT : GL_INT; in CreateTexture2DArrayInt() 584 GLenum tex_type = Type().find('u') != std::string::npos ? GL_UNSIGNED_INT : GL_INT; in CreateTextureCubeInt() 790 if (Type().find('u') != std::string::npos || Type().find('i') != std::string::npos) in TextBody()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | rosen_render_offscreen_canvas.cpp | 690 if (tmp != std::string::npos) { in DrawImage() 2720 if (index == std::string::npos) { in UpdateTextStyleForeground() 2726 if (endeIndex == std::string::npos) { in UpdateTextStyleForeground() 2735 if (percent.find("%") != std::string::npos) { in UpdateTextStyleForeground() 2747 if (index != std::string::npos) { in UpdateTextStyleForeground() 2760 size_t demIndex = std::string::npos; in UpdateTextStyleForeground() 2761 if (index != std::string::npos) { in UpdateTextStyleForeground() 2764 if (index1 != std::string::npos) { in UpdateTextStyleForeground() 2767 if (demIndex != std::string::npos) { in UpdateTextStyleForeground() 2772 if (str.find("rem") != std::string::npos) { in UpdateTextStyleForeground() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_self_cure/ |
H A D | self_cure_state_machine.cpp | 2196 std::string::size_type npos = currBssid.find(":"); in ParseWifiCategoryBlackListInfo() local 2197 if (npos != std::string::npos) { in ParseWifiCategoryBlackListInfo() 2198 std::string value = currBssid.substr(0, npos); in ParseWifiCategoryBlackListInfo() 2200 currBssid = currBssid.substr(npos + 1); in ParseWifiCategoryBlackListInfo() 2305 while ((pos = addr.find('.')) != std::string::npos) { in TransIpAddressToVec() 2497 while ((pos = str.find(c)) != std::string::npos) { in TransStrToVec() 2523 return scanInfoKeymgmt.find("PSK") != std::string::npos; in IsSameEncryptType() 2525 return scanInfoKeymgmt.find("EAP") != std::string::npos; in IsSameEncryptType() 2527 return scanInfoKeymgmt.find("SAE") != std::string::npos; in IsSameEncryptType() [all...] |
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | extension_plugin_info.cpp | 159 if (position == std::string::npos) { in CheckFileType()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/src/ |
H A D | utils.cpp | 57 while (endPos != std::string::npos) { in SplitString()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/dialog_session/ |
H A D | dialog_session_info.cpp | 66 while (std::string::npos != posRight) { in Split()
|
/foundation/ability/ability_runtime/test/moduletest/module_test_dump_util/ |
H A D | module_test_dump_util.cpp | 80 return string::npos != value.find(matchStr); in GetSpecific()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/src/ |
H A D | utils.cpp | 57 while (endPos != std::string::npos) {
in SplitString()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/ |
H A D | cj_animator.cpp | 61 if (leftEmbracePosition == std::string::npos) { in ParseOptionToMotion()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_camera.cpp | 148 if (pos == std::string::npos || (pos + strLen) >= len) { in GetRecorderParam()
|
/foundation/arkui/ace_engine/frameworks/component_test/core/ |
H A D | component_test_matcher_impl.cpp | 53 return componentText.find(text) != std::string::npos; in SetText()
|
/foundation/bundlemanager/app_domain_verify/frameworks/common/src/config/ |
H A D | white_list_config_mgr.cpp | 77 while ((pos = src.find(SPLITOR)) != std::string::npos) { in Split()
|
/foundation/bundlemanager/bundle_framework/services/test/moduletest/utils/src/ |
H A D | common_tool.cpp | 136 if (index != std::string::npos) { in GetPid()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/ |
H A D | router_map_helper.cpp | 53 if (lastAmpersandPos == std::string::npos) { in ExtractVersionFromOhmurl()
|