/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | dbg-util.cc | 220 if (in_bounds(mon->pos())) in debug_dump_mon() 227 if (mon->foe == MHITNOT) in debug_dump_mon() 241 if (mon->target.origin()) in debug_dump_mon() 248 if (mon->target.origin()) in debug_dump_mon() 255 else if (mon->target == mon->pos()) in debug_dump_mon() 281 if (mon->is_patrolling()) in debug_dump_mon() 365 mon->attitude, mon->behaviour, mon->number, mon->flags.flags); in debug_dump_mon() 369 mon->colour, mon->foe_memory, mon->shield_blocks, mon->experience); in debug_dump_mon() 372 god_name(mon->god).c_str(), mon->seen_context); in debug_dump_mon() 379 if (!invalid_monster_index(mon->foe) && mon->foe != midx in debug_dump_mon() [all …]
|
H A D | wiz-fsim.cc | 289 if (!mon) in _init_fsim() 339 mon->hit_points = mon->max_hit_points = MAX_MONSTER_HP; in _init_fsim() 345 return mon; in _init_fsim() 366 unwind_var<int> mon_hp(mon.hit_points, mon.max_hit_points); in _do_one_fsim_round() 367 unwind_var<int> mon_heads(mon.num_heads, mon.num_heads); in _do_one_fsim_round() 417 int time_taken = 1000 / (mon.speed ? mon.speed : 10); in _do_one_fsim_round() 424 if (mon.max_hit_points > mon.hit_points) in _do_one_fsim_round() 428 fd.player.damage(mon.max_hit_points - mon.hit_points); in _do_one_fsim_round() 490 ASSERT(mon); in wizard_quick_fsim_raw() 506 if (!mon) in wizard_quick_fsim() [all …]
|
H A D | mon-util.h | 249 bool mons_invuln_will(const monster& mon); 298 bool intelligent_ally(const monster& mon); 361 bool mons_can_attack(const monster& mon); 392 bool mons_is_slime(const monster& mon); 395 bool mons_is_plant(const monster& mon); 396 bool mons_eats_items(const monster& mon); 420 bool mons_has_body(const monster& mon); 421 bool mons_has_flesh(const monster& mon); 425 bool herd_monster(const monster& mon); 439 bool invalid_monster(const monster* mon); [all …]
|
H A D | beam.cc | 155 if (mon && mon->friendly()) in whose_kill() 168 if (mon) in _zap_animation() 686 && (!mon || !mon->observable())) in initialise_fire() 1220 if (mon && mon->observable()) in do_fire() 3218 if (mon && !mon->observable()) in affect_player_enchantment() 3242 if (mon && mon->alive()) in affect_player_enchantment() 4358 && mon->asleep() && you.see_cell(mon->pos())) in enchantment_affect_monster() 4420 mons_is_zombified(*mon) ? mons_zombie_base(*mon) in glaciate_freeze() 4783 if (!mon->alive() || mon->type == MONS_PLAYER_SHADOW) in affect_monster() 5088 if (!mon) in ignores_monster() [all …]
|
/dports/games/angband/Angband-4.2.2/src/ |
H A D | target.c | 61 if (!mon) return; in look_mon_desc() 67 if (mon->hp >= mon->maxhp) { in look_mon_desc() 72 int perc = 100L * mon->hp / mon->maxhp; in look_mon_desc() 131 if (target_able(mon)) { in target_okay() 133 target.grid = mon->grid; in target_okay() 154 if (mon && target_able(mon)) { in target_set_monster() 156 target.midx = mon->midx; in target_set_monster() 157 target.grid = mon->grid; in target_set_monster() 226 if (!mon || !mon->race || !monster_is_in_view(mon)) { in target_release() 477 struct monster *mon; in target_set_closest() local [all …]
|
H A D | wiz-stats.c | 695 add_stats(ST_BOWS, vault, mon, number); in get_obj_data() 1043 if (mon) art_mon[lvl] += addval; in get_obj_data() 1090 struct monster *mon; in monster_death_stats() local 1094 mon = cave_monster(cave, m_idx); in monster_death_stats() 1100 mon->mimicked_obj = NULL; in monster_death_stats() 1103 obj = mon->held_obj; in monster_death_stats() 1111 get_obj_data(obj, mon->grid.y, mon->grid.x, true, uniq); in monster_death_stats() 1122 mon->held_obj = NULL; in monster_death_stats() 1149 if (clearing) mon->race->max_num = 0; in stats_monster() 1433 if (!mon->race) continue; in scan_for_monsters() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/target/i386/ |
H A D | monitor.c | 225 env = mon_get_cpu_env(mon); in hmp_info_tlb() 239 tlb_info_la57(mon, env); in hmp_info_tlb() 246 tlb_info_pae32(mon, env); in hmp_info_tlb() 249 tlb_info_32(mon, env); in hmp_info_tlb() 553 env = mon_get_cpu_env(mon); in hmp_info_mem() 567 mem_info_la57(mon, env); in hmp_info_mem() 569 mem_info_la48(mon, env); in hmp_info_mem() 574 mem_info_pae32(mon, env); in hmp_info_mem() 577 mem_info_32(mon, env); in hmp_info_mem() 660 cs = mon_get_cpu(mon); in hmp_info_local_apic() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/ |
H A D | monitor.c | 226 env = mon_get_cpu_env(mon); 240 tlb_info_la57(mon, env); 247 tlb_info_pae32(mon, env); 250 tlb_info_32(mon, env); 554 env = mon_get_cpu_env(mon); 568 mem_info_la57(mon, env); 570 mem_info_la48(mon, env); 575 mem_info_pae32(mon, env); 578 mem_info_32(mon, env); 661 cs = mon_get_cpu(mon); [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/target/i386/ |
H A D | monitor.c | 226 env = mon_get_cpu_env(mon); in hmp_info_tlb() 240 tlb_info_la57(mon, env); in hmp_info_tlb() 247 tlb_info_pae32(mon, env); in hmp_info_tlb() 250 tlb_info_32(mon, env); in hmp_info_tlb() 554 env = mon_get_cpu_env(mon); in hmp_info_mem() 568 mem_info_la57(mon, env); in hmp_info_mem() 570 mem_info_la48(mon, env); in hmp_info_mem() 575 mem_info_pae32(mon, env); in hmp_info_mem() 578 mem_info_32(mon, env); in hmp_info_mem() 661 cs = mon_get_cpu(mon); in hmp_info_local_apic() [all …]
|
/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | were.c | 9 were_change(struct monst *mon) in were_change() argument 11 if (!is_were(mon->data)) in were_change() 14 if (is_human(mon->data)) { in were_change() 102 new_were(struct monst *mon) in new_were() argument 118 set_mon_data(mon, &mons[pm]); in new_were() 119 if (mon->msleeping || !mon->mcanmove) { in new_were() 121 mon->msleeping = 0; in new_were() 123 mon->mcanmove = 1; in new_were() 126 mon->mhp += (mon->mhpmax - mon->mhp) / 4; in new_were() 127 newsym(mon->mx, mon->my); in new_were() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/block/monitor/ |
H A D | block-hmp-cmds.c | 258 hmp_handle_error(mon, err); in hmp_drive_mirror() 289 hmp_handle_error(mon, err); in hmp_drive_backup() 368 hmp_handle_error(mon, err); in hmp_snapshot_blkdev() 378 hmp_handle_error(mon, err); in hmp_snapshot_blkdev_internal() 390 hmp_handle_error(mon, err); in hmp_snapshot_delete_blkdev_internal() 481 hmp_handle_error(mon, err); in hmp_nbd_server_remove() 489 hmp_handle_error(mon, err); in hmp_nbd_server_stop() 499 hmp_handle_error(mon, err); in hmp_block_resize() 545 hmp_handle_error(mon, err); in hmp_block_set_io_throttle() 690 monitor_printf(mon, in print_block_info() [all …]
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/block/monitor/ |
H A D | block-hmp-cmds.c | 258 hmp_handle_error(mon, err); in hmp_drive_mirror() 289 hmp_handle_error(mon, err); in hmp_drive_backup() 368 hmp_handle_error(mon, err); in hmp_snapshot_blkdev() 378 hmp_handle_error(mon, err); in hmp_snapshot_blkdev_internal() 390 hmp_handle_error(mon, err); in hmp_snapshot_delete_blkdev_internal() 481 hmp_handle_error(mon, err); in hmp_nbd_server_remove() 489 hmp_handle_error(mon, err); in hmp_nbd_server_stop() 499 hmp_handle_error(mon, err); in hmp_block_resize() 545 hmp_handle_error(mon, err); in hmp_block_set_io_throttle() 690 monitor_printf(mon, in print_block_info() [all …]
|
/dports/devel/gamin/gamin-0.1.10/python/tests/ |
H A D | dnotify15.py | 54 mon.handle_events() 57 mon.handle_events() 60 mon.handle_events() 63 mon.handle_events() 66 mon.handle_events() 69 mon.handle_events() 72 mon.handle_events() 75 mon.handle_events() 78 mon.handle_events() 82 mon.handle_events() [all …]
|
/dports/emulators/qemu/qemu-6.2.0/target/i386/ |
H A D | monitor.c | 225 env = mon_get_cpu_env(mon); in hmp_info_tlb() 232 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 239 tlb_info_la57(mon, env); in hmp_info_tlb() 246 tlb_info_pae32(mon, env); in hmp_info_tlb() 249 tlb_info_32(mon, env); in hmp_info_tlb() 553 env = mon_get_cpu_env(mon); in hmp_info_mem() 567 mem_info_la57(mon, env); in hmp_info_mem() 569 mem_info_la48(mon, env); in hmp_info_mem() 574 mem_info_pae32(mon, env); in hmp_info_mem() 577 mem_info_32(mon, env); in hmp_info_mem() [all …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/i386/ |
H A D | monitor.c | 232 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 239 tlb_info_la57(mon, env); in hmp_info_tlb() 246 tlb_info_pae32(mon, env); in hmp_info_tlb() 249 tlb_info_32(mon, env); in hmp_info_tlb() 560 monitor_printf(mon, "PG disabled\n"); in hmp_info_mem() 567 mem_info_la57(mon, env); in hmp_info_mem() 569 mem_info_la48(mon, env); in hmp_info_mem() 574 mem_info_pae32(mon, env); in hmp_info_mem() 577 mem_info_32(mon, env); in hmp_info_mem() 581 void hmp_mce(Monitor *mon, const QDict *qdict) in hmp_mce() argument [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/target/i386/ |
H A D | monitor.c | 233 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 240 tlb_info_la57(mon, env); in hmp_info_tlb() 247 tlb_info_pae32(mon, env); in hmp_info_tlb() 250 tlb_info_32(mon, env); in hmp_info_tlb() 561 monitor_printf(mon, "PG disabled\n"); in hmp_info_mem() 568 mem_info_la57(mon, env); in hmp_info_mem() 570 mem_info_la48(mon, env); in hmp_info_mem() 575 mem_info_pae32(mon, env); in hmp_info_mem() 578 mem_info_32(mon, env); in hmp_info_mem() 582 void hmp_mce(Monitor *mon, const QDict *qdict) in hmp_mce() argument [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/i386/ |
H A D | monitor.c | 232 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 239 tlb_info_la57(mon, env); in hmp_info_tlb() 246 tlb_info_pae32(mon, env); in hmp_info_tlb() 249 tlb_info_32(mon, env); in hmp_info_tlb() 560 monitor_printf(mon, "PG disabled\n"); in hmp_info_mem() 567 mem_info_la57(mon, env); in hmp_info_mem() 569 mem_info_la48(mon, env); in hmp_info_mem() 574 mem_info_pae32(mon, env); in hmp_info_mem() 577 mem_info_32(mon, env); in hmp_info_mem() 581 void hmp_mce(Monitor *mon, const QDict *qdict) in hmp_mce() argument [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/target/i386/ |
H A D | monitor.c | 233 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 240 tlb_info_la57(mon, env); in hmp_info_tlb() 247 tlb_info_pae32(mon, env); in hmp_info_tlb() 250 tlb_info_32(mon, env); in hmp_info_tlb() 561 monitor_printf(mon, "PG disabled\n"); in hmp_info_mem() 568 mem_info_la57(mon, env); in hmp_info_mem() 570 mem_info_la48(mon, env); in hmp_info_mem() 575 mem_info_pae32(mon, env); in hmp_info_mem() 578 mem_info_32(mon, env); in hmp_info_mem() 582 void hmp_mce(Monitor *mon, const QDict *qdict) in hmp_mce() argument [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/i386/ |
H A D | monitor.c | 232 monitor_printf(mon, "PG disabled\n"); in hmp_info_tlb() 239 tlb_info_la57(mon, env); in hmp_info_tlb() 246 tlb_info_pae32(mon, env); in hmp_info_tlb() 249 tlb_info_32(mon, env); in hmp_info_tlb() 560 monitor_printf(mon, "PG disabled\n"); in hmp_info_mem() 567 mem_info_la57(mon, env); in hmp_info_mem() 569 mem_info_la48(mon, env); in hmp_info_mem() 574 mem_info_pae32(mon, env); in hmp_info_mem() 577 mem_info_32(mon, env); in hmp_info_mem() 581 void hmp_mce(Monitor *mon, const QDict *qdict) in hmp_mce() argument [all …]
|
/dports/lang/ruby26/ruby-2.6.9/test/date/ |
H A D | test_date_arith.rb | 22 assert_equal([2000, 2, 28], [d.year, d.mon, d.mday]) 24 assert_equal([2000, 2, 29], [d.year, d.mon, d.mday]) 26 assert_equal([2000, 3, 1], [d.year, d.mon, d.mday]) 30 [d.year, d.mon, d.mday, d.hour, d.min, d.sec]) 58 assert_equal([2000, 3, 2], [d.year, d.mon, d.mday]) 60 assert_equal([2000, 3, 1], [d.year, d.mon, d.mday]) 62 assert_equal([2000, 2, 29], [d.year, d.mon, d.mday]) 71 [d.year, d.mon, d.mday, d.hour, d.min, d.sec]) 113 assert_equal([2001, 1, 2], [d.year, d.mon, d.mday]) 155 assert_equal([2001, 1, 1], [d.year, d.mon, d.mday]) [all …]
|
/dports/math/ploticus-nox11/pl240src/src/ |
H A D | nearest.c | 35 if( mon >= 10 ) mon = 10; 36 else if( mon >= 7 ) mon = 7; 37 else if( mon >= 4 ) mon = 4; 38 else if( mon >= 1 ) mon = 1; 51 if( mon <= 3 ) mon = 4; 52 else if( mon <= 6 ) mon = 7; 53 else if( mon <= 9 ) mon = 10; 54 else if( mon <= 12 ) mon = 13; 56 else mon ++; 74 int mon, day, yr; local [all …]
|
/dports/math/ploticus/pl240src/src/ |
H A D | nearest.c | 35 if( mon >= 10 ) mon = 10; 36 else if( mon >= 7 ) mon = 7; 37 else if( mon >= 4 ) mon = 4; 38 else if( mon >= 1 ) mon = 1; 51 if( mon <= 3 ) mon = 4; 52 else if( mon <= 6 ) mon = 7; 53 else if( mon <= 9 ) mon = 10; 54 else if( mon <= 12 ) mon = 13; 56 else mon ++; 74 int mon, day, yr; local [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/monitor/ |
H A D | misc.c | 225 help_cmd(mon, "info"); in hmp_info_help() 260 g_free(mon->mon_cpu_path); in monitor_set_cpu() 270 if (mon->mon_cpu_path) { in mon_get_cpu_sync() 278 if (!mon->mon_cpu_path) { in mon_get_cpu_sync() 292 CPUState *mon_get_cpu(Monitor *mon) in mon_get_cpu() argument 322 cs = mon_get_cpu(mon); in hmp_info_registers() 473 help_cmd(mon, "log"); in hmp_log() 518 monitor_printf(mon, "'"); in monitor_printc() 540 monitor_printf(mon, "'"); in monitor_printc() 812 monitor_printc(mon, val); in do_print() [all …]
|
/dports/mail/mailutils/mailutils-3.13/libmailutils/tests/ |
H A D | scantime.at | 37 [sec=26,min=25,hour=13,mday=3,mon=4,year=111,wday=2,yday=122,tz=0 38 sec=1,min=55,hour=11,mday=11,mon=10,year=111,wday=5,yday=314,tz=0 54 sec=0,min=0,hour=0,mday=3,mon=4,year=111,wday=2,yday=122,tz=0 71 sec=0,min=25,hour=13,mday=3,mon=4,year=111,wday=2,yday=122,tz=7200 72 sec=0,min=25,hour=13,mday=3,mon=4,year=111,wday=2,yday=122,tz=7200 172 [sec=0,min=53,hour=5,mday=2,mon=11,year=92,wday=3,yday=336,tz=0 173 sec=22,min=53,hour=5,mday=2,mon=11,year=92,wday=3,yday=336,tz=0 200 [sec=0,min=53,hour=5,mday=2,mon=11,year=92,wday=3,yday=336,tz=0 201 sec=22,min=53,hour=5,mday=2,mon=11,year=92,wday=3,yday=336,tz=0 228 [sec=0,min=53,hour=5,mday=2,mon=11,year=92,wday=3,yday=336,tz=0 [all …]
|
/dports/devel/gamin/gamin-0.1.10/server/ |
H A D | gam_kqueue.c | 532 mon->fd = open(mon->pathname, O_RDONLY | O_NONBLOCK | O_NOFOLLOW); in gam_kqueue_monitor_enable_kqueue() 533 if (mon->fd < 0) in gam_kqueue_monitor_enable_kqueue() 558 close(mon->fd); in gam_kqueue_monitor_enable_kqueue() 559 mon->fd = -1; in gam_kqueue_monitor_enable_kqueue() 567 if (mon->fd >= 0) in gam_kqueue_monitor_set_unsupported() 575 gam_kqueue_mini_lstat(mon->pathname, &mon->sb); in gam_kqueue_monitor_set_unsupported() 587 g_free(mon); in gam_kqueue_monitor_free() 607 Monitor *mon; in gam_kqueue_sub_monitor_new() local 614 mon->fd = -1; in gam_kqueue_sub_monitor_new() 917 Monitor *mon; in gam_kqueue_file_monitor_new() local [all …]
|