Home
last modified time | relevance | path

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

/external/libevent/
Dbuffer.c160 size_t to_alloc; in evbuffer_chain_new() local
169 to_alloc = MIN_BUFFER_SIZE; in evbuffer_chain_new()
170 while (to_alloc < size) { in evbuffer_chain_new()
171 to_alloc <<= 1; in evbuffer_chain_new()
174 to_alloc = size; in evbuffer_chain_new()
178 if ((chain = mm_malloc(to_alloc)) == NULL) in evbuffer_chain_new()
183 chain->buffer_len = to_alloc - EVBUFFER_CHAIN_SIZE; in evbuffer_chain_new()
638 size_t to_alloc; in evbuffer_add_iovec() local
642 res = to_alloc = 0; in evbuffer_add_iovec()
645 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()