HomeSort by: relevance | last modified time | path
    Searched defs:box (Results 1 - 25 of 26) sorted by relevancy

1 2

  /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/games/dab/
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.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...]
  /src/sys/arch/atari/dev/
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);
grfabs_fal.c 522 box_t box; local in function:falcon_alloc_view
526 INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
527 init_view(v, bm, mode, &box);
grfabs_et.c 309 box_t box; local in function:et_alloc_view
356 INIT_BOX(&box,0,0,mode->size.width,mode->size.height);
357 init_view(v, bm, mode, &box);
grfabs_reg.h 48 struct box { struct
54 typedef struct box box_t;
  /src/sys/external/bsd/drm/dist/shared-core/
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...]
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...]
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...]
radeon_state.c 430 struct drm_clip_rect * box)
434 DRM_DEBUG(" box: x1=%d y1=%d x2=%d y2=%d\n",
435 box->x1, box->y1, box->x2, box->y2);
439 OUT_RING((box->y1 << 16) | box->x1);
441 OUT_RING(((box->y2 - 1) << 16) | (box->x2 - 1))
2779 struct drm_clip_rect box; local in function:radeon_emit_packet3_cliprect
    [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/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/hack/
hack.shk.c 326 boolean box, pick; local in function:inshop
333 box = carrying(ICE_BOX);
335 if (box || pick) {
341 (box && pick) ? "box and pick-axe" :
342 box ? "box" : "pick-axe");
  /src/sys/arch/amiga/dev/
grfabs_reg.h 48 struct box { struct
54 typedef struct box box_t;
grfabs_cc.c 441 box_t box; local in function:cc_alloc_view
446 INIT_BOX(&box, 0, 0, dim->width, dim->height);
447 cc_init_view(v, bm, mode, &box);
  /src/sys/external/bsd/drm2/dist/drm/i810/
i810_dma.c 724 struct drm_clip_rect *box = sarea_priv->boxes; local in function:i810_dma_dispatch_vertex
763 OUT_RING(box[i].x1 | (box[i].y1 << 16));
764 OUT_RING((box[i].x2 -
765 1) | ((box[i].y2 - 1) << 16));
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
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_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_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/sys/dev/pci/
viogpu.h 252 struct virtio_gpu_box box; member in struct:virtio_gpu_transfer_host_3d
  /src/sys/dev/ic/
isp.c 7092 unsigned int ibits, obits, box, opcode; local in function:isp_mboxcmd_qnw
7105 for (box = 0; box < MAX_MAILBOX(isp); box++) {
7106 if (ibits & (1 << box)) {
7107 ISP_WRITE(isp, MBOX_OFF(box), mbp->param[box]);
7110 isp->isp_mboxtmp[box] = mbp->param[box] = 0;
7138 unsigned int lim, ibits, obits, box, opcode local in function:isp_mboxcmd
    [all...]
cissreg.h 391 u_int16_t box; member in struct:ciss_evpschg
397 u_int16_t box; member in struct:ciss_evfanchg
412 u_int16_t box; member in struct:ciss_evtempchg
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/
svga3d_cmd.h 503 SVGA3dCopyBox box; member in struct:__anon411ade0f1108
1788 SVGA3dBox box; member in struct:SVGA3dCmdUpdateGBImage
1843 SVGA3dBox box; member in struct:SVGA3dCmdReadbackGBImagePartial
1887 SVGA3dBox box; member in struct:SVGA3dCmdInvalidateGBImagePartial
svga3d_dx.h 620 SVGA3dCopyBox box; member in struct:SVGA3dCmdDXPredCopyRegion
739 SVGA3dBox box; member in struct:SVGA3dCmdDXUpdateSubResource
773 * of the requested box. Supported if 3d is enabled and SVGA_CAP_DX
793 * of the requested box. Supported if SVGA3D_DEVCAP_DXCONTEXT is set.
817 SVGA3dCopyBox box; member in struct:SVGA3dCmdDXSurfaceCopyAndReadback

Completed in 38 milliseconds

1 2