Lines Matching refs:chunk1
1854 const char chunk1[] = "If you have found the answer to such a problem";
1858 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
1865 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111);
1878 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1883 evbuffer_drain(buf1, len1-11-1); /* remove all but one byte of chunk1 */
1888 tt_assert(ref_done_cb_called_with_data == chunk1);
1930 const char chunk1[] = "If you have found the answer to such a problem";
1934 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
1941 evbuffer_add(buf1, chunk1, len1);
1965 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1976 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
1999 const char chunk1[] = "If you have found the answer to such a problem";
2002 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2009 evbuffer_add(buf1, chunk1, len1);