| /netbsd-src/external/gpl2/groff/dist/src/utils/addftinfo/ |
| H A D | guess.cpp | 27 int &height = metric->height; in guess() local 33 height = 0; in guess() 44 height = param.asc_height; in guess() 46 height = param.x_height; in guess() 54 height = param.asc_height; in guess() 71 height = param.x_height; in guess() 74 height = param.x_height; in guess() 86 height = param.asc_height; in guess() 89 height = param.asc_height; in guess() 95 height = param.x_height; in guess() [all …]
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | window.c | 50 #define echo_area_required (1 + the_echo_area->height) 56 window_initialize_windows (int width, int height) in window_initialize_windows() argument 85 the_echo_area->height = ECHO_AREA_HEIGHT; in window_initialize_windows() 86 active_window->height = the_screen->height - 1 - the_echo_area->height; in window_initialize_windows() 87 window_new_screen_size (width, height); in window_initialize_windows() 107 window_new_screen_size (int width, int height) in window_new_screen_size() argument 114 if (width == the_screen->width && height == the_screen->height) in window_new_screen_size() 118 if (height < (WINDOW_MIN_SIZE + the_echo_area->height)) in window_new_screen_size() 119 height = 0; in window_new_screen_size() 132 while ((height - echo_area_required) / numwins <= WINDOW_MIN_SIZE) in window_new_screen_size() [all …]
|
| H A D | display.c | 30 static DISPLAY_LINE **make_display (int width, int height); 45 display_initialize_display (int width, int height) in display_initialize_display() argument 48 the_display = make_display (width, height); in display_initialize_display() 84 (win->height == 0)) in display_update_display() 142 if (!win->height || display_inhibited) in display_update_one_window() 149 if ((win->first_row < 0) || (win->first_row > the_screen->height)) in display_update_one_window() 284 if (1 + line_index + win->first_row < the_screen->height) in display_update_one_window() 358 if (++line_index == win->height) in display_update_one_window() 402 for (; line_index < win->height; line_index++) in display_update_one_window() 423 line_index = win->first_row + win->height; in display_update_one_window() [all …]
|
| /netbsd-src/sys/dev/hpc/ |
| H A D | fontconv.c | 9 int width, height, ascent; variable 24 height = 8; in main() 47 fontname, width, height, code); in fc_rasops() 53 n = fread(buf, width_in_bytes, height, ifp); in fc_rasops() 54 if (n != height) { in fc_rasops() 65 for (i = 0; i < height; i++) { in fc_rasops() 91 fontname, width, height); in fc_rasops() 97 fprintf(ofp, " %d,\t\t\t\t/* height */\n", height); in fc_rasops() 102 fontname, width, height); in fc_rasops() 123 n = fread(buf, width_in_bytes, height, ifp); in fc_rcons() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_panel_orientation_quirks.c | 33 int height; member 40 .height = 1280, 46 .height = 1280, 52 .height = 1280, 60 .height = 1920, 68 .height = 1920, 76 .height = 1280, 85 .height = 1280, 93 .height = 1280, 100 .height = 1280, [all …]
|
| H A D | drm_rect.c | 260 int width, int height, in drm_rect_rotate() argument 274 r->y1 = height - tmp.y2; in drm_rect_rotate() 275 r->y2 = height - tmp.y1; in drm_rect_rotate() 293 r->y1 = height - tmp.y2; in drm_rect_rotate() 294 r->y2 = height - tmp.y1; in drm_rect_rotate() 298 r->x1 = height - tmp.y2; in drm_rect_rotate() 299 r->x2 = height - tmp.y1; in drm_rect_rotate() 334 int width, int height, in drm_rect_rotate_inv() argument 353 r->y1 = height - tmp.y2; in drm_rect_rotate_inv() 354 r->y2 = height - tmp.y1; in drm_rect_rotate_inv() [all …]
|
| /netbsd-src/sys/dev/rcons/ |
| H A D | raster_text.c | 105 y + c->homey + charrast->height > r->height ) in raster_textn() 121 y1 + c->homey + charrast->height > r->height ) in raster_textn() 180 charrast->height, rop, charrast, 0, 0 ) == 0 ) in raster_textn() 191 charrast->width, charrast->height, 8 ); in raster_textn() 194 cr, 0, 0, charrast->width, charrast->height, in raster_textn() 208 r, thisx, thisy, charrast->width, charrast->height, in raster_textn() 215 r, thisx, thisy, charrast->width, charrast->height, in raster_textn() 230 int height, in raster_alloc() argument 236 if ( width <= 0 || height <= 0 || ( depth != 1 && depth != 8 ) ) in raster_alloc() 240 NEW( sizeof(struct raster) + height * linelongs * sizeof(u_int32_t)); in raster_alloc() [all …]
|
| /netbsd-src/sys/dev/wscons/ |
| H A D | wscons_rops.c | 78 y = row * rc->rc_font->height + rc->rc_yorigin; in rcons_cursor() 84 rc->rc_font->chars[(int)' '].r->height, in rcons_cursor() 86 rc->rc_font->width, rc->rc_font->height, in rcons_cursor() 117 y = row * rc->rc_font->height + rc->rc_font_ascent + rc->rc_yorigin; in rcons_putchar() 136 raster_op(rc->rc_sp, 0, 0, rc->rc_sp->width, rc->rc_sp->height, in rcons_invert() 153 y = rc->rc_yorigin + rc->rc_font->height * row; in rcons_copycols() 159 nx, rc->rc_font->height, RAS_SRC, in rcons_copycols() 172 y = rc->rc_yorigin + rc->rc_font->height * row; in rcons_erasecols() 180 nx, rc->rc_font->height, op, in rcons_erasecols() 193 srcy = rc->rc_yorigin + rc->rc_font->height * srcrow; in rcons_copyrows() [all …]
|
| /netbsd-src/sys/arch/luna68k/dev/ |
| H A D | omrasops.c | 267 uint32_t val, int width, int height) in om_fill() argument 275 ASSUME(height > 0); in om_fill() 280 height_m1 = height - 1; in om_fill() 334 int dstspan, int width, int height) in om_fill_color() argument 342 ASSUME(height > 0); in om_fill_color() 351 height_m1 = height - 1; in om_fill_color() 448 int height; in om_putchar() local 465 height = ri->ri_font->fontheight; in om_putchar() 468 y = height * row; in om_putchar() 537 h = height in om_putchar() 562 int height; om_erasecols() local 602 int height; om_eraserows() local 651 om_rascopy_single(int planecount,uint8_t * dst,uint8_t * src,int16_t width,int16_t height,uint8_t rop[]) om_rascopy_single() argument 828 om4_rascopy_multi(uint8_t * dst0,uint8_t * src0,int16_t width,int16_t height) om4_rascopy_multi() argument 1109 int scanspan, offset, srcy, height, width, w; om1_copyrows() local 1286 int scanspan, height, w, y, srcx, dstx; om1_copycols() local 1419 int scanspan, height, w, y, srcx, dstx; om4_copycols() local 1624 int height; om_cursor() local [all...] |
| /netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/ |
| H A D | qxl_display.c | 46 return head->width && head->height; in qxl_head_enabled() 125 if (client_head->height != c_rect->bottom - c_rect->top) { in qxl_display_copy_rom_client_monitors_config() 126 client_head->height = c_rect->bottom - c_rect->top; in qxl_display_copy_rom_client_monitors_config() 141 DRM_DEBUG_KMS("read %dx%d+%d+%d\n", client_head->width, client_head->height, in qxl_display_copy_rom_client_monitors_config() 203 unsigned int height) in qxl_check_mode() argument 210 if (check_mul_overflow(stride, height, &size)) in qxl_check_mode() 220 return qxl_check_mode(qdev, bo->surf.width, bo->surf.height); in qxl_check_framebuffer() 225 unsigned int height, in qxl_add_mode() argument 233 rc = qxl_check_mode(qdev, width, height); in qxl_add_mode() 237 mode = drm_cvt_mode(dev, width, height, 60, false, false, false); in qxl_add_mode() [all …]
|
| H A D | qxl_image.c | 64 int height, int stride) in qxl_image_alloc_objects() argument 81 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects() 109 int width, int height, in qxl_image_init_helper() argument 134 chunk->data_size = height * chunk_stride; in qxl_image_init_helper() 146 remain = linesize * height; in qxl_image_init_helper() 173 for (i = 0 ; i < height ; ++i) { in qxl_image_init_helper() 205 image->descriptor.height = height; in qxl_image_init_helper() 224 image->u.bitmap.y = height; in qxl_image_init_helper() 238 int x, int y, int width, int height, in qxl_image_init() argument 243 width, height, depth, 0, stride); in qxl_image_init()
|
| /netbsd-src/sys/dev/sun/ |
| H A D | pfour_subr.c | 53 int width, height; in fb_setsize_pfour() local 84 height = 900; in fb_setsize_pfour() 89 height = 1024; in fb_setsize_pfour() 94 height = 1024; in fb_setsize_pfour() 99 height = 1280; in fb_setsize_pfour() 104 height = 1440; in fb_setsize_pfour() 109 height = 480; in fb_setsize_pfour() 122 fb->fb_type.fb_height = height; in fb_setsize_pfour()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_syncmap.c | 80 unsigned int height; member 106 GEM_BUG_ON(p->height); in __sync_seqno() 112 GEM_BUG_ON(!p->height); in __sync_child() 119 return (id >> p->height) & MASK; in __sync_branch_idx() 125 GEM_BUG_ON(p->height); in __sync_leaf_idx() 131 return id >> p->height >> SHIFT; in __sync_branch_prefix() 136 GEM_BUG_ON(p->height); in __sync_leaf_prefix() 183 if (!p->height) in i915_syncmap_is_later() 213 p->height = 0; in __sync_alloc_leaf() 298 next->height = above + p->height; in __sync_set() [all …]
|
| /netbsd-src/sys/dev/rasops/ |
| H A D | rasops1.c | 96 int height, width; in rasops1_putchar() local 116 height = font->fontheight; in rasops1_putchar() 147 while (height--) { in rasops1_putchar() 157 while (height--) { in rasops1_putchar() 183 for (height = ri->ri_ul.height; height; height--) { in rasops1_putchar() 202 while (height--) { in rasops1_putchar() 220 while (height--) { in rasops1_putchar() 252 for (height = ri->ri_ul.height; height; height--) { in rasops1_putchar()
|
| H A D | rasops1-4_putchar.h | 91 int height, width, full, cnt, bit; in NAME() local 111 height = font->fontheight; in NAME() 142 while (height--) { in NAME() 155 while (height--) { in NAME() 184 for (height = ri->ri_ul.height; height; height--) { in NAME() 212 while (height--) { in NAME() 238 while (height--) { in NAME() 284 for (height = ri->ri_ul.height; height; height--) { in NAME()
|
| H A D | rasops1_putchar_width.h | 66 int height; in NAME() local 85 height = font->fontheight; in NAME() 98 while (height--) { in NAME() 109 while (height--) { in NAME() 133 for (height = ri->ri_ul.height; height; height--) { in NAME()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
| H A D | vbox_mode.c | 41 int width, height, bpp, pitch; in vbox_do_modeset() local 47 height = vbox_crtc->height ? vbox_crtc->height : 480; in vbox_do_modeset() 63 vbox_write_ioport(VBE_DISPI_INDEX_YRES, height); in vbox_do_modeset() 80 pitch, width, height, bpp, flags); in vbox_do_modeset() 129 u16 width = 0, height = 0; in vbox_set_up_input_mapping() local 155 vbox->input_mapping_height = fb1->height; in vbox_set_up_input_mapping() 167 height = max_t(u16, height, vbox_crtc->y_hint + in vbox_set_up_input_mapping() 168 vbox_connector->mode_hint.height); in vbox_set_up_input_mapping() 173 vbox->input_mapping_height = height; in vbox_set_up_input_mapping() 191 vbox_crtc->height = crtc->state->mode.vdisplay; in vbox_crtc_set_base_and_mode() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 60 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT); in __sync_print() 63 X = (p->height + SHIFT) / 4; in __sync_print() 66 if (!p->height) { in __sync_print() 81 if (p->height) { in __sync_print() 153 if (leaf->height) { in check_seqno() 155 __func__, leaf->height); in check_seqno() 176 if ((*sync)->height) { in check_one() 178 context, (*sync)->height, (*sync)->prefix); in check_one() 251 if ((*sync)->height) { in check_leaf() 253 context, (*sync)->height, (*sync)->prefix); in check_leaf() [all …]
|
| H A D | i915_vma.c | 369 return (r->plane[n].stride * (r->plane[n].height - y - 1) + in rotated_index() 381 for (y = 0; y < r->plane[n].height; y++) { in assert_rotated() 432 for (y = 0; y < r->plane[n].height; y++) { in assert_remapped() 478 return a->width * a->height + b->width * b->height; in rotated_size() 487 { .width = 1, .height = 1, .stride = 1 }, in igt_vma_rotate_remap() 488 { .width = 2, .height = 2, .stride = 2 }, in igt_vma_rotate_remap() 489 { .width = 4, .height = 4, .stride = 4 }, in igt_vma_rotate_remap() 490 { .width = 8, .height = 8, .stride = 8 }, in igt_vma_rotate_remap() 492 { .width = 3, .height = 5, .stride = 3 }, in igt_vma_rotate_remap() 493 { .width = 3, .height = 5, .stride = 4 }, in igt_vma_rotate_remap() [all …]
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | ite_cc.c | 362 wsz.height = ite_default_height; in view_init() 387 vs.height = winsz->height; in ite_newsize() 398 ip->rows = view->display.height / ip->font.height; in ite_newsize() 404 ite_default_height = view->display.height; in ite_newsize() 436 cci->ft_y = ip->font.height; in ite_newsize() 454 cci->font_cell[i] = cci->font_cell[i - 1] + ip->font.height; in ite_newsize() 481 ws.ws_ypixel = view->display.height; in itecc_ioctl() 534 cend = ip->font.height - 1; in cursor32() 558 cend = ip->font.height - 1; in cursor32() 631 for (i = 0; i < ip->font.height; i++) { in clear8() [all …]
|
| /netbsd-src/external/gpl2/groff/dist/src/roff/troff/ |
| H A D | column.cpp | 87 virtual vunits height(); 110 vunits height(); 119 vunits height(); 179 vunits output_line::height() in height() function in output_line 215 vunits node_output_line::height() in height() function in node_output_line 235 vunits vjustify_output_line::height() in height() function in vjustify_output_line 339 bottom += ln->height(); in add_output_line() 391 bottom -= ln->height(); in trim() 404 bottom += ln->height(); in reset() 413 b += ln->height(); in check_bottom() [all …]
|
| /netbsd-src/external/mit/ctwm/libexec/ |
| H A D | ctwm_font_size | 33 height=$(xwininfo -root | awk '/Height:/{ print $2; }') 52 if [ "$width" -gt 6088 -a "$height" -gt 3656 ]; then 54 elif [ "$width" -gt 3048 -a "$height" -gt 1832 ]; then 56 elif [ "$width" -gt 2248 -a "$height" -gt 1400 ]; then 58 elif [ "$width" -gt 640 -a "$height" -gt 480 ]; then
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/virtio/ |
| H A D | virtgpu_display.c | 165 int count, width, height; in virtio_gpu_conn_get_modes() local 174 height = le32_to_cpu(output->info.r.height); in virtio_gpu_conn_get_modes() 177 if (width == 0 || height == 0) { in virtio_gpu_conn_get_modes() 179 height = YRES_DEF; in virtio_gpu_conn_get_modes() 182 DRM_DEBUG("add mode: %dx%d\n", width, height); in virtio_gpu_conn_get_modes() 183 mode = drm_cvt_mode(connector->dev, width, height, 60, in virtio_gpu_conn_get_modes() 198 int width, height; in virtio_gpu_conn_mode_valid() local 201 height = le32_to_cpu(output->info.r.height); in virtio_gpu_conn_mode_valid() 208 mode->vdisplay <= height && mode->vdisplay >= height - 16) in virtio_gpu_conn_mode_valid() 271 output->info.r.height = cpu_to_le32(YRES_DEF); in vgdev_output_init()
|
| /netbsd-src/sys/arch/arm/amlogic/ |
| H A D | meson_genfb.c | 66 u_int height; member 295 u_int width, height, depth; in meson_genfb_canvas_config() local 298 prop_dictionary_get_uint32(cfg, "height", &height); in meson_genfb_canvas_config() 302 const uint32_t h = height; in meson_genfb_canvas_config() 332 u_int width, height, depth; in meson_genfb_osd_config() local 336 prop_dictionary_get_uint32(cfg, "height", &height); in meson_genfb_osd_config() 393 w2 = __SHIFTIN(height - 1, VIU_OSD_BLK_CFG_W2_Y_END) | in meson_genfb_osd_config() 397 w4 = __SHIFTIN(height - 1, VIU_OSD_BLK_CFG_W4_V_END) | in meson_genfb_osd_config() 411 u_int width, height; in meson_genfb_scaler_config() local 415 prop_dictionary_get_uint32(cfg, "height", &height); in meson_genfb_scaler_config() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
| H A D | svga_overlay.h | 142 uint32 *height, /* IN / OUT */ in VMwareVideoGetAttributes() argument 157 *height = (*height + 1) & ~1; in VMwareVideoGetAttributes() 158 *size = (*width) * (*height); in VMwareVideoGetAttributes() 174 tmp *= (*height >> 1); in VMwareVideoGetAttributes() 192 *size *= *height; in VMwareVideoGetAttributes()
|