Lines Matching refs:drop_cnt

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()
162 zassert_equal(drop_cnt, exp_drop_cnt, in item_put_overwrite()
163 "Unexpected number of dropped messages: %d", drop_cnt); in item_put_overwrite()
320 zassert_equal(drop_cnt, exp_drop_cnt, in item_put_word_ext_overwrite()
322 drop_cnt, exp_drop_cnt); in item_put_word_ext_overwrite()
508 zassert_equal(drop_cnt, exp_drop_cnt, in item_put_data_overwrite()
509 "Unexpected number of dropped messages: %d", drop_cnt); in item_put_data_overwrite()
725 zassert_equal(drop_cnt, exp_drop_cnt, NULL); in overwrite()
739 zassert_equal(drop_cnt, exp_drop_cnt); in overwrite()
753 zassert_equal(drop_cnt, exp_drop_cnt); in overwrite()
755 for (int i = 0; i < (packet_cnt - drop_cnt); i++) { in overwrite()
759 zassert_equal(p->hdr.data, i + drop_cnt); in overwrite()
812 zassert_equal(drop_cnt, exp_drop_cnt); in overwrite_while_claimed()
818 for (int i = 0; i < packet_cnt - drop_cnt - 1; i++) { in overwrite_while_claimed()
822 zassert_equal(p0->hdr.data, i + drop_cnt + 1); in overwrite_while_claimed()
868 zassert_equal(drop_cnt, exp_drop_cnt); in overwrite_while_claimed2()
874 for (int i = 0; i < packet_cnt - drop_cnt - 1; i++) { in overwrite_while_claimed2()
878 zassert_equal(p0->hdr.data, i + drop_cnt + 1); in overwrite_while_claimed2()
1116 drop_cnt = 0; in ZTEST()
1132 zassert_equal(drop_cnt, exp_drop_cnt, NULL); in ZTEST()
1147 zassert_equal(drop_cnt, exp_drop_cnt, NULL); in ZTEST()
1155 zassert_equal(drop_cnt, exp_drop_cnt, NULL); in ZTEST()