Lines Matching refs:chunk1
2054 const char chunk1[] = "If you have found the answer to such a problem";
2058 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2065 evbuffer_add_reference(buf1, chunk1, len1, ref_done_cb, (void*)111);
2078 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2083 evbuffer_drain(buf1, len1-11-1); /* remove all but one byte of chunk1 */
2088 tt_assert(ref_done_cb_called_with_data == chunk1);
2130 const char chunk1[] = "If you have found the answer to such a problem";
2134 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2141 evbuffer_add(buf1, chunk1, len1);
2165 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2176 tt_int_op(memcmp(chunk1, "If you", 6), ==, 0);
2199 const char chunk1[] = "If you have found the answer to such a problem";
2202 size_t len1 = strlen(chunk1), len2=strlen(chunk2);
2209 evbuffer_add(buf1, chunk1, len1);