Home
last modified time | relevance | path

Searched refs:n_to_copy (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Dbuffer.c1692 size_t n_to_copy=0, extra_drain=0; in evbuffer_readln() local
1704 n_to_copy = it.pos; in evbuffer_readln()
1706 if ((line = mm_malloc(n_to_copy+1)) == NULL) { in evbuffer_readln()
1711 evbuffer_remove(buffer, line, n_to_copy); in evbuffer_readln()
1712 line[n_to_copy] = '\0'; in evbuffer_readln()
1720 *n_read_out = result ? n_to_copy : 0; in evbuffer_readln()
/freebsd/contrib/libevent/
H A Dbuffer.c1692 size_t n_to_copy=0, extra_drain=0; in evbuffer_readln() local
1704 n_to_copy = it.pos; in evbuffer_readln()
1706 if ((line = mm_malloc(n_to_copy+1)) == NULL) { in evbuffer_readln()
1711 evbuffer_remove(buffer, line, n_to_copy); in evbuffer_readln()
1712 line[n_to_copy] = '\0'; in evbuffer_readln()
1720 *n_read_out = result ? n_to_copy : 0; in evbuffer_readln()