Home
last modified time | relevance | path

Searched refs:npos (Results 151 - 175 of 1616) sorted by relevance

12345678910>>...65

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileCheck.cpp267 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 Dtest_result_recorder.cpp95 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 Dwifi_config_file_impl.h293 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 Ddhcp_result_store_manager.cpp120 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 DSkStringViewTest.cpp162 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 Dfile_path_utils.cpp81 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 Dplugin_element.cpp276 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 Djose_key.c326 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 Dpreferences_test_utils.cpp33 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 Dutf_offset_string_conversions.h35 // 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 DStringExtras.cpp20 /// 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 Dmatch.h48 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 Dmedia_library_manager.cpp132 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 Dappmgr_test_service.cpp110 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 Dweb_resource.cpp75 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 Dxcomponent_resource.cpp73 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 Drich_text_resource.cpp76 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 Dweb_resource.cpp67 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 Dbundle_file_utils.cpp179 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 Decological_rule_mgr_service_client.cpp106 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 Dwidget_adapter.cpp127 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 Dgeneral_device.cpp116 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 Ddualfwk_conf_loader.cpp63 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 Dcgroup_controller.cpp125 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 Dcleanpatch30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;

Completed in 14 milliseconds

12345678910>>...65