Home
last modified time | relevance | path

Searched refs:re (Results 1 - 25 of 1193) sorted by relevance

12345678910>>...48

/test/xts/hats/hdf/camera/cameraHdi/pipeline_core/
H A Dpipeline_core_test.cpp61 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 Dstream_pipeline_dispatcher_test.cpp75 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 Dkeyword_filter.py20 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 Dc_parser_lite.py79 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 Dcpp_parser.py85 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 Dcpp_parser_lite.py98 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 Doh_kernel_parser.py59 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 Djsunit_parser_lite.py78 (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 Doh_rust_parser.py53 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 Djsunit_parser.py85 (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 Ddistribute_utils.py22 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 Ddisplay.py184 please re-enter:")
193 please re-enter:")
/test/testfwk/developer_test/aw/python/distributed/distribute/
H A Ddistribute.py21 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 DtestRealRandomGenerate.py18 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 DShmTest.cpp117 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 Drun_result.py18 import re namespace
61 ansi_escape = re.compile(r'''
71 ''', re.VERBOSE)
/test/testfwk/arkxtest/testserver/src/service/
H A Dtest_server_service.cpp128 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 DPthreadBasicApiTest.cpp197 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 Dutil.py23 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 Dmt_utils.cpp141 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 Dmt_utils.cpp146 int re; in GetGlobalVariable() local
152 re = *shared; in GetGlobalVariable()
157 return re; in GetGlobalVariable()
/test/testfwk/developer_test/src/core/driver/
H A Ddrivers.py21 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 Derror.py19 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 Dkit.py21 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 Djsunit_driver.py20 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())

Completed in 15 milliseconds

12345678910>>...48