Lines Matching refs:chunk1
2058 const char chunk1[] = "If you have found the answer to such a problem";
2062 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2069 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111);
2082 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2087 evbuffer_drain(buf1, len1-11-1); /* remove all but one byte of chunk1 */
2092 tt_assert(ref_done_cb_called_with_data == chunk1);
2134 const char chunk1[] = "If you have found the answer to such a problem";
2138 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2145 evbuffer_add(buf1, chunk1, len1);
2169 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2180 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2203 const char chunk1[] = "If you have found the answer to such a problem";
2206 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2213 evbuffer_add(buf1, chunk1, len1);