Lines Matching refs:chunk1
1854 const char chunk1[] = "If you have found the answer to such a problem"; in test_evbuffer_add_reference() local
1858 size_t len1 = strlen(chunk1), len2=strlen(chunk2); in test_evbuffer_add_reference()
1865 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111); in test_evbuffer_add_reference()
1878 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_add_reference()
1888 tt_assert(ref_done_cb_called_with_data == chunk1); in test_evbuffer_add_reference()
1930 const char chunk1[] = "If you have found the answer to such a problem"; in test_evbuffer_multicast() local
1934 size_t len1 = strlen(chunk1), len2=strlen(chunk2); in test_evbuffer_multicast()
1941 evbuffer_add(buf1, chunk1, len1); in test_evbuffer_multicast()
1965 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_multicast()
1976 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0); in test_evbuffer_multicast()
1999 const char chunk1[] = "If you have found the answer to such a problem"; in test_evbuffer_multicast_drain() local
2002 size_t len1 = strlen(chunk1), len2=strlen(chunk2); in test_evbuffer_multicast_drain()
2009 evbuffer_add(buf1, chunk1, len1); in test_evbuffer_multicast_drain()