Home
last modified time | relevance | path

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

12

/xen/xen/common/
A Dradix-tree.c108 height = root->height + 1; in radix_tree_extend()
110 height++; in radix_tree_extend()
113 root->height = height; in radix_tree_extend()
131 } while (height > root->height); in radix_tree_extend()
163 height = root->height; in radix_tree_insert()
172 slot->height = height; in radix_tree_insert()
185 height--; in radix_tree_insert()
223 height = node->height; in radix_tree_lookup_element()
362 height = slot->height; in __lookup()
367 for ( ; height > 1; height--) { in __lookup()
[all …]
/xen/xen/tools/kconfig/lxdialog/
A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
17 int y = height - 2; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno()
42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
A Dtextbox.c48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); in dialog_textbox()
73 height = initial_height; in dialog_textbox()
75 if (height > 4) in dialog_textbox()
76 height -= 4; in dialog_textbox()
78 height = 0; in dialog_textbox()
97 boxh = height - 4; in dialog_textbox()
231 back_lines(height); in dialog_textbox()
307 for (i = 0; i < height; i++) in print_page()
310 back_lines(height); in print_page()
[all …]
A Dinputbox.c19 int y = height - 2; in print_buttons()
53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
235 print_buttons(dialog, height, width, 1); in dialog_inputbox()
239 print_buttons(dialog, height, width, 0); in dialog_inputbox()
245 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dmenubox.c99 int height) in print_arrows() argument
119 y = y + height + 1; in print_arrows()
123 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
145 int y = height - 2; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
181 height = getmaxy(stdscr); in dialog_menu()
186 height -= 4; in dialog_menu()
188 menu_height = height - 10; in dialog_menu()
194 y = (getmaxy(stdscr) - height) / 2; in dialog_menu()
198 dialog = newwin(height, width, y, x); in dialog_menu()
[all …]
A Dchecklist.c53 int y, int x, int height) in print_arrows() argument
69 y = y + height + 1; in print_arrows()
91 int y = height - 2; in print_buttons()
131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
135 dialog = newwin(height, width, y, x); in dialog_checklist()
138 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
141 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_checklist()
153 box_y = height - list_height - 5; in dialog_checklist()
189 print_buttons(dialog, height, width, 0); in dialog_checklist()
[all …]
A Ddialog.h202 void attr_clear(WINDOW * win, int height, int width, chtype attr);
207 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
209 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
212 int dialog_yesno(const char *title, const char *prompt, int height, int width);
213 int dialog_msgbox(const char *title, const char *prompt, int height,
224 int dialog_checklist(const char *title, const char *prompt, int height,
226 int dialog_inputbox(const char *title, const char *prompt, int height,
A Dutil.c234 for (i = 0; i < height; i++) { in attr_clear()
304 int height, width; in init_dialog() local
311 getmaxyx(stdscr, height, width); in init_dialog()
312 if (height < WINDOW_HEIGTH_MIN || width < WINDOW_WIDTH_MIN) { in init_dialog()
464 draw_box(WINDOW * win, int y, int x, int height, int width, in draw_box() argument
470 for (i = 0; i < height; i++) { in draw_box()
475 else if (i == height - 1 && !j) in draw_box()
479 else if (i == height - 1 && j == width - 1) in draw_box()
483 else if (i == height - 1) in draw_box()
504 wmove(win, y + height, x + 2); in draw_shadow()
[all …]
/xen/xen/drivers/video/
A Dvesa.c59 font = ((vlfb_info.height <= 600) ? &font_vga_8x8 : in vesa_early_init()
60 (vlfb_info.height <= 768) ? &font_vga_8x14 : &font_vga_8x16); in vesa_early_init()
71 vram_vmode = vlfb_info.height * vlfb_info.bytes_per_line; in vesa_early_init()
101 lfbp.height = vlfb_info.height; in vesa_init()
104 lfbp.text_rows = vlfb_info.height / font->height; in vesa_init()
116 vlfb_info.width, vlfb_info.height, in vesa_init()
118 font->width, font->height); in vesa_init()
196 for ( i = 0; i < vlfb_info.height; i++ ) in vesa_endboot()
A Dlfb.c32 for ( i = 0; i < lfb.lfbp.font->height; i++ ) in lfb_show_line()
39 bits += ((text_line[j] * lfb.lfbp.font->height + i) * in lfb_show_line()
92 lfb.lfbp.lfb + i * lfb.lfbp.font->height * lfb.lfbp.bytes_per_line, in lfb_redraw_puts()
113 unsigned char *src = lfb.lfbp.lfb + lfb.lfbp.font->height * lfb.lfbp.bytes_per_line; in lfb_scroll_puts()
117 for ( i = lfb.lfbp.font->height; i < lfb.lfbp.height; i++ ) in lfb_scroll_puts()
127 lfb.lfbp.lfb + (lfb.lfbp.text_rows-1) * lfb.lfbp.font->height * in lfb_scroll_puts()
A Dfont.h16 unsigned width, height, count; member
A Dlfb.h29 uint16_t width, height; member
/xen/tools/firmware/vgabios/
A Dvbetables-gen.c9 int height; member
99 pages = vram_size / (pm->height * pitch); in main()
102 pm->mode, pm->width, pm->height, pm->depth); in main()
138 printf("/*Bit16u YResolution*/ %d,\n", pm->height); in main()
148 (pm->height * pitch + 65535) / 65536); in main()
A DREADME149 . fix character height returned by get_font_info function
167 . set the cursor shape depending on the current font height
173 . Added new DISPI interface for: virt width, height, x offset, y offset
/xen/xen/include/public/io/
A Dfbif.h50 int32_t height; /* rect height */ member
63 int32_t height; /* height in pixels */ member
137 int32_t height; /* the height of the framebuffer (in pixels) */ member
A Ddisplif.h504 uint32_t height; member
623 uint32_t height; member
705 uint32_t height; member
A Dcameraif.h564 uint32_t height; member
1030 uint32_t height; member
/xen/xen/include/xen/
A Dradix-tree.h58 unsigned int height; /* Height from the bottom */ member
67 unsigned int height; member
/xen/stubdom/grub/
A Dconfig.h10 struct fbfront_dev *fb_open(void *fb, int width, int height, int depth);
A Dmini-os.c664 struct fbfront_dev *fb_open(void *fb, int width, int height, int depth) in fb_open() argument
668 int memsize = linesize * height; in fb_open()
679 fb_dev = init_fbfront(NULL, mfns, width, height, depth, linesize, numpages); in fb_open()
/xen/tools/libxl/
A Dlibxl_vkb.c81 if (vkb->height) { in libxl__set_xenstore_vkb()
83 GCSPRINTF("%u", vkb->height)); in libxl__set_xenstore_vkb()
207 vkb->height = strtoul(tmp, NULL, 0); in libxl__vkb_from_xenstore()
A Dlibxl_vdispl.c77 vdispl->connectors[i].height)); in libxl__set_xenstore_vdispl()
120 &info->connectors[i].height); in libxl__device_vdispl_getconnectors()
/xen/stubdom/
A Dstubdom-dm13 height=339
/xen/xen/tools/kconfig/
A Dqconf.cc1278 int width, height; in ConfigSearchWindow() local
1283 height = configSettings->value("/window height", parent->height() / 2).toInt(); in ConfigSearchWindow()
1284 resize(width, height); in ConfigSearchWindow()
1304 configSettings->setValue("/window height", size().height()); in saveSettings()
1339 int width, height; in ConfigMainWindow() local
1350 height = configSettings->value("/window height", d->height() - 64).toInt(); in ConfigMainWindow()
1351 resize(width, height); in ConfigMainWindow()
1798 configSettings->setValue("/window height", size().height()); in saveSettings()
/xen/tools/xl/
A Dxl_vdispl.c109 vdisplinfo.connectors[j].height, in main_vdispllist()

Completed in 33 milliseconds

12