/freebsd-current/usr.sbin/bhyve/ |
H A D | bhyvegc.h | 37 int height; member in struct:bhyvegc_image 41 struct bhyvegc *bhyvegc_init(int width, int height, void *fbaddr); 43 void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
|
H A D | bhyvegc.c | 43 bhyvegc_init(int width, int height, void *fbaddr) argument 52 gc_image->height = height; 57 gc_image->data = calloc(width * height, sizeof (uint32_t)); 76 bhyvegc_resize(struct bhyvegc *gc, int width, int height) argument 83 gc_image->height = height; 85 gc_image->data = reallocarray(gc_image->data, width * height, 88 memset(gc_image->data, 0, width * height *
|
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_radix.c | 46 return ((1UL << (root->height * RADIX_TREE_MAP_SHIFT)) - 1UL); 50 radix_pos(long id, int height) argument 52 return (id >> (RADIX_TREE_MAP_SHIFT * height)) & RADIX_TREE_MAP_MASK; 62 root->height = 0; 71 int height; local 75 height = root->height - 1; 78 while (height && node) 79 node = node->slots[radix_pos(index, height--)]; 93 int height; local 132 int height; local 185 int height; local 284 int height; local [all...] |
/freebsd-current/contrib/dialog/ |
H A D | msgbox.c | 35 dialog_msgbox(const char *title, const char *cprompt, int height, int width, argument 67 DLG_TRACE2N("height", height); 75 req_high = height; 84 dlg_auto_size(title, prompt, &height, &width, 87 dlg_print_size(height, width); 88 dlg_ctl_size(height, width); 91 y = dlg_box_y_ordinate(height); 93 dialog = dlg_new_window(height, width, y, x); 97 page = height [all...] |
H A D | dialog.pl | 102 my ( $title, $file, $width, $height ) = @_; 105 $height = int($height); 108 . " --textbox $file $height $width" ); 115 my ( $tmp, $height ); 119 $height = 5 + &height_of( $width, $message ); 126 . " $height $width" ); 137 my ( $tmp, $height ); 141 $height = 2 + &height_of( $width, $message ); 148 . " $height [all...] |
H A D | yesno.c | 34 dialog_yesno(const char *title, const char *cprompt, int height, int width) argument 58 int req_high = height; 65 DLG_TRACE2N("height", height); 74 dlg_auto_size(title, prompt, &height, &width, 2, min_width); 75 dlg_print_size(height, width); 76 dlg_ctl_size(height, width); 79 y = dlg_box_y_ordinate(height); 81 dialog = dlg_new_window(height, width, y, x); 85 dlg_draw_box2(dialog, 0, 0, height, widt [all...] |
H A D | help.c | 32 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 D | pause.c | 50 int height, 64 int old_height = height; 85 DLG_TRACE2N("height", height); 103 dlg_auto_size(title, prompt, &height, &width, 108 dlg_auto_size(title, prompt, &height, &width, 112 gauge_y = height - button_high - (1 + 2 * MARGIN); 113 dlg_print_size(height, width); 114 dlg_ctl_size(height, width); 118 y = dlg_box_y_ordinate(height); 48 dialog_pause(const char *title, const char *cprompt, int height, int width, int seconds) argument [all...] |
H A D | mouse.c | 63 int height, int width, 68 mseRegion *butPtr = dlg_mouse_mkregion(y, x, height, width, -DLGK_MOUSE(code)); 85 dlg_mouse_mkregion(int y, int x, int height, int width, int code) argument 100 (butPtr->Y != (basey + y + height)) || 105 y, x, height, width, 113 butPtr->Y = basey + y + height; 62 dlg_mouse_mkbigregion(int y, int x, int height, int width, int code, int step_y, int step_x, int mode) argument
|
H A D | inputbox.c | 49 dialog_inputbox(const char *title, const char *cprompt, int height, int width, argument 71 int old_height = height; 95 DLG_TRACE2N("height", height); 115 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, 121 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); 124 dlg_print_size(height, width); 125 dlg_ctl_size(height, width); 128 yorg = dlg_box_y_ordinate(height); 130 dialog = dlg_new_window(height, widt [all...] |
H A D | guage.c | 46 int height; member in struct:_my_obj 127 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, 134 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); 137 obj->height - 4, 2 + MARGIN, 148 (void) wmove(dialog, obj->height - 3, 4); 154 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); 168 (void) wmove(dialog, obj->height - 3, 4); 300 int height, 316 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); 317 dlg_print_size(height, widt 297 dlg_reallocate_gauge(void *objptr, const char *title, const char *cprompt, int height, int width, int percent) argument 366 dlg_allocate_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument 401 dialog_gauge(const char *title, const char *cprompt, int height, int width, int percent) argument [all...] |
H A D | timebox.c | 50 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, 115 dlg_mouse_mkregion(y, x, height, width, code); 139 int height, 174 int old_height = height; 193 DLG_TRACE2N("height", heigh 91 init_object(BOX * data, WINDOW *parent, int x, int y, int width, int height, int period, int value, int code) argument 137 dialog_timebox(const char *title, const char *subtitle, int height, int width, int hour, int minute, int second) argument [all...] |
/freebsd-current/contrib/dialog/samples/ |
H A D | dialog.py | 37 # 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-current/sys/compat/linux/ |
H A D | linux_videodev_compat.h | 25 int32_t width, height; member in struct:l_video_clip 32 uint32_t width, height; member in struct:l_video_window 42 l_int height, width; member in struct:l_video_buffer
|
/freebsd-current/usr.sbin/bsdinstall/scripts/ |
H A D | hostname | 76 local height width 77 f_dialog_inputbox_size height width \ 87 $height $width "$value" \
|
/freebsd-current/contrib/ncurses/menu/ |
H A D | m_scale.c | 68 *rows = menu->height;
|
/freebsd-current/contrib/lutok/ |
H A D | operations.cpp | 80 const int height = s.get_top() - nargs; local 93 const int actual_results = s.get_top() - height; 120 const int height = s.get_top() - nargs; local 133 const int actual_results = s.get_top() - height;
|
/freebsd-current/sys/dev/syscons/fonts/ |
H A D | cursor.awk | 19 height[n] = substr($4, j + 1, k - j - 1) 40 width[n], height[n], baspect[n], iaspect[n], name[n])
|
/freebsd-current/sys/contrib/xen/io/ |
H A D | fbif.h | 50 int32_t height; /* rect height */ member in struct:xenfb_update 63 int32_t height; /* height in pixels */ member in struct:xenfb_resize 137 int32_t height; /* the height of the framebuffer (in pixels) */ member in struct:xenfb_page
|
/freebsd-current/contrib/less/ |
H A D | scrsize.c | 71 win_attributes.height -= hints.base_height; 75 win_attributes.height -= hints.min_height; 78 *p_height = win_attributes.height / hints.height_inc;
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | radix-tree.h | 52 int height; member in struct:radix_tree_root 60 { .rnode = NULL, .gfp_mask = mask, .height = 0 }; 62 { (root)->rnode = NULL; (root)->gfp_mask = mask; (root)->height = 0; }
|
/freebsd-current/usr.sbin/bsdconfig/console/ |
H A D | console | 63 local height width rows 64 eval f_dialog_menu_size height width rows \ 83 $height $width $rows \
|
H A D | screenmap | 63 local height width rows 64 eval f_dialog_menu_size height width rows \ 89 $height $width $rows \
|
H A D | repeat | 61 local height width rows 62 eval f_dialog_menu_size height width rows \ 85 $height $width $rows \
|
/freebsd-current/usr.sbin/bsdconfig/mouse/ |
H A D | mouse | 62 local height width rows 63 eval f_dialog_menu_size height width rows \ 82 $height $width $rows \
|