Searched refs:nalloc (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dmini_inetd.c93 int n, nalloc, i; local
98 for (nalloc = 0, a = ai; a != NULL; a = a->ai_next)
99 ++nalloc;
101 fds = malloc (nalloc * sizeof(*fds));
/freebsd-11-stable/contrib/expat/tests/
H A Dminicheck.c86 int nalloc = tc->allocated + 100; local
87 size_t new_size = sizeof(tcase_test_function) * nalloc;
91 tc->allocated = nalloc;
/freebsd-11-stable/contrib/apr/tables/
H A Dapr_tables.c75 res->nalloc = nelts; /* ...but this many allocated */
109 if (arr->nelts == arr->nalloc) {
110 int new_size = (arr->nalloc <= 0) ? 1 : arr->nalloc * 2;
115 memcpy(new_data, arr->elts, arr->nalloc * arr->elt_size);
116 memset(new_data + arr->nalloc * arr->elt_size, 0,
117 arr->elt_size * (new_size - arr->nalloc));
119 arr->nalloc = new_size;
128 if (arr->nelts == arr->nalloc) {
129 int new_size = (arr->nalloc <
[all...]
/freebsd-11-stable/usr.bin/mail/
H A Dmain.c232 cc = cat(cc, nalloc(optarg, GCC));
238 bcc = cat(bcc, nalloc(optarg, GBCC));
258 to = cat(to, nalloc(argv[i], GTO));
260 smopts = cat(smopts, nalloc(argv[i], 0));
H A Dsend.c439 cat(hp->h_to, nalloc(np->n_name, np->n_type));
442 cat(hp->h_cc, nalloc(np->n_name, np->n_type));
445 cat(hp->h_bcc, nalloc(np->n_name, np->n_type));
H A Dextern.h39 struct name *nalloc(char [], int);
H A Dnames.c54 nalloc(char str[], int ntype) function
101 t = nalloc(nbuf, ntype);
512 np = nalloc(cp, ntype);
/freebsd-11-stable/contrib/apr/include/arch/unix/
H A Dapr_arch_poll_private.h123 apr_uint32_t nalloc; member in struct:apr_pollset_t
151 apr_uint32_t nalloc; member in struct:apr_pollcb_t
/freebsd-11-stable/crypto/openssh/
H A Dmisc.c527 u_int nalloc; local
536 nalloc = args->nalloc;
538 nalloc = 32;
540 } else if (args->num+2 >= nalloc)
541 nalloc *= 2;
543 args->list = xreallocarray(args->list, nalloc, sizeof(char *));
544 args->nalloc = nalloc;
578 args->nalloc
[all...]
H A Dmisc.h78 u_int nalloc; member in struct:arglist
H A Dserverloop.c356 u_int nalloc = 0, connection_in, connection_out; local
392 &readset, &writeset, &max_fd, &nalloc, rekey_timeout_ms);
H A Dssh-agent.c1236 u_int nalloc; local
1473 nalloc = 0;
1480 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_memcache.h101 apr_uint16_t nalloc; /**< Number of Servers Allocated */ member in struct:apr_memcache_t
H A Dapr_redis.h123 apr_uint16_t nalloc; /**< Number of Servers Allocated */ member in struct:apr_redis_t
/freebsd-11-stable/contrib/apr/poll/unix/
H A Dpollset.c143 pollset->nalloc = size;
H A Dpollcb.c133 pollcb->nalloc = size;
H A Dport.c401 pollset->nalloc, &nget, timeout);
554 rv = call_port_getn(pollcb->fd, pollcb->pollset.port, pollcb->nalloc,
H A Depoll.c267 ret = epoll_wait(pollset->p->epoll_fd, pollset->p->pollset, pollset->nalloc,
448 ret = epoll_wait(pollcb->fd, pollcb->pollset.epoll, pollcb->nalloc,
H A Dpoll.c181 if (pollset->nelts == pollset->nalloc) {
341 if (pollcb->nelts == pollcb->nalloc) {
H A Dselect.c231 if (pollset->nelts == pollset->nalloc) {
/freebsd-11-stable/contrib/apr/include/
H A Dapr_tables.h70 int nalloc; member in struct:apr_array_header_t
/freebsd-11-stable/contrib/binutils/binutils/
H A Dieee.c777 unsigned int nalloc; local
783 nalloc = info->types.alloc;
784 if (nalloc == 0)
785 nalloc = 4;
786 while (indx >= nalloc)
787 nalloc *= 2;
791 nalloc * sizeof *info->types.types));
794 (nalloc - info->types.alloc) * sizeof *info->types.types);
796 tend = info->types.types + nalloc;
800 info->types.alloc = nalloc;
4517 unsigned int nalloc; local
[all...]
/freebsd-11-stable/gnu/usr.bin/grep/
H A Ddfa.c168 /* Reallocate an array of type t if nalloc is too small for index. */
169 #define REALLOC_IF_NECESSARY(p, t, nalloc, index) \
170 if ((index) >= (nalloc)) \
173 (nalloc) *= 2; \
174 while ((index) >= (nalloc)); \
175 REALLOC(p, t, nalloc); \
1674 int *nalloc; /* Sizes of arrays allocated to follow sets. */ local
1706 MALLOC(nalloc, int, d->tindex);
1708 nalloc[i] = 0;
1738 nalloc[po
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dc-format.c1074 int nalloc;
1075 nalloc = 2 * dollar_arguments_alloc + 16;
1077 nalloc);
1079 nalloc);
1081 nalloc - dollar_arguments_alloc);
1082 dollar_arguments_alloc = nalloc;
1070 int nalloc; local
/freebsd-11-stable/contrib/apr-util/redis/
H A Dapr_redis.c148 if (rc->ntotal >= rc->nalloc) {
493 rc->nalloc = max_servers;
496 apr_palloc(p, rc->nalloc * sizeof(struct apr_redis_server_t *));

Completed in 177 milliseconds

12