Home
last modified time | relevance | path

Searched refs:MIN (Results 76 – 100 of 505) sorted by relevance

12345678910>>...21

/dragonfly/lib/libc/db/btree/
H A Dbt_utils.c212 len = MIN(a->size, b->size); in __bt_defcmp()
236 len = MIN(a->size, b->size); in __bt_defpfx()
/dragonfly/contrib/wpa_supplicant/src/tls/
H A Dlibtommath.c62 #ifndef MIN
63 #define MIN(x,y) ((x)<(y)?(x):(y)) macro
521 MIN(a->used, b->used) <= in mp_mul()
2352 MIN (a->used, b->used) < in s_mp_mul_digs()
2370 pb = MIN (b->used, digs - ix); in s_mp_mul_digs()
2440 pa = MIN(digs, a->used + b->used); in fast_s_mp_mul_digs()
2451 ty = MIN(b->used-1, ix); in fast_s_mp_mul_digs()
2461 iy = MIN(a->used-tx, ty+1); in fast_s_mp_mul_digs()
3283 ty = MIN(a->used-1, ix); in fast_s_mp_sqr()
3293 iy = MIN(a->used-tx, ty+1); in fast_s_mp_sqr()
[all …]
/dragonfly/lib/libcrypt/
H A Dcrypt-sha256.c335 rounds = MAX (ROUNDS_MIN, MIN (srounds, ROUNDS_MAX)); in crypt_sha256_r()
340 salt_len = MIN (strcspn (salt, "$"), SALT_LEN_MAX); in crypt_sha256_r()
482 cp = stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in crypt_sha256_r()
483 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in crypt_sha256_r()
H A Dcrypt-sha512.c366 rounds = MAX (ROUNDS_MIN, MIN (srounds, ROUNDS_MAX)); in crypt_sha512_r()
371 salt_len = MIN (strcspn (salt, "$"), SALT_LEN_MAX); in crypt_sha512_r()
513 cp = stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in crypt_sha512_r()
514 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in crypt_sha512_r()
/dragonfly/lib/libc/db/test/
H A Ddbtest.c336 len = MIN(db1->size, db2->size); in compare()
365 lineno, MIN(kp->size, 20), kp->data, NOSUCHKEY); in get()
416 lineno, MIN(kp->size, 20), kp->data, NOSUCHKEY); in rem()
457 lineno, MIN(kp->size, 20), kp->data, NOSUCHKEY); in seq()
/dragonfly/test/stress/fsstress/
H A Dxfscompat.h10 #define MIN(a,b) ((a)<(b) ? (a):(b)) macro
/dragonfly/contrib/gmp/
H A Drandbui.c39 _gmp_rand (a, rstate, MIN (bits, BITS_PER_ULONG)); in gmp_urandomb_ui()
/dragonfly/contrib/dialog/
H A Ddlg_internals.h220 #undef MIN
221 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
H A Dtreeview.c300 max_choice = MIN(use_height, item_no); in dlg_treeview()
330 tree_width = MIN(tree_width, all.use_width); in dlg_treeview()
483 i = -MIN(scrollamt, max_choice); in dlg_treeview()
488 i = MIN(choice + max_choice, item_no - scrollamt - 1); in dlg_treeview()
/dragonfly/lib/libc/gen/
H A Dgetloadavg.c56 nelem = MIN(nelem, sizeof(loadinfo.ldavg) / sizeof(__uint64_t)); in getloadavg()
/dragonfly/libexec/rbootd/
H A Drmp.h50 #define RMP_MAX_PACKET MIN(1514,MCLBYTES)
/dragonfly/contrib/nvi2/vi/
H A Dv_scroll.c346 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pagedown()
397 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW)); in v_pageup()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dsbitmap.h168 #define EXECUTE_IF_SET_IN_SBITMAP(SBITMAP, MIN, N, ITER) \ argument
169 for (sbitmap_iter_init (&(ITER), (SBITMAP), (MIN)); \
/dragonfly/sys/dev/sound/midi/
H A Dmidi.c589 used = MIN(size, MIDIQ_LEN(m->outq)); in midi_out()
786 used = MIN(MIDIQ_LEN(m->inq), uio->uio_resid); in midi_read()
787 used = MIN(used, MIDI_RSIZE); in midi_read()
865 used = MIN(MIDIQ_AVAIL(m->outq), uio->uio_resid); in midi_write()
866 used = MIN(used, MIDI_WSIZE); in midi_write()
1289 used = MIN(MIDIQ_AVAIL(m->outq), len); in midisynth_writeraw()
1290 used = MIN(used, MIDI_WSIZE); in midisynth_writeraw()
/dragonfly/usr.sbin/fstyp/
H A Dcd9660.c57 strlcpy(label, volume, MIN(size, VOLUME_LEN)); in fstyp_cd9660()
/dragonfly/games/phantasia/
H A Dmisc.c195 size = MIN(7, size); in tradingpost()
989 Player.p_quksilver = MIN(99.0, Player.p_quksilver); in adjuststats()
990 Player.p_mana = MIN(Player.p_mana, in adjuststats()
992 Player.p_brains = MIN(Player.p_brains, in adjuststats()
994 Player.p_charms = MIN(Player.p_charms, Player.p_level + 10.0); in adjuststats()
/dragonfly/contrib/gcc-4.7/libcpp/
H A Dsystem.h295 #undef MIN
297 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) macro
/dragonfly/contrib/gmp/mpn/generic/
H A Ddivexact.c151 dn = MIN (dn, qn); in mpn_divexact()
168 dn = MIN (dn, qn); in mpn_divexact()
/dragonfly/contrib/tre/lib/
H A Dtre-internal.h149 #undef MIN
151 #define MIN(a, b) (((a) <= (b)) ? (a) : (b)) macro
/dragonfly/contrib/tnftp/
H A Dtnftp.h461 #if !defined(MIN)
462 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/dragonfly/contrib/gcc-8.0/gcc/
H A Dparams-enum.h20 #define DEFPARAM(ENUM, OPTION, HELP, DEFAULT, MIN, MAX) argument
H A Dprofile-count.c259 return MIN (scale, CGRAPH_FREQ_MAX); in to_cgraph_frequency()
343 ret.m_val = MIN (v, (gcov_type)max_count); in from_gcov_type()
/dragonfly/sys/dev/crypto/tpm/
H A Dtpm20.c85 bytes_to_transfer = MIN(sc->pending_data_length, uio->uio_resid); in tpm20_read()
278 entropy_size = MIN(entropy_size, TPM_HARVEST_SIZE); in tpm20_harvest()
/dragonfly/usr.bin/window/
H A Dcmd7.c56 col = MIN(w->ww_w.r, wwncol) - 1; in c_size()
57 row = MIN(w->ww_w.b, wwnrow) - 1; in c_size()
H A Dwwopen.c85 w->ww_i.b = MIN(w->ww_w.b, wwnrow); in wwopen()
87 w->ww_i.r = MIN(w->ww_w.r, wwncol); in wwopen()

12345678910>>...21