Home
last modified time | relevance | path

Searched refs:to_compare (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/lib/net_buf/
Dbuf.c701 size_t to_compare; in net_buf_data_match() local
715 to_compare = MIN(len, buf->len - offset); in net_buf_data_match()
717 for (size_t i = 0; i < to_compare; ++i) { in net_buf_data_match()
724 len -= to_compare; in net_buf_data_match()
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c871 size_t to_compare; in ZTEST() local
894 to_compare = written - offset; in ZTEST()
896 res = net_buf_data_match(buf, offset, &data[offset], to_compare); in ZTEST()
897 zassert_equal(res, to_compare, "Comparison with offset failed"); in ZTEST()