Searched refs:gd (Results 1 - 25 of 30) sorted by relevance

12

/openbsd-current/usr.bin/tmux/
H A Dgrid-view.c30 #define grid_view_x(gd, x) (x)
31 #define grid_view_y(gd, y) ((gd)->hsize + (y))
35 grid_view_get_cell(struct grid *gd, u_int px, u_int py, struct grid_cell *gc) argument
37 grid_get_cell(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc);
42 grid_view_set_cell(struct grid *gd, u_int px, u_int py, argument
45 grid_set_cell(gd, grid_view_x(gd, p
50 grid_view_set_padding(struct grid *gd, u_int px, u_int py) argument
57 grid_view_set_cells(struct grid *gd, u_int px, u_int py, const struct grid_cell *gc, const char *s, size_t slen) argument
66 grid_view_clear_history(struct grid *gd, u_int bg) argument
95 grid_view_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) argument
106 grid_view_scroll_region_up(struct grid *gd, u_int rupper, u_int rlower, u_int bg) argument
127 grid_view_scroll_region_down(struct grid *gd, u_int rupper, u_int rlower, u_int bg) argument
138 grid_view_insert_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
151 grid_view_insert_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny, u_int bg) argument
167 grid_view_delete_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
181 grid_view_delete_lines_region(struct grid *gd, u_int rlower, u_int py, u_int ny, u_int bg) argument
197 grid_view_insert_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) argument
214 grid_view_delete_cells(struct grid *gd, u_int px, u_int py, u_int nx, u_int bg) argument
229 grid_view_string_cells(struct grid *gd, u_int px, u_int py, u_int nx) argument
[all...]
H A Dgrid.c184 grid_get_line(struct grid *gd, u_int line) argument
186 return (&gd->linedata[line]);
191 grid_adjust_lines(struct grid *gd, u_int lines) argument
193 gd->linedata = xreallocarray(gd->linedata, lines, sizeof *gd->linedata);
198 grid_clear_cell(struct grid *gd, u_int px, u_int py, u_int bg) argument
200 struct grid_line *gl = &gd->linedata[py];
220 grid_check_y(struct grid *gd, const char *from, u_int py) argument
222 if (py >= gd
257 grid_free_line(struct grid *gd, u_int py) argument
267 grid_free_lines(struct grid *gd, u_int py, u_int ny) argument
279 struct grid *gd; local
304 grid_destroy(struct grid *gd) argument
342 grid_trim_history(struct grid *gd, u_int ny) argument
354 grid_collect_history(struct grid *gd) argument
380 grid_remove_history(struct grid *gd, u_int ny) argument
396 grid_scroll_history(struct grid *gd, u_int bg) argument
413 grid_clear_history(struct grid *gd) argument
426 grid_scroll_history_region(struct grid *gd, u_int upper, u_int lower, u_int bg) argument
460 grid_expand_line(struct grid *gd, u_int py, u_int sx, u_int bg) argument
484 grid_empty_line(struct grid *gd, u_int py, u_int bg) argument
493 grid_peek_line(struct grid *gd, u_int py) argument
538 grid_get_cell(struct grid *gd, u_int px, u_int py, struct grid_cell *gc) argument
549 grid_set_cell(struct grid *gd, u_int px, u_int py, const struct grid_cell *gc) argument
572 grid_set_padding(struct grid *gd, u_int px, u_int py) argument
579 grid_set_cells(struct grid *gd, u_int px, u_int py, const struct grid_cell *gc, const char *s, size_t slen) argument
608 grid_clear(struct grid *gd, u_int px, u_int py, u_int nx, u_int ny, u_int bg) argument
648 grid_clear_lines(struct grid *gd, u_int py, u_int ny, u_int bg) argument
670 grid_move_lines(struct grid *gd, u_int dy, u_int py, u_int ny, u_int bg) argument
712 grid_move_cells(struct grid *gd, u_int dx, u_int px, u_int py, u_int nx, u_int bg) argument
1039 grid_string_cells(struct grid *gd, u_int px, u_int py, u_int nx, struct grid_cell **lastgc, int flags, struct screen *s) argument
1176 grid_reflow_add(struct grid *gd, u_int n) argument
1190 grid_reflow_move(struct grid *gd, struct grid_line *from) argument
1202 grid_reflow_join(struct grid *target, struct grid *gd, u_int sx, u_int yy, u_int width, int already) argument
1310 grid_reflow_split(struct grid *target, struct grid *gd, u_int sx, u_int yy, u_int at) argument
1378 grid_reflow(struct grid *gd, u_int sx) argument
1463 grid_wrap_position(struct grid *gd, u_int px, u_int py, u_int *wx, u_int *wy) argument
1485 grid_unwrap_position(struct grid *gd, u_int *px, u_int *py, u_int wx, u_int wy) argument
1518 grid_line_length(struct grid *gd, u_int py) argument
[all...]
H A Dgrid-reader.c24 grid_reader_start(struct grid_reader *gr, struct grid *gd, u_int cx, u_int cy) argument
26 gr->gd = gd;
43 return (grid_line_length(gr->gd, gr->cy));
54 px = gr->gd->sx;
58 if (wrap && gr->cx >= px && gr->cy < gr->gd->hsize + gr->gd->sy - 1) {
64 grid_get_cell(gr->gd, gr->cx, gr->cy, &gc);
79 grid_get_cell(gr->gd, gr->cx, gr->cy, &gc);
86 grid_get_line(gr->gd, g
[all...]
H A Dcmd-capture-pane.c110 struct grid *gd; local
121 gd = wp->base.saved_grid;
122 if (gd == NULL) {
130 gd = wp->base.grid;
139 top = gd->hsize;
141 } else if (n < 0 && (u_int) -n > gd->hsize)
144 top = gd->hsize + n;
145 if (top > gd->hsize + gd->sy - 1)
146 top = gd
[all...]
H A Dscreen.c327 struct grid *gd = s->grid; local
355 grid_view_delete_lines(gd, oldy - available,
367 if (gd->flags & GRID_HISTORY) {
368 gd->hscrolled += needed;
369 gd->hsize += needed;
373 grid_view_delete_lines(gd, 0, available, 8);
379 grid_adjust_lines(gd, gd->hsize + sy);
389 available = gd->hscrolled;
390 if (gd
[all...]
H A Dwindow-copy.c742 struct grid *gd = data->screen.grid; local
744 return (format_grid_word(gd, x, gd->hsize + y));
752 struct grid *gd = data->screen.grid; local
754 return (format_grid_line(gd, gd->hsize + y));
851 struct grid *gd = data->backing->grid; local
857 cy = gd->hsize + data->cy - data->oy;
858 reflow = (gd->sx != sx);
860 grid_wrap_position(gd, c
3065 struct grid *gd = data->backing->grid; local
3095 window_copy_search_compare(struct grid *gd, u_int px, u_int py, struct grid *sgd, u_int spx, int cis) argument
3116 window_copy_search_lr(struct grid *gd, struct grid *sgd, u_int *ppx, u_int py, u_int first, u_int last, int cis) argument
3153 window_copy_search_rl(struct grid *gd, struct grid *sgd, u_int *ppx, u_int py, u_int first, u_int last, int cis) argument
3190 window_copy_search_lr_regex(struct grid *gd, u_int *ppx, u_int *psx, u_int py, u_int first, u_int last, regex_t *reg) argument
3257 window_copy_search_rl_regex(struct grid *gd, u_int *ppx, u_int *psx, u_int py, u_int first, u_int last, regex_t *reg) argument
3342 window_copy_last_regex(struct grid *gd, u_int py, u_int first, u_int last, u_int len, u_int *ppx, u_int *psx, const char *buf, const regex_t *preg, int eflags) argument
3393 window_copy_stringify(struct grid *gd, u_int py, u_int first, u_int last, char *buf, u_int *size) argument
3432 window_copy_cstrtocellpos(struct grid *gd, u_int ncells, u_int *ppx, u_int *ppy, const char *str) argument
3569 window_copy_search_back_overlap(struct grid *gd, regex_t *preg, u_int *ppx, u_int *psx, u_int *ppy, u_int endline) argument
3613 window_copy_search_jump(struct window_mode_entry *wme, struct grid *gd, struct grid *sgd, u_int fx, u_int fy, u_int endline, int cis, int wrap, int direction, int regex) argument
3718 struct grid *gd = s->grid; local
3855 struct grid *gd = data->backing->grid; local
3871 struct grid *gd = s->grid; local
3888 struct grid *gd = s->grid; local
4060 struct grid *gd = data->backing->grid; local
4078 struct grid *gd = data->backing->grid; local
4197 struct grid *gd = data->backing->grid; local
4293 struct grid *gd = data->backing->grid; local
4801 struct grid *gd = data->backing->grid; local
5411 struct grid *gd = s->grid; local
[all...]
H A Dcmd-resize-pane.c64 struct grid *gd = wp->base.grid; local
70 if (adjust > gd->hsize)
71 adjust = gd->hsize;
72 grid_remove_history(gd, adjust);
H A Dinput.c2787 struct grid *gd = ictx->ctx.s->grid; local
2788 u_int line = ictx->ctx.s->cy + gd->hsize;
2791 if (line > gd->hsize + gd->sy - 1)
2793 gl = grid_get_line(gd, line);
/openbsd-current/libexec/spamd/
H A Dgdcopy.c25 gdcopyin(const void *v, struct gdata *gd) argument
32 memcpy(gd, dbd->data, sizeof(struct gdata));
37 gd->first = ogd.first;
38 gd->pass = ogd.pass;
39 gd->expire = ogd.expire;
40 gd->bcount = ogd.bcount;
41 gd->pcount = ogd.pcount;
H A Dgrey.c499 struct gdata gd; local
510 if (gdcopyin(&dbd, &gd) != -1)
511 return (gd.pcount == -1 ? 1 : 2);
526 struct gdata gd; local
543 if ((dbk.size < 1) || gdcopyin(&dbd, &gd) == -1) {
558 if (gd.expire <= now && gd.pcount != -2) {
562 } else if (gd.pcount == -1) {
567 } else if (gd.pcount >= 0 && gd
671 struct gdata gd; local
766 struct gdata gd; local
[all...]
/openbsd-current/usr.sbin/spamdb/
H A Dspamdb.c50 struct gdata gd; local
109 memset(&gd, 0, sizeof(gd));
110 gd.first = now;
111 gd.bcount = 1;
114 gd.pass = now;
115 gd.expire = now + WHITEEXP;
118 gd.expire = now + TRAPEXP;
119 gd.pcount = -1;
122 gd
191 struct gdata gd; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20021120-1.c24 volatile double gd[32]; variable
35 pd = gd; COPYIN (d, pd);
39 pd = gd; ADD (d, pd);
40 pd = gd; ADD (d, pd);
41 pd = gd; ADD (d, pd);
44 pd = gd; COPYOUT (d, pd);
52 gd[i] = i, gf[i] = i;
55 if (gd[i] != i * 4 || gf[i] != i)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/init/
H A Dpm1.C43 extern D gd;
61 C::C() : mp (&A::i) { gd.count++; }
70 D gd; variable
/openbsd-current/libexec/spamlogd/
H A Dspamlogd.c292 struct gdata gd; local
323 memset(&gd, 0, sizeof(gd));
324 gd.first = now;
325 gd.bcount = 1;
326 gd.pass = now;
327 gd.expire = now + whiteexp;
332 dbd.size = sizeof(gd);
333 dbd.data = &gd;
341 if (gdcopyin(&dbd, &gd)
[all...]
/openbsd-current/sbin/newfs_ext2fs/
H A Dmke2fs.c170 #define gd ext2fsun.m_ext2fs.e2fs_gd macro
469 gd = calloc(sblock.e2fs_ngdb, bsize);
470 if (gd == NULL)
489 gd[cylno].ext2bgd_b_bitmap = boffset;
491 gd[cylno].ext2bgd_i_bitmap = boffset;
493 gd[cylno].ext2bgd_i_tables = boffset;
495 gd[cylno].ext2bgd_nbfree =
498 gd[cylno].ext2bgd_nbfree =
500 fbcount += gd[cylno].ext2bgd_nbfree;
501 gd[cyln
[all...]
/openbsd-current/gnu/usr.bin/texinfo/makeinfo/
H A Dlang.h37 ga, gd, gl, gn, gu, enumerator in enum:__anon7400
H A Dlang.c448 { gd, "gd", "Scots Gaelic" },
/openbsd-current/sys/arch/i386/include/
H A Dsegments.h102 struct gate_descriptor gd; member in union:descriptor
/openbsd-current/sys/arch/amd64/amd64/
H A Dmachdep.c1232 setgate(struct gate_descriptor *gd, void *func, int ist, int type, int dpl, argument
1235 gd->gd_looffset = (u_int64_t)func & 0xffff;
1236 gd->gd_selector = sel;
1237 gd->gd_ist = ist;
1238 gd->gd_type = type;
1239 gd->gd_dpl = dpl;
1240 gd->gd_p = 1;
1241 gd->gd_hioffset = (u_int64_t)func >> 16;
1242 gd->gd_zero = 0;
1243 gd
1249 unsetgate(struct gate_descriptor *gd) argument
[all...]
/openbsd-current/sys/arch/i386/i386/
H A Dmachdep.c2922 setgate(struct gate_descriptor *gd, void *func, int args, int type, int dpl, argument
2926 gd->gd_looffset = (int)func;
2927 gd->gd_selector = GSEL(seg, SEL_KPL);
2928 gd->gd_stkcpy = args;
2929 gd->gd_xx = 0;
2930 gd->gd_type = type;
2931 gd->gd_dpl = dpl;
2932 gd->gd_p = 1;
2933 gd->gd_hioffset = (int)func >> 16;
2937 unsetgate(struct gate_descriptor *gd) argument
[all...]
/openbsd-current/gnu/gcc/gcc/
H A Dtree-into-ssa.c725 struct mark_def_sites_global_data *gd = local
727 bitmap kills = gd->kills;
779 SET_BIT (gd->interesting_blocks, bb->index);
1997 struct mark_def_sites_global_data *gd = local
1999 bitmap kills = gd->kills;
/openbsd-current/regress/usr.sbin/pkg_add/
H A DMakefile128 rep0/gd-0.tgz rep1/gd-1.tgz rep0/ge-0.tgz rep1/ge-1.tgz \
131 @ROOT=${D8} PKG_PATH=${.OBJDIR}/rep0 ${ADD_PKG} g ga gb gc gd ge gf gg
280 @${MKPLIST} "@ask-update gd-<1 Make sure yadada is backed up" >$@
337 rep0/gb-0.tgz rep1/gb-0p0.tgz rep0/gd-0.tgz rep0/ge-0.tgz \
501 rep1/gd-1.tgz rep1/ge-1.tgz: plist5
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-bfin.c1776 int gs, gd; local
1784 gd = (GROUP (dst));
1785 ASSIGN (gd);
/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_vfsops.c383 struct ext2_gd *gd; local
395 gd = (struct ext2_gd *) bp->b_data;
396 e2fs_cgload(gd, fs->e2fs_gd + gdesc, fs->e2fs_bsize);
/openbsd-current/gnu/usr.bin/cvs/src/
H A Dserver.c6296 struct cvs_gssapi_wrap_data *gd;
6298 gd = (struct cvs_gssapi_wrap_data *) xmalloc (sizeof *gd);
6299 gd->gcontext = gcontext;
6305 gd,
6318 struct cvs_gssapi_wrap_data *gd =
6327 if (gss_unwrap (&stat_min, gd->gcontext, &inbuf, &outbuf, &conf, NULL)
6356 struct cvs_gssapi_wrap_data *gd =
6371 if (gss_wrap (&stat_min, gd->gcontext, conf_req, GSS_C_QOP_DEFAULT,
6264 struct cvs_gssapi_wrap_data *gd; local
6286 struct cvs_gssapi_wrap_data *gd = local
6324 struct cvs_gssapi_wrap_data *gd = local

Completed in 255 milliseconds

12