/src/games/dab/ |
Makefile | 8 SRCS=algor.cc board.cc main.cc human.cc box.cc player.cc gamescreen.cc \
|
algor.cc | 41 #include "box.h" 56 // Find the first closure, i.e. a box that has 3 edges 64 BOX box(y, x, b); local in function:ALGOR::find_closure 65 if (box.count() == 3) { 66 for (dir = BOX::first; dir < BOX::last; dir++) 67 if (!box.isset(dir)) 69 b.abort("find_closure: 3 sided box[%zu,%zu] has no free sides", 84 BOX tbox(0, x, b) 193 BOX box(y, x, nb); local in function:ALGOR::find_good_turn 227 BOX box(y, x, b); local in function:ALGOR::find_bad_turn [all...] |
board.cc | 44 #include "box.h" 95 BOX box(y, x, *this); local in function:BOARD::init 96 box.reset(); 101 * Make a move for player with initial 'c', adding an edge at box(x, y) 115 BOX box1(y, x, *this); 124 // New box; name it and count it 131 // Check other box 132 x += BOX::edges[dir].x; 133 y += BOX::edges[dir].y 151 BOX box(y, x, const_cast<BOARD&>(*this)); local in function:BOARD::full 170 BOX box(y, x, const_cast<BOARD&>(*this)); local in function:BOARD::paint [all...] |
algor.h | 42 class BOX; 64 int try_bad_turn(BOX& box, size_t& y, size_t& x, int& dir, BOARD& b, 66 int try_good_turn(BOX& box, size_t y, size_t x, int& dir, BOARD& b);
|
/src/lib/libcurses/ |
box.c | 1 /* $NetBSD: box.c,v 1.15 2017/01/06 13:53:18 roy Exp $ */ 35 static char sccsid[] = "@(#)box.c 8.2 (Berkeley) 5/4/94"; 37 __RCSID("$NetBSD: box.c,v 1.15 2017/01/06 13:53:18 roy Exp $"); 44 * box -- 45 * Draw a box around the given window with "vert" as the vertical 49 box(WINDOW *win, chtype vert, chtype hor) function in typeref:typename:int
|
/src/sys/external/bsd/drm/dist/shared-core/ |
mga_state.c | 46 struct drm_clip_rect * box) 64 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, 65 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); 524 struct drm_clip_rect *box = &pbox[i]; local in function:mga_dma_dispatch_clear 525 u32 height = box->y2 - box->y1; 528 box->x1, box->y1, box->x2, box->y2) 625 struct drm_clip_rect *box = &pbox[i]; local in function:mga_dma_dispatch_swap [all...] |
r300_cmdbuf.c | 58 struct drm_clip_rect box; local in function:r300_emit_cliprects 75 (&box, &cmdbuf->boxes[n + i], sizeof(box))) { 80 box.x2--; /* Hardware expects inclusive bottom-right corner */ 81 box.y2--; 84 box.x1 = (box.x1) & 86 box.y1 = (box.y1) & 88 box.x2 = (box.x2) [all...] |
i915_dma.c | 396 struct drm_clip_rect box; local in function:i915_emit_box 399 if (DRM_COPY_FROM_USER_UNCHECKED(&box, &boxes[i], sizeof(box))) { 403 if (box.y2 <= box.y1 || box.x2 <= box.x1 || box.y2 <= 0 || box.x2 <= 0) { 404 DRM_ERROR("Bad box %d,%d..%d,%d\n" [all...] |
mach64_state.c | 90 struct drm_clip_rect * box) 98 DRM_DEBUG("box=%p\n", box); 110 if (box->x1 > scissor.x1) 111 scissor.x1 = box->x1; 112 if (box->y1 > scissor.y1) 113 scissor.y1 = box->y1; 114 if (box->x2 < scissor.x2) 115 scissor.x2 = box->x2; 116 if (box->y2 < scissor.y2 [all...] |
/src/sys/external/bsd/drm2/dist/drm/mga/ |
mga_state.c | 47 struct drm_clip_rect *box) 65 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, 66 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); 505 struct drm_clip_rect *box = &pbox[i]; local in function:mga_dma_dispatch_clear 506 u32 height = box->y2 - box->y1; 509 box->x1, box->y1, box->x2, box->y2) 603 struct drm_clip_rect *box = &pbox[i]; local in function:mga_dma_dispatch_swap [all...] |
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_surface.c | 1844 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; local in function:vmw_subres_dirty_add 1847 u32 box_c2 = box->z + box->d; 1852 if (box->d == 0 || box->z > loc_start->z) 1853 box->z = loc_start->z; 1855 box->d = loc_end->z - box->z; 1858 box_c2 = box->y + box->h 1892 SVGA3dBox *box = &dirty->boxes[subres]; local in function:vmw_subres_dirty_full 1951 SVGA3dBox *box = &dirty->boxes[0]; local in function:vmw_surface_buf_dirty_range_add 2006 const SVGA3dBox *box = &dirty->boxes[i]; local in function:vmw_surface_dirty_sync 2024 const SVGA3dBox *box = &dirty->boxes[i]; local in function:vmw_surface_dirty_sync [all...] |
vmwgfx_stdu.c | 63 * @left: Left side of bounding box. 64 * @right: Right side of bounding box. 65 * @top: Top side of bounding box. 66 * @bottom: Bottom side of bounding box. 67 * @fb_left: Left side of the framebuffer/content bounding box 68 * @fb_top: Top of the framebuffer/content bounding box 254 * bounding box. 258 * @left: Left side of bounding box. 259 * @right: Right side of bounding box. 260 * @top: Top side of bounding box 1232 struct SVGA3dCopyBox *box = cmd; local in function:vmw_stdu_bo_populate_clip 1329 SVGA3dBox *box = &cmd_img->body.box; local in function:vmw_stdu_bo_populate_update_cpu 1458 SVGA3dBox *box = &cmd_update->body.box; local in function:vmw_stdu_surface_update_proxy 1505 struct SVGA3dCopyBox *box = cmd; local in function:vmw_stdu_surface_populate_clip [all...] |
vmwgfx_kms.c | 157 SVGA3dCopyBox *box; local in function:vmw_kms_cursor_snoop 179 DRM_ERROR("at least one full copy box must be given\n"); 183 box = (SVGA3dCopyBox *)&cmd[1]; 188 box->x != 0 || box->y != 0 || box->z != 0 || 189 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 || 190 box->d != 1 || box_count != 1) 2610 SVGA3dBox *box; local in function:vmw_kms_update_proxy [all...] |
/src/usr.sbin/sysinst/ |
menus.entropy | 35 menu not_enough_entropy, title MSG_not_enough_entropy, y=-1, no box, clear, 48 menu entropy_select_file, title MSG_entropy_select_file, y=-5, box, 61 menu entropy_nfssource, y=-5, x=0, w=70, no box, no clear, 74 menu entropy_ftpsource, y=-4, x=0, w=70, no box, no clear, 123 menu entropy_localfs, y=-4, x=0, w=70, no box, no clear,
|
/src/sys/external/bsd/drm2/dist/include/uapi/drm/ |
virtgpu_drm.h | 119 struct drm_virtgpu_3d_box box; member in struct:drm_virtgpu_3d_transfer_to_host 126 struct drm_virtgpu_3d_box box; member in struct:drm_virtgpu_3d_transfer_from_host
|
/src/games/atc/ |
Makefile | 15 Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
|
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_ioctl.c | 320 &args->box, objs, fence); 349 args->box.w, args->box.h, args->box.x, args->box.y, 364 args->level, &args->box, objs, fence);
|
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
stm32mp157a-iot-box.dts | 10 model = "Shiratech STM32MP157A IoT Box"; 11 compatible = "shiratech,stm32mp157a-iot-box", "st,stm32mp157";
|
/src/usr.bin/menuc/ |
scan.l | 71 box { return BOX; }
|
/src/sys/arch/atari/dev/ |
grfabs_reg.h | 48 struct box { struct 54 typedef struct box box_t;
|
grfabs_tt.c | 294 box_t box; local in function:tt_alloc_view 298 INIT_BOX(&box,0,0,mode->size.width,mode->size.height); 299 init_view(v, bm, mode, &box);
|
/src/sys/external/isc/libsodium/dist/test/default/ |
Makefile.am | 15 box.exp \ 90 box.res \ 166 box.final \ 237 box.nexe \ 321 box \ 419 box_SOURCE = cmptest.h box.c
|
/src/usr.bin/menuc/testm/ |
menus.mc | 188 menu middle, no box; 283 option "With box", sub menu contdemo_box; 284 option "No box", sub menu contdemo_none; 290 menu contdemo_none, title "title text ends here-->", y=3, x=10, no box, no exit,
|
/src/usr.bin/talk/ |
init_disp.c | 90 box(line_win, '-', '-');
|
/src/sys/arch/amiga/dev/ |
grfabs_reg.h | 48 struct box { struct 54 typedef struct box box_t;
|