/openthread-3.5.0/third_party/mbedtls/repo/scripts/ |
D | config.py | 32 * name: the symbol name ('MBEDTLS_xxx'). 35 * active: True if name is defined, False if a #define for name is 37 * section: the name of the section that contains this symbol. 40 def __init__(self, active, name, value='', section=None): argument 42 self.name = name 54 * `name in config` is `True` if the symbol `name` is active, `False` 55 otherwise (whether `name` is inactive or not known). 56 * `config[name]` is the value of the macro `name`. If `name` is inactive, 57 raise `KeyError` (even if `name` is known). 58 * `config[name] = value` sets the value associated to `name`. `name` [all …]
|
/openthread-3.5.0/tests/unit/ |
D | test_dns.cpp | 12 * 3. Neither the name of the copyright holder nor the 47 kMaxNameLength = Dns::Name::kMaxNameSize - 1, in TestDnsName() 65 char label[Dns::Name::kMaxLabelSize]; in TestDnsName() 67 char name[Dns::Name::kMaxNameSize]; in TestDnsName() local 117 // Long name (more than 255 characters) in TestDnsName() 125 // Long name of 255 characters which ends with a dot in TestDnsName() 131 // Long name of 254 characters which does not end with a dot in TestDnsName() 140 static const char kBadName[] = "bad.name"; in TestDnsName() 154 printf("Verify domain name match:\n"); in TestDnsName() 158 VerifyOrQuit(Dns::Name::IsSubDomainOf(subDomain, domain)); in TestDnsName() [all …]
|
D | CMakeLists.txt | 12 # 3. Neither the name of the copyright holder nor the 91 add_test(NAME ot-test-aes COMMAND ot-test-aes) 131 add_test(NAME ot-test-binary-search COMMAND ot-test-binary-search) 156 add_test(NAME ot-test-checksum COMMAND ot-test-checksum) 174 add_test(NAME ot-test-child COMMAND ot-test-child) 195 add_test(NAME ot-test-child-table COMMAND ot-test-child-table) 216 add_test(NAME ot-test-cmd-line-parser COMMAND ot-test-cmd-line-parser) 237 add_test(NAME ot-test-data COMMAND ot-test-data) 258 add_test(NAME ot-test-dns COMMAND ot-test-dns) 279 add_test(NAME ot-test-dns-client COMMAND ot-test-dns-client) [all …]
|
/openthread-3.5.0/src/core/meshcop/ |
D | network_name.hpp | 12 * 3. Neither the name of the copyright holder nor the 31 * This file includes definitions for managing the Network Name. 53 * Represents a name string as data (pointer to a char buffer along with a length). 83 * @returns The name length. 89 * Copies the name data into a given char buffer with a given size. 91 …* The given buffer is cleared (`memset` to zero) before copying the name into it. The copied string 94 * @param[out] aBuffer A pointer to a buffer where to copy the name into. 104 * Represents an Network Name. 114 * This constant specified the maximum number of chars in Network Name (excludes null char). 120 * Initializes the Network Name as an empty string. [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | macro_collector.py | 33 # Dear Pylint, conventionally, a context manager class name is lowercase. 34 # pylint: disable=invalid-name,too-few-public-methods 49 snippet annotates the exception with the file name and line number. 104 # macro name -> list of argument names 106 # argument name -> list of values 119 def is_internal_name(self, name: str) -> bool: 122 if name.endswith('_BASE') or name.endswith('_NONE'): 124 if '_CATEGORY_' in name: 126 return name.endswith('_FLAG') or name.endswith('_MASK') 146 def _format_arguments(name: str, arguments: Iterable[str]) -> str: [all …]
|
D | crypto_knowledge.py | 29 def __init__(self, name: str, params: Optional[Iterable[str]] = None): 33 `name` is a string 'PSA_KEY_TYPE_xxx' which is the name of a PSA key 37 in `name` as a string. 40 self.name = name.strip() 41 """The key type macro name (``PSA_KEY_TYPE_xxx``). 44 name of the macro, and the arguments are in `self.params`. 47 if '(' in self.name: 48 m = re.match(r'(\w+)\s*\((.*)\)\Z', self.name) 50 self.name = m.group(1) 58 assert re.match(r'PSA_KEY_TYPE_\w+\Z', self.name) [all …]
|
/openthread-3.5.0/tests/scripts/thread-cert/pktverify/ |
D | verify_result.py | 13 # 3. Neither the name of the copyright holder nor the 45 def record_last(self, name: str, pkts: PacketFilter) -> None: 49 :param name: The record name. 52 assert name not in self._packet_found, f'duplicate name: {name}' 53 self._packet_found[name] = pkts.last() 54 self._packet_indexes[name] = pkts.last_index 55 self._seek_indexes[name] = pkts.index 57 def packet_index(self, name: str) -> int: 61 :param name: The record name. 64 return self._packet_indexes[name] [all …]
|
D | packet_verifier.py | 13 # 3. Neither the name of the copyright holder nor the 117 name = self.test_info.get_node_name(i) 118 self._vars[name] = addr 121 name = self.test_info.get_node_name(i) + '_ETH' 122 self._vars[name] = addr 125 name = self.test_info.get_node_name(i) 126 self._vars[name + '_IPADDRS'] = addrs 129 key = name + '_DUA' 131 key = name + '_BGUA' 132 elif addr.is_link_local and (name + '_BGUA') in self._vars: [all …]
|
/openthread-3.5.0/.github/workflows/ |
D | simulation-1.1.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Simulation 1.1 57 - name: Harden Runner 65 - name: Bootstrap 70 - name: Build 73 - name: Get Thread-Wireshark 76 - name: Run 82 name: packet-verification-pcaps 86 - name: Generate Coverage 91 name: cov-packet-verification [all …]
|
D | posix.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: POSIX 54 - name: Harden Runner 60 - name: Bootstrap 63 - name: Run RCP Mode 68 - name: Run ot-fct 72 - name: Check Crash 81 name: core-expect-rcp 84 - name: Generate Coverage 89 name: cov-expects-linux-1 [all …]
|
D | simulation-1.2.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Simulation 1.3 49 name: thread-1-3-${{ matrix.compiler.c }}-${{ matrix.arch }} 68 - name: Harden Runner 76 - name: Bootstrap 83 - name: Build 86 - name: Run 92 - name: Check Crash 101 name: thread-1-3-${{ matrix.compiler.c }}-${{ matrix.arch }}-pcaps 106 name: core-packet-verification-thread-1-3 [all …]
|
D | otns.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: OTNS 57 name: Unittests 60 - name: Harden Runner 69 - name: Set up Python 73 - name: Bootstrap 77 - name: Run 88 name: unittests-pcaps 92 - name: Generate Coverage 97 name: cov-otns-unittests [all …]
|
D | unit.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Unit 51 - name: Harden Runner 59 - name: Build 61 - name: Run 69 - name: Harden Runner 77 - name: Bootstrap 81 - name: Build Simulation 83 - name: Test Simulation 85 - name: Build POSIX [all …]
|
D | toranj.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Toranj 49 name: toranj-ncp-${{ matrix.TORANJ_RADIO }} 61 - name: Harden Runner 69 - name: Bootstrap 76 - name: Build & Run 82 name: toranj-cli-${{ matrix.TORANJ_RADIO }} 92 - name: Harden Runner 100 - name: Bootstrap 107 - name: Build & Run [all …]
|
D | build.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Build 51 - name: Harden Runner 59 - name: Bootstrap 66 - name: Check 73 - name: Harden Runner 87 - name: Harden Runner 95 - name: Bootstrap 99 - name: Check 106 - name: Harden Runner [all …]
|
D | otbr.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Border Router 68 - name: Build OTBR Docker 73 - name: Bootstrap 78 - name: Build 81 - name: Get Thread-Wireshark 84 - name: Run 91 name: cov-thread-1-3-backbone-docker 96 name: thread-1-3-backbone-results 103 - name: Generate Coverage [all …]
|
/openthread-3.5.0/etc/cmake/ |
D | options.cmake | 12 # 3. Neither the name of the copyright holder nor the 52 macro(ot_option name ot_config description) 53 # Declare an (ON/OFF/unspecified) OT cmake config with `name` 59 # specified". In this case, the variable `name` would still be 64 set(${name} ${ARGN} CACHE STRING "enable ${description}") 66 set(${name} "" CACHE STRING "enable ${description}") 69 set_property(CACHE ${name} PROPERTY STRINGS ${OT_CONFIG_VALUES}) 71 string(COMPARE EQUAL "${${name}}" "" is_empty) 73 message(STATUS "${name}=\"\"") 74 elseif (${name}) [all …]
|
/openthread-3.5.0/tests/scripts/thread-cert/ |
D | Cert_5_2_03_LeaderReject2Hops.py | 13 # 3. Neither the name of the copyright holder nor the 71 'name': 87 'name': 'ROUTER_1', 94 'name': 'ROUTER_2', 101 'name': 'ROUTER_3', 108 'name': 'ROUTER_4', 115 'name': 'ROUTER_5', 122 'name': 'ROUTER_6', 129 'name': 'ROUTER_7', 136 'name': 'ROUTER_8', [all …]
|
D | Cert_5_2_06_RouterDowngrade.py | 13 # 3. Neither the name of the copyright holder nor the 68 'name': 'LEADER', 74 'name': 'ROUTER_1', 78 'name': 'ROUTER_2', 84 'name': 'ROUTER_3', 90 'name': 'ROUTER_4', 96 'name': 'ROUTER_5', 102 'name': 'ROUTER_6', 108 'name': 'ROUTER_7', 114 'name': 'ROUTER_8', [all …]
|
D | Cert_5_2_07_REEDSynchronization.py | 13 # 3. Neither the name of the copyright holder nor the 76 'name': 'LEADER', 80 'name': 'ROUTER_1', 84 'name': 'ROUTER_2', 88 'name': 'ROUTER_3', 92 'name': 'ROUTER_4', 96 'name': 'ROUTER_5', 100 'name': 'ROUTER_6', 104 'name': 'ROUTER_7', 108 'name': 'ROUTER_8', [all …]
|
/openthread-3.5.0/src/core/net/ |
D | dns_types.hpp | 12 * 3. Neither the name of the copyright holder nor the 179 * Specifies in response message if the responding name server is an 180 * authority for the domain name in question section. 220 * Specifies if resolver wants to direct the name server to pursue 241 * Denotes whether recursive query support is available in the name server. 269 kResponseNameError = 3, ///< Name that ought to exist, does not exists. 272 kResponseNameExists = 6, ///< Some name that ought not to exist, does exist. 276 kResponseNotZone = 10, ///< A name is not in the zone. 278 kResponseBadName = 20, ///< Bad name. 309 …* - kResponseNameError (3) : Name that ought to exist, does not exists -> kErrorNotFou… [all …]
|
D | dnssd_server.cpp | 12 * 3. Neither the name of the copyright holder nor the 308 SuccessOrExit(Name::ParseName(*mMessage, offset)); in ParseQuestions() 336 SuccessOrExit(Name::CompareName(*mMessage, offset, *mMessage, sizeof(Header))); in ParseQuestions() 369 // Read the name from `aRequest.mMessage` and append it as is to in AddQuestionsFrom() 370 // the response message. This ensures all name formats, including in AddQuestionsFrom() 374 SuccessOrExit(Name(*aRequest.mMessage, sizeof(Header)).AppendTo(*mMessage)); in AddQuestionsFrom() 376 // Check the name to include the correct domain name and determine in AddQuestionsFrom() 377 // the domain name offset (for DNS name compression). in AddQuestionsFrom() 392 IgnoreError(Name::ParseName(*aRequest.mMessage, offset)); in AddQuestionsFrom() 412 // Parses and validates the query name and updates in ParseQueryName() [all …]
|
/openthread-3.5.0/src/cli/ |
D | README_SRP_CLIENT.md | 101 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 103 instance:"ins2", name:"_test2._udp", state:Registered, port:111, priority:1, weight:1 104 … instance:"ins1", name:"_test1._udp,_sub1,_sub2", state:Registered, port:777, priority:0, weight:0 112 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 114 instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0 116 instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Removed, port:111, priority:1, weight:1 124 name:"dev4312", state:Removed, addrs:[fd00:0:0:0:0:0:0:1] 127 instance:"ins1", name:"_test1._udp", state:Removed, port:777, priority:0, weight:0 134 Print the full host info (host name, state, list of host addresses). 138 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1234, fd00:0:0:0:0:0:0:beef] [all …]
|
/openthread-3.5.0/include/openthread/ |
D | dnssd_server.h | 12 * 3. Neither the name of the copyright holder nor the 60 * 1. a service name. 61 * 2. a service instance name. 62 * 3. a host name. 65 …* If @p aFullName is a service name or service instance name, the DNS-SD query implementation shou… 68 * If @p aFullName is a host name, the DNS-SD query implementation should 71 …* @note There can be multiple subscription to the same name. DNS-SD query implementation should re… 75 …* @param[in] aFullName The null-terminated full service name (e.g. "_ipps._tcp.default.service… 76 …* or full service instance name (e.g. "OpenThread._ipps._tcp.default.serv… 77 * or full host name (e.g. "ot-host.default.service.arpa."). [all …]
|
/openthread-3.5.0/third_party/mbedtls/repo/tests/scripts/ |
D | generate_test_code.py | 39 test name 227 method name in the base iterator object. 303 def gen_function_wrapper(name, local_vars, args_dispatch): argument 308 :param name: Test function name 316 void {name}_wrapper( void ** params ) 319 {name}( {args} ); 321 '''.format(name=name, 328 def gen_dispatch(name, dependencies): argument 337 :param name: Test function name 345 {name}_wrapper, [all …]
|