| /dragonfly/contrib/mpfr/src/ |
| HD | rem1.c | 61 mpz_t mx, my, r; in mpfr_rem1() local 86 mpz_init (mx); in mpfr_rem1() 90 ex = mpfr_get_z_2exp (mx, x); /* x = mx*2^ex */ in mpfr_rem1() 98 mpz_abs (mx, mx); in mpfr_rem1() 115 mpz_tdiv_qr (mx, r, mx, my); in mpfr_rem1() 118 mpz_fdiv_qr (mx, r, mx, my); in mpfr_rem1() 121 q_is_odd = mpz_tstbit (mx, 0); in mpfr_rem1() 124 mpz_tdiv_r_2exp (mx, mx, WANTED_BITS); in mpfr_rem1() 125 *quo = mpz_get_si (mx); in mpfr_rem1() 147 mpz_mul (r, r, mx); in mpfr_rem1() [all …]
|
| HD | set_f.c | 29 mp_limb_t *my, *mx, *tmp; in mpfr_set_f() local 48 mx = PTR(x); in mpfr_set_f() 50 count_leading_zeros(cnt, mx[sx - 1]); in mpfr_set_f() 59 mpn_lshift (tmp, mx, sx, cnt); in mpfr_set_f() 63 MPN_COPY (tmp, mx, sx); in mpfr_set_f() 73 mpn_lshift (my + sy - sx, mx, sx, cnt); in mpfr_set_f() 75 MPN_COPY (my + sy - sx, mx, sx); in mpfr_set_f()
|
| HD | print_raw.c | 44 mp_limb_t *mx; in mpfr_fprint_binary() local 48 mx = MPFR_MANT (x); in mpfr_fprint_binary() 57 wd = mx[n]; in mpfr_fprint_binary()
|
| /dragonfly/crypto/libressl/crypto/ |
| HD | ex_data.c | 417 int mx, i; in int_new_ex_data() local 427 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_new_ex_data() 428 if (mx > 0) { in int_new_ex_data() 429 storage = reallocarray(NULL, mx, sizeof(CRYPTO_EX_DATA_FUNCS*)); in int_new_ex_data() 432 for (i = 0; i < mx; i++) in int_new_ex_data() 438 if ((mx > 0) && !storage) { in int_new_ex_data() 442 for (i = 0; i < mx; i++) { in int_new_ex_data() 457 int mx, j, i; in int_dup_ex_data() local 468 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_dup_ex_data() 470 if (j < mx) in int_dup_ex_data() [all …]
|
| /dragonfly/contrib/openbsd_libm/src/ld80/ |
| HD | e_coshl.c | 44 u_int32_t mx,lx; in coshl() local 47 GET_LDOUBLE_WORDS(ex,mx,lx,x); in coshl() 54 if(ex < 0x3ffd || (ex == 0x3ffd && mx < 0xb17217f7u)) { in coshl() 62 if (ex < 0x4003 || (ex == 0x4003 && mx < 0xb0000000u)) { in coshl() 68 if (ex < 0x400c || (ex == 0x400c && mx < 0xb1700000u)) in coshl() 72 if (ex == 0x400c && (mx < 0xb174ddc0u in coshl() 73 || (mx == 0xb174ddc0u && lx < 0x31aec0ebu))) in coshl()
|
| /dragonfly/games/hack/ |
| HD | hack.fight.c | 94 vis = (cansee(magr->mx, magr->my) && cansee(mdef->mx, mdef->my)); in hitmm() 105 boolean far = (dist(magr->mx, magr->my) > 15); in hitmm() 147 (void) mkobj_at(pd->mlet, mdef->mx, mdef->my); in mondied() 148 if (cansee(mdef->mx, mdef->my)) { in mondied() 150 atl(mdef->mx, mdef->my, fobj->olet); in mondied() 162 mksobj_at(ENORMOUS_ROCK, mdef->mx, mdef->my); in monstone() 164 mksobj_at(ROCK, mdef->mx, mdef->my); in monstone() 165 if (cansee(mdef->mx, mdef->my)) { in monstone() 167 atl(mdef->mx, mdef->my, fobj->olet); in monstone() 179 if (DIST(mon->mx, mon->my, mtmp->mx, mtmp->my) < 3) in fightm() [all …]
|
| HD | hack.mon.c | 111 inpool = (levl[mtmp->mx][mtmp->my].typ == POOL); in movemon() 114 if (cansee(mtmp->mx, mtmp->my)) in movemon() 136 if (Conflict && cansee(mtmp->mx, mtmp->my) in movemon() 177 mtmp->mx = u.ux; in justswld() 210 int x = mtmp->mx; in dochugw() 219 if ((dd = dist(mtmp->mx, mtmp->my)) < dist(x, y)) in dochugw() 251 if (cansee(mtmp->mx, mtmp->my) && in dochug() 261 wipe_engr_at(mtmp->mx, mtmp->my, 1); in dochug() 280 nearby = (dist(mtmp->mx, mtmp->my) < 3); in dochug() 334 if (mtmp->mhide && o_at(mtmp->mx, mtmp->my) && rn2(10)) in m_move() [all …]
|
| HD | hack.wizard.c | 95 if (dist(mtmp->mx, mtmp->my) > 2) in amulet() 123 mtmp->mx = otmp->ox; in wiz_hit() 160 if (inroom(u.ux, u.uy) != inroom(mtmp->mx, mtmp->my)) in inrange() 162 tx = u.ux - mtmp->mx; in inrange() 169 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); in inrange() 244 … buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); in inrange() 271 if ((mtmp2 = makemon(PM_WIZARD, mtmp->mx, mtmp->my)) != NULL) { in clonewiz()
|
| HD | hack.steal.c | 119 if (dist(mtmp->mx, mtmp->my) < 3) { in stealarm() 258 otmp->ox = mtmp->mx; in relobj() 264 if (show & cansee(mtmp->mx, mtmp->my)) in relobj() 272 mkgold((long) (tmp + d(dlevel, 30)), mtmp->mx, mtmp->my); in relobj() 273 if (show & cansee(mtmp->mx, mtmp->my)) in relobj() 274 atl(mtmp->mx, mtmp->my, '$'); in relobj()
|
| HD | hack.unix.c | 424 if (dist(md->mx, md->my) > 2) in newmail() 456 fx = md->mx; in mdrush() 457 md->mx = tmp; in mdrush() 462 while (fx != md->mx || fy != md->my) { in mdrush() 467 d1 = DIST(fx, fy, md->mx, md->my); in mdrush() 471 … d2 = DIST(fx + dx, fy + dy, md->mx, md->my); in mdrush() 483 md->mx = fx; in mdrush()
|
| HD | hack.mklev.c | 776 xchar mx, my; in mktrap() local 802 mx = croom->hx + 1; in mktrap() 804 mx = croom->lx - 1; in mktrap() 811 mx = somex(); in mktrap() 816 mx = mm.x; in mktrap() 819 mx = somex(); in mktrap() 822 } while (m_at(mx, my) || levl[mx][my].typ == STAIRS); in mktrap() 823 if ((mtmp = makemon(PM_MIMIC, mx, my)) != NULL) { in mktrap() 838 mx = mm.x; in mktrap() 841 mx = somex(); in mktrap() [all …]
|
| HD | hack.makemon.c | 129 mtmp->mx = x; in makemon() 145 if (mtmp->mx && mtmp->my) in makemon() 146 (void) mkobj_at(0, mtmp->mx, mtmp->my); in makemon() 240 if (ch == 'w' && mtmp->mx) in rloc() 247 mtmp->mx = tx; in rloc()
|
| HD | hack.mhitu.c | 117 if (mdat->mlet == ';' && mtmp->minvis && cansee(mtmp->mx, mtmp->my)) { in mhitu() 161 levl[mtmp->mx][mtmp->my].typ == POOL) { in mhitu() 199 buzz(-1, mtmp->mx, mtmp->my, u.ux - mtmp->mx, u.uy - mtmp->my); in mhitu() 411 if ((obj = o_at(mtmp->mx, mtmp->my)) != NULL) in hitu()
|
| HD | hack.worm.c | 98 wtmp->wx = mtmp->mx; in initworm() 110 wtmp->wx = mtmp->mx; in worm_move() 207 if (mtmp->mx == x && mtmp->my == y) in cutworm() 251 mtmp2->mx = wtmp->wx; in cutworm()
|
| HD | hack.vault.c | 224 if (!cansee(guard->mx, guard->my)) { in invault() 274 if (dist(guard->mx, guard->my) > 1 || egd->gddone) { in gd_move() 278 x = guard->mx; in gd_move() 359 guard->mx = nx; in gd_move()
|
| /dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/ |
| D | eh_terminate.cc | 36 __gnu_cxx::__mutex mx; variable 80 __gnu_cxx::__scoped_lock l(mx); in set_terminate() 94 __gnu_cxx::__scoped_lock l(mx); in get_terminate() 107 __gnu_cxx::__scoped_lock l(mx); in set_unexpected() 121 __gnu_cxx::__scoped_lock l(mx); in get_unexpected()
|
| D | new_handler.cc | 33 __gnu_cxx::__mutex mx; variable 53 __gnu_cxx::__scoped_lock l(mx); in set_new_handler() 67 __gnu_cxx::__scoped_lock l(mx); in get_new_handler()
|
| /dragonfly/contrib/gcc-4.7/libcpp/ |
| HD | line-map.c | 526 unsigned int md, mn, mx; in linemap_ordinary_map_lookup() local 533 mx = LINEMAPS_ORDINARY_USED (set); in linemap_ordinary_map_lookup() 539 if (mn + 1 == mx || line < MAP_START_LOCATION (&cached[1])) in linemap_ordinary_map_lookup() 544 mx = mn; in linemap_ordinary_map_lookup() 548 while (mx - mn > 1) in linemap_ordinary_map_lookup() 550 md = (mn + mx) / 2; in linemap_ordinary_map_lookup() 552 mx = md; in linemap_ordinary_map_lookup() 571 unsigned int md, mn, mx; in linemap_macro_map_lookup() local 580 mx = LINEMAPS_MACRO_USED (set); in linemap_macro_map_lookup() 587 mx = mn - 1; in linemap_macro_map_lookup() [all …]
|
| /dragonfly/contrib/wpa_supplicant/src/wps/ |
| HD | wps_upnp_ssdp.c | 449 int mx) in msearchreply_state_machine_start() argument 472 next_timeout_msec = (1000 * mx * (os_random() & 0xFF)) >> 8; in msearchreply_state_machine_start() 523 int mx = 0; in ssdp_parse_msearch() local 632 mx = atol(data); in ssdp_parse_msearch() 638 if (!got_host || !got_st || !got_man || !got_mx || mx < 0) { in ssdp_parse_msearch() 640 "%d mx=%d", got_host, got_st, got_man, got_mx, mx); in ssdp_parse_msearch() 648 if (mx > 120) in ssdp_parse_msearch() 649 mx = 120; /* UPnP-arch-DeviceArchitecture, 1.2.3 */ in ssdp_parse_msearch() 650 msearchreply_state_machine_start(sm, client, mx); in ssdp_parse_msearch()
|
| /dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/ |
| D | condition_variable.cc | 109 : cv(&cv), mx(l.release()) in notifier() 117 mx->unlock(); in ~notifier() 122 mutex* mx; member
|
| /dragonfly/games/phantasia/ |
| HD | io.c | 37 getstring(char *cp, int mx) in getstring() argument 46 --mx; /* reserve room in string for nul terminator */ in getstring() 81 } while (ch != CH_NEWLINE && inptr < cp + mx); in getstring()
|
| /dragonfly/games/larn/ |
| HD | create.c | 103 static int mx, mxl, mxh, my, myl, myh, tmp2; variable 134 mx = rnd(44) + 5; in makemaze() 135 mxl = mx - rnd(4); in makemaze() 136 mxh = mx + rnd(12) + 3; in makemaze() 139 mx = rnd(60) + 3; in makemaze() 140 mxl = mx - rnd(2); in makemaze() 141 mxh = mx + rnd(2); in makemaze()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | cfgloopanal.c | 294 unsigned mx = 0, l; in get_loop_level() local 299 if (l >= mx) in get_loop_level() 300 mx = l + 1; in get_loop_level() 302 return mx; in get_loop_level()
|
| /dragonfly/usr.sbin/installer/dfuife_curses/ |
| HD | curses_util.c | 203 int my, mx; in curses_load_backdrop() local 205 getmaxyx(w, my, mx); in curses_load_backdrop() 216 mvwaddnstr(w, row++, 0, line, mx); in curses_load_backdrop()
|
| /dragonfly/contrib/gcc-8.0/libcpp/ |
| HD | line-map.c | 964 unsigned int md, mn, mx; in linemap_ordinary_map_lookup() local 974 mx = LINEMAPS_ORDINARY_USED (set); in linemap_ordinary_map_lookup() 980 if (mn + 1 == mx || line < MAP_START_LOCATION (&cached[1])) in linemap_ordinary_map_lookup() 985 mx = mn; in linemap_ordinary_map_lookup() 989 while (mx - mn > 1) in linemap_ordinary_map_lookup() 991 md = (mn + mx) / 2; in linemap_ordinary_map_lookup() 993 mx = md; in linemap_ordinary_map_lookup() 1012 unsigned int md, mn, mx; in linemap_macro_map_lookup() local 1024 mx = LINEMAPS_MACRO_USED (set); in linemap_macro_map_lookup() 1031 mx = mn - 1; in linemap_macro_map_lookup() [all …]
|