/freebsd-9.3-release/sys/dev/fb/ |
H A D | gfb.h | 37 int height; member in struct:gfb_font
|
/freebsd-9.3-release/sys/ofed/include/linux/ |
H A D | linux_radix.c | 45 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 D | radix-tree.h | 46 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-9.3-release/contrib/dialog/ |
H A D | help.c | 32 int height, 39 result = dialog_textbox(title, file, height, width); 30 dialog_helpfile(const char *title, const char *file, int height, int width) argument
|
H A D | yesno.c | 34 dialog_yesno(const char *title, const char *cprompt, int height, int width) argument 65 int req_high = height; 72 dlg_auto_size(title, prompt, &height, &width, 2, min_width); 73 dlg_print_size(height, width); 74 dlg_ctl_size(height, width); 77 y = dlg_box_y_ordinate(height); 81 dlg_move_window(dialog, height, width, y, x); 85 dialog = dlg_new_window(height, width, y, x); 90 dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr); 97 page = height [all...] |
H A D | dialog.pl | 23 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 D | pause.c | 50 int height, 70 int old_height = height; 94 height = old_height; 99 dlg_auto_size(title, prompt, &height, &width, 104 dlg_auto_size(title, prompt, &height, &width, 108 gauge_y = height - button_high - (1 + 2 * MARGIN); 109 dlg_print_size(height, width); 110 dlg_ctl_size(height, width); 114 y = dlg_box_y_ordinate(height); 116 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 D | msgbox.c | 35 dialog_msgbox(const char *title, const char *cprompt, int height, int width, argument 67 int req_high = height; 75 dlg_auto_size(title, prompt, &height, &width, 78 dlg_print_size(height, width); 79 dlg_ctl_size(height, width); 82 y = dlg_box_y_ordinate(height); 86 dlg_move_window(dialog, height, width, y, x); 90 dialog = dlg_new_window(height, width, y, x); 94 page = height - (1 + 3 * MARGIN); 98 dlg_draw_box(dialog, 0, 0, height, widt [all...] |
H A D | timebox.c | 52 int height; member in struct:_box 84 data->height + (2 * MARGIN), data->width + (2 * MARGIN), 96 int width, int height, 106 data->height = height; 111 data->height, data->width, 118 dlg_mouse_mkregion(y, x, height, width, code); 142 int height, 177 int old_height = height; 205 dlg_auto_size(title, prompt, &height, 93 init_object(BOX * data, WINDOW *parent, int x, int y, int width, int height, int period, int value, int code) argument 140 dialog_timebox(const char *title, const char *subtitle, int height, int width, int hour, int minute, int second) argument [all...] |
H A D | mixedgauge.c | 42 int height, old_height, min_height; member in struct:__anon931 110 int limit_y = dlg->height; 187 mydraw_mixed_box(WINDOW *win, int y, int x, int height, int width, argument 190 dlg_draw_box(win, y, x, height, width, boxchar, borderchar); 225 (void) wmove(dlg->dialog, dlg->height - 3, 4); 231 (void) wmove(dlg->dialog, dlg->height - 3, (dlg->width / 2) - 2); 245 (void) wmove(dlg->dialog, dlg->height - 3, 4); 277 dlg->height = dlg->old_height = aHeight; 307 dlg->height = dlg->old_height; 313 &(dlg->height), 377 dialog_mixedgauge(const char *title, const char *cprompt, int height, int width, int percent, int item_no, char **items) argument [all...] |
H A D | progressbox.c | 108 pause_for_ok(WINDOW *dialog, int height, int width) argument 129 mouse_mkbutton(height - 2, width / 2 - 4, 6, '\n'); 130 dlg_draw_buttons(dialog, height - 2, 0, buttons, button, FALSE, width); 168 int height, 181 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); 182 dlg_print_size(height, width); 183 dlg_ctl_size(height, width); 186 y = dlg_box_y_ordinate(height); 187 thigh = height - (2 * MARGIN); 189 dialog = dlg_new_window(height, widt 166 dlg_progressbox(const char *title, const char *cprompt, int height, int width, int pauseopt, FILE *fp) argument 264 dialog_progressbox(const char *title, const char *cprompt, int height, int width) argument [all...] |
/freebsd-9.3-release/gnu/lib/libodialog/ |
H A D | yesno.c | 29 int height, int width, int yesdefault); 35 dialog_yesno(unsigned char *title, unsigned char *prompt, int height, int width) argument 37 return dialog_yesno_proc(title, prompt, height, width, TRUE); 44 dialog_noyes(unsigned char *title, unsigned char *prompt, int height, int width) argument 46 return dialog_yesno_proc(title, prompt, height, width, FALSE); 50 dialog_yesno_proc(unsigned char *title, unsigned char *prompt, int height, int width, int yesdefault) argument 60 if (height < 0) 61 height = strheight(prompt)+4; 71 if (height > LINES) 72 height [all...] |
H A D | msgbox.c | 30 static void print_page(WINDOW *win, int height, int width, unsigned char *buf, int startline, int hscroll); 38 int dialog_msgbox(unsigned char *title, unsigned char *prompt, int height, int width, int pause) argument 43 if (height < 0) 44 height = strheight(prompt)+2+2*(!!pause); 55 if (height > LINES) 56 height = LINES; 59 y = DialogY ? DialogY : (LINES - height)/2; 63 draw_shadow(stdscr, y, x, height, width); 65 dialog = newwin(height, width, y, x); 68 fprintf(stderr, "\nnewwin(%d,%d,%d,%d) failed, maybe wrong dims\n", height,widt 116 dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int width) argument 307 print_page(WINDOW *win, int height, int width, unsigned char *buf, int startline, int hscroll) argument [all...] |
H A D | prgbox.c | 35 int dialog_prgbox(unsigned char *title, const unsigned char *line, int height, int width, int pause, int use_shell) argument 44 if (height < 0 || width < 0) { 53 if (height > LINES) 54 height = LINES; 57 y = DialogY ? DialogY : (LINES - height)/2; 61 draw_shadow(stdscr, y, x, height, width); 63 dialog = newwin(height, width, y, x); 66 fprintf(stderr, "\nnewwin(%d,%d,%d,%d) failed, maybe wrong dims\n", height,width,y,x); 71 draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr); 103 print_autowrap(dialog, buf, height [all...] |
H A D | dialog.h | 128 void draw_shadow(WINDOW *win, int y, int x, int height, int width); 130 void draw_box(WINDOW *win, int y, int x, int height, int width, chtype box, chtype border); 136 int dialog_yesno(unsigned char *title, unsigned char *prompt, int height, int width); 137 int dialog_noyes(unsigned char *title, unsigned char *prompt, int height, int width); 138 int dialog_prgbox(unsigned char *title, const unsigned char *line, int height, int width, int pause, int use_shell); 139 int dialog_msgbox(unsigned char *title, unsigned char *prompt, int height, int width, int pause); 140 int dialog_textbox(unsigned char *title, unsigned char *file, int height, int width); 141 int dialog_menu(unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, 143 int dialog_checklist(unsigned char *title, unsigned char *prompt, int height, int width, int list_height, 145 int dialog_radiolist(unsigned char *title, unsigned char *prompt, int height, in [all...] |
H A D | inputbox.c | 29 int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int width, unsigned char *result) argument 36 if (height < 0) 37 height = strheight(prompt)+2+4; 47 if (height > LINES) 48 height = LINES; 51 y = DialogY ? DialogY : (LINES - height)/2; 55 draw_shadow(stdscr, y, x, height, width); 57 dialog = newwin(height, width, y, x); 60 fprintf(stderr, "\nnewwin(%d,%d,%d,%d) failed, maybe wrong dims\n", height,width,y,x); 65 draw_box(dialog, 0, 0, height, widt [all...] |
H A D | gauge.c | 30 int height, int width, int perc) 39 gw = newwin(height, width, y, x); 42 height, width, y, x); 46 draw_box(gw, 0, 0, height, width, dialog_attr, border_attr); 47 draw_shadow(stdscr, y, x, height, width); 29 dialog_gauge(char *title, char *prompt, int y, int x, int height, int width, int perc) argument
|
H A D | textbox.c | 29 static void print_page(WINDOW *win, int height, int width); 32 static int get_search_term(WINDOW *win, unsigned char *search_term, int height, int width); 33 static void print_position(WINDOW *win, int height, int width); 44 int dialog_textbox(unsigned char *title, unsigned char *file, int height, int width) argument 53 if (height < 0 || width < 0) { 91 if (height > LINES) 92 height = LINES; 95 y = DialogY ? DialogY : (LINES - height)/2; 99 draw_shadow(stdscr, y, x, height, width); 101 dialog = newwin(height, widt 543 print_page(WINDOW *win, int height, int width) argument 644 get_search_term(WINDOW *win, unsigned char *search_term, int height, int width) argument 685 print_position(WINDOW *win, int height, int width) argument [all...] |
/freebsd-9.3-release/contrib/dialog/samples/ |
H A D | dialog.py | 36 # height and width defaults. Hmmm - should also then check for 103 def yesno(self, text, height=10, width=30, title=''): 110 '--yesno "%s" %d %d' % (text, height, width)) 114 def msgbox(self, text, height=10, width=30, title=''): 120 '--msgbox "%s" %d %d' % (text, height, width)) 123 def infobox(self, text, height=10, width=30): 125 self.__perform('--infobox "%s" %d %d' % (text, height, width)) 128 def inputbox(self, text, height=10, width=30, init='', title=''): 134 '--inputbox "%s" %d %d "%s"' % (text, height, width, init)) 144 def textbox(self, filename, height [all...] |
/freebsd-9.3-release/contrib/groff/src/utils/addftinfo/ |
H A D | guess.cpp | 25 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 D | guess.h | 37 int height; member in struct:char_metric
|
/freebsd-9.3-release/contrib/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) 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...] |
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_videodev_compat.h | 29 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-9.3-release/contrib/gdb/gdb/tui/ |
H A D | tui-win.c | 340 "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-9.3-release/contrib/ncurses/menu/ |
H A D | m_scale.c | 64 *rows = menu->height;
|