Searched refs:alloc_buffer_size (Results 1 – 2 of 2) sorted by relevance
191 TEST_VERIFY (alloc_buffer_size (&refbuf) == 0); in test_empty()239 TEST_VERIFY (alloc_buffer_size (&refbuf) == 1); in test_size_1()307 TEST_VERIFY (alloc_buffer_size (&refbuf) == 2); in test_size_2()537 TEST_VERIFY (alloc_buffer_size (&buf) == 3); in test_copy_bytes()545 TEST_VERIFY (alloc_buffer_size (&buf) == 1); in test_copy_bytes()553 TEST_VERIFY (alloc_buffer_size (&buf) == 0); in test_copy_bytes()583 TEST_VERIFY (alloc_buffer_size (&buf) == 3); in test_copy_string()593 TEST_VERIFY (alloc_buffer_size (&buf) == 2); in test_copy_string()603 TEST_VERIFY (alloc_buffer_size (&buf) == 1); in test_copy_string()613 TEST_VERIFY (alloc_buffer_size (&buf) == 0); in test_copy_string()
156 alloc_buffer_size (const struct alloc_buffer *buf) in alloc_buffer_size() function190 if (length <= alloc_buffer_size (buf)) in alloc_buffer_alloc_bytes()