Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 45) sorted by relevance

12

/openthread-2.7.6/tools/otci/otci/
Dutils.py36 match = expect_line.match(line)
38 match = (line == expect_line)
40 match = any(match_line(line, x) for x in expect_line)
42 return match
Dotci.py209 m = OTCI._PING_STATISTICS_PATTERN.match(line)
740 ip, port = re.match(OTCI._IPV6_SERVER_PORT_PATTERN, v).groups()
829 m = re.match(
1018 m = re.match(OTCI._SRP_CLIENT_HOST_PATTERN, line)
1064 m = OTCI._SRP_CLIENT_SERVICE_PATTERN.match(line)
1114 ip, port = re.match(OTCI._IPV6_SERVER_PORT_PATTERN, result).groups()
1325 cfg['timeout'] = int(OTCI._CSL_TIMEOUT_PATTERN.match(v).group(1))
1327 cfg['period'] = int(OTCI._CSL_PERIOD_PATTERN.match(v).group(1))
Dcommand_handlers.py191 if not OtCliCommandRunner.__PATTERN_LOG_LINE.match(line):
/openthread-2.7.6/tools/harness-automation/cases/
Dleader_5_5_1.py45 match = re.search(r'(?<=Leader Timeout\[)\d+(?= Seconds\])', body)
46 if match:
47 timeout = int(match.group(0)) / 2
/openthread-2.7.6/tools/harness-automation/cases_R140/
Dleader_5_5_1.py45 match = re.search(r'(?<=Leader Timeout\[)\d+(?= Seconds\])', body)
46 if match:
47 timeout = int(match.group(0)) / 2
/openthread-2.7.6/third_party/mbedtls/repo/tests/scripts/
Dgenerate_test_code.py390 if not re.match(CONDITION_REGEX, dependency, re.I):
419 match = re.search(DEPENDENCY_REGEX, line.strip())
420 if match:
422 dependencies = parse_dependencies(match.group('dependencies'))
446 match = re.search(BEGIN_CASE_REGEX, line)
447 dep_str = match.group('depends_on')
449 match = re.search(DEPENDENCY_REGEX, dep_str)
450 if match:
451 dependencies += parse_dependencies(match.group('dependencies'))
551 match = re.match(TEST_FUNCTION_VALIDATION_REGEX,
[all …]
Dmbedtls_test.py103 match = re.search('depends_on:(.*)', line)
104 if match:
105 dependencies = [int(x) for x in match.group(1).split(':')]
Dcheck_test_cases.py107 m = re.match(br'\s*run_test\s+"((?:[^\\"]|\\.)*)"', line)
Dtest_psa_constant_names.py233 m = re.match(self._header_line_re, line)
293 m = re.match(self._test_case_line_re, line)
Dcheck_files.py80 re.match(self.path_exemptions, self.normalize_path(filepath)):
/openthread-2.7.6/tests/unit/
Dtest_array.cpp254 Entry *match; in TestArrayCopyAndFindMatching() local
258 match = array2.FindMatching(entry.mName); in TestArrayCopyAndFindMatching()
259 VerifyOrQuit(match != nullptr); in TestArrayCopyAndFindMatching()
260 VerifyOrQuit(match == &entry); in TestArrayCopyAndFindMatching()
263 match = array2.FindMatching(entry.mYear); in TestArrayCopyAndFindMatching()
264 VerifyOrQuit(match != nullptr); in TestArrayCopyAndFindMatching()
265 VerifyOrQuit(match == &entry); in TestArrayCopyAndFindMatching()
/openthread-2.7.6/tests/scripts/thread-cert/
Dtest_pbbr_aloc.py103 if not re.match(MESH_LOCAL_PREFIX_REGEX_PATTERN, ip):
109 self.assertIsNotNone(re.match(ROUTING_LOCATOR_REGEX_PATTERN, ip), ip)
Dnode.py603 results.append(self.pexpect.match.group(0).decode('utf8'))
613 line = self.pexpect.match.group(0).decode('utf8').strip()
657 log = self.pexpect.match.group(0)
1089 g = self.pexpect.match.groups()
1202 m = re.match(r'status (\d+), (\d+) failed', lines[0])
1538 eid = self.pexpect.match.groups()[0].decode("utf-8")
1539 rloc = self.pexpect.match.groups()[1].decode("utf-8")
1571 if re.match(config.LINK_LOCAL_REGEX_PATTERN, ip6Addr, re.I):
1579 if ((not re.match(config.LINK_LOCAL_REGEX_PATTERN, ip6Addr, re.I)) and
1580 (not re.match(config.MESH_LOCAL_PREFIX_REGEX_PATTERN, ip6Addr, re.I)) and
[all …]
Dtest_reed_address_solicit_rejected.py99 m = re.match('.*:fc(..)$', addr, re.I)
/openthread-2.7.6/tools/harness-automation/
Dparse_topofile.py103 if re.match(r'\s*#.*', line):
106 matched_case = re.match(r'(.*)-(.*)', line, re.M | re.I)
/openthread-2.7.6/
DAndroid.mk34 OPENTHREAD_SOURCE_VERSION := $(shell git -C $(LOCAL_PATH) describe --always --match "[0-9].*" 2> /d…
/openthread-2.7.6/tests/scripts/thread-cert/border_router/
Dtest_dnssd_server.py320 def _match_record(self, record, match): argument
323 if record == match:
326 return all(a == b or (callable(b) and b(a)) for a, b in zip(record, match))
/openthread-2.7.6/src/core/thread/
Dlink_metrics.cpp71 bool match = false; in IsFrameTypeMatch() local
77 match = mSeriesFlags.IsLinkProbeFlagSet(); in IsFrameTypeMatch()
80 match = mSeriesFlags.IsMacDataFlagSet(); in IsFrameTypeMatch()
83 match = mSeriesFlags.IsMacDataRequestFlagSet(); in IsFrameTypeMatch()
86 match = mSeriesFlags.IsMacAckFlagSet(); in IsFrameTypeMatch()
93 return match; in IsFrameTypeMatch()
Dnetwork_data.cpp626 bool match = false; in MatchService() local
642 match = true; in MatchService()
645 return match; in MatchService()
/openthread-2.7.6/third_party/mbedtls/repo/scripts/
Dgenerate_psa_constants.py243 m = re.match(self._define_directive_re, line)
248 if re.match(self._deprecated_definition_re, expansion):
/openthread-2.7.6/tools/harness-thci/
DOpenThread.py90 assert LOGX.match('[NONE]')
91 assert LOGX.match('[CRIT]')
92 assert LOGX.match('[WARN]')
93 assert LOGX.match('[NOTE]')
94 assert LOGX.match('[INFO]')
95 assert LOGX.match('[DEBG]')
96 assert LOGX.match('-CLI-----: ')
97 assert LOGX.match('-N-DATA--: ')
98 assert LOGX.match('-MESH-CP-: ')
99 assert LOGX.match('------------------------------------------------------------------------')
[all …]
DOpenThread_BR.py52 assert LOGX.match('[57522.618196] Under-voltage detected! (0x00050005)')
253 if LOGX.match(line):
/openthread-2.7.6/tools/harness-automation/autothreadharness/
Dharness_case.py573 if re.match(r'#.*', topo_line):
575 match_line = re.match(r'(.*)-(.*)', topo_line, re.M | re.I)
838 if finder.match(elem.text) or finder_dotted.match(elem.text):
973 if addr.startswith('fe80') and not re.match('.+ff:fe00:[0-9a-f]{0,4}$', addr):
1006 if addr.startswith('fd') and not re.match('.+ff:fe00:[0-9a-f]{0,4}$', addr):
/openthread-2.7.6/src/cli/
DREADME_COMMISSIONER.md89 - eui64: The IEEE EUI-64 of the Joiner or '\*' to match any Joiner.
110 - eui64: The IEEE EUI-64 of the Joiner or '\*' to match any Joiner.
/openthread-2.7.6/src/core/net/
Ddns_types.cpp629 bool match = false; in IsSubDomainOf() local
652 match = true; in IsSubDomainOf()
655 return match; in IsSubDomainOf()

12