/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | 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));
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | 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 * sizeo [all...] |
/netbsd-current/external/mpl/bind/dist/lib/dns/ |
H A D | 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 * sizeo [all...] |
/netbsd-current/external/lgpl3/gmp/dist/tests/mpn/ |
H A D | 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;
|
/netbsd-current/external/mit/expat/dist/tests/ |
H A D | minicheck.c | 89 int nalloc = tc->allocated + 100; local 90 size_t new_size = sizeof(tcase_test_function) * nalloc; 94 tc->allocated = nalloc;
|
/netbsd-current/usr.bin/mail/ |
H A D | 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));
|
H A D | 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)); 664 tp = nalloc(np->n_name, np->n_type);
|
H A D | names.c | 56 nalloc(char str[], int ntype) function 145 t = nalloc(nbuf, ntype); 449 np = nalloc(cp, ntype);
|
H A D | tty.c | 259 t = nalloc(argv[i], ntype);
|
H A D | extern.h | 224 struct name * nalloc(char [], int);
|
/netbsd-current/sys/netinet/ |
H A D | tcp_vtw.h | 260 uint32_t nalloc; /* # allocated */ member in struct:vtw_ctl 277 uint32_t nalloc; /* # allocated */ member in struct:fatp_ctl
|
H A D | tcp_vtw.c | 178 ++fat->nalloc; 201 --fat->nalloc; 228 fat->nalloc = 2*n; 687 --ctl->nalloc; 693 if (!ctl->nalloc) 1377 int avail = ctl ? (ctl->nalloc + ctl->nfree) : 0; 1407 , ctl->nalloc, ctl->nfree)); 1455 ++ctl->nalloc; 1489 KASSERT(!ctl->nalloc); 1493 for (vtw = ctl->oldest.v; vtw && ctl->nalloc; ) { [all...] |
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | misc.c | 1055 u_int nalloc; local 1064 nalloc = args->nalloc; 1066 nalloc = 32; 1070 else if (args->num >= args->nalloc) 1072 else if (args->num+2 >= nalloc) 1073 nalloc *= 2; 1075 args->list = xrecallocarray(args->list, args->nalloc, 1076 nalloc, sizeof(char *)); 1077 args->nalloc [all...] |
H A D | misc.h | 125 u_int nalloc; member in struct:arglist
|
/netbsd-current/sys/external/bsd/drm2/linux/ |
H A D | 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);
|
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
H A D | 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[po [all...] |
/netbsd-current/external/gpl2/grep/dist/src/ |
H A D | 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[po [all...] |
/netbsd-current/sys/kern/ |
H A D | subr_vmem.c | 1791 int nalloc = 0; local 1905 nalloc++; 1924 fprintf(stderr, "total=%" PRIu64 ", nalloc=%d, nfree=%d\n", 1925 (uint64_t)total, nalloc, nfree);
|
/netbsd-current/external/gpl3/gcc.old/dist/gcc/c-family/ |
H A D | c-format.c | 1389 int nalloc; 1390 nalloc = 2 * dollar_arguments_alloc + 16; 1392 nalloc); 1394 nalloc); 1396 nalloc - dollar_arguments_alloc); 1397 dollar_arguments_alloc = nalloc; 1387 int nalloc; local
|
/netbsd-current/external/gpl3/gcc/dist/gcc/c-family/ |
H A D | 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
|
/netbsd-current/sys/ufs/ffs/ |
H A D | 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 &&
|