| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| mini_inetd.c | 95 int n, nalloc, i; local 100 for (nalloc = 0, a = ai; a != NULL; a = a->ai_next) 101 ++nalloc; 103 fds = malloc (nalloc * sizeof(*fds));
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| rdataslab.c | 133 unsigned int nalloc; local 168 nalloc = nitems; 169 x = isc_mem_get(mctx, nalloc * sizeof(struct xrdata)); 178 for (i = 0; i < nalloc && result == ISC_R_SUCCESS; i++) { 188 if (i != nalloc || result != ISC_R_NOMORE) { 202 if (nalloc > 1U) { 203 qsort(x, nalloc, sizeof(struct xrdata), compare_rdata); 215 for (i = 1; i < nalloc; i++) { 278 offsettable = isc_mem_get(mctx, nalloc * sizeof(unsigned int)); 279 memset(offsettable, 0, nalloc * sizeof(unsigned int)) [all...] |
| /src/external/lgpl3/gmp/dist/tests/mpn/ |
| t-get_d.c | 408 mp_size_t nalloc, nsize, sign; local 422 nalloc = BITS_TO_LIMBS (mant_bits); 423 np = refmpn_malloc_limbs (nalloc); 425 >> (GMP_NAIL_BITS + nalloc * GMP_NUMB_BITS - mant_bits); 434 mpn_random (np, nalloc); 436 mpn_random2 (np, nalloc); 437 nsize = nalloc;
|
| /src/usr.bin/mail/ |
| main.c | 169 np = cat(np, nalloc(word, ntype)); 253 np = nalloc(optarg, 0); 383 to = cat(to, nalloc(argv[i], GTO)); 385 smopts = cat(smopts, nalloc(argv[i], GSMOPTS));
|
| send.c | 351 cat(hp->h_to, nalloc(np->n_name, np->n_type)); 354 cat(hp->h_cc, nalloc(np->n_name, np->n_type)); 357 cat(hp->h_bcc, nalloc(np->n_name, np->n_type)); 663 tp = nalloc(np->n_name, np->n_type);
|
| names.c | 56 nalloc(char str[], int ntype) function 145 t = nalloc(nbuf, ntype); 449 np = nalloc(cp, ntype);
|
| extern.h | 224 struct name * nalloc(char [], int);
|
| tty.c | 259 t = nalloc(argv[i], ntype);
|
| /src/external/mit/expat/dist/tests/ |
| minicheck.c | 95 int nalloc = tc->allocated + 100; local 96 size_t new_size = sizeof(tcase_test_function) * nalloc; 101 tc->allocated = nalloc;
|
| /src/external/mpl/bind/dist/lib/dns/ |
| rdataslab.c | 184 unsigned int nalloc; local 224 nalloc = nitems; 225 x = isc_mem_cget(mctx, nalloc, sizeof(struct xrdata)); 234 for (i = 0; i < nalloc && result == ISC_R_SUCCESS; i++) { 244 if (i != nalloc || result != ISC_R_NOMORE) { 258 if (nalloc > 1U) { 259 qsort(x, nalloc, sizeof(struct xrdata), compare_rdata); 271 for (i = 1; i < nalloc; i++) { 342 offsettable = isc_mem_cget(mctx, nalloc, sizeof(unsigned int)); 362 for (i = 0; i < nalloc; i++) [all...] |
| /src/sys/netinet/ |
| tcp_vtw.h | 260 uint32_t nalloc; /* # allocated */ member in struct:vtw_ctl 277 uint32_t nalloc; /* # allocated */ member in struct:fatp_ctl
|
| tcp_vtw.c | 178 ++fat->nalloc; 201 --fat->nalloc; 228 fat->nalloc = 2*n; 690 --ctl->nalloc; 696 if (!ctl->nalloc) 1380 int avail = ctl ? (ctl->nalloc + ctl->nfree) : 0; 1410 , ctl->nalloc, ctl->nfree)); 1458 ++ctl->nalloc; 1492 KASSERT(!ctl->nalloc); 1496 for (vtw = ctl->oldest.v; vtw && ctl->nalloc; ) { [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| misc.c | 1163 u_int nalloc; local 1172 nalloc = args->nalloc; 1174 nalloc = 32; 1178 else if (args->num >= args->nalloc) 1180 else if (args->num+2 >= nalloc) 1181 nalloc *= 2; 1183 args->list = xrecallocarray(args->list, args->nalloc, 1184 nalloc, sizeof(char *)); 1185 args->nalloc = nalloc [all...] |
| misc.h | 141 u_int nalloc; member in struct:arglist
|
| /src/sys/arch/arm/cortex/ |
| gicv3_its.c | 392 unsigned nalloc = 0; local 399 if (nalloc++ == 0) { 402 if (nalloc == count) { 405 } else if (nalloc != 0) { 406 nalloc = 0; 410 if (nalloc == count) { 414 if (nalloc != count) {
|
| /src/sys/external/bsd/drm2/linux/ |
| linux_dma_resv.c | 328 uint32_t n, nalloc; local 359 nalloc = n > UINT32_MAX/2 ? UINT32_MAX : 2*n; 360 prealloc = objlist_alloc(nalloc); 367 nalloc = n > UINT32_MAX/2 ? UINT32_MAX : MAX(2*n, 4); 368 prealloc = objlist_alloc(nalloc);
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| sec.c | 183 size_t nalloc = pai_alloc_batch(tsdn, sec->fallback, size, local 200 if (nalloc <= 1) { 205 size_t new_cached_bytes = (nalloc - 1) * size;
|
| /src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| dfa.c | 142 /* Reallocate an array of type t if nalloc is too small for index. */ 143 #define REALLOC_IF_NECESSARY(p, t, nalloc, index) \ 144 if ((index) >= (nalloc)) \ 147 (nalloc) *= 2; \ 148 while ((index) >= (nalloc)); \ 149 REALLOC(p, t, nalloc); \ 1655 int *nalloc; /* Sizes of arrays allocated to follow sets. */ local 1687 MALLOC(nalloc, int, d->tindex); 1689 nalloc[i] = 0; 1719 nalloc[pos[j].index], merged.nelem - 1) [all...] |
| /src/external/gpl2/grep/dist/src/ |
| dfa.c | 168 /* 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); \ 1676 int *nalloc; /* Sizes of arrays allocated to follow sets. */ local 1708 MALLOC(nalloc, int, d->tindex); 1710 nalloc[i] = 0; 1740 nalloc[pos[j].index], merged.nelem - 1) [all...] |
| /src/sys/kern/ |
| subr_vmem.c | 1804 int nalloc = 0; local 1918 nalloc++; 1937 fprintf(stderr, "total=%" PRIu64 ", nalloc=%d, nfree=%d\n", 1938 (uint64_t)total, nalloc, nfree);
|
| /src/external/gpl3/gcc/dist/gcc/c-family/ |
| c-format.cc | 1425 int nalloc; 1426 nalloc = 2 * dollar_arguments_alloc + 16; 1428 nalloc); 1430 nalloc); 1432 nalloc - dollar_arguments_alloc); 1433 dollar_arguments_alloc = nalloc; 1423 int nalloc; local
|
| /src/external/gpl3/gcc.old/dist/gcc/c-family/ |
| c-format.cc | 1381 int nalloc; 1382 nalloc = 2 * dollar_arguments_alloc + 16; 1384 nalloc); 1386 nalloc); 1388 nalloc - dollar_arguments_alloc); 1389 dollar_arguments_alloc = nalloc; 1379 int nalloc; local
|
| /src/sys/ufs/ffs/ |
| ffs_alloc.c | 1272 daddr_t nalloc; local 1311 nalloc = fs->fs_ipg - ufs_rw32(cgp->cg_cs.cs_nifree, needswap); 1312 if (nalloc + FFS_INOPB(fs) > initediblk &&
|