Home
last modified time | relevance | path

Searched refs:npos (Results 1 - 25 of 36) 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()
H A Dwidget_selector_test.cpp568 ASSERT_TRUE(pos0 != string::npos && pos0 > 0); in TEST_F()
569 ASSERT_TRUE(pos1 != string::npos && pos1 > pos0); in TEST_F()
570 ASSERT_TRUE(pos2 != string::npos && pos2 > pos1); in TEST_F()
571 ASSERT_TRUE(pos3 != string::npos && pos3 > pos2); in TEST_F()
572 ASSERT_TRUE(pos4 != string::npos && pos4 > pos3); in TEST_F()
573 ASSERT_TRUE(pos5 != string::npos && pos5 > pos4); in TEST_F()
/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()
/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/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...]
/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()
H A Dcommon_utilities_hpp.h74 if (pos == std::string_view::npos) { in GenLogTag()
/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()
H A Ddistributed_major.cpp66 if (posend != std::string::npos) { in Init()
76 } while (posend != std::string::npos); in Init()
/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()
/test/ostest/wukong/test/unittest/
H A Dwukong_test.cpp69 if ((strOne != result.npos) && (strTwo != result.npos)) { in HWTEST_F()
/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;
/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/testfwk/developer_test/aw/cxx/distributed/utils/
H A Dcsv_transform_xml.h124 while (std::string::npos != pos2) { in SplitString()
/test/xts/hats/kernel/prctl/
H A DPrctlApiTest.cpp84 if (found == s.npos) in str_split()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis_enhance/entry/src/main/cpp/
H A Drawfile_request.cpp95 if (position != std::string::npos) { in Start()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_three_napis/entry/src/main/cpp/
H A Drawfile_request.cpp98 if (position != std::string::npos) { in Start()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_napis/entry/src/main/cpp/
H A Dtest_request.cpp155 if (position != std::string::npos) { in Start()
157 OH_LOG_INFO(LOG_APP, "OH_ArkWebResourceRequest_GetMethod position != std::string::npos %{public}s", urlStr.c_str()); in Start()
/test/xts/acts/arkui/ace_ets_web_scheme_handler_two_napis/entry/src/main/cpp/
H A Drawfile_request.cpp93 if (position != std::string::npos) { in Start()

Completed in 20 milliseconds

12