Searched refs:height (Results 1 - 25 of 206) sorted by relevance

123456789

/freebsd-10.0-release/sys/dev/fb/
H A Dgfb.h37 int height; member in struct:gfb_font
/freebsd-10.0-release/contrib/jemalloc/src/
H A Drtree.c8 unsigned bits_per_level, height, i; local
11 height = bits / bits_per_level;
12 if (height * bits_per_level != bits)
13 height++;
14 assert(height * bits_per_level >= bits);
17 (sizeof(unsigned) * height));
21 height));
27 ret->height = height;
28 if (bits_per_level * height > bit
[all...]
/freebsd-10.0-release/sys/ofed/include/linux/
H A Dlinux_radix.c45 return (1 << (root->height * RADIX_TREE_MAP_SHIFT)) - 1;
49 radix_pos(long id, int height) argument
51 return (id >> (RADIX_TREE_MAP_SHIFT * height)) & RADIX_TREE_MAP_MASK;
59 int height; local
63 height = root->height - 1;
66 while (height && node)
67 node = node->slots[radix_pos(index, height--)];
81 int height; local
86 height
126 int height; local
[all...]
H A Dradix-tree.h46 int height; member in struct:radix_tree_root
50 { .rnode = NULL, .gfp_mask = mask, .height = 0 };
52 { (root)->rnode = NULL; (root)->gfp_mask = mask; (root)->height = 0; }
/freebsd-10.0-release/contrib/dialog/
H A Dyesno.c34 dialog_yesno(const char *title, const char *cprompt, int height, int width) argument
59 int req_high = height;
66 dlg_auto_size(title, prompt, &height, &width, 2, min_width);
67 dlg_print_size(height, width);
68 dlg_ctl_size(height, width);
71 y = dlg_box_y_ordinate(height);
75 dlg_move_window(dialog, height, width, y, x);
79 dialog = dlg_new_window(height, width, y, x);
84 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
91 page = height
[all...]
H A Ddialog.pl23 local ( $title, $file, $width, $height ) = @_;
25 system("dialog --title \"$title\" --textbox $file $height $width");
32 local ( $tmp, $height, $message_len );
40 $height = 4 + $message_len;
42 $tmp = system("dialog --title \"$title\" --msgbox \"$message\" $height $width");
52 local ( $tmp, $height, $message_len );
60 $height = 2 + $message_len;
62 return system("dialog --title \"$title\" --infobox \"$message\" $height $width");
67 local ( $tmp, $height, $message_len );
75 $height
[all...]
H A Dpause.c50 int height,
64 int old_height = height;
91 height = old_height;
96 dlg_auto_size(title, prompt, &height, &width,
101 dlg_auto_size(title, prompt, &height, &width,
105 gauge_y = height - button_high - (1 + 2 * MARGIN);
106 dlg_print_size(height, width);
107 dlg_ctl_size(height, width);
111 y = dlg_box_y_ordinate(height);
113 dialog = dlg_new_window(height, widt
48 dialog_pause(const char *title, const char *cprompt, int height, int width, int seconds) argument
[all...]
H A Dmsgbox.c35 dialog_msgbox(const char *title, const char *cprompt, int height, int width, argument
69 req_high = height;
77 dlg_auto_size(title, prompt, &height, &width,
80 dlg_print_size(height, width);
81 dlg_ctl_size(height, width);
84 y = dlg_box_y_ordinate(height);
88 dlg_move_window(dialog, height, width, y, x);
92 dialog = dlg_new_window(height, width, y, x);
96 page = height - (1 + 3 * MARGIN);
100 dlg_draw_box2(dialog, 0, 0, height, widt
[all...]
H A Dhelp.c32 int height,
49 result = dialog_textbox(title, file, height, width);
30 dialog_helpfile(const char *title, const char *file, int height, int width) argument
H A Dguage.c46 int height; member in struct:_my_obj
126 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr,
133 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width);
136 obj->height - 4, 2 + MARGIN,
147 (void) wmove(dialog, obj->height - 3, 4);
153 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2);
167 (void) wmove(dialog, obj->height - 3, 4);
292 int height,
308 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE);
309 dlg_print_size(height, widt
289 dlg_reallocate_gauge(void *objptr, const char *title, const char *cprompt, int height, int width, int percent) argument
358 dlg_allocate_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
389 dialog_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument
[all...]
H A Dtimebox.c50 int height; member in struct:_box
82 data->height + (2 * MARGIN), data->width + (2 * MARGIN),
94 int width, int height,
104 data->height = height;
109 data->height, data->width,
116 dlg_mouse_mkregion(y, x, height, width, code);
140 int height,
175 int old_height = height;
203 dlg_auto_size(title, prompt, &height,
91 init_object(BOX * data, WINDOW *parent, int x, int y, int width, int height, int period, int value, int code) argument
138 dialog_timebox(const char *title, const char *subtitle, int height, int width, int hour, int minute, int second) argument
[all...]
H A Dmixedgauge.c42 int height, old_height, min_height; member in struct:__anon817
110 int limit_y = dlg->height;
184 mydraw_mixed_box(WINDOW *win, int y, int x, int height, int width, argument
187 dlg_draw_box(win, y, x, height, width, boxchar, borderchar);
222 (void) wmove(dlg->dialog, dlg->height - 3, 4);
228 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2);
242 (void) wmove(dlg->dialog, dlg->height - 3, 4);
275 dlg->height = dlg->old_height = aHeight;
305 dlg->height = dlg->old_height;
311 &(dlg->height),
375 dialog_mixedgauge(const char *title, const char *cprompt, int height, int width, int percent, int item_no, char **items) argument
[all...]
H A Dprogressbox.c112 pause_for_ok(WINDOW *dialog, int height, int width) argument
138 mouse_mkbutton(height - 2, width / 2 - 4, 6, '\n');
146 height - 2, 0,
197 int height,
210 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE);
211 dlg_print_size(height, width);
212 dlg_ctl_size(height, width);
215 y = dlg_box_y_ordinate(height);
216 thigh = height - (2 * MARGIN);
218 dialog = dlg_new_window(height, widt
195 dlg_progressbox(const char *title, const char *cprompt, int height, int width, int pauseopt, FILE *fp) argument
295 dialog_progressbox(const char *title, const char *cprompt, int height, int width) argument
[all...]
H A Dinputbox.c44 dialog_inputbox(const char *title, const char *cprompt, int height, int width, argument
64 int old_height = height;
100 dlg_auto_size(title, prompt, &height, &width, 5,
106 dlg_auto_size(title, prompt, &height, &width, 5, 26);
109 dlg_print_size(height, width);
110 dlg_ctl_size(height, width);
113 yorg = dlg_box_y_ordinate(height);
115 dialog = dlg_new_window(height, width, yorg, xorg);
121 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr);
127 dlg_print_autowrap(dialog, prompt, height, widt
[all...]
/freebsd-10.0-release/contrib/dialog/samples/
H A Ddialog.py37 # height and width defaults. Hmmm - should also then check for
104 def yesno(self, text, height=10, width=30, title=''):
111 '--yesno "%s" %d %d' % (text, height, width))
115 def msgbox(self, text, height=10, width=30, title=''):
121 '--msgbox "%s" %d %d' % (text, height, width))
124 def infobox(self, text, height=10, width=30):
126 self.__perform('--infobox "%s" %d %d' % (text, height, width))
129 def inputbox(self, text, height=10, width=30, init='', title=''):
135 '--inputbox "%s" %d %d "%s"' % (text, height, width, init))
145 def textbox(self, filename, height
[all...]
/freebsd-10.0-release/contrib/groff/src/utils/addftinfo/
H A Dguess.cpp25 int &height = metric->height; local
31 height = 0;
42 height = param.asc_height;
44 height = param.x_height;
49 // these have zero height and depth
52 height = param.asc_height;
69 height = param.x_height;
72 height = param.x_height;
84 height
[all...]
H A Dguess.h37 int height; member in struct:char_metric
/freebsd-10.0-release/contrib/texinfo/info/
H A Dwindow.c48 #define echo_area_required (1 + the_echo_area->height)
54 window_initialize_windows (int width, int height) argument
77 /* The height of the echo area never changes. It is statically set right
80 includes the echo area. So, we make the height of the initial window
81 equal to the screen's displayable region minus the height of the echo
83 the_echo_area->height = ECHO_AREA_HEIGHT;
84 active_window->height = the_screen->height - 1 - the_echo_area->height;
85 window_new_screen_size (width, height);
105 window_new_screen_size(int width, int height) argument
[all...]
H A Ddisplay.h48 extern void display_initialize_display (int width, int height);
/freebsd-10.0-release/sys/compat/linux/
H A Dlinux_videodev_compat.h29 int32_t width, height; member in struct:l_video_clip
36 uint32_t width, height; member in struct:l_video_window
46 l_int height, width; member in struct:l_video_buffer
/freebsd-10.0-release/contrib/gdb/gdb/tui/
H A Dtui-win.c340 "Set the height of a specified window.\n\
369 "XDB compatibility command for setting the height of a command window.\n\
427 sprintf (cmd, "set height %d",
428 tui_active ? TUI_CMD_WIN->generic.height : screenheight);
459 _num_to_scroll = win_to_scroll->generic.height - 3;
483 _num_to_scroll = win_to_scroll->generic.height - 3;
654 new_height = first_win->generic.height;
655 else if ((first_win->generic.height + split_diff) >=
658 else if ((first_win->generic.height + split_diff) <= 0)
661 new_height = first_win->generic.height
1221 make_invisible_and_set_new_height(struct tui_win_info * win_info, int height) argument
[all...]
/freebsd-10.0-release/contrib/ncurses/menu/
H A Dm_scale.c64 *rows = menu->height;
/freebsd-10.0-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c76 int height, width, min_width; local
119 height = width = 0;
123 dlg_auto_size(title, prompt, &height, &width, 2, min_width);
124 height += partlist_height;
126 dlg_print_size(height, width);
127 dlg_ctl_size(height, width);
130 y = dlg_box_y_ordinate(height);
132 dialog = dlg_new_window(height, width, y, x);
136 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
149 dlg_draw_buttons(dialog, height
[all...]
/freebsd-10.0-release/contrib/jemalloc/include/jemalloc/internal/
H A Drtree.h30 unsigned height; member in struct:rtree_s
63 unsigned i, lshift, height, bits; \
67 for (i = lshift = 0, height = rtree->height, node = rtree->root;\
68 i < height - 1; \
129 unsigned i, lshift, height, bits; local
133 for (i = lshift = 0, height = rtree->height, node = rtree->root;
134 i < height - 1;
/freebsd-10.0-release/contrib/less/
H A Dscrsize.c71 win_attributes.height -= hints.base_height;
75 win_attributes.height -= hints.min_height;
78 *p_height = win_attributes.height / hints.height_inc;

Completed in 217 milliseconds

123456789