/openthread-2.7.6/tools/otci/otci/ |
D | utils.py | 36 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
|
D | otci.py | 209 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))
|
D | command_handlers.py | 191 if not OtCliCommandRunner.__PATTERN_LOG_LINE.match(line):
|
/openthread-2.7.6/tools/harness-automation/cases/ |
D | leader_5_5_1.py | 45 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/ |
D | leader_5_5_1.py | 45 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/ |
D | generate_test_code.py | 390 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 …]
|
D | mbedtls_test.py | 103 match = re.search('depends_on:(.*)', line) 104 if match: 105 dependencies = [int(x) for x in match.group(1).split(':')]
|
D | check_test_cases.py | 107 m = re.match(br'\s*run_test\s+"((?:[^\\"]|\\.)*)"', line)
|
D | test_psa_constant_names.py | 233 m = re.match(self._header_line_re, line) 293 m = re.match(self._test_case_line_re, line)
|
D | check_files.py | 80 re.match(self.path_exemptions, self.normalize_path(filepath)):
|
/openthread-2.7.6/tests/unit/ |
D | test_array.cpp | 254 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/ |
D | test_pbbr_aloc.py | 103 if not re.match(MESH_LOCAL_PREFIX_REGEX_PATTERN, ip): 109 self.assertIsNotNone(re.match(ROUTING_LOCATOR_REGEX_PATTERN, ip), ip)
|
D | node.py | 603 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 …]
|
D | test_reed_address_solicit_rejected.py | 99 m = re.match('.*:fc(..)$', addr, re.I)
|
/openthread-2.7.6/tools/harness-automation/ |
D | parse_topofile.py | 103 if re.match(r'\s*#.*', line): 106 matched_case = re.match(r'(.*)-(.*)', line, re.M | re.I)
|
/openthread-2.7.6/ |
D | Android.mk | 34 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/ |
D | test_dnssd_server.py | 320 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/ |
D | link_metrics.cpp | 71 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()
|
D | network_data.cpp | 626 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/ |
D | generate_psa_constants.py | 243 m = re.match(self._define_directive_re, line) 248 if re.match(self._deprecated_definition_re, expansion):
|
/openthread-2.7.6/tools/harness-thci/ |
D | OpenThread.py | 90 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 …]
|
D | OpenThread_BR.py | 52 assert LOGX.match('[57522.618196] Under-voltage detected! (0x00050005)') 253 if LOGX.match(line):
|
/openthread-2.7.6/tools/harness-automation/autothreadharness/ |
D | harness_case.py | 573 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/ |
D | README_COMMISSIONER.md | 89 - 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/ |
D | dns_types.cpp | 629 bool match = false; in IsSubDomainOf() local 652 match = true; in IsSubDomainOf() 655 return match; in IsSubDomainOf()
|