Home
last modified time | relevance | path

Searched full:pattern (Results 1 – 25 of 68) sorted by relevance

123

/openthread-latest/tools/harness-automation/autothreadharness/
Drunner.py178 pattern=['*.py'], argument
195 pattern (str): Pattern to match case modules, refer python's unittest
241 discovered = unittest.defaultTestLoader.discover('cases', pattern)
243 discovered = unittest.defaultTestLoader.discover('cases_R140', pattern)
298 argv.extend(['-p', pattern])
378 parser.add_argument('--pattern',
380 metavar='PATTERN',
382 help='file name pattern, default to "*.py"',
421 pattern=args['pattern'],
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_jsons/
Ddriver_opaque_schema.json10 "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$" string
18 "pattern": "^(0x|0X)?[a-fA-F0-9]+$" string
53 "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$" string
Ddriver_transparent_schema.json10 "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$" string
49 "pattern": "^[A-Z_a-z][0-9A-Z_a-z]*$" string
/openthread-latest/tools/otci/otci/
Dutils.py30 from typing import Union, Collection, Any, Pattern
33 def match_line(line: str, expect_line: Union[str, Pattern, Collection[Any]]) -> bool: argument
35 if isinstance(expect_line, Pattern):
/openthread-latest/src/lib/spinel/
Dspi_frame.hpp68 * |RST|CRC|CCF| RESERVED |PATTERN|
81 * - "PATTERN": These bits are set to a fixed value to help distinguish
103 * If the the master notices "PATTERN" is not set correctly, the master
156 * In a valid frame the flag byte should contain the pattern bits.
229 kFlagPattern = 0x02, // Flag byte PATTERN bits.
230 kFlagPatternMask = 0x03, // Flag byte PATTERN mask.
/openthread-latest/tools/harness-automation/
DREADME.rst19 ./start.sh [-h] [--pattern PATTERN] [--delete-denylist] [--skip SKIP]
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dtravis-log-failure.sh25 for PATTERN in $FILES; do
26 for LOG in $( ls tests/$PATTERN 2>/dev/null ); do
Dcheck_names.py26 follow the required regex pattern.
150 A problem that occurs when something doesn't match the expected pattern.
154 * pattern: the expected regex pattern
157 def __init__(self, pattern, match): argument
158 self.pattern = pattern
171 "{0}:{1}: '{2}' does not match the required pattern '{3}'."
176 self.pattern
311 for pattern in exclude_wildcards:
312 if fnmatch.fnmatch(path, pattern):
840 Perform a check that all items of a group conform to a regex pattern.
Drun-metatests.sh49 for pattern in "$@"; do
51 $pattern) echo "$name"; break;;
Dgenerate_test_code.py375 Matches pattern end_regex to the lines read from the file object.
376 Returns the lines read until end pattern is matched.
379 :param end_regex: Pattern to stop parsing
380 :return: Lines read before the end pattern
388 raise GeneratorInputError("file: %s - end pattern [%s] not found!" %
421 .function file, that starts with pattern BEGIN_DEPENDENCIES
423 after pattern 'depends_on:' and are delimited by ':'.
440 raise GeneratorInputError("file: %s - end dependency pattern [%s]"
450 comment BEGIN_CASE. Dependencies are specified after pattern
671 raise GeneratorInputError("file: %s - end case pattern [%s] not "
[all …]
Dtest_config_script.py37 pattern = output_file_name(directory, '*', extension)
38 filenames = glob.glob(pattern)
Danalyze_outcomes.py107 """Check if name matches a pattern, that may be a string or regex.
108 - If the pattern is a string, name must be equal to match.
109 - If the pattern is a regex, name must fully match.
111 # The CI's python is too old for re.Pattern
112 #if isinstance(str_or_re, re.Pattern):
Dcheck_test_cases.py22 pattern.
118 # `<suite_name>;<description>` pattern.
Dcheck-doxy-blocks.pl21 # very naive pattern to find directives:
/openthread-latest/third_party/mbedtls/repo/tests/
Dcontext-info.sh110 # Options: -m <pattern that MUST be present in the output of tested program>
111 # -n <pattern that must NOT be present in the output of tested program>
112 # -u <pattern that must be UNIQUE in the output of tested program>
157 fail "pattern '$2' MUST be present in the output"
164 fail "pattern '$2' MUST NOT be present in the output"
171 fail "lines following pattern '$2' must be once in the output"
/openthread-latest/third_party/mbedtls/repo/scripts/
Dgenerate_ssl_debug_helpers.py26 pattern = re.compile(string_pattern + r'|' + comment_pattern,
33 return pattern.sub(replacer, string)
53 pattern = re.compile(r"^[ \t]*#[ \t]*" +
83 for match in pattern.finditer(source):
/openthread-latest/src/core/net/
Dip6_address.hpp77 * on the pattern `fdxx:xxxx:xxxx:` (RFC 4193).
426 …* Sets the Interface Identifier to Routing/Anycast Locator pattern `0000:00ff:fe00:xxxx` with a gi…
434 …* Indicates whether or not the Interface Identifier matches the locator pattern `0000:00ff:fe00:xx…
436 * @retval TRUE If the IID matches the locator pattern.
437 * @retval FALSE If the IID does not match the locator pattern.
444 …* In addition to checking that the IID matches the locator pattern (`0000:00ff:fe00:xxxx`), this m…
455 …* In addition to checking that the IID matches the locator pattern (`0000:00ff:fe00:xxxx`), this m…
466 …* In addition to checking that the IID matches the locator pattern (`0000:00ff:fe00:xxxx`), this m…
477 …* Assumes the IID to match the locator pattern `0000:00ff:fe00:xxxx` (does not explicitly check th…
/openthread-latest/src/core/common/
Dstring.cpp395 // We got a continuation byte pattern without seeing a leading byte earlier. in IsValidUtf8String()
410 else // 1111-1xxx (invalid pattern). in IsValidUtf8String()
422 // Verify the continuation byte pattern 10xx-xxxx in IsValidUtf8String()
/openthread-latest/third_party/mbedtls/repo/3rdparty/everest/
DCMakeLists.txt35 FILES_MATCHING PATTERN "*.h")
/openthread-latest/third_party/mbedtls/repo/3rdparty/p256-m/
DCMakeLists.txt33 FILES_MATCHING PATTERN "*.h")
/openthread-latest/tests/toranj/
DREADME.md26 What does `"toranj"` mean? it's the name of a common symmetric weaving [pattern](https://en.wikiped…
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_memory.function14 /* Helper to fill a buffer with a data pattern. The pattern is not
Dtest_suite_ssl.function2759 srv_pattern.pattern = cli_pattern.pattern = "found fragmented DTLS handshake";
3098 srv_pattern.pattern = cli_pattern.pattern = "cache did not store session";
3765 server_pattern.pattern =
3772 server_pattern.pattern =
3790 server_pattern.pattern =
3798 server_pattern.pattern =
4789 char pattern[128];
4835 server_pattern.pattern = pattern;
4843 ret = mbedtls_snprintf(pattern, sizeof(pattern),
4845 TEST_ASSERT(ret < (int) sizeof(pattern));
[all …]
/openthread-latest/include/openthread/
Dtcp_ext.h129 * The recommended usage pattern is to use a single TCP circular send buffer
131 * associated TCP circular buffer. This recommended usage pattern sidesteps the
/openthread-latest/tests/scripts/thread-cert/
Dnode.py792 def _expect(self, pattern, timeout=-1, *args, **kwargs): argument
793 """ Process simulator events until expected the pattern. """
801 return self.pexpect.expect(pattern, 0.1, *args, **kwargs)
811 def _expect_result(self, pattern, *args, **kwargs): argument
819 results = self._expect_results(pattern, *args, **kwargs)
823 def _expect_results(self, pattern, *args, **kwargs): argument
832 results = [line for line in output if self._match_pattern(line, pattern)]
835 def _expect_key_value_pairs(self, pattern, separator=': '): argument
842 for line in self._expect_results(pattern):
848 def _match_pattern(line, pattern): argument
[all …]

123