/original-bsd/lib/libc/gen/ |
H A D | getloadavg.c | 27 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 D | kvm_getloadavg.c | 42 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 D | rs.c | 51 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 D | malloc_.c | 49 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 D | ialloc.c | 32 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 D | fsort.c | 44 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 D | append.c | 37 append(keylist, nelem, depth, fd, put, ftbl) in append() argument 39 int nelem; 61 lastkey = keylist + nelem;
|
/original-bsd/lib/librpc/rpc/ |
H A D | xdr_array.c | 134 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 D | run.test | 623 -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 D | rsnmle.c | 67 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 D | wsnmle.c | 29 int *dimptr, *spans, ndim, nelem, offset, vlen, vtype, number; local
|
/original-bsd/contrib/sc/ |
H A D | vmtbl.c | 59 #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 D | hash.c | 259 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 D | hsearch.c | 32 info.nelem = nel;
|
H A D | README | 13 initial number of elements (nelem). 20 initial number of elements (nelem)
|
H A D | ndbm.c | 43 info.nelem = 1;
|
/original-bsd/libexec/lfs_cleanerd/ |
H A D | library.c | 241 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 D | tcreat3.c | 46 ctl.nelem = atoi(*argv++);
|
H A D | tread2.c | 45 ctl.nelem = INITIAL;
|
H A D | tverify.c | 46 ctl.nelem = INITIAL;
|
H A D | driver2.c | 49 info.nelem = 1;
|
H A D | tdel.c | 44 ctl.nelem = INITIAL;
|
H A D | thash4.c | 50 ctl.nelem = atoi(*argv++);
|
/original-bsd/contrib/awk.research/ |
H A D | tran.c | 150 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 D | db.h | 111 u_int nelem; /* number of elements */ member
|