Searched refs:n_to_copy (Results 1 – 1 of 1) sorted by relevance
235 size_t i, n_to_copy, n_to_drain; in evbuffer_readln() local294 n_to_copy = start_of_eol - data; in evbuffer_readln()297 if ((line = malloc(n_to_copy+1)) == NULL) { in evbuffer_readln()302 memcpy(line, data, n_to_copy); in evbuffer_readln()303 line[n_to_copy] = '\0'; in evbuffer_readln()307 *n_read_out = (size_t)n_to_copy; in evbuffer_readln()