Searched refs:new_alloc (Results 1 - 5 of 5) sorted by relevance

/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_worker.c134 size_t new_alloc; local
149 new_alloc = blocking_children_alloc + 4;
150 octets = new_alloc * each;
153 blocking_children_alloc = new_alloc;
H A Dwork_thread.c205 size_t new_alloc; local
211 new_alloc = c->workitems_alloc + WORKITEMS_ALLOC_INC;
212 c->workitems = erealloc(c->workitems, new_alloc * each);
213 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx)
217 c->workitems_alloc = new_alloc;
241 size_t new_alloc; local
247 new_alloc = c->responses_alloc + RESPONSES_ALLOC_INC;
248 c->responses = erealloc(c->responses, new_alloc * each);
249 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx)
253 c->responses_alloc = new_alloc;
[all...]
H A Dntp_intres.c932 u_int new_alloc; local
945 new_alloc = dnschild_contexts_alloc + 20;
946 new_octets = new_alloc * ps;
950 dnschild_contexts_alloc = new_alloc;
977 u_int new_alloc; local
986 /* round new_alloc up to nearest multiple of 4 */
987 new_alloc = (min_new_alloc + 4) & ~(4 - 1);
988 new_octets = new_alloc * sizeof(dnsworker_ctx*);
992 dnsworker_contexts_alloc = new_alloc;
/freebsd-10-stable/contrib/libgnuregex/
H A Dregex_internal.c1063 int new_alloc = src1->nelem + src2->nelem + dest->alloc;
1064 int *new_elems = re_realloc (dest->elems, int, new_alloc);
1068 dest->alloc = new_alloc;
1203 int new_alloc = 2 * (src->nelem + dest->alloc);
1204 int *new_buffer = re_realloc (dest->elems, int, new_alloc);
1208 dest->alloc = new_alloc;
1583 int new_alloc = 2 * spot->num + 2;
1585 new_alloc);
1589 spot->alloc = new_alloc;
1061 int new_alloc = src1->nelem + src2->nelem + dest->alloc; local
1201 int new_alloc = 2 * (src->nelem + dest->alloc); local
1580 int new_alloc = 2 * spot->num + 2; local
/freebsd-10-stable/crypto/openssh/
H A Dssh-agent.c966 u_int i, old_alloc, new_alloc; local
990 new_alloc = sockets_alloc + 10;
991 sockets = xreallocarray(sockets, new_alloc, sizeof(sockets[0]));
992 for (i = old_alloc; i < new_alloc; i++)
994 sockets_alloc = new_alloc;

Completed in 69 milliseconds