Home
last modified time | relevance | path

Searched refs:count (Results 1 – 25 of 93) sorted by relevance

1234

/openthread-latest/tests/toranj/cli/
Dtest-005-traffic-router-to-child.py72 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)
Dtest-703-multi-radio-mesh-header-msg.py115 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)
Dtest-007-off-mesh-route-traffic.py169 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)
Dtest-701-multi-radio-probe.py114 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):
Dtest-702-multi-radio-discover-by-rx.py114 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/
Dtest_suite_nist_kw.data93 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 …]
Dtest_suite_psa_crypto_init.function185 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/
Dlink_metrics_types.cpp49 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()
Dannounce_begin_server.cpp59 uint8_t count; in HandleTmf() local
65 SuccessOrExit(Tlv::Find<MeshCoP::CountTlv>(aMessage, count)); in HandleTmf()
68 SendAnnounce(mask, count, period); in HandleTmf()
Dlink_quality.cpp114 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()
Dmle_types.cpp150 uint8_t count = 0; in GetNumberOfAllocatedIds() local
154 count += CountBitsInMask(byte); in GetNumberOfAllocatedIds()
157 return count; in GetNumberOfAllocatedIds()
/openthread-latest/src/ncp/
Dexample_vendor_hook.cpp145 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/
Dclient.cpp286 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/
Duart_rtt.c115 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/
Dbignum_core.py23 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 …]
Dc_parsing_helper.py99 paren_level = line.count('(') - line.count(')')
102 paren_level += more.count('(') - more.count(')')
/openthread-latest/third_party/mbedtls/repo/programs/test/
Dmetatest.c201 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/
Dtest_network_layer.py71 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):
Dtest_netdata_publisher.py174 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/
Duart.c190 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/
Dpadlock.c111 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/
Dsettings_file.cpp333 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/
Dcheck-posix-pty77 local count="$1"
81 while [[ $count != 0 && $exit_code != 0 ]]; do
82 count=$((count - 1))
/openthread-latest/src/core/common/
Dnum_utils.hpp237 uint8_t count = 0; in CountBitsInMask() local
242 count++; in CountBitsInMask()
245 return count; in CountBitsInMask()
/openthread-latest/third_party/mbedtls/repo/tests/scripts/
Dgenerate_bignum_tests.py127 count = 0 variable in BignumCmp
148 count = 0 variable in BignumCmpAbs
158 count = 0 variable in BignumAdd

1234