Home
last modified time | relevance | path

Searched refs:nmax (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dgetndelim2.c66 getndelim2 (char **lineptr, size_t *linesize, size_t offset, size_t nmax, in getndelim2() argument
77 size = nmax < MIN_CHUNK ? nmax : MIN_CHUNK; in getndelim2()
89 if (nbytes_avail == 0 && nmax <= size) in getndelim2()
102 if (nbytes_avail < 2 && size < nmax) in getndelim2()
107 if (! (size < newsize && newsize <= nmax)) in getndelim2()
108 newsize = nmax; in getndelim2()
H A Dgetnline.c32 getndelim (char **lineptr, size_t *linesize, size_t nmax, in getndelim() argument
35 return getndelim2 (lineptr, linesize, 0, nmax, delimiter, EOF, stream); in getndelim()
39 getnline (char **lineptr, size_t *linesize, size_t nmax, FILE *stream) in getnline() argument
41 return getndelim (lineptr, linesize, nmax, '\n', stream); in getnline()
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.h40 size_t nmax, int delim1, int delim2,
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Dbin_uiui.c212 unsigned nmax, kmax, nmaxnow, numfac; in mpz_bdiv_bin_uiui() local
231 MAXFACS (nmax, n); in mpz_bdiv_bin_uiui()
232 ASSERT (nmax <= M); in mpz_bdiv_bin_uiui()
269 nmaxnow = MIN (nmax, numfac); in mpz_bdiv_bin_uiui()
323 unsigned nmax, numfac; in mpz_smallk_bin_uiui() local
329 MAXFACS (nmax, n); in mpz_smallk_bin_uiui()
330 nmax = MIN (nmax, M); in mpz_smallk_bin_uiui()
335 if (nmax >= k) in mpz_smallk_bin_uiui()
348 rp[0] = mulfunc[nmax - 1] (i); in mpz_smallk_bin_uiui()
350 i += nmax; /* number of factors used */ in mpz_smallk_bin_uiui()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dset_z_2exp.c34 mpfr_exp_t exp, nmax; in mpfr_set_z_2exp() local
48 nmax = MPFR_EMAX_MAX / GMP_NUMB_BITS + 1; in mpfr_set_z_2exp()
54 zn > nmax - e / GMP_NUMB_BITS : in mpfr_set_z_2exp()
55 zn + (e + 1) / GMP_NUMB_BITS - 1 > nmax)) in mpfr_set_z_2exp()
/netbsd-src/external/bsd/flex/dist/src/
H A Dbuf.c214 buf->nmax = 0; in buf_init()
241 if (n_elem + buf->nelts > buf->nmax) { in buf_append()
262 buf->nmax = n_alloc; in buf_append()
H A Dflexdef.h1054 int nmax; /* max capacity of elements. */ member
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Ddisplay.c1630 …d, char *old_face, char *new, char *new_face, int current_line, int omax, int nmax, int inv_botlin) in update_line() argument
1717 while (newbytes < nmax && newwidth < oldwidth) in update_line()
1780 ne = new + nmax; in update_line()
1849 for (nd = 0, ne = nfd; nd < nmax && *ne; ne++, nd++); in update_line()
1875 if (nmax < omax) in update_line()
1877 …else if ((nmax - W_OFFSET(current_line, wrap_offset)) < (omax - W_OFFSET (current_line, visible_wr… in update_line()
1889 temp = (omax < nmax) ? omax : nmax; in update_line()
1904 if (omax == nmax && memcmp (new, old, omax) == 0 && memcmp (new_face, old_face, omax) == 0) in update_line()
1907 new_offset = nmax; in update_line()
1910 nfd = new + nmax; in update_line()
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/tests/
H A Dtsum.c83 int i, m, nmax = 500; in generic_tests() local
86 t = (mpfr_t *) tests_allocate (nmax * sizeof(mpfr_t)); in generic_tests()
87 p = (mpfr_ptr *) tests_allocate (nmax * sizeof(mpfr_ptr)); in generic_tests()
88 for (i = 0; i < nmax; i++) in generic_tests()
101 n = (randlimb () % nmax) + 1; in generic_tests()
159 for (i = 0; i < nmax; i++) in generic_tests()
162 tests_free (t, nmax * sizeof(mpfr_t)); in generic_tests()
163 tests_free (p, nmax * sizeof(mpfr_ptr)); in generic_tests()
H A Dtgmpop.c246 test_cmp_z (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) in test_cmp_z() argument
274 for (n = 0 ; n < nmax ; n++) in test_cmp_z()
298 test_cmp_q (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) in test_cmp_q() argument
349 for (n = 0 ; n < nmax ; n++) in test_cmp_q()
422 test_cmp_f (mpfr_prec_t pmin, mpfr_prec_t pmax, int nmax) in test_cmp_f() argument
451 for (n = 0 ; n < nmax ; n++) in test_cmp_f()
H A Dtgeneric.c168 test_generic (mpfr_prec_t p0, mpfr_prec_t p1, unsigned int nmax) in test_generic() argument
213 for (n = 0; n < (prec == p1 ? nmax + NSPEC : nmax); n++) in test_generic()
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dcommon.cpp142 int nmax = 8 * int(le / dw / 8 + 0.5); in dashed_ellipse() local
143 if (nmax < 8) { in dashed_ellipse()
144 nmax = 8; in dashed_ellipse()
147 int ndash = nmax / 2; in dashed_ellipse()
154 for (int i = 0; i <= nmax; i++) { in dashed_ellipse()
/netbsd-src/usr.bin/xlint/lint1/
H A Dlex.c989 size_t n = 0, nmax = MB_CUR_MAX; in lex_wide_character_constant()
993 if (n < nmax) in lex_wide_character_constant()
1002 else if (n > nmax) { in lex_wide_character_constant()
1003 n = nmax; in lex_wide_character_constant()
1009 if (mbtowc(&wc, wbuf, nmax) < 0) in lex_wide_character_constant()
988 size_t n = 0, nmax = MB_CUR_MAX; lex_wide_character_constant() local
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dloop-iv.cc2255 uint64_t nmax, inc; in determine_max_iter() local
2271 nmax = UINTVAL (mmax) - UINTVAL (mmin); in determine_max_iter()
2276 return nmax; in determine_max_iter()
2290 nmax--; in determine_max_iter()
2295 nmax /= inc; in determine_max_iter()
2297 nmax = MIN (nmax, andmax); in determine_max_iter()
2300 nmax); in determine_max_iter()
2301 return nmax; in determine_max_iter()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dloop-iv.c2255 uint64_t nmax, inc; in determine_max_iter() local
2271 nmax = UINTVAL (mmax) - UINTVAL (mmin); in determine_max_iter()
2276 return nmax; in determine_max_iter()
2290 nmax--; in determine_max_iter()
2295 nmax /= inc; in determine_max_iter()
2297 nmax = MIN (nmax, andmax); in determine_max_iter()
2300 nmax); in determine_max_iter()
2301 return nmax; in determine_max_iter()
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/
H A Dname.c1752 unsigned int nused, labels, n, nmax; in dns_name_fromwire() local
1811 nmax = isc_buffer_availablelength(target); in dns_name_fromwire()
1812 if (nmax > DNS_NAME_MAXWIRE) { in dns_name_fromwire()
1813 nmax = DNS_NAME_MAXWIRE; in dns_name_fromwire()
1839 if (nused + c + 1 > nmax) { in dns_name_fromwire()
1915 if (nmax == DNS_NAME_MAXWIRE) { in dns_name_fromwire()
/netbsd-src/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) in fftmes() argument
997 while (n < nmax) in fftmes()
/netbsd-src/external/lgpl3/mpfr/dist/
H A DChangeLog3884 [tests/tcosu.c] increase nmax in test_generic call