Lines Matching refs:buf_len_bytes
99 fill_test_data(void *buf, size_t buf_len_bytes)
104 LWIP_ASSERT("buffer too short", buf_len_bytes >= 4);
105 LWIP_ASSERT("buffer too big", buf_len_bytes <= 0xFFFF);
107 p[0] = (u8_t)(buf_len_bytes >> 8);
108 p[1] = (u8_t)buf_len_bytes;
112 for (i = 4; i < buf_len_bytes; i++) {
123 check_test_data(const void *buf, size_t buf_len_bytes)
128 LWIP_ASSERT("buffer too short", buf_len_bytes >= 4);
131 if (len_rx > buf_len_bytes) {
134 return buf_len_bytes;
143 if (len_rx < buf_len_bytes) {
144 size_t data_left = buf_len_bytes - len_rx;