Home
last modified time | relevance | path

Searched refs:k (Results 1 – 22 of 22) sorted by relevance

/tests/bluetooth/host/cs/bt_le_cs_parse_pct/src/
A Dmain.c96 for (uint16_t k = 0; k < ARRAY_SIZE(test_vector); k++) { in ZTEST() local
97 iq = bt_le_cs_parse_pct(test_vector[k].input); in ZTEST()
99 zassert_equal(iq.i, test_vector[k].output.i, in ZTEST()
100 "Failed for k = %u, expected %d, not %d", k, test_vector[k].output.i, in ZTEST()
102 zassert_equal(iq.q, test_vector[k].output.q, in ZTEST()
103 "Failed for k = %u, expected %d, not %d", k, test_vector[k].output.q, in ZTEST()
/tests/lib/lockfree/src/
A Dtest_spsc.c90 for (int k = 0; k < 3; k++) { in ZTEST() local
94 zassert_equal(*entry, i * 3 + k, "Consume value should equal i*3+k"); in ZTEST()
125 for (int k = 0; k < 3; k++) { in ZTEST() local
129 zassert_equal(*entry, k, "Consume value should equal i*3+k"); in ZTEST()
/tests/kernel/timer/timer_behavior/pytest/
A Dtest_timer.py61 ', '.join(['"{}_us":{:.6f}'.format(k, v * 1_000_000) for k,v in stats.items()]) +
70 ', '.join(['"CONFIG_{}":{}'.format(k, str(config[k]).rstrip()) for k in [
A Dconftest.py35 k, v = line.split('=', maxsplit=1)
36 cfgs[k[7:]] = v
/tests/net/socket/socketpair/src/
A Dnonblock.c15 for (size_t k = 0; k < CONFIG_NET_SOCKETPAIR_BUFFER_SIZE; in ZTEST_USER_F() local
16 ++k) { in ZTEST_USER_F()
/tests/subsys/dfu/img_util/src/
A Dmain.c56 uint8_t data[5], temp, k; in ZTEST() local
90 k = 0U; in ZTEST()
93 data[j] = k++; in ZTEST()
109 k = 0U; in ZTEST()
112 zassert(temp == k, "pass", "fail"); in ZTEST()
113 k++; in ZTEST()
/tests/kernel/common/boards/
A Dkit_psc3m5_evk.overlay18 reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
23 reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
/tests/kernel/timer/timer_api/boards/
A Dkit_psc3m5_evk.overlay18 reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
23 reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
/tests/kernel/timer/timer_error_case/boards/
A Dkit_psc3m5_evk.overlay18 reg = <0x12000000 DT_SIZE_K(150)>; /* 150k for secure test application */
23 reg = <0x2025800 DT_SIZE_K(106)>; /* 106k for nonsecure test application */
/tests/drivers/regulator/voltage/src/
A Dmain.c82 for (unsigned int k = 0U; k < adc_avg_count; k++) { in ZTEST() local
/tests/kernel/smp/src/
A Dmain.c62 unsigned int k = arch_irq_lock(); in curr_cpu() local
65 arch_irq_unlock(k); in curr_cpu()
944 static void sync_lock_dummy(void *k) in sync_lock_dummy() argument
949 static void sync_lock_irq(void *k) in sync_lock_irq() argument
951 *((unsigned int *)k) = irq_lock(); in sync_lock_irq()
954 static void sync_unlock_irq(void *k) in sync_unlock_irq() argument
956 irq_unlock(*(unsigned int *)k); in sync_unlock_irq()
959 static void sync_lock_sem(void *k) in sync_lock_sem() argument
964 static void sync_unlock_sem(void *k) in sync_unlock_sem() argument
969 static void sync_lock_mutex(void *k) in sync_lock_mutex() argument
[all …]
/tests/subsys/logging/log_syst/src/
A Dmock_backend.c54 bool is_kth_bit_set(int n, int k) in is_kth_bit_set() argument
56 return ((n & (1 << (k - 1))) != 0); in is_kth_bit_set()
/tests/drivers/counter/maxim_ds3231_api/boards/
A Dparticle_xenon.overlay13 32k-gpios = <&gpio1 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
/tests/bsim/bluetooth/host/l2cap/general/src/
A Dmain_l2cap_ecred.c420 for (int k = 0; k < L2CAP_CHANNELS; k++) { in send_sdu_concurrently() local
421 channels[k].iteration = i; in send_sdu_concurrently()
423 channels[k].bytes_to_send = (k == LONG_MSG_CHAN_IDX) ? LONG_MSG : SHORT_MSG; in send_sdu_concurrently()
424 const int err = k_work_submit_to_queue(&channels[k].work_queue, in send_sdu_concurrently()
425 &channels[k].work); in send_sdu_concurrently()
/tests/net/socket/tls_configurations/credentials/
A Drsa.crt15 tcyKRzINIOta9fSuiacD+k/3I4ns9UcXWLRwAD2g/M03dYir5GjJySW7q9pRxKdy
/tests/net/traffic_class/src/
A Dmain.c127 int j, k; in check_higher_priority_pkt_sent() local
130 for (k = 0; k < MAX_PKT_TO_SEND; k++) { in check_higher_priority_pkt_sent()
131 if (send_priorities[j][k]) { in check_higher_priority_pkt_sent()
146 int j, k; in check_higher_priority_pkt_recv() local
149 for (k = 0; k < MAX_PKT_TO_SEND; k++) { in check_higher_priority_pkt_recv()
150 if (recv_priorities[j][k]) { in check_higher_priority_pkt_recv()
/tests/drivers/w1/w1_api/boards/
A Dnucleo_g0b1re.overlay11 * with approximately R=5k resistance is suggested.
/tests/drivers/rtc/rtc_api/src/
A Dtest_alarm.c177 for (uint8_t k = 0; k < 2; k++) { in ZTEST() local
/tests/lib/p4workq/src/
A Dmain.c54 k_spinlock_key_t k = k_spin_lock(&lock); in stress_handler() local
66 k_spin_unlock(&lock, k); in stress_handler()
91 k_spin_unlock(&lock, k); in stress_handler()
/tests/bluetooth/bt_crypto/src/
A Dtest_bt_crypto.c165 uint8_t k[16] = {0x9b, 0x7d, 0x39, 0x0a, 0xa6, 0x10, 0x10, 0x34, in ZTEST() local
175 bt_crypto_h8(k, s, key_id, res); in ZTEST()
/tests/benchmarks/sched_userspace/
A DREADME.rst14 2. Each yielder yields k times
/tests/net/ip-addr/src/
A Dmain.c92 #define TEST_IPV6(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, expected) \ argument
95 i, j, k, l, m, n, o, p } } }; \

Completed in 54 milliseconds