| /openbsd-src/sys/dev/pci/drm/ |
| H A D | linux_radix.c | 45 return ((1UL << (root->height * RADIX_TREE_MAP_SHIFT)) - 1UL); in radix_max() 49 radix_pos(long id, int height) in radix_pos() argument 51 return (id >> (RADIX_TREE_MAP_SHIFT * height)) & RADIX_TREE_MAP_MASK; in radix_pos() 59 int height; in radix_tree_lookup() local 63 height = root->height - 1; in radix_tree_lookup() 66 while (height && node) in radix_tree_lookup() 67 node = node->slots[radix_pos(index, height--)]; in radix_tree_lookup() 81 int height; in radix_tree_iter_find() local 87 height = root->height - 1; in radix_tree_iter_find() 88 if (height == -1 || index > radix_max(root)) in radix_tree_iter_find() [all …]
|
| H A D | drm_panel_orientation_quirks.c | 28 int height; member 35 .height = 1280, 43 .height = 1920, 51 .height = 1920, 59 .height = 1920, 67 .height = 1280, 76 .height = 1280, 84 .height = 1280, 91 .height = 1920, 98 .height 474 drm_get_panel_orientation_quirk(int width,int height) drm_get_panel_orientation_quirk() argument 509 drm_get_panel_orientation_quirk(int width,int height) drm_get_panel_orientation_quirk() argument [all...] |
| H A D | drm_rect.c | 254 int width, int height, in drm_rect_rotate() argument 268 r->y1 = height - tmp.y2; in drm_rect_rotate() 269 r->y2 = height - tmp.y1; in drm_rect_rotate() 287 r->y1 = height - tmp.y2; in drm_rect_rotate() 288 r->y2 = height - tmp.y1; in drm_rect_rotate() 292 r->x1 = height - tmp.y2; in drm_rect_rotate() 293 r->x2 = height - tmp.y1; in drm_rect_rotate() 328 int width, int height, in drm_rect_rotate_inv() argument 347 r->y1 = height - tmp.y2; in drm_rect_rotate_inv() 348 r->y2 = height - tmp.y1; in drm_rect_rotate_inv() [all …]
|
| H A D | drm_framebuffer.c | 83 fb_height = fb->height << 16; in drm_framebuffer_check_src_coords() 96 fb->width, fb->height); in drm_framebuffer_check_src_coords() 135 r.height = or->height; in drm_mode_addfb() 163 static int fb_plane_height(int height, in fb_plane_height() argument 167 return height; in fb_plane_height() 169 return DIV_ROUND_UP(height, format->vsub); in fb_plane_height() 190 if (r->height == 0) { in framebuffer_check() 191 drm_dbg_kms(dev, "bad framebuffer height %u\n", r->height); in framebuffer_check() 200 unsigned int height = fb_plane_height(r->height, info, i); in framebuffer_check() local 217 if ((uint64_t) height * r->pitches[i] + r->offsets[i] > UINT_MAX) in framebuffer_check() [all …]
|
| /openbsd-src/gnu/usr.bin/texinfo/info/ |
| H A D | window.c | 48 #define echo_area_required (1 + the_echo_area->height) 54 window_initialize_windows (int width, int height) in window_initialize_windows() argument 83 the_echo_area->height = ECHO_AREA_HEIGHT; in window_initialize_windows() 84 active_window->height = the_screen->height - 1 - the_echo_area->height; in window_initialize_windows() 85 window_new_screen_size (width, height); in window_initialize_windows() 105 window_new_screen_size (int width, int height) in window_new_screen_size() argument 112 if (width == the_screen->width && height == the_screen->height) in window_new_screen_size() 116 if (height < (WINDOW_MIN_SIZE + the_echo_area->height)) in window_new_screen_size() 117 height = 0; in window_new_screen_size() 130 while ((height - echo_area_required) / numwins <= WINDOW_MIN_SIZE) in window_new_screen_size() [all …]
|
| H A D | display.c | 28 static DISPLAY_LINE **make_display (int width, int height); 43 display_initialize_display (int width, int height) in display_initialize_display() argument 46 the_display = make_display (width, height); in display_initialize_display() 82 (win->height == 0)) in display_update_display() 140 if (!win->height || display_inhibited) in display_update_one_window() 147 if ((win->first_row < 0) || (win->first_row > the_screen->height)) in display_update_one_window() 282 if (1 + line_index + win->first_row < the_screen->height) in display_update_one_window() 356 if (++line_index == win->height) in display_update_one_window() 400 for (; line_index < win->height; line_index++) in display_update_one_window() 421 line_index = win->first_row + win->height; in display_update_one_window() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/tui/ |
| H A D | tui-win.c | 428 tui_active ? TUI_CMD_WIN->generic.height : screenheight); in tui_update_gdb_sizes() 459 _num_to_scroll = win_to_scroll->generic.height - 3; in tui_scroll_forward() 483 _num_to_scroll = win_to_scroll->generic.height - 3; in tui_scroll_backward() 654 new_height = first_win->generic.height; in tui_resize_all() 655 else if ((first_win->generic.height + split_diff) >= in tui_resize_all() 658 else if ((first_win->generic.height + split_diff) <= 0) in tui_resize_all() 661 new_height = first_win->generic.height + split_diff; in tui_resize_all() 691 new_height = first_win->generic.height; in tui_resize_all() 692 else if ((first_win->generic.height + in tui_resize_all() 693 second_win->generic.height + (split_diff * 2)) >= in tui_resize_all() [all …]
|
| H A D | tui-layout.c | 320 h = tui_win_list[type]->generic.height; in tui_default_win_height() 330 h = tui_term_height () - TUI_CMD_WIN->generic.height; in tui_default_win_height() 338 h = (tui_term_height () - TUI_CMD_WIN->generic.height) / 2; in tui_default_win_height() 641 make_command_window (struct tui_win_info * * win_info_ptr, int height, int origin_y) in make_command_window() argument 645 height, in make_command_window() 659 make_source_window (struct tui_win_info * * win_info_ptr, int height, int origin_y) in make_source_window() argument 661 make_source_or_disasm_window (win_info_ptr, SRC_WIN, height, origin_y); in make_source_window() 671 make_disasm_window (struct tui_win_info * * win_info_ptr, int height, int origin_y) in make_disasm_window() argument 673 make_source_or_disasm_window (win_info_ptr, DISASSEM_WIN, height, origin_y); in make_disasm_window() 680 make_data_window (struct tui_win_info * * win_info_ptr, int height, int origin_y) in make_data_window() argument [all …]
|
| /openbsd-src/sys/dev/rasops/ |
| H A D | rasops1.c | 88 u_int32_t height, width; in rasops1_putchar() local 106 height = ri->ri_font->fontheight; in rasops1_putchar() 133 while (height--) { in rasops1_putchar() 140 while (height--) { in rasops1_putchar() 150 while (height--) { in rasops1_putchar() 175 while (height--) { in rasops1_putchar() 185 while (height--) { in rasops1_putchar() 199 while (height--) { in rasops1_putchar() 233 int height, fs, rs, bg, fg; in rasops1_putchar8() local 249 height = ri->ri_font->fontheight; in rasops1_putchar8() [all …]
|
| H A D | rasops4.c | 101 int height, width, fs, rs, fb, bg, fg, lmask, rmask; in rasops4_putchar() local 118 height = ri->ri_font->fontheight; in rasops4_putchar() 146 while (height--) { in rasops4_putchar() 151 while (height--) { in rasops4_putchar() 172 while (height--) { in rasops4_putchar() 181 while (height--) { in rasops4_putchar() 254 int height, fs, rs; in rasops4_putchar8() local 280 height = ri->ri_font->fontheight; in rasops4_putchar8() 289 while (height--) { in rasops4_putchar8() 299 while (height--) { in rasops4_putchar8() [all …]
|
| H A D | rasops8.c | 98 int width, height, cnt, fs, fb; in rasops8_putchar() local 114 height = ri->ri_font->fontheight; in rasops8_putchar() 122 while (height--) { in rasops8_putchar() 134 while (height--) { in rasops8_putchar() 200 int height, fs; in rasops8_putchar8() local 229 height = ri->ri_font->fontheight; in rasops8_putchar8() 232 while (height--) { in rasops8_putchar8() 241 while (height--) { in rasops8_putchar8() 268 int height, fs; in rasops8_putchar12() local 297 height = ri->ri_font->fontheight; in rasops8_putchar12() [all …]
|
| H A D | rasops_bitops.h | 45 int height, cnt; in NAME() local 66 height = ri->ri_font->fontheight; in NAME() 74 while (height--) { in NAME() 92 while (height--) { in NAME() 118 int lmask, rmask, height, row, col, num; in NAME() local 123 height = ri->ri_font->fontheight; in NAME() 130 while (height--) { in NAME() 139 while (height--) { in NAME() 160 int tmp, lmask, rmask, height, lnum, rnum, sb, db, cnt, full; in NAME() local 199 height = ri->ri_font->fontheight; in NAME() [all …]
|
| H A D | rasops15.c | 110 int fb, width, height, cnt, clr[2]; in rasops15_putchar() local 126 height = ri->ri_font->fontheight; in rasops15_putchar() 134 while (height--) { in rasops15_putchar() 147 while (height--) { in rasops15_putchar() 211 int height, so, fs; in rasops15_putchar8() local 240 height = ri->ri_font->fontheight; in rasops15_putchar8() 244 while (height--) { in rasops15_putchar8() 253 while (height--) { in rasops15_putchar8() 287 int height, so, fs; in rasops15_putchar12() local 316 height = ri->ri_font->fontheight; in rasops15_putchar12() [all …]
|
| H A D | rasops24.c | 111 int fb, width, height, cnt, clr[2]; in rasops24_putchar() local 127 height = ri->ri_font->fontheight; in rasops24_putchar() 134 while (height--) { in rasops24_putchar() 148 while (height--) { in rasops24_putchar() 232 int height, so, fs; local 261 height = ri->ri_font->fontheight; 265 while (height--) { 274 while (height--) { 310 int height, so, fs; local 339 height = ri->ri_font->fontheight; [all …]
|
| H A D | rasops32.c | 67 int width, height, step, cnt, fs, b, f; in rasops32_putchar() local 90 height = ri->ri_font->fontheight; in rasops32_putchar() 102 while (height--) { in rasops32_putchar() 116 while (height--) { in rasops32_putchar() 127 while (height--) { in rasops32_putchar() 139 while (height--) { in rasops32_putchar() 154 while (height--) { in rasops32_putchar() 171 while (height--) { in rasops32_putchar() 201 while (height--) { in rasops32_putchar()
|
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_syncmap.c | 75 unsigned int height; member 101 GEM_BUG_ON(p->height); in __sync_seqno() 107 GEM_BUG_ON(!p->height); in __sync_child() 114 return (id >> p->height) & MASK; in __sync_branch_idx() 120 GEM_BUG_ON(p->height); in __sync_leaf_idx() 126 return id >> p->height >> SHIFT; in __sync_branch_prefix() 131 GEM_BUG_ON(p->height); in __sync_leaf_prefix() 178 if (!p->height) in i915_syncmap_is_later() 208 p->height = 0; in __sync_alloc_leaf() 293 next->height = above + p->height; in __sync_set() [all …]
|
| /openbsd-src/sys/dev/pci/drm/i915/selftests/ |
| H A D | i915_vma.c | 365 return (r->plane[n].src_stride * (r->plane[n].height - y - 1) + in rotated_index() 379 for (y = 0; y < r->plane[n].height; y++) { in assert_rotated() 455 for (y = 0; y < r->plane[n].height; y++) { in assert_remapped() 541 return a->dst_stride * a->height + b->dst_stride * b->height; in remapped_size() 550 { .width = 1, .height = 1, .src_stride = 1 }, in igt_vma_rotate_remap() 551 { .width = 2, .height = 2, .src_stride = 2 }, in igt_vma_rotate_remap() 552 { .width = 4, .height = 4, .src_stride = 4 }, in igt_vma_rotate_remap() 553 { .width = 8, .height = 8, .src_stride = 8 }, in igt_vma_rotate_remap() 555 { .width = 3, .height = 5, .src_stride = 3 }, in igt_vma_rotate_remap() 556 { .width = 3, .height = 5, .src_stride = 4 }, in igt_vma_rotate_remap() [all …]
|
| H A D | i915_syncmap.c | 55 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT); in __sync_print() 58 X = (p->height + SHIFT) / 4; in __sync_print() 61 if (!p->height) { in __sync_print() 76 if (p->height) { in __sync_print() 148 if (leaf->height) { in check_seqno() 150 __func__, leaf->height); in check_seqno() 171 if ((*sync)->height) { in check_one() 173 context, (*sync)->height, (*sync)->prefix); in check_one() 246 if ((*sync)->height) { in check_leaf() 248 context, (*sync)->height, (*sync)->prefix); in check_leaf() [all …]
|
| /openbsd-src/sys/arch/luna88k/dev/ |
| H A D | omrasops.c | 100 int scanspan, startx, height, width, align, y; in om1_putchar() local 108 height = ri->ri_font->fontheight; in om1_putchar() 121 while (height > 0) { in om1_putchar() 129 height--; in om1_putchar() 135 while (height > 0) { in om1_putchar() 149 height--; in om1_putchar() 165 int scanspan, startx, height, width, align, y; in om4_putchar() local 175 height = ri->ri_font->fontheight; in om4_putchar() 202 while (height > 0) { in om4_putchar() 224 height--; in om4_putchar() [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | ax-general.c | 385 int height; in ax_reqs() local 411 reqs->max_height = reqs->min_height = height = 0; in ax_reqs() 442 if (targets[i] && (heights[i] != height)) in ax_reqs() 450 heights[i] = height; in ax_reqs() 452 height -= op->consumed; in ax_reqs() 453 if (height < reqs->min_height) in ax_reqs() 454 reqs->min_height = height; in ax_reqs() 455 height += op->produced; in ax_reqs() 456 if (height > reqs->max_height) in ax_reqs() 457 reqs->max_height = height; in ax_reqs() [all …]
|
| /openbsd-src/gnu/llvm/llvm/docs/_static/ |
| H A D | LoopOptWG_invite.ics | 35 …height: 18px;}\n\na, td {\n font-size: 14px; font-family: Arial; color: #333; word-wrap: break-wor…
|
| /openbsd-src/gnu/llvm/clang/www/analyzer/scripts/ |
| H A D | expandcollapse.js | 72 with (data.style) { height = (CLIP_HEIGHT - EXPANDER_HEIGHT) + "px"; 103 expandableDiv.style.height = CLIP_HEIGHT + "px"; 154 newHeight = cellInfo.height; 163 expandableDiv.style.height = newHeight + "px"; 168 if (state.height > newHeight) { 170 data.style.height = (newHeight - EXPANDER_HEIGHT) + "px"; 175 data.style.height = ""; 188 window.scrollBy(0, newHeight - cellInfo.height);
|
| /openbsd-src/sys/dev/sbus/ |
| H A D | tvtwo.c | 187 int node, width, height, freqcode; in tvtwoattach() local 233 width = height = 1024; in tvtwoattach() 240 height = defheight[freqcode]; in tvtwoattach() 244 height = getpropint(node, "vres", height); in tvtwoattach() 248 height = 900; in tvtwoattach() 259 sc->sc_sunfb.sf_height = height; in tvtwoattach() 261 sc->sc_sunfb.sf_fbsize = sc->sc_sunfb.sf_linebytes * height; in tvtwoattach() 313 wdf->height = sc->sc_sunfb.sf_height; in tvtwo_ioctl()
|
| /openbsd-src/usr.bin/tmux/ |
| H A D | mode-tree.c | 71 u_int height; 177 if (mtd->current > mtd->height - 1) in mode_tree_clear_lines() 178 mtd->offset = mtd->current - mtd->height + 1; in mode_tree_clear_lines() 260 if (mtd->line_size >= mtd->height) in mode_tree_up() 261 mtd->offset = mtd->line_size - mtd->height; in mode_tree_up() 281 if (mtd->current > mtd->offset + mtd->height - 1) in mode_tree_get_current() 353 if (mtd->current > mtd->height - 1) in mode_tree_set_current() 354 mtd->offset = mtd->current - mtd->height + 1; in mode_tree_set_current() 361 if (mtd->current > mtd->height - 1) in mode_tree_count_tagged() 362 mtd->offset = mtd->current - mtd->height in mode_tree_count_tagged() 65 u_int height; global() member 464 u_int height; mode_tree_set_height() local [all...] |
| /openbsd-src/sys/dev/pci/drm/amd/display/dc/dce110/ |
| H A D | dce110_transform_v.c | 57 luma_viewport->height = in calculate_viewport() 58 scl_data->viewport.height - scl_data->viewport.height % 2; in calculate_viewport() 61 chroma_viewport->height = luma_viewport->height; in calculate_viewport() 65 luma_viewport->height += luma_viewport->height % 2; in calculate_viewport() 72 chroma_viewport->height = luma_viewport->height / 2; in calculate_viewport() 86 if (luma_view_port->width != 0 && luma_view_port->height != 0) { in program_viewport() 105 luma_view_port->height, in program_viewport() 116 if (chroma_view_port->width != 0 && chroma_view_port->height != 0) { in program_viewport() 135 chroma_view_port->height, in program_viewport() 235 int overscan_bottom = data->v_active - data->recout.y - data->recout.height; in program_overscan()
|