/openthread-latest/tests/toranj/cli/ |
D | test-005-traffic-router-to-child.py | 72 count = 2 variable 75 node1.ping(ll2, size=size, count=count) 76 node2.ping(ll1, size=size, count=count) 77 node1.ping(ml2, size=size, count=count) 78 node2.ping(ml1, size=size, count=count) 87 node1.ping(ll3, size=size, count=count) 88 node3.ping(ll1, size=size, count=count) 89 node1.ping(ml3, size=size, count=count) 90 node3.ping(ml1, size=size, count=count)
|
D | test-703-multi-radio-mesh-header-msg.py | 115 r1.ping(r3_ml_addr, size=1000, count=2) 120 c2.ping(r1_ml_addr, size=1000, count=2) 125 r3.ping(r1_ml_addr, size=1000, count=2) 130 r2.ping(r1_ml_addr, size=1000, count=2) 131 r2.ping(r3_ml_addr, size=1000, count=2)
|
D | test-007-off-mesh-route-traffic.py | 169 r3.ping('fd00:1:1::2', count=3, verify_success=False) 180 r4.ping('fd00:1:1::2', count=2, verify_success=False) 190 fed1.ping('fd00:3::3', count=2, verify_success=False) 202 r1.ping('fd00:4::4', count=1, verify_success=False) 213 fed1.ping('fd00:4::5', count=2, verify_success=False) 224 r2.ping('fd00:4::6', count=3, verify_success=False) 235 med3.ping('fd00:4::7', count=1, verify_success=False)
|
D | test-701-multi-radio-probe.py | 114 r1.ping(r2_ml_addr, count=5) 131 for count in range(5): 147 r1.ping(r2_ml_addr, count=5, verify_success=False) 148 r1.ping(r2_ml_addr, count=5) 165 for count in range(80):
|
D | test-702-multi-radio-discover-by-rx.py | 114 r1.ping(r2_ml_addr, count=5) 131 for count in range(5): 147 r1.ping(r2.get_mleid_ip_addr(), count=5, verify_success=False) 148 r1.ping(r2.get_mleid_ip_addr(), count=5) 165 for count in range(80):
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_nist_kw.data | 93 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 128 count 7 97 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 256 count 11 101 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 192 count 8 105 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 320 count 14 109 NIST KW wrap AES-128 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 0 113 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 128 count 7 117 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 256 count 11 121 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 192 count 8 125 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 320 count 14 129 NIST KW wrap AES-192 CAVS 17.4 PLAINTEXT LENGTH = 4096 count 0 [all …]
|
D | test_suite_psa_crypto_init.function | 185 void init_deinit(int count) 189 for (i = 0; i < count; i++) { 200 void deinit_without_init(int count) 203 for (i = 0; i < count; i++) { 273 void validate_module_init_generate_random(int count) 278 for (i = 0; i < count; i++) { 289 void validate_module_init_key_based(int count) 297 for (i = 0; i < count; i++) {
|
/openthread-latest/src/core/thread/ |
D | link_metrics_types.cpp | 49 uint8_t count = 0; in ConvertToTypeIds() local 53 aTypeIds[count++] = TypeId::kPdu; in ConvertToTypeIds() 58 aTypeIds[count++] = TypeId::kLqi; in ConvertToTypeIds() 63 aTypeIds[count++] = TypeId::kLinkMargin; in ConvertToTypeIds() 68 aTypeIds[count++] = TypeId::kRssi; in ConvertToTypeIds() 74 for (uint8_t i = 0; i < count; i++) in ConvertToTypeIds() 81 return count; in ConvertToTypeIds()
|
D | announce_begin_server.cpp | 59 uint8_t count; in HandleTmf() local 65 SuccessOrExit(Tlv::Find<MeshCoP::CountTlv>(aMessage, count)); in HandleTmf() 68 SendAnnounce(mask, count, period); in HandleTmf()
|
D | link_quality.cpp | 114 uint8_t count; in Add() local 122 count = Min(static_cast<uint8_t>(1 << kCoeffBitShift), mCount); in Add() 125 newAverage = (newAverage * (count - 1) + aLqi) / count; in Add()
|
D | mle_types.cpp | 150 uint8_t count = 0; in GetNumberOfAllocatedIds() local 154 count += CountBitsInMask(byte); in GetNumberOfAllocatedIds() 157 return count; in GetNumberOfAllocatedIds()
|
/openthread-latest/src/ncp/ |
D | example_vendor_hook.cpp | 145 NcpVendorUart(ot::Instance **aInstances, uint8_t count) in NcpVendorUart() argument 146 : ot::Ncp::NcpHdlc(aInstances, count, &NcpVendorUart::SendHdlc) in NcpVendorUart() 169 extern "C" void otAppNcpInitMulti(otInstance **aInstances, uint8_t count) in otAppNcpInitMulti() argument 174 OT_ASSERT(count < SPINEL_HEADER_IID_MAX); in otAppNcpInitMulti() 175 OT_ASSERT(count > 0); in otAppNcpInitMulti() 178 for (int i = 0; i < count; i++) in otAppNcpInitMulti() 183 ncpVendor = new (&sNcpVendorRaw) NcpVendorUart(instances, count); in otAppNcpInitMulti()
|
/openthread-latest/src/posix/ |
D | client.cpp | 286 size_t count = 0; in main() local 290 for (const char *c = argv[i]; *c && count < sizeof(buffer);) in main() 294 buffer[count++] = '\\'; in main() 296 VerifyOrExit(count < sizeof(buffer), ret = OT_EXIT_INVALID_ARGUMENTS); in main() 299 buffer[count++] = *c++; in main() 302 VerifyOrExit(count < sizeof(buffer), ret = OT_EXIT_INVALID_ARGUMENTS); in main() 303 buffer[count++] = ' '; in main() 307 if (--count) in main() 309 VerifyOrExit(DoWrite(sSessionFd, buffer, count), ret = OT_EXIT_FAILURE); in main()
|
/openthread-latest/examples/platforms/utils/ |
D | uart_rtt.c | 115 unsigned count; in utilsUartRttProcess() local 125 count = SEGGER_RTT_Read(UART_RTT_BUFFER_INDEX, &buf, sizeof(buf)); in utilsUartRttProcess() 126 if (count > 0) in utilsUartRttProcess() 128 otPlatUartReceived((const uint8_t *)&buf, count); in utilsUartRttProcess()
|
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | bignum_core.py | 23 count = 0 variable in BignumCoreShiftR 40 def __init__(self, input_hex: str, descr: str, count: int) -> None: 43 self.shift_count = count 44 self.result = bignum_common.hex_to_int(input_hex) >> count 58 for count in counts: 59 yield cls(input_hex, descr, count).create_test_case() 99 self.count, 164 count = 0 variable in BignumCoreAddAndAddIf 185 count = 0 variable in BignumCoreSub 207 count = 0 variable in BignumCoreMLA [all …]
|
D | c_parsing_helper.py | 99 paren_level = line.count('(') - line.count(')') 102 paren_level += more.count('(') - more.count(')')
|
/openthread-latest/third_party/mbedtls/repo/programs/test/ |
D | metatest.c | 201 size_t start = 0, offset = 0, count = 0; in test_memory_poison() local 208 &start, &offset, &count, &direction) != 4) { in test_memory_poison() 226 if (start + count > sizeof(aligned.buf)) { in test_memory_poison() 230 __func__, start + count, sizeof(aligned.buf)); in test_memory_poison() 233 if (offset >= count) { in test_memory_poison() 237 __func__, offset, count); in test_memory_poison() 241 MBEDTLS_TEST_MEMORY_POISON(aligned.buf + start, count); in test_memory_poison()
|
/openthread-latest/tests/scripts/thread-cert/ |
D | test_network_layer.py | 71 def any_options(count=None): argument 72 count = count if count is not None else random.randint(0, 255) 73 return [random.getrandbits(8) for _ in range(count)] 84 def any_tlvs_data(count=None): argument 85 count = count if count is not None else random.randint(0, 16) 88 for _ in range(count):
|
D | test_netdata_publisher.py | 174 self.assertEqual(prfs.count('high'), min(num_high, DESIRED_NUM_ON_MESH_PREFIX)) 175 … self.assertEqual(prfs.count('med'), min(num_med, max(0, DESIRED_NUM_ON_MESH_PREFIX - num_high))) 176 …self.assertEqual(prfs.count('low'), min(num_low, max(0, DESIRED_NUM_ON_MESH_PREFIX - num_high - nu… 186 self.assertEqual(prfs.count('high'), min(num_high, DESIRED_NUM_EXTERNAL_ROUTE)) 187 … self.assertEqual(prfs.count('med'), min(num_med, max(0, DESIRED_NUM_EXTERNAL_ROUTE - num_high))) 188 …self.assertEqual(prfs.count('low'), min(num_low, max(0, DESIRED_NUM_EXTERNAL_ROUTE - num_high - nu… 626 self.assertTrue(rlocs.count(end_dev1.get_addr16()) == 1) 642 self.assertTrue(rlocs.count(end_dev1.get_addr16()) == 0) 668 self.assertEqual([route.split(' ')[0] == '::/0' for route in routes].count(True), 1) 674 self.assertEqual([route.split(' ')[0] == '::/0' for route in routes].count(True), 0)
|
/openthread-latest/examples/platforms/simulation/ |
D | uart.c | 190 ssize_t count; in otPlatUartFlush() local 194 …while ((count = write(s_out_fd, s_write_buffer, s_write_length)) > 0 && (s_write_length -= count) … in otPlatUartFlush() 196 s_write_buffer += count; in otPlatUartFlush() 199 if (count != -1) in otPlatUartFlush()
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | padlock.c | 111 size_t count; in mbedtls_padlock_xcryptcbc() local 131 count = (length + 15) >> 4; in mbedtls_padlock_xcryptcbc() 145 : "m" (ebx), "m" (count), "m" (ctrl), in mbedtls_padlock_xcryptcbc()
|
/openthread-latest/src/posix/platform/ |
D | settings_file.cpp | 333 uint16_t count = aLength >= sizeof(buffer) ? sizeof(buffer) : aLength; in SwapWrite() local 334 ssize_t rval = read(mSettingsFd, buffer, count); in SwapWrite() 337 count = static_cast<uint16_t>(rval); in SwapWrite() 338 rval = write(aFd, buffer, count); in SwapWrite() 339 OT_ASSERT(rval == count); in SwapWrite() 340 VerifyOrDie(rval == count, OT_EXIT_FAILURE); in SwapWrite() 341 aLength -= count; in SwapWrite()
|
/openthread-latest/script/ |
D | check-posix-pty | 77 local count="$1" 81 while [[ $count != 0 && $exit_code != 0 ]]; do 82 count=$((count - 1))
|
/openthread-latest/src/core/common/ |
D | num_utils.hpp | 237 uint8_t count = 0; in CountBitsInMask() local 242 count++; in CountBitsInMask() 245 return count; in CountBitsInMask()
|
/openthread-latest/third_party/mbedtls/repo/tests/scripts/ |
D | generate_bignum_tests.py | 127 count = 0 variable in BignumCmp 148 count = 0 variable in BignumCmpAbs 158 count = 0 variable in BignumAdd
|