| /netbsd-src/external/gpl2/groff/dist/src/devices/grolj4/ |
| H A D | lj4.cpp | 179 int moveto(int hpos, int vpos); 180 int moveto1(int hpos, int vpos); 196 int lj4_printer::moveto(int hpos, int vpos) in moveto() argument 198 if (cur_hpos != hpos || cur_vpos != vpos || cur_hpos < 0) in moveto() 199 return moveto1(hpos, vpos); in moveto() 319 if (!moveto(env->hpos, env->vpos)) in set_char() 327 int lj4_printer::moveto1(int hpos, int vpos) in moveto1() argument 329 if (hpos < x_offset || vpos < 0) in moveto1() 333 printf("%dx%dY", hpos - x_offset, vpos); in moveto1() 337 hpos - cur_hpos, vpos == cur_vpos ? 'X' : 'x'); in moveto1() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grolbp/ |
| H A D | lbp.cpp | 79 void polygon( int hpos,int vpos,int np,int *p); 343 if ((env->hpos != cur_hpos) || (env->vpos != cur_vpos)) { in set_char() 345 lbpmoveabs(env->hpos - 64, env->vpos - 64); in set_char() 346 cur_vpos = env->vpos; in set_char() 402 inline void lbp_printer::polygon(int hpos, int vpos, int np, int *p) in polygon() argument 407 points[1] = vpos; in polygon() 440 vdmline(env->hpos, env->vpos, p[0], p[1]); in draw() 452 vdmrectangle(env->hpos, env->vpos, p[0], p[1]); in draw() 455 lbpruleabs(env->hpos - 64, env->vpos -64, p[0], p[1]); in draw() 466 polygon(env->hpos, env->vpos, np, p); in draw() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grotty/ |
| H A D | tty.cpp | 371 env->hpos, env->vpos, in set_char() 391 int vpos; in add_char() local 393 vpos = cached_vpos; in add_char() 397 vpos = v / font::vert; in add_char() 398 if (vpos > nlines) { in add_char() 400 lines = new glyph *[vpos + 1]; in add_char() 402 for (int i = nlines; i <= vpos; i++) in add_char() 405 nlines = vpos + 1; in add_char() 409 if (vpos <= 0) { in add_char() 414 cached_vpos = vpos; in add_char() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grodvi/ |
| H A D | dvi.cpp | 383 if (env->vpos != cur_v) { in set_char() 384 out_signed(down1, env->vpos - cur_v); in set_char() 385 cur_v = env->vpos; in set_char() 561 moveto(env->hpos, env->vpos); in special() 601 y = env->vpos + p[1] + thickness/2; in draw() 607 y = env->vpos + thickness/2; in draw() 615 y = env->vpos + thickness/2; in draw() 621 y = env->vpos + thickness/2; in draw() 652 int ov = env->vpos; in draw() 720 moveto(env->hpos+p[0]/2, env->vpos); in draw() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| H A D | amdgpu_display.c | 88 int vpos, hpos; in amdgpu_display_flip_work_func() local 102 &vpos, &hpos, NULL, NULL, in amdgpu_display_flip_work_func() 811 unsigned int pipe, unsigned int flags, int *vpos, in amdgpu_display_get_crtc_scanoutpos() argument 837 *vpos = position & 0x1fff; in amdgpu_display_get_crtc_scanoutpos() 856 *hpos = *vpos - vbl_start; in amdgpu_display_get_crtc_scanoutpos() 873 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in amdgpu_display_get_crtc_scanoutpos() 883 *vpos -= vbl_start; in amdgpu_display_get_crtc_scanoutpos() 894 if (in_vbl && (*vpos >= vbl_start)) { in amdgpu_display_get_crtc_scanoutpos() 901 *vpos = (*vpos < vtotal) ? (*vpos - vtotal) : 0; in amdgpu_display_get_crtc_scanoutpos() 905 *vpos = *vpos - vbl_end; in amdgpu_display_get_crtc_scanoutpos()
|
| /netbsd-src/usr.bin/sort/ |
| H A D | init.c | 288 char *vpos, *tpos, spec[20]; in fixit() local 365 asprintf(&vpos, "-k%s", spec); in fixit() 366 argv[i] = vpos; in fixit() 373 asprintf(&vpos, "%s,%s", argv[i-1], spec); in fixit() 375 argv[i-1] = vpos; in fixit()
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grops/ |
| H A D | ps.cpp | 707 && sbuf_vpos == env->vpos in set_char() 757 sbuf_vpos = env->vpos; in set_char() 1104 .put_fix_number(env->vpos) in draw() 1121 .put_fix_number(p[1] + env->vpos) in draw() 1123 .put_fix_number(env->vpos) in draw() 1137 .put_fix_number(env->vpos) in draw() 1160 .put_fix_number(env->vpos) in draw() 1186 .put_fix_number(env->vpos) in draw() 1222 .put_fix_number(env->vpos + int(c[1])) in draw() 1229 .put_fix_number(p[1] + p[3] + env->vpos) in draw() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/libs/libdriver/ |
| H A D | input.cpp | 495 e_copy->vpos = e->vpos; in push() 1022 current_env->vpos += (*args)[i]; in position_to_end_of_args() 1590 current_env->vpos = -1; in do_file() 1768 pr->end_page(current_env->vpos); in do_file() 1771 current_env->vpos = 0; in do_file() 1810 current_env->vpos += (EnvInt) get_integer_arg(); in do_file() 1813 current_env->vpos = (EnvInt) get_integer_arg(); in do_file() 1829 pr->end_page(current_env->vpos); in do_file()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| H A D | dvo_ns2501.c | 224 u16 vpos; /* vertical position, 8e/8f */ member 251 .vpos = 16, 271 .vpos = 4, 290 .vpos = 7, 636 ns2501_writeb(dvo, NS2501_REG8E, conf->vpos & 0xff); in ns2501_mode_set() 637 ns2501_writeb(dvo, NS2501_REG8F, conf->vpos >> 8); in ns2501_mode_set()
|
| H A D | intel_sdvo.c | 148 struct drm_property *vpos; member 177 unsigned overscan_h, overscan_v, hpos, vpos, sharpness; member 1393 if (intel_sdvo_conn->vpos) in intel_sdvo_update_props() 1394 UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS); in intel_sdvo_update_props() 2297 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_get_property() 2298 *val = sdvo_state->tv.vpos; in intel_sdvo_connector_atomic_get_property() 2355 else if (property == intel_sdvo_connector->vpos) in intel_sdvo_connector_atomic_set_property() 2356 sdvo_state->tv.vpos = val; in intel_sdvo_connector_atomic_set_property() 3104 ENHANCEMENT(&sdvo_state->tv, vpos, VPOS); in intel_sdvo_create_enhance_property_tv()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
| H A D | radeon_display.c | 294 int vpos, hpos; in radeon_crtc_handle_vblank() local 346 &vpos, &hpos, NULL, NULL, in radeon_crtc_handle_vblank() 348 ((vpos >= 0 && hpos < 0) || (hpos >= 0 && !ASIC_IS_AVIVO(rdev)))) { in radeon_crtc_handle_vblank() 424 int vpos, hpos; in radeon_flip_work_func() local 462 &vpos, &hpos, NULL, NULL, in radeon_flip_work_func() 1809 unsigned int flags, int *vpos, int *hpos, in radeon_get_crtc_scanoutpos() argument 1914 *vpos = position & 0x1fff; in radeon_get_crtc_scanoutpos() 1933 *hpos = *vpos - vbl_start; in radeon_get_crtc_scanoutpos() 1950 if ((*vpos < vbl_start) && (*vpos >= vbl_end)) in radeon_get_crtc_scanoutpos() 1960 *vpos -= vbl_start; in radeon_get_crtc_scanoutpos() [all …]
|
| H A D | radeon_drv.c | 142 unsigned int flags, int *vpos, int *hpos, 592 bool in_vblank_irq, int *vpos, int *hpos, in radeon_get_crtc_scanout_position() argument 596 return radeon_get_crtc_scanoutpos(dev, pipe, 0, vpos, hpos, in radeon_get_crtc_scanout_position()
|
| H A D | radeon_kms.c | 763 int vpos, hpos, stat; in radeon_get_vblank_counter_kms() local 792 &vpos, &hpos, NULL, NULL, in radeon_get_vblank_counter_kms() 802 pipe, vpos); in radeon_get_vblank_counter_kms() 808 if (vpos >= 0) in radeon_get_vblank_counter_kms()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i2c/ |
| H A D | ch7006_mode.c | 340 int flicker, contrast, hpos, vpos; in ch7006_setup_properties() local 363 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale) in ch7006_setup_properties() 366 setbitf(state, CH7006_POV, VPOS_8, vpos); in ch7006_setup_properties() 367 setbitf(state, CH7006_VPOS, 0, vpos); in ch7006_setup_properties() 369 ch7006_dbg(client, "hpos: %d, vpos: %d\n", hpos, vpos); in ch7006_setup_properties()
|
| /netbsd-src/external/gpl2/groff/dist/src/roff/troff/ |
| H A D | column.cpp | 421 vunits vpos(V0); in output() local 424 vpos += ln->distance(); in output() 425 ln->output(out, vpos); in output() 426 vpos += ln->height(); in output()
|
| H A D | node.cpp | 752 units vpos; member in troff_output_file 807 int get_vpos() { return vpos; } in get_vpos() 878 vpos = v.to_units(); in moveto() 939 vpos += n.to_units(); in down() 946 put(vpos); in do_motion() 965 if (vpos != output_vpos) { in do_motion() 966 units n = vpos - output_vpos; in do_motion() 967 if (n > 0 && n < vpos) { in do_motion() 973 put(vpos); in do_motion() 978 output_vpos = vpos; in do_motion() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | display.c | 598 int vpos, hpos; in display_cursor_at_point() local 600 vpos = window_line_of_point (window) - window->pagetop + window->first_row; in display_cursor_at_point() 602 terminal_goto_xy (hpos, vpos); in display_cursor_at_point()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| H A D | nouveau_display.c | 111 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head() argument 140 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head() 150 bool in_vblank_irq, int *vpos, int *hpos, in nouveau_display_scanoutpos() argument 158 return nouveau_display_scanoutpos_head(crtc, vpos, hpos, in nouveau_display_scanoutpos()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
| H A D | amdgpu_dc_stream.c | 243 unsigned int lines_to_vupdate, us_to_vupdate, vpos, nvpos; in delay_cursor_until_vupdate() local 251 if (!dc_stream_get_crtc_position(dc, &stream, 1, &vpos, &nvpos)) in delay_cursor_until_vupdate() 254 if (vpos >= vupdate_line) in delay_cursor_until_vupdate() 258 lines_to_vupdate = vupdate_line - vpos; in delay_cursor_until_vupdate()
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | server.c | 3541 unsigned int vpos = 0; in nsd_recvmmsg() local 3547 while(vpos < vlen) { in nsd_recvmmsg() 3549 msgvec[vpos].msg_hdr.msg_iov->iov_base, in nsd_recvmmsg() 3550 msgvec[vpos].msg_hdr.msg_iov->iov_len, in nsd_recvmmsg() 3552 msgvec[vpos].msg_hdr.msg_name, in nsd_recvmmsg() 3553 &msgvec[vpos].msg_hdr.msg_namelen); in nsd_recvmmsg() 3558 msgvec[vpos].msg_len = (unsigned int)rcvd; in nsd_recvmmsg() 3559 vpos++; in nsd_recvmmsg() 3563 if(vpos) { in nsd_recvmmsg() 3565 return (int)vpos; in nsd_recvmmsg() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/include/ |
| H A D | printer.h | 47 int vpos; member
|
| /netbsd-src/sys/dev/usb/ |
| H A D | auvitek_video.c | 282 uint16_t vpos = 0, hpos = 0; in auvitek_start_transfer() local 291 auvitek_write_1(sc, AU0828_REG_VPOS_LO, vpos & 0xff); in auvitek_start_transfer() 292 auvitek_write_1(sc, AU0828_REG_VPOS_HI, vpos >> 8); in auvitek_start_transfer()
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grohtml/ |
| H A D | post-html.cpp | 4105 env->hpos, env->vpos, env->hpos+p[0], env->vpos+p[1], line_thickness); in draw() 4365 if (((! sbuf.empty()) && (sty == sbuf_style) && (sbuf_vpos == env->vpos)) in set_char() 4376 sbuf_vpos = env->vpos; in set_char() 4859 env->vpos-env->size*r/72, env->hpos, in special() 4860 env->vpos , env->hpos, in special() 4884 env->vpos-env->size*r/72, env->hpos, in special() 4885 env->vpos , env->hpos, in special() 4899 handle_assertion(env->vpos-env->size*r/72, env->hpos, in special() 4900 env->vpos, env->hpos, s); in special() 4931 env->vpos-env->size*r/72, env->hpos, in devtag() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_irq.h | 107 bool in_vblank_irq, int *vpos, int *hpos,
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_vblank.c | 651 int vpos, hpos, i; in drm_calc_vbltimestamp_from_scanoutpos() local 699 &vpos, &hpos, in drm_calc_vbltimestamp_from_scanoutpos() 731 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos() 746 pipe, hpos, vpos, in drm_calc_vbltimestamp_from_scanoutpos()
|