/openthread-latest/third_party/mbedtls/repo/scripts/ |
D | config.py | 26 * name: the symbol name ('MBEDTLS_xxx'). 29 * active: True if name is defined, False if a #define for name is 31 * section: the name of the section that contains this symbol. 34 def __init__(self, active, name, value='', section=None): argument 36 self.name = name 48 * `name in config` is `True` if the symbol `name` is active, `False` 49 otherwise (whether `name` is inactive or not known). 50 * `config[name]` is the value of the macro `name`. If `name` is inactive, 51 raise `KeyError` (even if `name` is known). 52 * `config[name] = value` sets the value associated to `name`. `name` [all …]
|
/openthread-latest/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() 74 Dns::Name::LabelBuffer label; in TestDnsName() 76 Dns::Name::Buffer name; in TestDnsName() local 82 Dns::Name dnsName; in TestDnsName() 127 // Long name (more than 255 characters) in TestDnsName() 135 // Long name of 255 characters which ends with a dot in TestDnsName() 141 // Long name of 254 characters which does not end with a dot in TestDnsName() 150 static const char kBadName[] = "bad.name"; in TestDnsName() 178 printf("Verify domain name match:\n"); in TestDnsName() [all …]
|
D | CMakeLists.txt | 12 # 3. Neither the name of the copyright holder nor the 134 macro(ot_unit_test name) 138 # Unit test name will be `ot-test-{name}`. Test source file of 139 # `test_{name}.cpp` is used. Optional extra arguments can be 142 add_executable(ot-test-${name} 143 test_${name}.cpp ${ARGN} 146 target_include_directories(ot-test-${name} 151 target_link_libraries(ot-test-${name} 156 target_compile_options(ot-test-${name} 161 add_test(NAME ot-test-${name} COMMAND ot-test-${name}) [all …]
|
/openthread-latest/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. 52 * Represents a name string as data (pointer to a char buffer along with a length). 79 * @returns The name length. 84 * Copies the name data into a given char buffer with a given size. 86 …* The given buffer is cleared (`memset` to zero) before copying the name into it. The copied string 89 * @param[out] aBuffer A pointer to a buffer where to copy the name into. 98 * Represents an Network Name. 107 * This constant specified the maximum number of chars in Network Name (excludes null char). 112 * Initializes the Network Name as an empty string. [all …]
|
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | macro_collector.py | 22 # Dear Pylint, conventionally, a context manager class name is lowercase. 23 # pylint: disable=invalid-name,too-few-public-methods 38 snippet annotates the exception with the file name and line number. 97 # macro name -> list of argument names 99 # argument name -> list of values 112 def is_internal_name(self, name: str) -> bool: 115 if name.endswith('_BASE') or name.endswith('_NONE'): 117 if '_CATEGORY_' in name: 119 return name.endswith('_FLAG') or name.endswith('_MASK') 139 def _format_arguments(name: str, arguments: Iterable[str]) -> str: [all …]
|
D | c_wrapper_generator.py | 21 def c_declare(prefix: str, name: str, suffix: str) -> str: 22 """Format a declaration of name with the given type prefix and suffix.""" 25 return prefix + name + suffix 44 # Prefix prepended to the function's name to form the wrapper name. 46 # Suffix appended to the function's name to form the wrapper name. 106 """The name of the wrapper function. 122 function name. It may start with additional qualifiers or attributes 131 """Name to use for the given argument in the wrapper function. 135 name = 'arg' + str(num) 136 if arg.name: [all …]
|
/openthread-latest/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-latest/.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 69 - name: Bootstrap 74 - name: Build 77 - name: Get Thread-Wireshark 80 - name: Run 86 name: packet-verification-pcaps 90 - name: Generate Coverage 95 name: cov-packet-verification [all …]
|
D | simulation-1.4.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Simulation 1.4 49 name: thread-1-4-${{ matrix.compiler.c }}-${{ matrix.arch }} 68 - name: Harden Runner 80 - name: Bootstrap 87 - name: Build 90 - name: Run 96 - name: Check Crash 105 name: thread-1-4-${{ matrix.compiler.c }}-${{ matrix.arch }}-pcaps 110 name: core-packet-verification-thread-1-4 [all …]
|
D | posix.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: POSIX 54 - name: Harden Runner 64 - name: Bootstrap 68 - name: Run RCP Mode 73 - name: Run ot-fct 77 - name: Check Crash 86 name: core-expect-rcp 89 - name: Generate Coverage 94 name: cov-expects-linux-1 [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 Multipan Simulation [all …]
|
D | build.yml | 12 # 3. Neither the name of the copyright holder nor the 29 name: Build 51 - name: Harden Runner 63 - name: Bootstrap 70 - name: Check 77 - name: Harden Runner 83 - name: Run linkspector 93 - name: Harden Runner 105 - name: Bootstrap 109 - name: Check [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 73 - name: Bootstrap 80 - name: Build & Run 86 name: toranj-cli-${{ matrix.TORANJ_RADIO }} 96 - name: Harden Runner 108 - name: Bootstrap 115 - name: Build & Run [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 97 name: thread-1-3-backbone-results 104 - name: Generate Coverage [all …]
|
/openthread-latest/tools/tcat_ble_client/auth-generate/ |
D | create-cert-tcat-device.sh | 13 # 3. Neither the name of the copyright holder nor the 44 NAME="${1}" 47 ((ID = ${NAME:0-1})) 50 echo " TCAT device name : ${NAME}" 51 echo " TCAT device CA name: ${CANAME}" 57 openssl req -new -key "keys/${NAME}_key.pem" -out "${NAME}.csr" -subj \ 58 "/CN=TCAT Example ${NAME}/serialNumber=4723-9833-000${ID}" 61 mkdir -p "output/${NAME}" 63 -CAkey "ca/${CANAME}_key.pem" -extfile "ext/${NAME}.ext" -extensions \ 64 "${NAME}" -req -in "${NAME}.csr" -out "output/${NAME}/device_cert.pem" \ [all …]
|
D | create-cert-tcat-commissioner.sh | 13 # 3. Neither the name of the copyright holder nor the 42 NAME=${1} 44 ((ID = ${NAME:0-1})) 47 echo " TCAT commissioner name : ${NAME}" 48 echo " TCAT commissioner CA name: ${CANAME}" 52 openssl req -new -key "keys/${NAME}_key.pem" -out "${NAME}.csr" -subj \ 53 "/CN=TCAT Example ${NAME}/serialNumber=3523-1543-000${ID}" 56 mkdir -p "output/${NAME}" 58 -CAkey "ca/${CANAME}_key.pem" -extfile "ext/${NAME}.ext" -extensions \ 59 "${NAME}" -req -in "${NAME}.csr" -out "output/${NAME}/commissioner_cert.pem" \ [all …]
|
/openthread-latest/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-latest/src/core/net/ |
D | dns_types.hpp | 12 * 3. Neither the name of the copyright holder nor the 163 * Specifies in response message if the responding name server is an 164 * authority for the domain name in question section. 198 * Specifies if resolver wants to direct the name server to pursue 216 * Denotes whether recursive query support is available in the name server. 240 kResponseNameError = 3, ///< Name that ought to exist, does not exists. 243 kResponseNameExists = 6, ///< Some name that ought not to exist, does exist. 247 kResponseNotZone = 10, ///< A name is not in the zone. 249 kResponseBadName = 20, ///< Bad name. 278 …* - 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 309 SuccessOrExit(Name::ParseName(*mMessage, offset)); in ParseQuestions() 341 SuccessOrExit(Name::CompareName(*mMessage, offset, *mMessage, sizeof(Header))); in ParseQuestions() 374 // Read the name from `aRequest.mMessage` and append it as is to in AddQuestionsFrom() 375 // the response message. This ensures all name formats, including in AddQuestionsFrom() 379 SuccessOrExit(Name(*aRequest.mMessage, sizeof(Header)).AppendTo(*mMessage)); in AddQuestionsFrom() 381 // Check the name to include the correct domain name and determine in AddQuestionsFrom() 382 // the domain name offset (for DNS name compression). in AddQuestionsFrom() 397 IgnoreError(Name::ParseName(*aRequest.mMessage, offset)); in AddQuestionsFrom() 417 // Parses and validates the query name and updates in ParseQueryName() [all …]
|
/openthread-latest/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 …]
|
/openthread-latest/third_party/mbedtls/repo/programs/test/ |
D | metatest.c | 79 void meta_test_fail(const char *name) in meta_test_fail() argument 81 (void) name; in meta_test_fail() 85 void meta_test_not_equal(const char *name) in meta_test_not_equal() argument 90 (void) name; in meta_test_not_equal() 97 void meta_test_not_le_s(const char *name) in meta_test_not_le_s() argument 102 (void) name; in meta_test_not_le_s() 109 void meta_test_not_le_u(const char *name) in meta_test_not_le_u() argument 114 (void) name; in meta_test_not_le_u() 125 void null_pointer_dereference(const char *name) in null_pointer_dereference() argument 127 (void) name; in null_pointer_dereference() [all …]
|
/openthread-latest/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 …]
|