Home
last modified time | relevance | path

Searched refs:nelem (Results 1 – 25 of 26) sorted by relevance

12

/original-bsd/lib/libc/gen/
H A Dgetloadavg.c27 getloadavg(loadavg, nelem) in getloadavg() argument
29 int nelem;
41 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t));
42 for (i = 0; i < nelem; i++)
44 return (nelem);
/original-bsd/lib/libkvm/
H A Dkvm_getloadavg.c42 kvm_getloadavg(kd, loadavg, nelem) in kvm_getloadavg() argument
45 int nelem;
52 return (getloadavg(loadavg, nelem));
75 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t));
76 for (i = 0; i < nelem; i++)
78 return (nelem);
/original-bsd/usr.bin/rs/
H A Drs.c51 int nelem; variable
154 nelem = ep - elem; in getfile()
220 if (!nelem) in prepfile()
232 if (ocols > nelem) in prepfile()
233 ocols = nelem; in prepfile()
234 orows = nelem / ocols + (nelem % ocols ? 1 : 0); in prepfile()
237 orows = nelem / ocols + (nelem % ocols ? 1 : 0); in prepfile()
239 ocols = nelem / orows + (nelem % orows ? 1 : 0); in prepfile()
247 *ep = *(ep - nelem); in prepfile()
248 nelem = lp - elem; in prepfile()
[all …]
/original-bsd/usr.bin/f77/libU77/
H A Dmalloc_.c49 falloc_( nelem, elsize, clean, basevec, addr, offset ) in falloc_() argument
50 int *nelem, *elsize, *clean, *offset; in falloc_()
54 *addr = calloc( *nelem + 1, *elsize );
56 *addr = malloc( (*nelem + 1) * *elsize );
/original-bsd/share/zoneinfo/
H A Dialloc.c32 char * icalloc __P((int nelem, int elsize));
54 icalloc(nelem, elsize) in icalloc() argument
55 int nelem; in icalloc()
58 if (nelem == 0 || elsize == 0)
59 nelem = elsize = 1;
60 return calloc((size_t) nelem, (size_t) elsize);
/original-bsd/contrib/sort/
H A Dfsort.c44 register int c, nelem; local
94 nelem = 0;
99 if (++nelem == MAXNUM) {
109 if (radixsort(keylist, nelem, weights,
112 append(keylist, nelem, depth, fstack[
134 onepass(keylist, depth, nelem, sizes,
142 if (nelem > 1)
143 if (radixsort(keylist, nelem, weights, REC_D))
145 append(keylist, nelem, depth, outfd, putline, ftbl);
H A Dappend.c37 append(keylist, nelem, depth, fd, put, ftbl) in append() argument
39 int nelem;
61 lastkey = keylist + nelem;
/original-bsd/lib/librpc/rpc/
H A Dxdr_array.c134 xdr_vector(xdrs, basep, nelem, elemsize, xdr_elem) in xdr_vector() argument
137 register u_int nelem;
145 for (i = 0; i < nelem; i++) {
/original-bsd/lib/libc/db/test/
H A Drun.test623 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
636 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
649 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
662 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
675 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
688 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
/original-bsd/usr.bin/f77/libI77/
H A Drsnmle.c67 int nelem, vlen, vtype; local
114 if( n = get_pars( entry, &addr, &nelem, &vlen, &vtype ))
120 if(n = l_read( nelem, addr, vlen, vtype )) goto rderr_n;
149 get_pars( entry, addr, nelem, vlen, vtype ) in get_pars() argument
152 int *nelem, /* number of elements to read */
188 *nelem = 1;
194 *nelem = dimptr[1];
219 *nelem = dimptr[1] - offset;
H A Dwsnmle.c29 int *dimptr, *spans, ndim, nelem, offset, vlen, vtype, number; local
/original-bsd/contrib/sc/
H A Dvmtbl.c59 #define GROWALLOC(newptr, oldptr, nelem, type, msg) \ argument
61 newptr = (type *)malloc((unsigned)(nelem*sizeof(type))); \
64 (unsigned)(nelem*sizeof(type))); \
/original-bsd/lib/libc/db/hash/
H A Dhash.c259 int nelem; local
261 nelem = 1;
296 if (info->nelem)
297 nelem = info->nelem;
308 if (init_htab(hashp, nelem))
320 init_htab(hashp, nelem) in init_htab() argument
322 int nelem;
332 nelem = (nelem - 1) / hashp->FFACTOR + 1;
334 l2 = __log2(MAX(nelem, 2));
H A Dhsearch.c32 info.nelem = nel;
H A DREADME13 initial number of elements (nelem).
20 initial number of elements (nelem)
H A Dndbm.c43 info.nelem = 1;
/original-bsd/libexec/lfs_cleanerd/
H A Dlibrary.c241 int i, nelem, nblocks, nsegs, sumsize; local
245 nelem = 2 * lfsp->lfs_ssize;
246 if (!(bip = malloc(nelem * sizeof(BLOCK_INFO))))
296 if (*bcount + nblocks + sp->ss_ninos > nelem) {
297 nelem = *bcount + nblocks + sp->ss_ninos;
298 bip = realloc (bip, nelem * sizeof(BLOCK_INFO));
/original-bsd/lib/libc/db/test/hash.tests/
H A Dtcreat3.c46 ctl.nelem = atoi(*argv++);
H A Dtread2.c45 ctl.nelem = INITIAL;
H A Dtverify.c46 ctl.nelem = INITIAL;
H A Ddriver2.c49 info.nelem = 1;
H A Dtdel.c44 ctl.nelem = INITIAL;
H A Dthash4.c50 ctl.nelem = atoi(*argv++);
/original-bsd/contrib/awk.research/
H A Dtran.c150 ap->nelem = 0; in makesymtab()
198 tp->nelem--; in freeelem()
220 tp->nelem++; in setsymtab()
221 if (tp->nelem > FULLTAB * tp->size) in setsymtab()
/original-bsd/include/
H A Ddb.h111 u_int nelem; /* number of elements */ member

12