/test/xts/hats/hdf/camera/cameraHdi/pipeline_core/ |
H A D | pipeline_core_test.cpp | 61 RetCode re = RC_OK; in HWTEST_F() local 64 re = core->Init(); in HWTEST_F() 65 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 66 re = core->GetHostStreamMgr()->CreateHostStream({ in HWTEST_F() 70 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 73 re = s->Init(g_cameraId); in HWTEST_F() 74 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 75 re = s->CreatePipeline(0); in HWTEST_F() 76 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 81 RetCode re in HWTEST_F() local 101 RetCode re = RC_OK; HWTEST_F() local 125 RetCode re = RC_OK; HWTEST_F() local 152 RetCode re = RC_OK; HWTEST_F() local 176 RetCode re = RC_OK; HWTEST_F() local 200 RetCode re = RC_OK; HWTEST_F() local 215 RetCode re = RC_OK; HWTEST_F() local 234 RetCode re = RC_OK; HWTEST_F() local 262 RetCode re = RC_OK; HWTEST_F() local 290 RetCode re = RC_OK; HWTEST_F() local [all...] |
H A D | stream_pipeline_dispatcher_test.cpp | 75 RetCode re = d->Update(pipeline); in HWTEST_F() local 76 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 99 RetCode re = d->Update(pipeline); in HWTEST_F() local 100 EXPECT_TRUE(re == RC_OK); in HWTEST_F() 123 RetCode re = d->Update(pipeline); in HWTEST_F() local 124 EXPECT_TRUE(re == RC_OK); in HWTEST_F()
|
/test/testfwk/developer_test/local_coverage/keyword_registration/ |
H A D | keyword_filter.py | 20 import re namespace 122 source_code1 = re.findall(r'Cov.*">(.*?)</span></a>', html_tag) 123 source_code2 = re.findall(r'covupdate.*">(.*?)</span></a>', html_tag) 193 branch_line_list = re.findall(rf"> ([{key}]) </span>", tag_html) 205 condition_str_list = re.split(rf"\|\||&&", source_code) 353 branch_line_list = re.findall( 373 keyword_line_list = re.findall( 376 keyword_line_list = re.findall( 489 class_name_list = re.findall(r'\((.*?)\)', source_code) 494 function_name_list = re [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
H A D | c_parser_lite.py | 79 return re.match(r"[\s\S]*(Tests)[\s\S]*(Failures)[\s\S]*(Ignored)[\s\S]*", line) 82 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TEST_RUN_TAG), 86 return re.match("{}{}".format(self.pattern, _CTEST_SUITE_TIME_RUN_TAG), 90 _, message_index = re.match( 97 return re.match( 112 test_matcher = re.match(r".*(\d+ Tests).+", line) 114 re.match(r".*(Failures).*", line) 116 re.match(r".*(Ignored).*", line) 152 end_time = re.match(self.pattern, message).group().strip() 153 start_time = re [all...] |
H A D | cpp_parser.py | 85 if re.match(pattern, line.strip()): 87 elif re.match(r'(\d+) test[s]? from (.*)', message): 171 matcher = re.match(r'(.*) \((\d+) ms\)', message) 220 fake_marker = re.compile(" +").split(message) 225 matcher = re.match(r'Running (\d+) test[s]? from .*', message) 238 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 253 matcher = re.match(r'.*\((\d+) ms total\)', message) 263 matcher = re.match(r'.*\((\d+) ms total\)', message) 344 class_matcher = re.match('^([a-zA-Z]+.*)\\.$', line) 345 method_matcher = re [all...] |
H A D | cpp_parser_lite.py | 98 if re.match(pattern, line.strip()): 100 elif re.match(r'(\d+) test[s]? from (.*)', message): 178 matcher = re.match(r'(.*) \((\d+) ms\)(.*)', message) 221 fake_marker = re.compile(" +").split(message) 226 matcher = re.match(r'.* Running (\d+) test[s]? from .*', message) 238 matcher = re.match(r'(\d+) test[s]? from (.*)', message) 250 matcher = re.match(r'.*\((\d+) ms total\)', message) 261 matcher = re.match(r'.*\((\d+) ms total\)', message) 357 self.class_result = re.compile('^([a-zA-Z]+.*)\\.$').match(line) 361 self.method_result = re [all...] |
H A D | oh_kernel_parser.py | 59 line = re.sub('\x1b.*?m', '', line) 95 matcher = re.match(pattern, line) 107 matcher = re.match(pattern, line) 122 matcher = re.match(pattern, line) 153 matcher = re.match(pattern, line)
|
H A D | jsunit_parser_lite.py | 78 (year, re.match(self.pattern, message).group().strip()) 80 (year, re.match(self.pattern, 89 _, status_end_index = re.match(pattern, filter_message).span() 150 fake_marker = re.compile(" +").split(message) 156 if re.match(r".*\[suite start\].*", message): 157 _, index = re.match(r".*\[suite start\]", message).span()
|
H A D | oh_rust_parser.py | 53 matcher = re.match(self.running_pattern, line) 58 matcher = re.match(self.test_result_pattern, line) 64 matcher = re.match(self.test_pattern, line) 69 matcher = re.match(self.stout_pattern, line)
|
H A D | jsunit_parser.py | 85 (year, re.match(self.pattern, message).group().strip()) 87 (year, re.match(self.pattern, 96 match = re.match(pattern, filter_message) 170 fake_marker = re.compile(" +").split(message) 178 m_result = re.match(r".*\[suite start](.+), total cases: (\d+)", 187 if re.match(r".*\[suite start].*", message): 188 _, index = re.match(r".*\[suite start]", message).span()
|
/test/testfwk/developer_test/src/core/command/ |
H A D | distribute_utils.py | 22 import re
namespace 118 packet_lose = re.findall(r"\d+%", output)
130 isemulator = re.findall(r"read only", output)
136 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output)
139 ipaddress = re.findall(ip_template, output)
|
H A D | display.py | 184 please re-enter:") 193 please re-enter:")
|
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
H A D | distribute.py | 21 import re namespace 116 isemulator = re.findall(r"ranchu", output) 122 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 125 ipaddress = re.findall(ip_template, output) 138 isemulator = re.findall('readonly', str(output)) 144 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 147 ipaddress = re.findall(ip_template, output) 185 dev_nodeid_info = re.findall(r"Uuid = (.*?\r\n)", device_info) 199 dev_nodeid_info = re.findall(r"Uuid = (.*?\r\n)", device_info)
|
/test/xts/acts/pcs/pcs_py/ |
H A D | testRealRandomGenerate.py | 18 import re namespace 43 if not re.match(pattern, randomNumber): 45 assert re.match(pattern, randomNumber)
|
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/ |
H A D | ShmTest.cpp | 117 int re = shmdt(shared);
in HWTEST_F() local 118 ASSERT_NE(re, -1) << "> shmdt errno = " << errno;
in HWTEST_F() 120 re = shmctl(shmid, IPC_RMID, nullptr);
in HWTEST_F() 121 ASSERT_NE(re, -1) << "> shmctl errno = " << errno;
in HWTEST_F() 311 int re = shmdt(shared);
in HWTEST_F() local 312 EXPECT_NE(re, -1) << "> shmdt : errno = " << errno;
in HWTEST_F() 318 re = shmdt(sharedTmp);
in HWTEST_F() 319 EXPECT_NE(re, -1) << "> shmdt : errno = " << errno;
in HWTEST_F()
|
/test/testfwk/developer_test/libs/fuzzlib/tools/ |
H A D | run_result.py | 18 import re namespace 61 ansi_escape = re.compile(r''' 71 ''', re.VERBOSE)
|
/test/testfwk/arkxtest/testserver/src/service/ |
H A D | test_server_service.cpp | 128 ErrCode TestServerService::PublishCommonEvent(const EventFwk::CommonEventData &event, bool &re) in PublishCommonEvent() argument 132 re = false; in PublishCommonEvent() 134 re = true; in PublishCommonEvent() 135 int32_t ret = re ? TEST_SERVER_OK : TEST_SERVER_PUBLISH_EVENT_FAILED; in PublishCommonEvent()
|
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | PthreadBasicApiTest.cpp | 197 int re; in HWTEST_F() local 201 re = pthread_key_create(&keys[i], nullptr); in HWTEST_F() 202 if (re == EAGAIN) { in HWTEST_F() 203 LOG("pthread_key_create %d errno = %d", i, re); in HWTEST_F() 206 } else if (re != 0) { in HWTEST_F() 207 LOG("pthread_key_create %d errno = %d", i, re); in HWTEST_F() 219 re = pthread_key_delete(keys[i]); in HWTEST_F() 220 if (re != 0) { in HWTEST_F() 221 LOG("pthread_key_delete %d errno = %d", i, re); in HWTEST_F()
|
/test/testfwk/xdevice/plugins/devicetest/utils/ |
H A D | util.py | 23 import re namespace 182 if re.match(rex, version): 197 match = re.search(r'(\d+\.\d+\.\d+\.\d+)', version_str) 257 result = re.search(expect_text, text) 349 match = re.search(r'File "(.*?)", line \d+, in (.+)', stack_line)
|
/test/xts/acts/kernel_lite/utils/ |
H A D | mt_utils.cpp | 141 int re; in GetGlobalVariable() local 147 re = *shared; in GetGlobalVariable() 152 return re; in GetGlobalVariable()
|
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | mt_utils.cpp | 146 int re; in GetGlobalVariable() local 152 re = *shared; in GetGlobalVariable() 157 return re; in GetGlobalVariable()
|
/test/testfwk/developer_test/src/core/driver/ |
H A D | drivers.py | 21 import re namespace 313 elif re.search(r'Done (\b\d+\b) runs in (\b\d+\b) second', 314 error_message, re.M) is not None: 608 if re.match(pattern_sharp, str_content, flags=re.M): 609 striped_content = re.sub(pattern_sharp, '', str_content, flags=re.M) 610 elif re.findall(pattern_star, str_content, flags=re.S): 611 striped_content = re [all...] |
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | error.py | 19 import re namespace 56 if re.search(r'\[.*[a-zA-Z0-9]+].*(?:\[Suggestions].*)?', arg_str) is not None:
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
H A D | kit.py | 21 import re namespace 175 match = re.match(rex, self.sts_version) 244 files = re.split('->|=>', push_info) 263 regex = re.compile('^/data/*') 304 pattern = re.compile(r'^(\./)?resource/') 305 if re.match(pattern, file_path) is None: 307 file_path = re.sub(pattern, "", file_path) 346 if not os_type or not os_version or re.search(r'(AC|DC|HA|HI|SS)TS', test_type) is None: 646 prop_infos = re.split(r'[:|=]', prop) 979 regex = re [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | jsunit_driver.py | 20 import re namespace 216 if re.match(r'.*\[create report]*', data): 217 _, index = re.match(r'.*\[create report]*', data). \ 248 _, pos = re.match(".+\\[suites info]", line).span() 278 matcher = re.match(pattern, line.strip())
|