Home
last modified time | relevance | path

Searched refs:npos (Results 1 - 25 of 48) sorted by relevance

12

/test/testfwk/arkxtest/uitest/test/
H A Dui_model_test.cpp79 ASSERT_TRUE(str0.find(ATTR_TEXT) != string::npos); in TEST()
80 ASSERT_TRUE(str0.find("wyz") != string::npos); in TEST()
81 ASSERT_TRUE(str0.find(ATTR_ID) != string::npos); in TEST()
82 ASSERT_TRUE(str0.find("100") != string::npos); in TEST()
87 ASSERT_TRUE(str0.find(ATTR_TEXT) != string::npos); in TEST()
88 ASSERT_TRUE(str0.find("wyz") != string::npos); in TEST()
89 ASSERT_TRUE(str0.find(ATTR_ID) != string::npos); in TEST()
90 ASSERT_TRUE(str0.find("211") != string::npos); in TEST()
91 ASSERT_TRUE(str0.find("100") == string::npos); in TEST()
H A Dfrontend_api_handler_test.cpp83 ASSERT_TRUE(reply.exception_.message_.find("No handler found") != string::npos); in TEST_F()
141 ASSERT_TRUE(reply.exception_.message_.find("json.exception.out_of_range") != string::npos); in TEST_F()
218 ASSERT_TRUE(ref0.find("By#") != string::npos); in TEST_F()
228 ASSERT_TRUE(ref1.find("By#") != string::npos); in TEST_F()
238 ASSERT_TRUE(ref2.find("UiDriver#") != string::npos); in TEST_F()
248 ASSERT_TRUE(ref3.find("By#") != string::npos); in TEST_F()
258 ASSERT_TRUE(ref4.find("By#") != string::npos); in TEST_F()
275 ASSERT_TRUE(ref0.find("On#") != string::npos); in TEST_F()
286 ASSERT_TRUE(ref1.find("On#") != string::npos); in TEST_F()
296 ASSERT_TRUE(ref2.find("Driver#") != string::npos); in TEST_F()
[all...]
H A Dipc_transactor_test.cpp114 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST_P()
164 ASSERT_TRUE(result.exception_.message_.find("ipc connection is dead") != string::npos); in TEST()
170 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
223 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
270 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
304 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
/test/xts/acts/hiviewdfx/utils/native/
H A Dfile_utils.cpp43 if ((cmd.find("hilog") == std::string::npos) && (cmd.find("hidumper") == std::string::npos) in ExecCmdWithRet()
44 && (cmd.find("ps") == std::string::npos) && (cmd.find("rm") == std::string::npos) && in ExecCmdWithRet()
45 (cmd.find("hiperf") == std::string::npos) && (cmd.find("hisysevent") == std::string::npos) && in ExecCmdWithRet()
46 (cmd.find("mkdir") == std::string::npos) && (cmd.find("dd") == std::string::npos)) { in ExecCmdWithRet()
/kernel/linux/linux-6.6/tools/lib/api/fd/
H A Darray.c94 int npos; in fdarray__dup_entry_from() local
101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from()
102 if (npos >= 0) in fdarray__dup_entry_from()
103 fda->priv[npos] = from->priv[pos]; in fdarray__dup_entry_from()
105 return npos; in fdarray__dup_entry_from()
/applications/standard/contacts_data/ability/common/utils/src/
H A Dsql_analyzer.cpp62 if (found == std::string::npos) { in CharCheck()
70 if (found == std::string::npos) { in CharCheck()
78 if (found == std::string::npos) { in CharCheck()
96 if (found == std::string::npos) { in StrCheck()
H A Dcontacts_string_utils.cpp34 if (found != std::string::npos) { in SplitStr()
35 while (found != std::string::npos) { in SplitStr()
/kernel/linux/linux-5.10/scripts/
H A Dcleanfile30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
H A Dcleanpatch30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
/kernel/linux/linux-6.6/scripts/
H A Dcleanfile30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
H A Dcleanpatch30 my $npos = ($pos+$nsp+8) & ~7;
31 my $ntab = ($npos >> 3) - ($pos >> 3);
33 $pos = $npos;
/test/testfwk/arkxtest/uitest/core/
H A Dui_model.cpp92 return attrValue.find(value) != std::string_view::npos; in MatchAttr()
140 if (hierarchy.find(HIERARCHY_SEPARATOR) == std::string::npos) { in GetParentWidgetHierarchy()
150 if (findLastSeparator <= 0 || findLastSeparator == string::npos) { in GetParentWidgetHierarchy()
H A Ddump_handler.cpp33 if (begin != string::npos) { in GetMiddleStr()
36 if (end != string::npos) { in GetMiddleStr()
49 if (visibleHie.find(hie) != string::npos) { in HasVisibleChild()
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_cfg.cpp53 if (position == std::string::npos) { in OpenCfg()
83 if (posend == std::string::npos) { in GetValueInString()
90 if (posend != std::string::npos) { in GetValueInString()
/test/xts/acts/multimedia/av_codec/audio_decoder/src/
H A Davcodec_audio_avbuffer_decoder_demo.cpp103 while (index != string::npos) { in SplitStringFully()
107 if (start == string::npos) { in SplitStringFully()
124 while ((pos = strBig.find(strsrc, pos)) != std::string::npos) { in StringReplace()
269 if (inputFile.find("mp4") != std::string::npos || inputFile.find("m4a") != std::string::npos || in InitFile()
270 inputFile.find("ts") != std::string::npos) { in InitFile()
272 } else if (inputFile.find("opus") != std::string::npos) { in InitFile()
277 } else if (inputFile.find("g711") != std::string::npos) { in InitFile()
281 } else if (inputFile.find("amrwb") != std::string::npos) { in InitFile()
283 } else if (inputFile.find("amrnb") != std::string::npos) { in InitFile()
[all...]
/test/ostest/wukong/test/unittest/
H A Dwukong_test.cpp69 if ((strOne != result.npos) && (strTwo != result.npos)) { in HWTEST_F()
/test/xts/hats/powermgr/power/hdi_power_additional/common/
H A Dhdi_power_test.cpp1258 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock001 failed unLock: " << unLockValue; in HWTEST_F()
1285 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock002 failed unLock: " << unLockValue; in HWTEST_F()
1312 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock003 failed unLock: " << unLockValue; in HWTEST_F()
1339 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock004 failed unLock: " << unLockValue; in HWTEST_F()
1366 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock005 failed unLock: " << unLockValue; in HWTEST_F()
1393 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock006 failed unLock: " << unLockValue; in HWTEST_F()
1423 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock007 failed unLock: " << unLockValue; in HWTEST_F()
1453 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock008 failed unLock: " << unLockValue; in HWTEST_F()
1483 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock009 failed unLock: " << unLockValue; in HWTEST_F()
1513 EXPECT_TRUE(pos != std::string::npos) << "testSuspendUnblock01 in HWTEST_F()
[all...]
/applications/standard/contacts_data/dataBusiness/contacts/src/
H A Dcontacts_datashare_stub_impl.cpp73 if (path.find("com.ohos.contactsdataability") != std::string::npos) { in GetOwner()
76 if (path.find("com.ohos.calllogability") != std::string::npos) { in GetOwner()
79 if (path.find("com.ohos.voicemailability") != std::string::npos) { in GetOwner()
/test/xts/acts/multimedia/av_codec/audio_encoder/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()
/applications/standard/contacts_data/ability/common/utils/include/
H A Dsql_analyzer.h60 if (pos == std::string::npos) { in IsInStr()
/test/ostest/wukong/component_event/src/
H A Dwukong_tree.cpp64 while (pos != std::string::npos) { in GetClearnAbility()
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/
H A Djsvmtest.cpp71 if (name.find("/") != std::string::npos) { in main()
/test/ostest/wukong/report/src/
H A Dreport.cpp500 if (exceptionFilename.find("cppcrash") != std::string::npos) { in ExceptionRecord()
504 if (exceptionFilename.find("appfreeze") != std::string::npos) { in ExceptionRecord()
508 if (exceptionFilename.find("jscrash") != std::string::npos) { in ExceptionRecord()
512 if (exceptionFilename.find("serviceblock") != std::string::npos) { in ExceptionRecord()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance_two/entry/src/main/cpp/
H A Dhello.cpp74 if (reType == SERVICE_WORKER || frameUrl1.find("iqiyi.com") != std::string::npos) { in OnURLRequestStart()
79 if (url1.find("schemeHandler_loader") != std::string::npos && frameUrl1 == "") { in OnURLRequestStart()
84 if (frameUrl1.find("sdkSchemeHandler") != std::string::npos) { in OnURLRequestStart()
/test/xts/hats/powermgr/power/hdi_power/common/
H A Dhdi_power_test.cpp270 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest003 failed state: " << state; in HWTEST_F()
320 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest006 failed lock: " << lock;
348 EXPECT_TRUE(pos != std::string::npos) << "HdfPowerHdiTest007 failed unLock: " << unLock;

Completed in 14 milliseconds

12