/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | FileCheck.cpp | 267 if (DefEnd != StringRef::npos) { in parseNumericSubstitutionBlock() 296 if (DefEnd != StringRef::npos) { in parseNumericSubstitutionBlock() 344 (PatternStr.size() < 2 || (PatternStr.find("{{") == StringRef::npos && in parsePattern() 345 PatternStr.find("[[") == StringRef::npos))) { in parsePattern() 367 if (End == StringRef::npos) { in parsePattern() 406 if (End == StringRef::npos) { in parsePattern() 431 if (SpacePos != StringRef::npos) { in parsePattern() 448 IsDefinition = (VarEndIdx != StringRef::npos); in parsePattern() 615 if (Pos == StringRef::npos) in match() 777 size_t Best = StringRef::npos; in printFuzzyMatch() [all...] |
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | test_result_recorder.cpp | 95 if (pos != std::string::npos) { in HandleRelativeFolder() 128 if (pos != std::string::npos) { in HandleAbsoluteFolder() 150 auto isAbsolute = outPath_.find(":") == std::string::npos; in Initialize() 158 if (pos != std::string::npos) { in Initialize() 165 bool isDir = resultPath.find(".json") == std::string::npos; in Initialize()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/ |
H A D | wifi_config_file_impl.h | 293 std::string::size_type npos = line.find("="); in ReadNetworkSection() local 294 if (npos == std::string::npos) { in ReadNetworkSection() 299 std::string key = line.substr(0, npos); in ReadNetworkSection() 300 std::string value = line.substr(npos + 1); in ReadNetworkSection()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_result_store_manager.cpp | 120 std::string::size_type npos = line.find("="); in ReadNetworkSection() local 121 if (npos == std::string::npos) { in ReadNetworkSection() 126 std::string key = line.substr(0, npos); in ReadNetworkSection() 127 std::string value = line.substr(npos + 1); in ReadNetworkSection()
|
/third_party/skia/tests/ |
H A D | SkStringViewTest.cpp | 162 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("abcdefg") == skstd::string_view::npos); in DEF_TEST() 165 REPORTER_ASSERT(r, skstd::string_view("").find("a") == skstd::string_view::npos); in DEF_TEST() 168 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("q") == skstd::string_view::npos); in DEF_TEST() 170 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("bcd", 2) == skstd::string_view::npos); in DEF_TEST() 171 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("bce") == skstd::string_view::npos); in DEF_TEST()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 81 while ((endPos = str.find_first_of(seps, startPos)) != std::string::npos) { in SplitString() 110 if (startPos == std::string::npos) { in StripString() 140 size_t pos = std::string::npos; in GetInstallPath() 150 if (pos == std::string::npos) { in GetInstallPath() 157 if (pos == std::string::npos) { in GetInstallPath() 423 if (end == std::string::npos || end == 0) { in MakeFilePath() 428 if (pos == std::string::npos) { in MakeFilePath()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_element.cpp | 276 if (info.pluginName.front() == '/' && pos != std::string::npos) { in GetPackagePath() 296 if (posAssets != std::string::npos) { in GetPackagePathByAbsolutePath() 299 if (posModule != std::string::npos) { in GetPackagePathByAbsolutePath() 347 if (info.pluginName.rfind(".js") != std::string::npos) { in GetModuleNameByWant() 353 if (strList[0].rfind(".js") != std::string::npos) { in GetModuleNameByWant() 452 for (size_t pos = str.find(pattern, 0); pos != std::string::npos; pos = str.find(pattern, pos + nSize)) { in ReplaceAll() 470 if (packagePathStr.rfind(".hap") != std::string::npos) { in RunPluginTask()
|
/third_party/libwebsockets/lib/jose/jwk/ |
H A D | jose_key.c | 326 if (ctx->npos == 3 && !strncmp(ctx->buf, "oct", 3)) { in cb_jwk() 333 if (ctx->npos == 3 && !strncmp(ctx->buf, "RSA", 3)) { in cb_jwk() 340 if (ctx->npos == 2 && !strncmp(ctx->buf, "EC", 2)) { in cb_jwk() 347 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in cb_jwk() 353 if (jps->pos + ctx->npos >= (int)sizeof(jps->b64)) in cb_jwk() 356 memcpy(jps->b64 + jps->pos, ctx->buf, ctx->npos); in cb_jwk() 357 jps->pos += ctx->npos; in cb_jwk()
|
/foundation/distributeddatamgr/preferences/test/ndk/unittest/ |
H A D | preferences_test_utils.cpp | 33 if (pos == std::string::npos || path.front() != '/') { in CreateDirectoryRecursively() 42 while (pos != std::string::npos) { in CreateDirectoryRecursively()
|
/third_party/gn/src/base/strings/ |
H A D | utf_offset_string_conversions.h | 35 // set to std::u16string::npos. 43 // it will be set to std::u16string::npos. 46 size_t limit = std::u16string::npos); 52 size_t limit = std::u16string::npos); 60 // std::u16string::npos. 100 // input string will be set to std::u16string::npos. See comments by
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | StringExtras.cpp | 20 /// the offset of s2 in s1 or npos if s2 cannot be found. 24 return StringRef::npos; in StrInStrNoCase() 28 return StringRef::npos; in StrInStrNoCase()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | match.h | 48 return haystack.find(needle, 0) != haystack.npos; 52 return haystack.find(needle) != haystack.npos;
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_manager/ |
H A D | media_library_manager.cpp | 132 if (uri.find(uriKey) != string::npos) { in UriAppendKeyValue() 135 char queryMark = (uri.find('?') == string::npos) ? '?' : '&'; in UriAppendKeyValue() 138 if (posJ == string::npos) { in UriAppendKeyValue() 192 if (uri.find("..") != string::npos) { in CheckUri() 201 if (uri.find("..") != string::npos) { in CheckPhotoUri() 354 if (pos == string::npos) { in SolvePath() 413 if (pos == string::npos) { in GetFilePathFromUri() 441 if (pos == string::npos) { in GetUriFromFilePath() 503 if (thmIdx == std::string::npos) { in GetFdFromSandbox() 551 if (slashIdx == std::string::npos) { in GetUriIdPrefix() [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/appmgr_test_service/src/ |
H A D | appmgr_test_service.cpp | 110 if (std::string::npos != abilityinfo.name.find("BlockActive")) { in ScheduleAbilityTransaction() 115 if (std::string::npos != abilityinfo.name.find("BlockInActive")) { in ScheduleAbilityTransaction() 150 if (std::string::npos == abilityinfo.name.find("Block")) { in ScheduleDisconnectAbilityTransaction()
|
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/ |
H A D | web_resource.cpp | 75 if (pos != std::string::npos) { in GetDoubleParam() 91 if (pos != std::string::npos) { in GetIntParam() 175 if (pos != std::string::npos) { in GetStringParam()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/ |
H A D | xcomponent_resource.cpp | 73 if (pos != std::string::npos) { in GetDoubleParam() 89 if (pos != std::string::npos) { in GetIntParam() 176 if (pos != std::string::npos) { in GetStringParam()
|
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
H A D | rich_text_resource.cpp | 76 if (pos != std::string::npos) { in GetDoubleParam() 92 if (pos != std::string::npos) { in GetIntParam() 181 if (pos != std::string::npos) { in GetStringParam()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/ |
H A D | web_resource.cpp | 67 if (pos != std::string::npos) { in GetDoubleParam() 83 if (pos != std::string::npos) { in GetIntParam() 167 if (pos != std::string::npos) { in GetStringParam()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_file_utils.cpp | 179 rootDir.find("..") != std::string::npos) { in IsValidPath() 182 if (path.find("..") != std::string::npos) { in IsValidPath() 191 if (pos == std::string::npos) { in GetPathDir()
|
/foundation/bundlemanager/ecological_rule_manager/interfaces/innerkits/src/ |
H A D | ecological_rule_mgr_service_client.cpp | 106 if (callerInfo.packageName.find_first_not_of(' ') == std::string::npos) { in QueryFreeInstallExperience() 140 if (callerInfo.packageName.find_first_not_of(' ') == std::string::npos) { in QueryStartExperience() 162 if (callerInfo.packageName.find_first_not_of(' ') == std::string::npos) { in IsSupportPublishForm()
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ |
H A D | widget_adapter.cpp | 127 if (index != std::string::npos && index != (strSize - 1)) { in UpdateShaderPath() 130 if (suffixIndex != std::string::npos) { in UpdateShaderPath() 133 tempPath = (dirIndex != std::string::npos) ? tempPath.substr(0, dirIndex) : tempPath; in UpdateShaderPath()
|
/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | general_device.cpp | 116 if (spos != std::string::npos) { in GetInputDeviceNodes() 119 if (tpos != std::string::npos) { in GetInputDeviceNodes() 125 if (spos != std::string::npos) { in GetInputDeviceNodes()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | dualfwk_conf_loader.cpp | 63 if (positionOfTag == std::string::npos) { in GetSound() 67 if (positionOfQuote == std::string::npos) { in GetSound() 91 if (pos == std::string::npos) { in ParseBackupFile()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/ |
H A D | cgroup_controller.cpp | 125 if (startPos == std::string::npos) { in GetTaskGroup() 130 if (endPos == std::string::npos) { in GetTaskGroup() 131 subgroup = content.substr(startPos, std::string::npos); in GetTaskGroup()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | cleanpatch | 30 my $npos = ($pos+$nsp+8) & ~7; 31 my $ntab = ($npos >> 3) - ($pos >> 3); 33 $pos = $npos;
|