Home
last modified time | relevance | path

Searched refs:n_vecs (Results 1 – 4 of 4) sorted by relevance

/external/bison/lib/
Dbitsetv.c29 bitsetv_alloc (bitset_bindex n_vecs, bitset_bindex n_bits, in bitsetv_alloc() argument
41 if (BITSET_SIZE_MAX / (sizeof (bitset) + bytes) <= n_vecs) in bitsetv_alloc()
45 vector_bytes = (n_vecs + 1) * sizeof (bitset) + bytes - 1; in bitsetv_alloc()
47 bsetv = xcalloc (1, vector_bytes + bytes * n_vecs); in bitsetv_alloc()
49 for (i = 0; i < n_vecs; i++) in bitsetv_alloc()
65 bitsetv_create (bitset_bindex n_vecs, bitset_bindex n_bits, unsigned int attr) in bitsetv_create() argument
70 return bitsetv_alloc (n_vecs, n_bits, type); in bitsetv_create()
/external/libevent/
Devbuffer-internal.h273 struct evbuffer_iovec *vecs, int n_vecs, struct evbuffer_chain ***chainp,
Dbuffer.c623 struct evbuffer_iovec *vec, int n_vecs) in evbuffer_reserve_space() argument
631 if (n_vecs < 1) in evbuffer_reserve_space()
633 if (n_vecs == 1) { in evbuffer_reserve_space()
642 if (_evbuffer_expand_fast(buf, size, n_vecs)<0) in evbuffer_reserve_space()
644 n = _evbuffer_read_setup_vecs(buf, size, vec, n_vecs, in evbuffer_reserve_space()
672 struct evbuffer_iovec *vec, int n_vecs) in evbuffer_commit_space() argument
683 if (n_vecs == 0) { in evbuffer_commit_space()
686 } else if (n_vecs == 1 && in evbuffer_commit_space()
710 for (i=0; i<n_vecs; ++i) { in evbuffer_commit_space()
720 for (i=0; i<n_vecs; ++i) { in evbuffer_commit_space()
/external/libevent/include/event2/
Dbuffer.h305 struct evbuffer_iovec *vec, int n_vecs);