| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/thin_heap_/ |
| D | insert_fn_imps.hpp | 95 fix(node_pointer p_y) in fix() argument 99 if (p_y->m_p_prev_or_parent == 0) in fix() 101 fix_root(p_y); in fix() 104 else if (p_y->m_metadata == 1&& p_y->m_p_next_sibling == 0) in fix() 106 if (p_y->m_p_l_child != 0) in fix() 108 fix_sibling_rank_1_unmarked(p_y); in fix() 112 fix_sibling_rank_1_marked(p_y); in fix() 113 p_y = p_y->m_p_prev_or_parent; in fix() 115 else if (p_y->m_metadata > p_y->m_p_next_sibling->m_metadata + 1) in fix() 117 _GLIBCXX_DEBUG_ASSERT(p_y->m_p_l_child != 0); in fix() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/ |
| D | erase_fn_imps.hpp | 127 node_pointer p_y = p_z; in remove_node() local 131 if (p_y->m_p_left == 0) in remove_node() 132 p_x = p_y->m_p_right; in remove_node() 133 else if (p_y->m_p_right == 0) in remove_node() 134 p_x = p_y->m_p_left; in remove_node() 137 p_y = p_y->m_p_right; in remove_node() 138 while (p_y->m_p_left != 0) in remove_node() 139 p_y = p_y->m_p_left; in remove_node() 140 p_x = p_y->m_p_right; in remove_node() 143 if (p_y == p_z) in remove_node() [all …]
|
| D | insert_fn_imps.hpp | 71 node_pointer p_y = p_nd->m_p_parent->m_p_parent->m_p_right; in insert_fixup() local 72 if (p_y != 0 && p_y->m_red) in insert_fixup() 75 p_y->m_red = false; in insert_fixup() 93 node_pointer p_y = p_nd->m_p_parent->m_p_parent->m_p_left; in insert_fixup() local 94 if (p_y != 0 && p_y->m_red) in insert_fixup() 97 p_y->m_red = false; in insert_fixup()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| D | rotate_fn_imps.hpp | 48 node_pointer p_y = p_x->m_p_right; in rotate_left() local 50 p_x->m_p_right = p_y->m_p_left; in rotate_left() 52 if (p_y->m_p_left != 0) in rotate_left() 53 p_y->m_p_left->m_p_parent = p_x; in rotate_left() 55 p_y->m_p_parent = p_x->m_p_parent; in rotate_left() 58 m_p_head->m_p_parent = p_y; in rotate_left() 60 p_x->m_p_parent->m_p_left = p_y; in rotate_left() 62 p_x->m_p_parent->m_p_right = p_y; in rotate_left() 64 p_y->m_p_left = p_x; in rotate_left() 65 p_x->m_p_parent = p_y; in rotate_left() [all …]
|
| D | point_iterators.hpp | 226 Node_Pointer p_y = m_p_nd->m_p_parent; in inc() local 227 while (m_p_nd == p_y->m_p_right) in inc() 229 m_p_nd = p_y; in inc() 230 p_y = p_y->m_p_parent; in inc() 233 if (m_p_nd->m_p_right != p_y) in inc() 234 m_p_nd = p_y; in inc() 252 Node_Pointer p_y = m_p_nd->m_p_left; in dec() local 253 while (p_y->m_p_right != 0) in dec() 254 p_y = p_y->m_p_right; in dec() 255 m_p_nd = p_y; in dec() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/pat_trie_/ |
| D | rotate_fn_imps.hpp | 48 node_pointer p_y = p_x->m_p_right; in rotate_left() local 49 p_x->m_p_right = p_y->m_p_left; in rotate_left() 51 if (p_y->m_p_left != 0) in rotate_left() 52 p_y->m_p_left->m_p_parent = p_x; in rotate_left() 54 p_y->m_p_parent = p_x->m_p_parent; in rotate_left() 56 m_p_head->m_p_parent = p_y; in rotate_left() 58 p_x->m_p_parent->m_p_left = p_y; in rotate_left() 60 p_x->m_p_parent->m_p_right = p_y; in rotate_left() 62 p_y->m_p_left = p_x; in rotate_left() 63 p_x->m_p_parent = p_y; in rotate_left() [all …]
|
| D | pat_trie_base.hpp | 608 node_pointer p_y = m_p_nd->m_p_parent; in inc() local 609 while (p_y->m_type != head_node && get_larger_sibling(m_p_nd) == 0) in inc() 611 m_p_nd = p_y; in inc() 612 p_y = p_y->m_p_parent; in inc() 615 if (p_y->m_type == head_node) in inc() 617 m_p_nd = p_y; in inc() 636 node_pointer p_y = m_p_nd->m_p_parent; in dec() local 637 while (p_y->m_type != head_node && get_smaller_sibling(m_p_nd) == 0) in dec() 639 m_p_nd = p_y; in dec() 640 p_y = p_y->m_p_parent; in dec() [all …]
|
| /netbsd/src/games/phantasia/ |
| D | misc.c | 98 if ((circle = CIRCLE(playerp->p_x, playerp->p_y)) >= 1000.0) { in descrlocation() 99 if (MAX(fabs(playerp->p_x), fabs(playerp->p_y)) > D_BEYOND) in descrlocation() 119 … if (playerp->p_x == 0.0 && playerp->p_y == 0.0) in descrlocation() 146 … quadrant += ((playerp->p_y >= 0.0) ? 2 : 0); in descrlocation() 156 label, playerp->p_x, playerp->p_y); in descrlocation() 411 Player.p_y - Player.p_y / 10.0, A_SPECIFIC); in tradingpost() 729 ynew = Player.p_y - ROLL(1.0, 5.0); in altercoordinates() 743 ynew = SGN(Player.p_y) * MAX(fabs(Player.p_y), D_BEYOND); in altercoordinates() 749 ynew = Player.p_y + SGN(Player.p_y) * ROLL(50 * Circle, 250 * Circle); in altercoordinates() 754 Circle = CIRCLE(Player.p_x = floor(xnew), Player.p_y = floor(ynew)); in altercoordinates() [all …]
|
| D | main.c | 215 altercoordinates(Player.p_x, Player.p_y, A_FORCED); /* set some flags */ in main() 235 && (dtemp = fabs(Player.p_x)) == fabs(Player.p_y) in main() 400 sscanf(Databuf, "%lf %lf", &Player.p_x, &Player.p_y); in rollnewplayer() 402 if (fabs(Player.p_x) > D_EXPER || fabs(Player.p_y) > D_EXPER) in rollnewplayer() 471 y = Player.p_y + MAXMOVE(); in procmain() 478 y = Player.p_y - MAXMOVE(); in procmain() 485 y = Player.p_y; in procmain() 492 y = Player.p_y; in procmain() 525 if (distance(Player.p_x, x, Player.p_y, y) > MAXMOVE()) in procmain() 590 temp = distance(Player.p_x, x, Player.p_y, y); in procmain()
|
| D | interplayer.c | 45 && Player.p_y == Other.p_y in checkbattle() 380 && Enrgyvoid.ev_y == Player.p_y) in checktampered() 583 || Circle >= CIRCLE(Other.p_x, Other.p_y) in userlist() 594 Other.p_name, Other.p_x, Other.p_y); in userlist() 783 … temp1 = distance(Player.p_x, Enrgyvoid.ev_x, Player.p_y, Enrgyvoid.ev_y); in dotampered() 850 && CIRCLE(temp1, temp2) < CIRCLE(Other.p_x, Other.p_y) in dotampered()
|
| D | phantstruct.h | 32 double p_y; /* y coord */ member
|
| D | gamesupport.c | 116 mvprintw(6, 40, "T:Y-coord %.0f\n", playerp->p_y); in changestats() 312 dptr = &playerp->p_y; in changestats()
|
| /netbsd/src/games/hunt/huntd/ |
| D | execute.c | 200 y = pp->p_y; in move_player() 289 if (newp->p_y == y && newp->p_x == x) { in move_player() 311 fixshots(pp->p_y, pp->p_x, pp->p_over); in move_player() 316 pp->p_y = y; in move_player() 365 add_shot(shot_type[req_index], pp->p_y, pp->p_x, pp->p_face, in fire() 372 showexpl(pp->p_y, pp->p_x, shot_type[req_index]); in fire() 412 add_shot(SLIME, pp->p_y, pp->p_x, pp->p_face, in fire_slime() 419 showexpl(pp->p_y, pp->p_x, SLIME); in fire_slime()
|
| D | driver.c | 679 fixshots(pp->p_y, pp->p_x, pp->p_over); in zap() 704 if (bp->b_x == pp->p_x && bp->b_y == pp->p_y) in zap() 735 (void) add_shot(len, pp->p_y, pp->p_x, pp->p_face, x, in zap() 754 np->p_y = pp->p_y; in zap() 760 showexpl(np->p_y, np->p_x, BOOT); in zap() 767 Maze[pp->p_y][pp->p_x] = BOOT_PAIR; in zap() 769 Maze[pp->p_y][pp->p_x] = BOOT; in zap() 771 fixshots(pp->p_y, pp->p_x, in zap() 772 Maze[pp->p_y][pp->p_x]); in zap()
|
| D | draw.c | 60 if (pp->p_x == x && pp->p_y == y) in drawmaze() 136 y = pp->p_y; in look() 184 y = pp->p_y; in see() 274 if (x == rpp->p_x && y == rpp->p_y) in check() 321 y = pp->p_y; in drawplayer()
|
| D | shots.c | 156 Maze[pp->p_y][pp->p_x] = pp->p_face; in moveshots() 574 fixshots(pp->p_y, pp->p_x, pp->p_over); in move_flyer() 577 Maze[pp->p_y][pp->p_x] = pp->p_over; in move_flyer() 579 y = pp->p_y + pp->p_flyy; in move_flyer() 630 pp->p_y = y; in move_flyer() 1032 if (pp->p_x == x && pp->p_y == y) in play_at() 1118 if (pp->p_y == bp->b_y && pp->p_x == bp->b_x) { in mark_player() 1135 if (pp->p_y == bp->b_y && pp->p_x == bp->b_x) { in mark_boot()
|
| D | answer.c | 210 pp->p_y = 0; in answer() 281 newpp->p_y = y; in stplayer() 368 showexpl(newpp->p_y, newpp->p_x, FLYER); in stplayer()
|
| D | hunt.h | 98 int p_x, p_y; member
|