Searched refs:drop_cnt (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.5.0/tests/lib/mpsc_pbuf/src/ |
D | main.c | 54 static uint32_t drop_cnt; variable 63 zassert_true(drop_cnt < exp_drop_cnt); in drop() 64 zassert_equal(packet->hdr.len, exp_dropped_len[drop_cnt], in drop() 66 drop_cnt, packet->hdr.len, exp_dropped_len[drop_cnt]); in drop() 67 zassert_equal(packet->hdr.data, exp_dropped_data[drop_cnt], in drop() 69 drop_cnt, packet->hdr.data, exp_dropped_data[drop_cnt]); in drop() 70 for (int i = 0; i < exp_dropped_len[drop_cnt] - 1; i++) { in drop() 71 int err = memcmp(packet->data, &exp_dropped_data[drop_cnt], in drop() 78 drop_cnt++; in drop() 92 drop_cnt = 0; in init() [all …]
|
/Zephyr-Core-3.5.0/subsys/logging/backends/ |
D | log_backend_rtt.c | 64 static int drop_cnt; variable 135 if (drop_cnt > 0 && !drop_warn) { in line_out_drop_mode() 136 int cnt = MIN(drop_cnt, DROP_MAX); in line_out_drop_mode() 165 drop_cnt++; in line_out_drop_mode() 167 drop_cnt = 0; in line_out_drop_mode()
|
/Zephyr-Core-3.5.0/tests/subsys/logging/log_api/src/ |
D | mock_backend.c | 19 mock->drop_cnt = 0; in mock_log_backend_reset() 100 zassert_equal(mock->exp_drop_cnt, mock->drop_cnt, in mock_log_backend_validate() 101 "Got: %u, Expected: %u", mock->drop_cnt, mock->exp_drop_cnt); in mock_log_backend_validate() 206 mock->drop_cnt += cnt; in dropped()
|
D | mock_backend.h | 36 int drop_cnt; member
|