| /tests/bluetooth/host/cs/bt_le_cs_parse_pct/src/ |
| A D | main.c | 96 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 D | test_spsc.c | 90 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 D | test_timer.py | 61 ', '.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 D | conftest.py | 35 k, v = line.split('=', maxsplit=1) 36 cfgs[k[7:]] = v
|
| /tests/net/socket/socketpair/src/ |
| A D | nonblock.c | 15 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 D | main.c | 56 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 D | kit_psc3m5_evk.overlay | 18 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 D | kit_psc3m5_evk.overlay | 18 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 D | kit_psc3m5_evk.overlay | 18 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 D | main.c | 82 for (unsigned int k = 0U; k < adc_avg_count; k++) { in ZTEST() local
|
| /tests/kernel/smp/src/ |
| A D | main.c | 62 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 D | mock_backend.c | 54 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 D | particle_xenon.overlay | 13 32k-gpios = <&gpio1 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
| /tests/bsim/bluetooth/host/l2cap/general/src/ |
| A D | main_l2cap_ecred.c | 420 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 D | rsa.crt | 15 tcyKRzINIOta9fSuiacD+k/3I4ns9UcXWLRwAD2g/M03dYir5GjJySW7q9pRxKdy
|
| /tests/net/traffic_class/src/ |
| A D | main.c | 127 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 D | nucleo_g0b1re.overlay | 11 * with approximately R=5k resistance is suggested.
|
| /tests/drivers/rtc/rtc_api/src/ |
| A D | test_alarm.c | 177 for (uint8_t k = 0; k < 2; k++) { in ZTEST() local
|
| /tests/lib/p4workq/src/ |
| A D | main.c | 54 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 D | test_bt_crypto.c | 165 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 D | README.rst | 14 2. Each yielder yields k times
|
| /tests/net/ip-addr/src/ |
| A D | main.c | 92 #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 } } }; \
|