Home
last modified time | relevance | path

Searched refs:grid (Results 1 – 25 of 30) sorted by relevance

12

/openbsd/src/usr.bin/tmux/
Dgrid-view.c35 grid_view_get_cell(struct grid *gd, u_int px, u_int py, struct grid_cell *gc) in grid_view_get_cell()
42 grid_view_set_cell(struct grid *gd, u_int px, u_int py, in grid_view_set_cell()
50 grid_view_set_padding(struct grid *gd, u_int px, u_int py) in grid_view_set_padding()
57 grid_view_set_cells(struct grid *gd, u_int px, u_int py, in grid_view_set_cells()
66 grid_view_clear_history(struct grid *gd, u_int bg) in grid_view_clear_history()
95 grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, in grid_view_clear()
106 grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower, in grid_view_scroll_region_up()
127 grid_view_scroll_region_down(struct grid *gd, u_int rupper, u_int rlower, in grid_view_scroll_region_down()
138 grid_view_insert_lines(struct grid *gd, u_int py, u_int ny, u_int bg) in grid_view_insert_lines()
151 grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, in grid_view_insert_lines_region()
[all …]
Dscreen.c77 s->grid = grid_create(sx, sy, hlimit); in screen_init()
121 grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy, 8); in screen_reinit()
152 grid_destroy(s->grid); in screen_free()
291 u_int cx = s->cx, cy = s->grid->hsize + s->cy; in screen_resize_cursor()
306 s->grid->sx = sx; in screen_resize_cursor()
317 if (cy >= s->grid->hsize) { in screen_resize_cursor()
319 s->cy = cy - s->grid->hsize; in screen_resize_cursor()
342 struct grid *gd = s->grid; in screen_resize_y()
589 grid_wrap_position(s->grid, *cx, *cy, &wx, &wy); in screen_reflow()
594 grid_reflow(s->grid, new_x); in screen_reflow()
[all …]
Dgrid.c189 grid_get_line(struct grid *gd, u_int line) in grid_get_line()
196 grid_adjust_lines(struct grid *gd, u_int lines) in grid_adjust_lines()
203 grid_clear_cell(struct grid *gd, u_int px, u_int py, u_int bg) in grid_clear_cell()
225 grid_check_y(struct grid *gd, const char *from, u_int py) in grid_check_y()
276 grid_free_line(struct grid *gd, u_int py) in grid_free_line()
286 grid_free_lines(struct grid *gd, u_int py, u_int ny) in grid_free_lines()
295 struct grid *
298 struct grid *gd; in grid_create()
323 grid_destroy(struct grid *gd) in grid_destroy()
334 grid_compare(struct grid *ga, struct grid *gb) in grid_compare()
[all …]
Dscreen-write.c572 struct grid *gd = src->grid; in screen_write_fast_copy()
592 grid_view_set_cell(ctx->s->grid, s->cx, s->cy, &gc); in screen_write_fast_copy()
862 screen_write_fast_copy(ctx, src, px, src->grid->hsize + py, nx, ny); in screen_write_preview()
865 grid_view_get_cell(src->grid, src->cx, src->cy, &gc); in screen_write_preview()
1004 gl = grid_get_line(s->grid, s->grid->hsize + cy - 1); in screen_write_backspace()
1029 grid_view_set_cell(s->grid, xx, yy, &gc); in screen_write_alignmenttest()
1064 grid_view_insert_cells(s->grid, s->cx, s->cy, nx, bg); in screen_write_insertcharacter()
1092 grid_view_delete_cells(s->grid, s->cx, s->cy, nx, bg); in screen_write_deletecharacter()
1120 grid_view_clear(s->grid, s->cx, s->cy, nx, 1, bg); in screen_write_clearcharacter()
1132 struct grid *gd = s->grid; in screen_write_insertline()
[all …]
Dtmux.h809 struct grid { struct
825 struct grid *gd;
916 struct grid *grid; /* grid data */ member
934 struct grid *saved_grid;
1019 #define screen_size_x(s) ((s)->grid->sx)
1020 #define screen_size_y(s) ((s)->grid->sy)
1021 #define screen_hsize(s) ((s)->grid->hsize)
1022 #define screen_hlimit(s) ((s)->grid->hlimit)
2282 char *format_grid_word(struct grid *, u_int, u_int);
2283 char *format_grid_hyperlink(struct grid *, u_int, u_int,
[all …]
Dwindow-copy.c60 static int window_copy_search_compare(struct grid *, u_int, u_int,
61 struct grid *, u_int, int);
62 static int window_copy_search_lr(struct grid *, struct grid *, u_int *,
64 static int window_copy_search_rl(struct grid *, struct grid *, u_int *,
66 static int window_copy_last_regex(struct grid *, u_int, u_int, u_int,
71 static char *window_copy_stringify(struct grid *, u_int, u_int, u_int,
73 static void window_copy_cstrtocellpos(struct grid *, u_int, u_int *,
79 static void window_copy_search_back_overlap(struct grid *, regex_t *,
82 struct grid *, struct grid *, u_int, u_int, u_int, int, int,
352 gl = grid_peek_line(src->grid, sy - 1); in window_copy_clone_screen()
[all …]
DMakefile81 grid-reader.c \
82 grid-view.c \
83 grid.c \
Dcmd-capture-pane.c110 struct grid *gd; in cmd_capture_pane_history()
130 gd = wp->base.grid; in cmd_capture_pane_history()
210 grid_clear_history(wp->base.grid); in cmd_capture_pane_exec()
Dcmd-resize-pane.c64 struct grid *gd = wp->base.grid; in cmd_resize_pane_exec()
Dformat.c864 struct grid *gd; in format_cb_history_bytes()
872 gd = wp->base.grid; in format_cb_history_bytes()
890 struct grid *gd; in format_cb_history_all_bytes()
897 gd = wp->base.grid; in format_cb_history_all_bytes()
928 for (i = 0; i < wp->base.grid->sx; i++) { in format_cb_pane_tabs()
1116 grid_view_get_cell(wp->base.grid, wp->base.cx, wp->base.cy, &gc); in format_cb_cursor_character()
1127 struct grid *gd; in format_cb_mouse_word()
1143 gd = wp->base.grid; in format_cb_mouse_word()
1152 struct grid *gd; in format_cb_mouse_hyperlink()
1162 gd = wp->base.grid; in format_cb_mouse_hyperlink()
[all …]
Dinput.c1219 u_int cx = s->cx, line = s->cy + s->grid->hsize; in input_c0_dispatch()
1243 grid_get_cell(s->grid, s->cx, line, &first_gc); in input_c0_dispatch()
1246 grid_get_cell(s->grid, cx, line, &gc); in input_c0_dispatch()
1261 grid_get_cell(s->grid, s->cx, line, &gc); in input_c0_dispatch()
2880 struct grid *gd = ictx->ctx.s->grid; in input_osc_133()
Dstatus.c593 if (grid_compare(sl->active->grid, old_screen.grid) == 0) { in status_message_redraw()
868 if (grid_compare(sl->active->grid, old_screen.grid) == 0) { in status_prompt_redraw()
Dgrid-reader.c24 grid_reader_start(struct grid_reader *gr, struct grid *gd, u_int cx, u_int cy) in grid_reader_start()
Dscreen-redraw.c481 if (grid_compare(wp->status_screen.grid, old.grid) == 0) { in screen_redraw_make_pane_status()
Dtty.c1433 struct grid *gd = s->grid; in tty_draw_line()
Dwindow.c1308 line = grid_view_string_cells(s->grid, 0, i, screen_size_x(s)); in window_pane_search()
/openbsd/src/sys/kern/
Dkern_intrmap.c155 intrmap_set_grid(struct intrmap *im, unsigned int unit, unsigned int grid) in intrmap_set_grid() argument
161 KASSERTMSG(grid > 0, "invalid if_ringmap grid %u", grid); in intrmap_set_grid()
162 KASSERTMSG(grid >= im->im_count, "invalid intrmap grid %u, count %u", in intrmap_set_grid()
163 grid, im->im_count); in intrmap_set_grid()
164 im->im_grid = grid; in intrmap_set_grid()
166 offset = (grid * unit) % ic->ic_count; in intrmap_set_grid()
181 unsigned int i, grid = 0, prev_grid; in intrmap_create() local
200 grid = ic->ic_count / (i + 1); in intrmap_create()
201 if (nintrs > grid) { in intrmap_create()
202 grid = prev_grid; in intrmap_create()
[all …]
/openbsd/src/games/boggle/boggle/
Dbog.c62 int grid = 4; variable
101 grid = 5; in main()
127 ncubes = grid * grid; in main()
605 cubes = grid == 4 ? cubes4 : cubes5; in newgame()
679 minlength = grid - 1; in init()
710 if (col + 1 < grid) \
735 row = cube / grid; in init_adjacencies()
736 col = cube % grid; in init_adjacencies()
745 SET_ADJ(cube - grid); in init_adjacencies()
748 if (row + 1 < grid) in init_adjacencies()
[all …]
Dmach.c79 extern int ngames, nmwords, npwords, tnmwords, tnpwords, ncubes, grid;
102 separator = malloc(4 * grid + 2); in setup()
106 ep = separator + 4 * grid; in setup()
116 SCORE_COL += (grid - 4) * 4; in setup()
117 TIMER_COL += (grid - 4) * 4; in setup()
118 PROMPT_COL += (grid - 4) * 4; in setup()
119 LIST_LINE += (grid - 4) * 2; in setup()
702 if ((i + 1) % grid == 0) { in tty_showboard()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
Dtemplate16.C17 void grid(T (*f)(bar<T>&),bar<T>& x,bar<T>& y,bar<T>& param);
20 template<class T> void ben<T>::grid(T (*f)(bar<T>&),bar<T>& x,bar<T>& y,bar<T>& param) { } in grid() function
31 a.grid(gnc,x,y,p); in main()
/openbsd/src/gnu/llvm/libcxx/utils/
Dgenerate_feature_test_macro_components.py1139 def make_widths(grid): argument
1141 for i in range(0, len(grid[0])):
1142 cell_width = 2 + max(reduce(lambda x,y: x+y, [[len(row[i])] for row in grid], []))
1146 def create_table(grid, indent): argument
1148 col_widths = make_widths(grid)
1151 for row_i in range(0, len(grid)):
1152 row = grid[row_i]
1156 if row_i == len(grid) - 1:
/openbsd/src/gnu/llvm/lldb/examples/python/
Dlldbtk.py489 self.tree.grid(in_=frame, row=0, column=0, sticky=NSEW)
490 scroll_bar_v.grid(in_=frame, row=0, column=1, sticky=NS)
491 scroll_bar_h.grid(in_=frame, row=1, column=0, sticky=EW)
/openbsd/src/gnu/llvm/llvm/utils/llvm-locstats/
Dllvm-locstats.py31 plt.grid(color='grey', which='major', axis='y', linestyle='-', linewidth=0.3)
/openbsd/src/gnu/llvm/llvm/utils/
Dllvm-mca-compare.py348 axs[x][y].grid(True, color="grey", linestyle="--")
/openbsd/src/gnu/llvm/llvm/docs/
DAMDGPUUsage.rst2121 work-group within the grid, accounting for partial work-groups. If it is not,
2846 The OpenCL grid dispatch
2852 The OpenCL grid dispatch
2858 The OpenCL grid dispatch
2898 multi-grid synchronization is
3375 The OpenCL grid dispatch
3381 The OpenCL grid dispatch
3387 The OpenCL grid dispatch
3429 multi-grid synchronization is
3630 … The grid dispatch work-group count for the X dimension
[all …]

12