Searched refs:nmax (Results 1 - 20 of 20) sorted by relevance

/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dgetnline.c32 getndelim (char **lineptr, size_t *linesize, size_t nmax, argument
35 return getndelim2 (lineptr, linesize, 0, nmax, delimiter, EOF, stream);
39 getnline (char **lineptr, size_t *linesize, size_t nmax, FILE *stream) argument
41 return getndelim (lineptr, linesize, nmax, '\n', stream);
H A Dgetnline.h34 extern ssize_t getnline (char **lineptr, size_t *linesize, size_t nmax,
45 extern ssize_t getndelim (char **lineptr, size_t *linesize, size_t nmax,
H A Dgetndelim2.c66 getndelim2 (char **lineptr, size_t *linesize, size_t offset, size_t nmax, argument
77 size = nmax < MIN_CHUNK ? nmax : MIN_CHUNK;
89 if (nbytes_avail == 0 && nmax <= size)
102 if (nbytes_avail < 2 && size < nmax)
107 if (! (size < newsize && newsize <= nmax))
108 newsize = nmax;
H A Dgetndelim2.h40 size_t nmax, int delim1, int delim2,
/netbsd-current/external/lgpl3/gmp/dist/mpz/
H A Dbin_uiui.c66 (2) Compute nmax/kmax semi-accurately, without scalar division or a loop.
212 unsigned nmax, kmax, nmaxnow, numfac; local
231 MAXFACS (nmax, n);
232 ASSERT (nmax <= M);
269 nmaxnow = MIN (nmax, numfac);
323 unsigned nmax, numfac; local
329 MAXFACS (nmax, n);
330 nmax = MIN (nmax, M);
335 if (nmax >
[all...]
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dset_z_2exp.c34 mpfr_exp_t exp, nmax; local
48 nmax = MPFR_EMAX_MAX / GMP_NUMB_BITS + 1;
49 /* Detect early overflow with zn + en > nmax,
54 zn > nmax - e / GMP_NUMB_BITS :
55 zn + (e + 1) / GMP_NUMB_BITS - 1 > nmax))
/netbsd-current/external/bsd/flex/dist/src/
H A Dbuf.c215 buf->nmax = 0;
242 if (n_elem + buf->nelts > buf->nmax) {
263 buf->nmax = n_alloc;
H A Dflexdef.h1054 int nmax; /* max capacity of elements. */ member in struct:Buf
/netbsd-current/external/gpl3/gdb/dist/readline/readline/
H A Ddisplay.c1630 update_line (char *old, char *old_face, char *new, char *new_face, int current_line, int omax, int nmax, int inv_botlin) argument
1717 while (newbytes < nmax && newwidth < oldwidth)
1780 ne = new + nmax;
1849 for (nd = 0, ne = nfd; nd < nmax && *ne; ne++, nd++);
1875 if (nmax < omax)
1877 else if ((nmax - W_OFFSET(current_line, wrap_offset)) < (omax - W_OFFSET (current_line, visible_wrap_offset)))
1889 temp = (omax < nmax) ? omax : nmax;
1904 if (omax == nmax && memcmp (new, old, omax) == 0 && memcmp (new_face, old_face, omax) == 0)
1907 new_offset = nmax;
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/
H A Ddisplay.c1466 update_line (char *old, char *new, int current_line, int omax, int nmax, int inv_botlin) argument
1552 while (newbytes < nmax && newwidth < oldwidth)
1611 ne = new + nmax;
1661 temp = (omax < nmax) ? omax : nmax;
1674 if (omax == nmax && STREQN (new, old, omax))
1677 new_offset = nmax;
1679 nfd = new + nmax;
1710 for (nd = nfd - new, ne = nfd; nd < nmax && *ne; ne++, nd++);
1852 if (lendiff > nmax)
[all...]
/netbsd-current/external/lgpl3/mpfr/dist/tests/
H A Dtsum.c83 int i, m, nmax = 500; local
86 t = (mpfr_t *) tests_allocate (nmax * sizeof(mpfr_t));
87 p = (mpfr_ptr *) tests_allocate (nmax * sizeof(mpfr_ptr));
88 for (i = 0; i < nmax; i++)
101 n = (randlimb () % nmax) + 1;
159 for (i = 0; i < nmax; i++)
162 tests_free (t, nmax * sizeof(mpfr_t));
163 tests_free (p, nmax * sizeof(mpfr_ptr));
H A Dtgmpop.c246 test_cmp_z (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) argument
274 for (n = 0 ; n < nmax ; n++)
298 test_cmp_q (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) argument
349 for (n = 0 ; n < nmax ; n++)
422 test_cmp_f (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) argument
451 for (n = 0 ; n < nmax ; n++)
H A Dtgeneric.c168 test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax) argument
213 for (n = 0; n < (prec == p1 ? nmax + NSPEC : nmax); n++)
/netbsd-current/external/gpl2/groff/dist/src/preproc/pic/
H A Dcommon.cpp141 // for symmetry we make nmax a multiple of 8
142 int nmax = 8 * int(le / dw / 8 + 0.5); local
143 if (nmax < 8) {
144 nmax = 8;
147 int ndash = nmax / 2;
154 for (int i = 0; i <= nmax; i++) {
199 // for symmetry we make nmax a multiple of 4
/netbsd-current/usr.bin/xlint/lint1/
H A Dlex.c988 size_t n = 0, nmax = MB_CUR_MAX; local
992 if (n < nmax)
1001 else if (n > nmax) {
1002 n = nmax;
1008 if (mbtowc(&wc, wbuf, nmax) < 0)
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dloop-iv.c2255 uint64_t nmax, inc; local
2271 nmax = UINTVAL (mmax) - UINTVAL (mmin);
2276 return nmax;
2290 nmax--;
2295 nmax /= inc;
2297 nmax = MIN (nmax, andmax);
2300 nmax);
2301 return nmax;
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dloop-iv.cc2255 uint64_t nmax, inc; local
2271 nmax = UINTVAL (mmax) - UINTVAL (mmin);
2276 return nmax;
2290 nmax--;
2295 nmax /= inc;
2297 nmax = MIN (nmax, andmax);
2300 nmax);
2301 return nmax;
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/
H A Dname.c1752 unsigned int nused, labels, n, nmax; local
1811 nmax = isc_buffer_availablelength(target);
1812 if (nmax > DNS_NAME_MAXWIRE) {
1813 nmax = DNS_NAME_MAXWIRE;
1839 if (nused + c + 1 > nmax) {
1915 if (nmax == DNS_NAME_MAXWIRE) {
/netbsd-current/external/bsd/wpa/dist/src/utils/
H A Deloop.c296 int nmax = eloop.count + 1 + 50; local
297 n = os_realloc_array(eloop.pollfds, nmax,
302 eloop.max_poll_fds = nmax;
/netbsd-current/external/lgpl3/gmp/dist/tune/
H A Dtuneup.c942 fftmes (mp_size_t nmin, mp_size_t nmax, int initial_k, struct fft_param_t *p, int idx, int print) argument
997 while (n < nmax)

Completed in 271 milliseconds