Home
last modified time | relevance | path

Searched refs:box (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/netbsd-src/external/gpl2/groff/dist/src/preproc/eqn/
H A Dbox.h26 class box {
32 box();
34 virtual ~box();
57 box **p;
60 box_list(box *);
62 void append(box *);
69 box *make_script_box(box *, box *, box *);
70 box *make_mark_box(box *);
71 box *make_lineup_box(box *);
73 class list_box : public box {
[all …]
H A Dbox.cpp268 int box::next_uid = 0;
270 box::box() : spacing_type(ORDINARY_TYPE), uid(next_uid++) in box() function in box
274 box::~box() in ~box()
278 void box::top_level() in top_level()
282 box *b = this; in top_level()
350 void box::extra_space() in extra_space()
377 int box::compute_metrics(int) in compute_metrics()
385 void box::compute_subscript_kern() in compute_subscript_kern()
390 void box::compute_skew() in compute_skew()
395 void box::output() in output()
[all …]
H A Dother.cpp28 box *ab;
30 accent_box(box *, box *);
38 box *make_accent_box(box *p, box *q) in make_accent_box()
43 accent_box::accent_box(box *pp, box *qq) : pointer_box(pp), ab(qq) in accent_box()
171 overline_box(box *);
177 box *make_overline_box(box *p) in make_overline_box()
185 overline_box::overline_box(box *pp) : pointer_box(pp) in overline_box()
222 box *ab;
224 uaccent_box(box *, box *);
233 box *make_uaccent_box(box *p, box *q) in make_uaccent_box()
[all …]
H A Dlimit.cpp26 class limit_box : public box {
28 box *p;
29 box *from;
30 box *to;
32 limit_box(box *, box *, box *);
40 box *make_limit_box(box *pp, box *qq, box *rr) in make_limit_box()
45 limit_box::limit_box(box *pp, box *qq, box *rr) in limit_box()
H A Dover.cpp27 class over_box : public box {
30 box *num;
31 box *den;
33 over_box(int small, box *, box *);
41 box *make_over_box(box *pp, box *qq) in make_over_box()
46 box *make_small_over_box(box *pp, box *qq) in make_small_over_box()
51 over_box::over_box(int is_small, box *pp, box *qq) in over_box()
H A Dscript.cpp29 box *sub;
30 box *sup;
32 script_box(box *, box *, box *);
46 box *make_script_box(box *nuc, box *sub, box *sup) in make_script_box()
59 script_box::script_box(box *pp, box *qq, box *rr) in script_box()
H A Dmark.cpp28 mark_box(box *);
36 box *make_mark_box(box *p) in make_mark_box()
47 mark_box::mark_box(box *pp) : pointer_box(pp) in mark_box()
78 lineup_box(box *);
86 box *make_lineup_box(box *p) in make_lineup_box()
97 lineup_box::lineup_box(box *pp) : pointer_box(pp) in lineup_box()
H A Dtext.cpp159 void box::set_spacing_type(char *type) in set_spacing_type()
284 box *b = split_text(ch); in set_char_type()
293 box *pb;
295 prime_box(box *);
304 box *make_prime_box(box *pp) in make_prime_box()
309 prime_box::prime_box(box *pp) : pointer_box(pp) in prime_box()
361 box *split_text(char *text) in split_text()
364 box *fb = 0; in split_text()
368 box *b = 0; in split_text()
H A Dspecial.cpp50 special_box(char *, box *);
59 box *make_special_box(char *s, box *p) in make_special_box()
64 special_box::special_box(char *s, box *pp) : pointer_box(pp), macro_name(s) in special_box()
/netbsd-src/external/mit/isl/dist/
H A Disl_box.c36 __isl_null isl_fixed_box *isl_fixed_box_free(__isl_take isl_fixed_box *box) in isl_fixed_box_free() argument
38 if (!box) in isl_fixed_box_free()
40 isl_multi_aff_free(box->offset); in isl_fixed_box_free()
41 isl_multi_val_free(box->size); in isl_fixed_box_free()
42 free(box); in isl_fixed_box_free()
52 isl_fixed_box *box; in isl_fixed_box_alloc() local
57 box = isl_alloc_type(ctx, struct isl_fixed_box); in isl_fixed_box_alloc()
58 if (!box) in isl_fixed_box_alloc()
60 box->offset = offset; in isl_fixed_box_alloc()
61 box->size = size; in isl_fixed_box_alloc()
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsandbox-pledge.c47 struct ssh_sandbox *box; in ssh_sandbox_init() local
50 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
51 box->child_pid = 0; in ssh_sandbox_init()
53 return box; in ssh_sandbox_init()
57 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument
64 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument
66 free(box); in ssh_sandbox_parent_finish()
71 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument
73 box->child_pid = child_pid; in ssh_sandbox_parent_preauth()
H A Dsandbox-rlimit.c44 struct ssh_sandbox *box; in ssh_sandbox_init() local
51 box = xcalloc(1, sizeof(*box)); in ssh_sandbox_init()
52 box->child_pid = 0; in ssh_sandbox_init()
54 return box; in ssh_sandbox_init()
58 ssh_sandbox_child(struct ssh_sandbox *box) in ssh_sandbox_child() argument
76 ssh_sandbox_parent_finish(struct ssh_sandbox *box) in ssh_sandbox_parent_finish() argument
78 free(box); in ssh_sandbox_parent_finish()
83 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) in ssh_sandbox_parent_preauth() argument
85 box->child_pid = child_pid; in ssh_sandbox_parent_preauth()
/netbsd-src/external/mit/isl/dist/include/isl/
H A Dfixed_box.h20 isl_ctx *isl_fixed_box_get_ctx(__isl_keep isl_fixed_box *box);
22 __isl_give isl_space *isl_fixed_box_get_space(__isl_keep isl_fixed_box *box);
24 isl_bool isl_fixed_box_is_valid(__isl_keep isl_fixed_box *box);
27 __isl_keep isl_fixed_box *box);
29 __isl_give isl_multi_val *isl_fixed_box_get_size(__isl_keep isl_fixed_box *box);
31 __isl_give isl_fixed_box *isl_fixed_box_copy(__isl_keep isl_fixed_box *box);
32 __isl_null isl_fixed_box *isl_fixed_box_free(__isl_take isl_fixed_box *box);
38 __isl_take isl_printer *p, __isl_keep isl_fixed_box *box);
39 __isl_give char *isl_fixed_box_to_str(__isl_keep isl_fixed_box *box);
40 void isl_fixed_box_dump(__isl_keep isl_fixed_box *box);
/netbsd-src/games/dab/
H A Dalgor.cc64 BOX box(y, x, b); in find_closure() local
65 if (box.count() == 3) { in find_closure()
67 if (!box.isset(dir)) in find_closure()
157 int ALGOR::try_good_turn(BOX& box, size_t y, size_t x, int& dir, BOARD& b) in try_good_turn() argument
160 if (box.count() >= 2) in try_good_turn()
168 if (!box.isset(dir)) { in try_good_turn()
193 BOX box(y, x, nb); in find_good_turn() local
194 if (box.count() < 2 && try_good_turn(box, y, x, dir, nb)) in find_good_turn()
203 int ALGOR::try_bad_turn(BOX& box, size_t& y, size_t& x, int& dir, BOARD& b, in try_bad_turn() argument
206 if (4 - box.count() <= last) in try_bad_turn()
[all …]
H A Dboard.cc95 BOX box(y, x, *this); in init() local
96 box.reset(); in init()
151 BOX box(y, x, const_cast<BOARD&>(*this)); in full() local
152 if (box.count() != 4) in full()
170 BOX box(y, x, const_cast<BOARD&>(*this)); in paint() local
171 box.paint(); in paint()
/netbsd-src/sys/external/bsd/drm2/dist/drm/mga/
H A Dmga_state.c47 struct drm_clip_rect *box) in mga_emit_clip_rect() argument
65 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, in mga_emit_clip_rect()
66 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); in mga_emit_clip_rect()
505 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_clear() local
506 u32 height = box->y2 - box->y1; in mga_dma_dispatch_clear()
509 box->x1, box->y1, box->x2, box->y2); in mga_dma_dispatch_clear()
516 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
517 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
532 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
533 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
[all …]
/netbsd-src/sys/external/bsd/drm/dist/shared-core/
H A Dmga_state.c46 struct drm_clip_rect * box) in mga_emit_clip_rect() argument
64 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, in mga_emit_clip_rect()
65 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); in mga_emit_clip_rect()
524 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_clear() local
525 u32 height = box->y2 - box->y1; in mga_dma_dispatch_clear()
528 box->x1, box->y1, box->x2, box->y2); in mga_dma_dispatch_clear()
535 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
536 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
551 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
552 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
[all …]
H A Dr300_cmdbuf.c58 struct drm_clip_rect box; in r300_emit_cliprects() local
75 (&box, &cmdbuf->boxes[n + i], sizeof(box))) { in r300_emit_cliprects()
80 box.x2--; /* Hardware expects inclusive bottom-right corner */ in r300_emit_cliprects()
81 box.y2--; in r300_emit_cliprects()
84 box.x1 = (box.x1) & in r300_emit_cliprects()
86 box.y1 = (box.y1) & in r300_emit_cliprects()
88 box.x2 = (box.x2) & in r300_emit_cliprects()
90 box.y2 = (box.y2) & in r300_emit_cliprects()
93 box.x1 = (box.x1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
95 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & in r300_emit_cliprects()
[all …]
H A Di915_dma.c396 struct drm_clip_rect box; in i915_emit_box() local
399 if (DRM_COPY_FROM_USER_UNCHECKED(&box, &boxes[i], sizeof(box))) { in i915_emit_box()
403 if (box.y2 <= box.y1 || box.x2 <= box.x1 || box.y2 <= 0 || box.x2 <= 0) { in i915_emit_box()
405 box.x1, box.y1, box.x2, box.y2); in i915_emit_box()
412 OUT_RING((box.x1 & 0xffff) | (box.y1 << 16)); in i915_emit_box()
413 OUT_RING(((box.x2 - 1) & 0xffff) | ((box.y2 - 1) << 16)); in i915_emit_box()
420 OUT_RING((box.x1 & 0xffff) | (box.y1 << 16)); in i915_emit_box()
421 OUT_RING(((box.x2 - 1) & 0xffff) | ((box.y2 - 1) << 16)); in i915_emit_box()
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_surface.c1844 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; in vmw_subres_dirty_add() local
1847 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1852 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1853 box->z = loc_start->z; in vmw_subres_dirty_add()
1855 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1858 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1859 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1860 box->y = loc_start->y; in vmw_subres_dirty_add()
1862 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1865 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
[all …]
H A Dvmwgfx_stdu.c1232 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_bo_populate_clip() local
1234 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1235 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1236 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1237 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1238 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1239 box->z = 0; in vmw_stdu_bo_populate_clip()
1240 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1241 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1242 box->d = 1; in vmw_stdu_bo_populate_clip()
[all …]
/netbsd-src/external/bsd/nvi/dist/gtk/
H A Dgtk_main.c76 GtkWidget *box, *menubar; in create_toplevel() local
85 box = gtk_vbox_new(FALSE, 0); in create_toplevel()
86 gtk_container_add(GTK_CONTAINER(window), box); in create_toplevel()
87 gtk_widget_show(box); in create_toplevel()
97 gtk_box_pack_start(GTK_BOX(box), menubar, FALSE, FALSE, 0); in create_toplevel()
108 gtk_box_pack_start(GTK_BOX(box), vi_window, TRUE, TRUE, 0); in create_toplevel()
/netbsd-src/external/mit/libcbor/dist/docs/doxygen/
H A Dcustomdoxygen.css235 -webkit-transition-property: background-color, box-shadow;
237 -moz-transition-property: background-color, box-shadow;
239 -ms-transition-property: background-color, box-shadow;
241 -o-transition-property: background-color, box-shadow;
243 transition-property: background-color, box-shadow;
249 box-shadow: 0 0 10px cyan;
279 box-shadow: 2px 2px 3px #999;
280 -webkit-box-shadow: 2px 2px 3px #999;
281 -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px;
478 -webkit-transition-property: background-color, box-shadow;
[all …]
/netbsd-src/external/gpl2/texinfo/dist/doc/
H A Depsf.tex23 %%% by finding the bounding box comment,
36 %%% bounding box by
41 %%% instead use the bounding box you specify.
44 %%% a TeX box, at the point of your \epsfbox
47 %%% its bounding box, as described in
48 %%% filename.ps). The TeX box will have depth
58 %%% instead. Then the width of the TeX box will
93 %%% If you only want to get the bounding box
141 %%% output of the bounding box and scaled width
157 %%% and instead just creates an empty box,
[all …]
/netbsd-src/external/mit/libcbor/dist/docs/stylesheets/
H A Dnormalize.css212 box-sizing: content-box;
327 * Firefox's implementation doesn't respect box-sizing, padding, or width.
329 * 1. Address box sizing set to `content-box` in IE 8/9/10.
335 box-sizing: border-box; /* 1 */
352 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
358 box-sizing: content-box;

12345678910>>...22