Home
last modified time | relevance | path

Searched refs:to_alloc (Results 1 – 3 of 3) sorted by relevance

/external/libevent/
Dbuffer.c159 size_t to_alloc; in evbuffer_chain_new() local
168 to_alloc = MIN_BUFFER_SIZE; in evbuffer_chain_new()
169 while (to_alloc < size) { in evbuffer_chain_new()
170 to_alloc <<= 1; in evbuffer_chain_new()
173 to_alloc = size; in evbuffer_chain_new()
177 if ((chain = mm_malloc(to_alloc)) == NULL) in evbuffer_chain_new()
182 chain->buffer_len = to_alloc - EVBUFFER_CHAIN_SIZE; in evbuffer_chain_new()
637 size_t to_alloc; in evbuffer_add_iovec() local
641 res = to_alloc = 0; in evbuffer_add_iovec()
644 to_alloc += vec[n].iov_len; in evbuffer_add_iovec()
[all …]
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.cpp45 int to_alloc = loops * MAXNUMLINES * (MAXSRCLEN + catenate_STRLEN); in main() local
46 catICU = new UnicodeString(to_alloc,'a',0); in main()
Dstringperf.h78 int to_alloc = loops * MAXNUMLINES * (MAXSRCLEN + catenate_STRLEN); in getEventsPerIteration() local
79 catICU = new UnicodeString(to_alloc,'a',0); in getEventsPerIteration()