Home
last modified time | relevance | path

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

12

/openbsd/usr.bin/rs/
H A Drs.c71 int nelem; variable
185 nelem = ep - elem; in getfile()
204 if (n++ >= nelem) in putfile()
249 if (!nelem) in prepfile()
264 if (ocols > nelem) in prepfile()
265 ocols = nelem; in prepfile()
266 orows = nelem / ocols + (nelem % ocols ? 1 : 0); in prepfile()
269 orows = nelem / ocols + (nelem % ocols ? 1 : 0); in prepfile()
271 ocols = nelem / orows + (nelem % orows ? 1 : 0); in prepfile()
277 nelem = lp - elem; in prepfile()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A Dultrasp6.c100 long int i, nelem, ipHi, ipLo; in lines_hydro() local
124 for( nelem=0; nelem < 30L; nelem++ ) in lines_hydro()
132 for( ipLo=1+iCase; ipLo<(((6)<(iso.numLevels[ipH_LIKE][nelem])) ? (6) : (5)); ++ipLo ) in lines_hydro()
134 …ipLo+1; ipHi< (((ipLo+5)<(iso.numLevels[ipH_LIKE][nelem])) ? (ipLo+5) : (iso.numLevels[ipH_LIKE][n… in lines_hydro()
138 hbetab = HSRate( ipHi,ipLo , nelem+1, phycon.te , dense.eden, chAB[iCase] ); in lines_hydro()
140 CaseBHS.lgHCaseBOK[iCase][nelem] = 0; in lines_hydro()
143 hbetab *= abund.xIonFracs[nelem][nelem+1]*dense.eden; in lines_hydro()
/openbsd/lib/libkvm/
H A Dkvm_getloadavg.c65 kvm_getloadavg(kvm_t *kd, double loadavg[], int nelem) in kvm_getloadavg() argument
72 return (getloadavg(loadavg, nelem)); in kvm_getloadavg()
94 nelem = MINIMUM(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t)); in kvm_getloadavg()
95 for (i = 0; i < nelem; i++) in kvm_getloadavg()
97 return (nelem); in kvm_getloadavg()
/openbsd/gnu/lib/libiberty/src/
H A Dcalloc.c23 calloc (size_t nelem, size_t elsize) in calloc() argument
27 if (nelem == 0 || elsize == 0) in calloc()
28 nelem = elsize = 1; in calloc()
30 ptr = malloc (nelem * elsize); in calloc()
31 if (ptr) bzero (ptr, nelem * elsize); in calloc()
H A Dxmalloc.c130 xcalloc (size_t nelem, size_t elsize) in xcalloc() argument
134 if (nelem == 0 || elsize == 0) in xcalloc()
135 nelem = elsize = 1; in xcalloc()
137 newmem = calloc (nelem, elsize); in xcalloc()
139 xmalloc_failed (nelem * elsize); in xcalloc()
/openbsd/lib/libc/gen/
H A Dgetloadavg.c46 getloadavg(double loadavg[], int nelem) in getloadavg() argument
57 nelem = MINIMUM(nelem, sizeof(loadinfo.ldavg) / sizeof(fixpt_t)); in getloadavg()
58 for (i = 0; i < nelem; i++) in getloadavg()
60 return (nelem); in getloadavg()
/openbsd/regress/lib/libc/db/
H A Drun.test631 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
644 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
657 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
670 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
683 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
696 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\
/openbsd/lib/libc/rpc/
H A Dxdr_array.c130 xdr_vector(XDR *xdrs, char *basep, u_int nelem, u_int elemsize, in xdr_vector() argument
137 for (i = 0; i < nelem; i++) { in xdr_vector()
/openbsd/lib/libc/db/hash/
H A Dhash.c269 int nelem; in init_hash() local
271 nelem = 1; in init_hash()
306 if (info->nelem) in init_hash()
307 nelem = info->nelem; in init_hash()
318 if (init_htab(hashp, nelem)) in init_hash()
330 init_htab(HTAB *hashp, int nelem) in init_htab() argument
339 nelem = (nelem - 1) / hashp->FFACTOR + 1; in init_htab()
341 l2 = __log2(MAXIMUM(nelem, 2)); in init_htab()
H A DREADME13 initial number of elements (nelem).
20 initial number of elements (nelem)
H A Dndbm.c77 info.nelem = 1; in _dbm_open()
/openbsd/usr.bin/awk/
H A Dtran.c168 ap->nelem = 0; in makesymtab()
192 tp->nelem--; in freesymtab()
196 if (tp->nelem != 0) in freesymtab()
220 tp->nelem--; in freeelem()
244 tp->nelem++; in setsymtab()
245 if (tp->nelem > FULLTAB * tp->size) in setsymtab()
H A Dawk.h111 int nelem; /* elements in table right now */ member
/openbsd/usr.bin/vi/common/
H A Dmem.h154 #define REALLOCARRAY(sp, p, nelem, size) { \ argument
156 if (((tmpp) = (reallocarray((p), (nelem), (size)))) == NULL) { \
/openbsd/include/
H A Ddb.h135 unsigned int nelem; /* number of elements */ member
/openbsd/gnu/usr.bin/perl/ext/XS-Typemap/
H A DTypemap.xs63 intArray * intArrayPtr( int nelem ) { in intArrayPtr() argument
65 Newx(array, nelem, intArray); in intArrayPtr()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dvalops.c1008 int nelem; in value_array() local
1019 nelem = highbound - lowbound + 1; in value_array()
1020 if (nelem <= 0) in value_array()
1025 for (idx = 1; idx < nelem; idx++) in value_array()
1041 for (idx = 0; idx < nelem; idx++) in value_array()
1056 addr = allocate_space_in_inferior (nelem * typelength); in value_array()
1057 for (idx = 0; idx < nelem; idx++) in value_array()
/openbsd/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c192 if (st.st_size / 128 * 3 > openinfo.nelem) in main()
193 openinfo.nelem = st.st_size / 128 * 3; in main()
/openbsd/gnu/usr.bin/cvs/lib/
H A Dsighandle.c53 char *calloc(unsigned nelem, unsigned size);
/openbsd/gnu/usr.bin/perl/cpan/DB_File/t/
H A Ddb-hash.t104 ok(3, ! defined $dbh->{nelem}) ;
115 $dbh->{nelem} = 400 ;
116 ok(9, $dbh->{nelem} == 400 );
/openbsd/gnu/usr.bin/perl/cpan/DB_File/
H A DDB_File.pm36 nelem => 1,
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dxsym.c1667 long lower, upper, nelem; in bfd_sym_print_type_information() local
1674 bfd_sym_fetch_long (buf, len, offset, &offset, &nelem); in bfd_sym_print_type_information()
1677 (unsigned long) nelem); in bfd_sym_print_type_information()
1679 for (i = 0; i < nelem; i++) in bfd_sym_print_type_information()
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dxsym.c1750 unsigned long lower, upper, nelem; local
1757 bfd_sym_fetch_long (buf, len, offset, &offset, &nelem);
1758 fprintf (f, " from %lu to %lu with %lu elements: ", lower, upper, nelem);
1760 for (i = 0; i < nelem; i++)
/openbsd/sys/arch/octeon/dev/
H A Dif_ogx.c2241 ogx_fpa3_aura_load(struct ogx_node *node, struct fpa3aura *aura, size_t nelem, in ogx_fpa3_aura_load() argument
2252 if (nelem > SIZE_MAX / size) in ogx_fpa3_aura_load()
2254 totsize = nelem * size; in ogx_fpa3_aura_load()
2269 for (i = 0, addr = aura->dmaseg.ds_addr; i < nelem; i++, addr += size) in ogx_fpa3_aura_load()
/openbsd/sys/kern/
H A Dtty_pty.c150 ptyarralloc(int nelem) in ptyarralloc() argument
154 pt = mallocarray(nelem, sizeof(struct pt_softc *), M_DEVBUF, in ptyarralloc()

12