Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 187) sorted by relevance

12345678

/dflybsd-src/sys/dev/drm/
H A Dlinux_radix.c45 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 Ddrm_rect.c308 int width, int height, in drm_rect_rotate() argument
322 r->y1 = height - tmp.y2; in drm_rect_rotate()
323 r->y2 = height - tmp.y1; in drm_rect_rotate()
341 r->y1 = height - tmp.y2; in drm_rect_rotate()
342 r->y2 = height - tmp.y1; in drm_rect_rotate()
346 r->x1 = height - tmp.y2; in drm_rect_rotate()
347 r->x2 = height - tmp.y1; in drm_rect_rotate()
382 int width, int height, in drm_rect_rotate_inv() argument
401 r->y1 = height - tmp.y2; in drm_rect_rotate_inv()
402 r->y2 = height - tmp.y1; in drm_rect_rotate_inv()
[all …]
H A Ddrm_framebuffer.c73 fb_height = fb->height << 16; in drm_framebuffer_check_src_coords()
116 r.height = or->height; in drm_mode_addfb()
143 static int fb_plane_height(int height, in fb_plane_height() argument
147 return height; in fb_plane_height()
149 return DIV_ROUND_UP(height, format->vsub); in fb_plane_height()
176 if (r->height == 0) { in framebuffer_check()
177 DRM_DEBUG_KMS("bad framebuffer height %u\n", r->height); in framebuffer_check()
183 unsigned int height = fb_plane_height(r->height, info, i); in framebuffer_check() local
194 if ((uint64_t) height * r->pitches[i] + r->offsets[i] > UINT_MAX) in framebuffer_check()
222 width % 128 || height % 32 || in framebuffer_check()
[all …]
/dflybsd-src/contrib/gdb-7/gdb/tui/
H A Dtui-win.c473 tui_active ? TUI_CMD_WIN->generic.height : tui_term_height()); in tui_update_gdb_sizes()
505 _num_to_scroll = win_to_scroll->generic.height - 3; in tui_scroll_forward()
530 _num_to_scroll = win_to_scroll->generic.height - 3; in tui_scroll_backward()
710 new_height = first_win->generic.height; in tui_resize_all()
711 else if ((first_win->generic.height + split_diff) >= in tui_resize_all()
714 else if ((first_win->generic.height + split_diff) <= 0) in tui_resize_all()
717 new_height = first_win->generic.height + split_diff; in tui_resize_all()
749 new_height = first_win->generic.height; in tui_resize_all()
750 else if ((first_win->generic.height + in tui_resize_all()
751 second_win->generic.height + (split_diff * 2)) >= in tui_resize_all()
[all …]
H A Dtui-layout.c329 h = tui_win_list[type]->generic.height; in tui_default_win_height()
339 h = tui_term_height () - TUI_CMD_WIN->generic.height; in tui_default_win_height()
347 h = (tui_term_height () - TUI_CMD_WIN->generic.height) / 2; in tui_default_win_height()
660 int height, int origin_y) in make_command_window() argument
664 height, in make_command_window()
678 int height, int origin_y) in make_source_window() argument
680 make_source_or_disasm_window (win_info_ptr, SRC_WIN, height, origin_y); in make_source_window()
690 int height, int origin_y) in make_disasm_window() argument
692 make_source_or_disasm_window (win_info_ptr, DISASSEM_WIN, height, origin_y); in make_disasm_window()
700 int height, int origin_y) in make_data_window() argument
[all …]
/dflybsd-src/contrib/dialog/
H A Dyesno.c34 dialog_yesno(const char *title, const char *cprompt, int height, int width) in dialog_yesno() argument
58 int req_high = height; in dialog_yesno()
65 DLG_TRACE2N("height", height); in dialog_yesno()
74 dlg_auto_size(title, prompt, &height, &width, 2, min_width); in dialog_yesno()
75 dlg_print_size(height, width); in dialog_yesno()
76 dlg_ctl_size(height, width); in dialog_yesno()
79 y = dlg_box_y_ordinate(height); in dialog_yesno()
81 dialog = dlg_new_window(height, width, y, x); in dialog_yesno()
85 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_yesno()
92 page = height - (1 + 3 * MARGIN); in dialog_yesno()
[all …]
H A Dmsgbox.c35 dialog_msgbox(const char *title, const char *cprompt, int height, int width, in dialog_msgbox() argument
67 DLG_TRACE2N("height", height); in dialog_msgbox()
75 req_high = height; in dialog_msgbox()
84 dlg_auto_size(title, prompt, &height, &width, in dialog_msgbox()
87 dlg_print_size(height, width); in dialog_msgbox()
88 dlg_ctl_size(height, width); in dialog_msgbox()
91 y = dlg_box_y_ordinate(height); in dialog_msgbox()
93 dialog = dlg_new_window(height, width, y, x); in dialog_msgbox()
97 page = height - (1 + 3 * MARGIN); in dialog_msgbox()
101 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_msgbox()
[all …]
H A Dpause.c50 int height, in dialog_pause() argument
64 int old_height = height; in dialog_pause()
85 DLG_TRACE2N("height", height); in dialog_pause()
103 dlg_auto_size(title, prompt, &height, &width, in dialog_pause()
108 dlg_auto_size(title, prompt, &height, &width, in dialog_pause()
112 gauge_y = height - button_high - (1 + 2 * MARGIN); in dialog_pause()
113 dlg_print_size(height, width); in dialog_pause()
114 dlg_ctl_size(height, width); in dialog_pause()
118 y = dlg_box_y_ordinate(height); in dialog_pause()
120 dialog = dlg_new_window(height, width, y, x); in dialog_pause()
[all …]
H A Dtimebox.c48 int height; member
80 data->height + (2 * MARGIN), data->width + (2 * MARGIN), in draw_cell()
92 int width, int height, in init_object() argument
102 data->height = height; in init_object()
107 data->height, data->width, in init_object()
113 dlg_mouse_mkregion(y, x, height, width, code); in init_object()
137 int height, in dialog_timebox() argument
172 int old_height = height; in dialog_timebox()
191 DLG_TRACE2N("height", height); in dialog_timebox()
210 if (height > 0) in dialog_timebox()
[all …]
H A Dguage.c44 int height; member
125 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text()
132 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text()
135 obj->height - 4, 2 + MARGIN, in repaint_text()
146 (void) wmove(dialog, obj->height - 3, 4); in repaint_text()
152 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); in repaint_text()
166 (void) wmove(dialog, obj->height - 3, 4); in repaint_text()
301 int height, in dlg_reallocate_gauge() argument
317 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dlg_reallocate_gauge()
318 dlg_print_size(height, width); in dlg_reallocate_gauge()
[all …]
H A Dmixedgauge.c42 int height, old_height, min_height; member
110 int limit_y = dlg->height; in myprint_status()
187 mydraw_mixed_box(WINDOW *win, int y, int x, int height, int width, in mydraw_mixed_box() argument
190 dlg_draw_box(win, y, x, height, width, boxchar, borderchar); in mydraw_mixed_box()
225 (void) wmove(dlg->dialog, dlg->height - 3, 4); in dlg_update_mixedgauge()
231 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2); in dlg_update_mixedgauge()
245 (void) wmove(dlg->dialog, dlg->height - 3, 4); in dlg_update_mixedgauge()
280 dlg->height = dlg->old_height = aHeight; in dlg_begin_mixedgauge()
310 dlg->height = dlg->old_height; in dlg_begin_mixedgauge()
316 &(dlg->height), in dlg_begin_mixedgauge()
[all …]
H A Dutil.c224 dlg_attr_clear(WINDOW *win, int height, int width, chtype attr) in dlg_attr_clear() argument
229 for (i = 0; i < height; i++) { in dlg_attr_clear()
1091 dlg_print_autowrap(WINDOW *win, const char *prompt, int height, int width) in dlg_print_autowrap() argument
1094 height, in dlg_print_autowrap()
1111 int height, in dlg_print_scrolled() argument
1139 dlg_print_autowrap(win, prompt, height + 1 + (3 * MARGIN), width); in dlg_print_scrolled()
1157 height, /* dmaxrow */ in dlg_print_scrolled()
1165 int percent = (int) ((height + offset) * 100.0 / y); in dlg_print_scrolled()
1176 (void) wmove(win, MARGIN + height, wide - 4); in dlg_print_scrolled()
1185 last = (y - height); in dlg_print_scrolled()
[all …]
H A Dinputbox.c49 dialog_inputbox(const char *title, const char *cprompt, int height, int width, in dialog_inputbox() argument
71 int old_height = height; in dialog_inputbox()
96 DLG_TRACE2N("height", height); in dialog_inputbox()
115 partauto = ((height == 0) ^ (width == 0)); in dialog_inputbox()
118 &height, &width, in dialog_inputbox()
126 &height, &width, in dialog_inputbox()
131 dlg_print_size(height, width); in dialog_inputbox()
132 dlg_ctl_size(height, width); in dialog_inputbox()
135 yorg = dlg_box_y_ordinate(height); in dialog_inputbox()
137 dialog = dlg_new_window(height, width, yorg, xorg); in dialog_inputbox()
[all …]
H A Dtailbox.c167 print_page(MY_OBJ * obj, int height, int width) in print_page() argument
171 for (i = 0; i < height; i++) { in print_page()
308 int height, in dialog_tailbox() argument
329 int old_height = height; in dialog_tailbox()
343 DLG_TRACE2N("height", height); in dialog_tailbox()
354 dlg_auto_sizefile(title, filename, &height, &width, 2, min_width); in dialog_tailbox()
355 dlg_print_size(height, width); in dialog_tailbox()
356 dlg_ctl_size(height, width); in dialog_tailbox()
359 y = dlg_box_y_ordinate(height); in dialog_tailbox()
360 thigh = height - ((2 * MARGIN) + (bg_task ? 0 : 2)); in dialog_tailbox()
[all …]
H A Drangebox.c160 int height, in dialog_rangebox() argument
195 int old_height = height; in dialog_rangebox()
215 DLG_TRACE2N("height", height); in dialog_rangebox()
235 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dialog_rangebox()
238 dlg_print_size(height, width); in dialog_rangebox()
239 dlg_ctl_size(height, width); in dialog_rangebox()
241 dialog = dlg_new_window(height, width, in dialog_rangebox()
242 yorg = dlg_box_y_ordinate(height), in dialog_rangebox()
276 data.slide_y = height - 5; in dialog_rangebox()
283 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_rangebox()
[all …]
H A Dcalendar.c55 int height; member
378 data->height + (2 * MARGIN), data->width + (2 * MARGIN), in draw_day()
439 data->y + data->height); in draw_day()
458 data->height + 2, data->width + 2, in draw_month()
480 data->height + 2, data->width + 2, in draw_year()
494 int width, int height, in init_object() argument
503 data->height = height; in init_object()
508 data->height, data->width, in init_object()
515 dlg_mouse_mkbigregion(y + 1, x + MON_WIDE, height - 1, width - MON_WIDE, in init_object()
518 dlg_mouse_mkregion(y, x, height, width, code); in init_object()
[all …]
H A Dchecklist.c156 int height, in dlg_checklist() argument
192 int old_height = height; in dlg_checklist()
213 DLG_TRACE2N("height", height); in dlg_checklist()
263 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, use_width); in dlg_checklist()
264 dlg_calc_listh(&height, &all.use_height, item_no); in dlg_checklist()
267 &height, &width, in dlg_checklist()
271 dlg_print_size(height, width); in dlg_checklist()
272 dlg_ctl_size(height, width); in dlg_checklist()
283 y = dlg_box_y_ordinate(height); in dlg_checklist()
285 dialog = dlg_new_window(height, width, y, x); in dlg_checklist()
[all …]
H A Dtreeview.c160 int height, in dlg_treeview() argument
197 int old_height = height; in dlg_treeview()
262 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, use_width); in dlg_treeview()
263 dlg_calc_listh(&height, &use_height, item_no); in dlg_treeview()
265 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH + use_height, use_width); in dlg_treeview()
268 dlg_print_size(height, width); in dlg_treeview()
269 dlg_ctl_size(height, width); in dlg_treeview()
272 y = dlg_box_y_ordinate(height); in dlg_treeview()
274 dialog = dlg_new_window(height, width, y, x); in dlg_treeview()
280 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dlg_treeview()
[all …]
H A Dmenubox.c315 int height, in dlg_menu() argument
356 int old_height = height; in dlg_menu()
377 DLG_TRACE2N("height", height); in dlg_menu()
403 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, use_width); in dlg_menu()
404 dlg_calc_listh(&height, &all.menu_height, item_no); in dlg_menu()
407 &height, &width, in dlg_menu()
411 dlg_print_size(height, width); in dlg_menu()
412 dlg_ctl_size(height, width); in dlg_menu()
415 y = dlg_box_y_ordinate(height); in dlg_menu()
417 dialog = dlg_new_window(height, width, y, x); in dlg_menu()
[all …]
/dflybsd-src/sys/dev/drm/i915/
H A Di915_syncmap.c75 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 …]
/dflybsd-src/usr.sbin/installer/dfuife_curses/
H A Dcurses_form.c78 cf->height = 0; in curses_form_new()
276 cf->top = (ymax - cf->height) / 2; in curses_form_finalize()
283 cf->int_height = cf->height; in curses_form_finalize()
292 if (cf->height > (ymax - 2)) { in curses_form_finalize()
293 cf->height = ymax - 2; in curses_form_finalize()
301 cf->win = newwin(cf->height + 2, cf->width + 2, cf->top - 1, cf->left - 1); in curses_form_finalize()
304 cf->width + 2, cf->height + 2, cf->left - 1, cf->top - 1); in curses_form_finalize()
331 if (cf->int_height > cf->height) { in curses_form_draw()
332 sb_factor = (float)cf->height / (float)cf->int_height; in curses_form_draw()
333 sb_size = cf->height * sb_factor; in curses_form_draw()
[all …]
H A Dcurses_xlat.c153 cf->height++, 0, CURSES_BUTTON, in cb_click_select_option()
417 cf->height++; in create_buttons()
422 cf->height, 0, CURSES_BUTTON, name, 0, CURSES_WIDGET_WIDEN); in create_buttons()
543 cf->height = curses_form_descriptive_labels_add(cf, in curses_form_construct_from_dfui_form_single()
545 1, cf->height + 1, desc_width); in curses_form_construct_from_dfui_form_single()
550 cf->height++; in curses_form_construct_from_dfui_form_single()
560 cf->height, max_label_width, CURSES_LABEL, in curses_form_construct_from_dfui_form_single()
571 cf->height, 4, CURSES_CHECKBOX, "", 0, 0); in curses_form_construct_from_dfui_form_single()
576 cf->height, 20, CURSES_TEXTBOX, value, 256, 0); in curses_form_construct_from_dfui_form_single()
592 cf->height++; in curses_form_construct_from_dfui_form_single()
[all …]
/dflybsd-src/sys/dev/drm/amd/display/dc/core/
H A Ddc_resource.c471 swap(rect->height, rect->width); in rect_swap_helper()
513 clip.height = stream->src.y + stream->src.height < in calculate_viewport()
514 plane_state->clip_rect.y + plane_state->clip_rect.height ? in calculate_viewport()
515 stream->src.y + stream->src.height - clip.y : in calculate_viewport()
516 plane_state->clip_rect.y + plane_state->clip_rect.height - clip.y ; in calculate_viewport()
527 surf_src.height / plane_state->dst_rect.height; in calculate_viewport()
528 data->viewport.height = clip.height * in calculate_viewport()
529 surf_src.height / plane_state->dst_rect.height; in calculate_viewport()
540 data->viewport_c.height = (data->viewport.height + vpc_div - 1) / vpc_div; in calculate_viewport()
594 - stream->src.y) * stream->dst.height in calculate_recout()
[all …]
/dflybsd-src/nrelease/root/autorun/
H A Dstylesheet.css15 #header {display:block;height:225px;width:600px;background:url("dflylogo.png") no-repeat;margin-bot…
17 #welcome h3 {display:block;width:272px;height:22px;background:url("welcome.png");}
18 #started h3 {display:block;width:272px;height:22px;background:url("started.png");}
25 #relevant .item {display:block;width:124px;height:16px;background:url("links.png");}
26 #docs .item {display:block;width:124px;height:16px;background:url("docs.png"); }
27 #press .item {display:block;width:124px;height:16px;background:url("press.png");}
28 #other .item {display:block;width:124px;height:16px;background:url("other.png");}
/dflybsd-src/contrib/gdb-7/gdb/
H A Dax-general.c479 int height; in ax_reqs() local
500 ax->max_height = ax->min_height = height = 0; in ax_reqs()
529 if (targets[i] && (heights[i] != height)) in ax_reqs()
536 heights[i] = height; in ax_reqs()
538 height -= op->consumed; in ax_reqs()
539 if (height < ax->min_height) in ax_reqs()
540 ax->min_height = height; in ax_reqs()
541 height += op->produced; in ax_reqs()
542 if (height > ax->max_height) in ax_reqs()
543 ax->max_height = height; in ax_reqs()
[all …]

12345678