/openthread-2.7.6/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 …]
|
D | generate_psa_constants.py | 228 # "#define" followed by a macro name with either no parameters 230 # Grab the macro name in group 1, the parameter name if any in group 2 246 name, parameter, expansion = m.groups() 253 if name.endswith('_FLAG') or name.endswith('MASK'): 256 elif (name.startswith('PSA_ERROR_') or name == 'PSA_SUCCESS') \ 258 self.statuses.add(name) 259 elif name.startswith('PSA_KEY_TYPE_') and not parameter: 260 self.key_types.add(name) 261 elif name.startswith('PSA_KEY_TYPE_') and parameter == 'curve': 262 self.key_types_from_curve[name] = name[:13] + 'IS_' + name[13:] [all …]
|
/openthread-2.7.6/tests/unit/ |
D | test_dns.cpp | 12 * 3. Neither the name of the copyright holder nor the 46 kMaxNameLength = Dns::Name::kMaxNameSize - 1, in TestDnsName() 64 char label[Dns::Name::kMaxLabelSize]; in TestDnsName() 66 char name[Dns::Name::kMaxNameSize]; in TestDnsName() local 111 // Long name (more than 255 characters) in TestDnsName() 119 // Long name of 255 characters which ends with a dot in TestDnsName() 125 // Long name of 254 characters which does not end with a dot in TestDnsName() 134 static const char kBadName[] = "bad.name"; in TestDnsName() 148 printf("Verify domain name match:\n"); in TestDnsName() 156 VerifyOrQuit(Dns::Name::IsSubDomainOf(subDomain, domain)); in TestDnsName() [all …]
|
D | CMakeLists.txt | 12 # 3. Neither the name of the copyright holder nor the 89 add_test(NAME ot-test-aes COMMAND ot-test-aes) 133 add_test(NAME ot-test-checksum COMMAND ot-test-checksum) 151 add_test(NAME ot-test-child COMMAND ot-test-child) 172 add_test(NAME ot-test-child-table COMMAND ot-test-child-table) 193 add_test(NAME ot-test-cmd-line-parser COMMAND ot-test-cmd-line-parser) 214 add_test(NAME ot-test-dns COMMAND ot-test-dns) 235 add_test(NAME ot-test-ecdsa COMMAND ot-test-ecdsa) 257 add_test(NAME ot-test-flash COMMAND ot-test-flash) 278 add_test(NAME ot-test-heap COMMAND ot-test-heap) [all …]
|
/openthread-2.7.6/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 …]
|
D | layers.py | 13 # 3. Neither the name of the copyright holder nor the 60 Returns the layer name. 70 def has(self, name) -> bool: argument 74 :param name: The field name. 76 path = '%s.%s' % (self.layer_name, name) 86 def __getattr__(self, name): argument 88 Returns the layer field or container of a given field name. 90 :param name: The name of layer field or container. 92 path = '%s.%s' % (self.layer_name, name) 95 setattr(self, name, v) [all …]
|
/openthread-2.7.6/.github/workflows/ |
D | simulation-1.1.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Simulation 1.1 55 - name: Bootstrap 60 - name: Run 88 - name: Set up Python 3.6 92 - name: Bootstrap 97 - name: Run OTNS Tests 111 name: cli-ftd-otns-pcaps 115 - name: Generate Coverage 120 name: cov-cli-ftd-otns [all …]
|
D | simulation-1.2.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Simulation 1.2 44 name: thread-1-2-${{ matrix.compiler.c }}-${{ matrix.arch }} 64 - name: Bootstrap 71 - name: Build 74 - name: Run 80 - name: Check Crash 89 name: thread-1-2-${{ matrix.compiler.c }}-${{ matrix.arch }}-pcaps 94 name: core-packet-verification-thread-1-2 97 - name: Generate Coverage [all …]
|
D | posix.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: POSIX 50 - name: Bootstrap 53 - name: Run RCP Mode 58 - name: Check Crash 67 name: core-expect-rcp 70 - name: Generate Coverage 75 name: cov-expects-linux-1 77 - name: Run TUN Mode 90 - name: Check Crash [all …]
|
D | otbr.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Border Router 63 - name: Build OTBR Docker 68 - name: Bootstrap 73 - name: Build 76 - name: Get Thread-Wireshark 79 - name: Run 86 name: cov-thread-1-2-backbone-docker 91 name: thread-1-2-backbone-results 96 - name: Generate Coverage [all …]
|
D | build.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Build 49 - name: Bootstrap 55 - name: Check 74 - name: Bootstrap 79 - name: Build 84 name: package-${{ matrix.compiler }} 102 - name: Bootstrap 106 - name: Package 116 - name: Bootstrap [all …]
|
D | docker.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Docker 44 name: buildx-${{ matrix.docker_name }} 56 - name: Prepare 66 echo ::set-output name=docker_image::${DOCKER_IMAGE} 67 echo ::set-output name=version::${VERSION} 68 echo ::set-output name=buildx_args::--platform ${DOCKER_PLATFORMS} \ 75 - name: Set up Docker Buildx 78 - name: Docker Buildx (build) 82 - name: Login to DockerHub [all …]
|
/openthread-2.7.6/tests/scripts/thread-cert/ |
D | Cert_5_2_03_LeaderReject2Hops.py | 13 # 3. Neither the name of the copyright holder nor the 70 'name': 86 'name': 'ROUTER_1', 93 'name': 'ROUTER_2', 100 'name': 'ROUTER_3', 107 'name': 'ROUTER_4', 114 'name': 'ROUTER_5', 121 'name': 'ROUTER_6', 128 'name': 'ROUTER_7', 135 '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-2.7.6/src/core/net/ |
D | dns_types.hpp | 12 * 3. Neither the name of the copyright holder nor the 176 * This method specifies in response message if the responding name server is an 177 * authority for the domain name in question section. 217 * This method specifies if resolver wants to direct the name server to pursue 238 * This method denotes whether recursive query support is available in the name server. 266 kResponseNameError = 3, ///< Name that ought to exist, does not exists. 269 kResponseNameExists = 6, ///< Some name that ought not to exist, does exist. 273 kResponseNotZone = 10, ///< A name is not in the zone. 274 kResponseBadName = 20, ///< Bad name. 305 …* - 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 214 char name[Name::kMaxNameSize]; in AddQuestions() local 224 VerifyOrExit(kErrorNone == Name::ReadName(aRequestMessage, readOffset, name, sizeof(name)), in AddQuestions() 235 …VerifyOrExit(kErrorNone == FindNameComponents(name, aCompressInfo.GetDomainName(), nameComponentsO… in AddQuestions() 256 VerifyOrExit(AppendQuestion(name, question, aResponseMessage, aCompressInfo) == kErrorNone, in AddQuestions() 381 // Check whether `aName` is a sub-type service name. in AppendServiceName() 388 SuccessOrExit(error = Name::AppendMultipleLabels(aName, subTypeLabelLength, aMessage)); in AppendServiceName() 390 // Skip over the "._sub." label to get to the root service name. in AppendServiceName() 400 error = Name::AppendPointerLabel(serviceCompressOffset, aMessage); in AppendServiceName() 404 …uint8_t domainStart = static_cast<uint8_t>(StringLength(serviceName, Name::kMaxNameSize … in AppendServiceName() [all …]
|
D | dns_types.cpp | 12 * 3. Neither the name of the copyright holder nor the 64 case kResponseBadName: // Bad name. in ResponseCodeToError() 66 case kResponseNotZone: // A name is not in the zone. in ResponseCodeToError() 74 case kResponseNameError: // Name that ought to exist, does not exists. in ResponseCodeToError() 87 case kResponseNameExists: // Some name that ought not to exist, does exist. in ResponseCodeToError() 104 Error Name::AppendTo(Message &aMessage) const in AppendTo() 118 // Name is from a message. Read labels one by one from in AppendTo() 134 // We reached the end of name successfully. in AppendTo() 149 Error Name::AppendLabel(const char *aLabel, Message &aMessage) in AppendLabel() 154 Error Name::AppendLabel(const char *aLabel, uint8_t aLength, Message &aMessage) in AppendLabel() [all …]
|
/openthread-2.7.6/src/cli/ |
D | README_SRP_CLIENT.md | 99 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 101 instance:"ins2", name:"_test2._udp", state:Registered, port:111, priority:1, weight:1 102 … instance:"ins1", name:"_test1._udp,_sub1,_sub2", state:Registered, port:777, priority:0, weight:0 110 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1] 112 instance:"ins1", name:"_test1._udp", state:Registered, port:777, priority:0, weight:0 114 instance:"ins2", name:"_test2._udp,_sub1,_sub2", state:Removed, port:111, priority:1, weight:1 122 name:"dev4312", state:Removed, addrs:[fd00:0:0:0:0:0:0:1] 125 instance:"ins1", name:"_test1._udp", state:Removed, port:777, priority:0, weight:0 132 Print the full host info (host name, state, list of host addresses). 136 name:"dev4312", state:Registered, addrs:[fd00:0:0:0:0:0:0:1234, fd00:0:0:0:0:0:0:beef] [all …]
|
/openthread-2.7.6/third_party/nlbuild-autotools/repo/autoconf/m4/ |
D | nl_with_package.m4 | 38 # PACKAGE-PRETTY-NAME, 40 # PACKAGE-SUCCINCT-NAME, 48 # --with-<PACKAGE-SUCCINCT-NAME>-<PACKAGE-WITH-OPTION>=<DIR>. 51 # --without-<PACKAGE-SUCCINCT-NAME> or the use of 52 # --with-<PACKAGE-SUCCINCT-NAME>=no will result in a fatal error. 57 # * nl_with_<PACKAGE-SUCCINCT-NAME> 58 # * <PACKAGE-SUCCINT-NAME>_<WITH-DIR-VARIABLE-MODIFIER>_dir 77 # PACKAGE-PRETTY-NAME : The human-readable name by which the package 84 # PACKAGE-SUCCINCT-NAME : The package-specific name used for pkg-config, 139 # PACKAGE-PRETTY-NAME, [all …]
|
D | nl_filtered_canonical.m4 | 29 # _NL_FILTERED_CANONICAL_SPLIT(name) 31 # name - The existing autoconf variable to split 36 # nl_filtered_<name> 37 # nl_filtered_<name>_cpu 38 # nl_filtered_<name>_os 39 # nl_filtered_<name>_vendor 47 _NL_FILTERED_CANONICAL_SPLIT(name) 82 # _NL_FILTERED_CANONICAL(name) 84 # name - The existing autoconf variable to filter 89 # This filters such versioning cruft from the variable 'name' [all …]
|
/openthread-2.7.6/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-2.7.6/third_party/mbedtls/repo/tests/scripts/ |
D | generate_test_code.py | 39 test name 231 method name in the base iterator object. 307 def gen_function_wrapper(name, local_vars, args_dispatch): argument 312 :param name: Test function name 320 void {name}_wrapper( void ** params ) 323 {name}( {args} ); 325 '''.format(name=name, 332 def gen_dispatch(name, dependencies): argument 341 :param name: Test function name 349 {name}_wrapper, [all …]
|
D | test_psa_constant_names.py | 5 psa_constant_names, and check that the output is the original name. 43 # Dear Pylint, conventionally, a context manager class name is lowercase. 44 # pylint: disable=invalid-name,too-few-public-methods 59 snippet annotates the exception with the file name and line number. 138 # macro name -> list of argument names 140 # argument name -> list of values 171 def _format_arguments(name, arguments): argument 173 return name + '(' + ', '.join(arguments) + ')' 175 def distribute_arguments(self, name): argument 178 If name is a macro without arguments, just yield "name". [all …]
|