/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_radix.c | 46 return ((1UL << (root->height * RADIX_TREE_MAP_SHIFT)) - 1UL); in radix_max() 50 radix_pos(long id, int height) in radix_pos() argument 52 return (id >> (RADIX_TREE_MAP_SHIFT * height)) & RADIX_TREE_MAP_MASK; in radix_pos() 62 root->height = 0; in radix_tree_clean_root_node() 71 int height; in radix_tree_lookup() local 75 height = root->height - 1; in radix_tree_lookup() 78 while (height && node) in radix_tree_lookup() 79 node = node->slots[radix_pos(index, height--)]; in radix_tree_lookup() 93 int height; in radix_tree_iter_find() local 99 height = root->height - 1; in radix_tree_iter_find() [all …]
|
/freebsd/contrib/dialog/ |
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 $width" ); 153 my ( $tmp, $height ); [all …]
|
H A D | msgbox.c | 35 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 D | yesno.c | 34 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 D | pause.c | 50 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 D | guage.c | 46 int height; member 127 dlg_draw_box2(dialog, 0, 0, obj->height, obj->width, dialog_attr, in repaint_text() 134 dlg_print_autowrap(dialog, obj->prompt, obj->height, obj->width); in repaint_text() 137 obj->height - 4, 2 + MARGIN, in repaint_text() 148 (void) wmove(dialog, obj->height - 3, 4); in repaint_text() 154 (void) wmove(dialog, obj->height - 3, (obj->width / 2) - 2); in repaint_text() 168 (void) wmove(dialog, obj->height - 3, 4); in repaint_text() 300 int height, in dlg_reallocate_gauge() argument 316 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dlg_reallocate_gauge() 317 dlg_print_size(height, width); in dlg_reallocate_gauge() [all …]
|
H A D | timebox.c | 50 int height; member 82 data->height + (2 * MARGIN), data->width + (2 * MARGIN), in draw_cell() 94 int width, int height, in init_object() argument 104 data->height = height; in init_object() 109 data->height, data->width, in init_object() 115 dlg_mouse_mkregion(y, x, height, width, code); in init_object() 139 int height, in dialog_timebox() argument 174 int old_height = height; in dialog_timebox() 193 DLG_TRACE2N("height", height); in dialog_timebox() 212 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dialog_timebox() [all …]
|
H A D | mixedgauge.c | 42 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 D | util.c | 241 dlg_attr_clear(WINDOW *win, int height, int width, chtype attr) in dlg_attr_clear() argument 246 for (i = 0; i < height; i++) { in dlg_attr_clear() 1095 /* Set the final height and width for the calling function */ in justify_text() 1108 dlg_print_autowrap(WINDOW *win, const char *prompt, int height, int width) in dlg_print_autowrap() argument 1111 height, in dlg_print_autowrap() 1128 int height, in dlg_print_scrolled() argument 1156 dlg_print_autowrap(win, prompt, height + 1 + (3 * MARGIN), width); in dlg_print_scrolled() 1174 height, /* dmaxrow */ in dlg_print_scrolled() 1182 int percent = (int) ((height + offset) * 100.0 / y); in dlg_print_scrolled() 1193 (void) wmove(win, MARGIN + height, wide - 4); in dlg_print_scrolled() [all …]
|
H A D | inputbox.c | 49 dialog_inputbox(const char *title, const char *cprompt, int height, int width, in dialog_inputbox() argument 71 int old_height = height; in dialog_inputbox() 95 DLG_TRACE2N("height", height); in dialog_inputbox() 115 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, in dialog_inputbox() 121 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dialog_inputbox() 124 dlg_print_size(height, width); in dialog_inputbox() 125 dlg_ctl_size(height, width); in dialog_inputbox() 128 yorg = dlg_box_y_ordinate(height); in dialog_inputbox() 130 dialog = dlg_new_window(height, width, yorg, xorg); in dialog_inputbox() 136 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_inputbox() [all …]
|
H A D | dialog.3 | 158 sizing (specifying 0 for height and width). 159 It represents width / height. 844 \fIheight\fP 845 the height of the dialog box. 863 .B int \fIheight 864 is the desired height of the box. 865 If zero, the height is adjusted to use the available screen size. 869 If zero, the height is adjusted to use the available screen size. 872 is the minimum height to reserve for displaying the list. 873 If zero, it is computed based on the given \fIheight\fP and \fIwidth\fP. [all …]
|
H A D | dialog.h | 653 extern int dialog_buildlist(const char * /*title*/, const char * /*cprompt*/, int /*height*/, int /… 654 extern int dialog_calendar(const char * /*title*/, const char * /*subtitle*/, int /*height*/, int /… 655 extern int dialog_checklist(const char * /*title*/, const char * /*cprompt*/, int /*height*/, int /… 656 extern int dialog_dselect(const char * /*title*/, const char * /*path*/, int /*height*/, int /*widt… 657 extern int dialog_editbox(const char * /*title*/, const char * /*file*/, int /*height*/, int /*widt… 658 extern int dialog_form(const char * /*title*/, const char * /*cprompt*/, int /*height*/, int /*widt… 659 extern int dialog_fselect(const char * /*title*/, const char * /*path*/, int /*height*/, int /*widt… 660 extern int dialog_gauge(const char * /*title*/, const char * /*cprompt*/, int /*height*/, int /*wid… 661 extern int dialog_helpfile(const char * /*title*/, const char * /*file*/, int /*height*/, int /*wid… 662 extern int dialog_inputbox(const char * /*title*/, const char * /*cprompt*/, int /*height*/, int /*… [all …]
|
/freebsd/usr.sbin/bsdconfig/share/ |
H A D | dialog.subr | 114 # need to know the size of the embedded GUI objects because the height passed 119 # height (but does for width) -- a height of 3 will display three lines and a 121 # given a height of 3). For dialog(1), use these values for making sure that 122 # the height does not exceed max_height (obtained by f_dialog_max_size()). 301 # Get the maximum height and width for a dialog widget and store the values in 345 # Don't adjust height if already too small (allowing 358 # and no-greater-than terminal height (or screen height if $USE_XDIALOG is 380 # NOTE: Don't change the name of $__{var,min,}{height,width} 384 for __arg in height width; do 397 for __arg in height width; do [all …]
|
/freebsd/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=''): argument 111 '--yesno "%s" %d %d' % (text, height, width)) 115 def msgbox(self, text, height=10, width=30, title=''): argument 121 '--msgbox "%s" %d %d' % (text, height, width)) 124 def infobox(self, text, height=10, width=30): argument 126 self.__perform('--infobox "%s" %d %d' % (text, height, width)) 129 def inputbox(self, text, height=10, width=30, init='', title=''): argument 135 '--inputbox "%s" %d %d "%s"' % (text, height, width, init)) 145 def textbox(self, filename, height=20, width=60, title=None): argument [all …]
|
/freebsd/crypto/heimdal/doc/doxyout/gssapi/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/hcrypto/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/hdb/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/hx509/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/krb5/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/ntlm/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/crypto/heimdal/doc/doxyout/wind/html/ |
H A D | graph_legend.dot | 5 …Node9 [shape="box",label="Inherited",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",fillcolo… 7 …Node10 [shape="box",label="PublicBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 9 …Node11 [shape="box",label="Truncated",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="… 11 …Node13 [shape="box",label="ProtectedBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",col… 13 …Node14 [shape="box",label="PrivateBase",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color… 15 …Node15 [shape="box",label="Undocumented",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 17 …Node16 [shape="box",label="Templ< int >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",colo… 19 …Node17 [shape="box",label="Templ< T >",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color=… 21 …Node18 [shape="box",label="Used",fontsize=10,height=0.2,width=0.4,fontname="FreeSans",color="black…
|
/freebsd/usr.sbin/bhyve/ |
H A D | bhyvegc.c | 43 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument 52 gc_image->height = height; in bhyvegc_init() 57 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init() 76 bhyvegc_resize(struct bhyvegc *gc, int width, int height) in bhyvegc_resize() argument 83 gc_image->height = height; in bhyvegc_resize() 85 gc_image->data = reallocarray(gc_image->data, width * height, in bhyvegc_resize() 88 memset(gc_image->data, 0, width * height * in bhyvegc_resize()
|
/freebsd/stand/efi/include/ |
H A D | efiuga.h | 104 (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height). 108 (SourceX, SourceY) (SourceX + Width, SourceY + Height) and place it in 110 (DestinationX + Width, DestinationY + Height). If DestinationX or 115 (SourceX, SourceY) (SourceX + Width, SourceY + Height) directly to the 117 (DestinationX + Width, DestinationY + Height). If SourceX or SourceY is 122 (SourceX + Width, SourceY + Height) .to the video display rectangle 123 (DestinationX, DestinationY) (DestinationX + Width, DestinationY + Height). 129 buffer has a size of Width*Height*sizeof(EFI_UGA_PIXEL) 136 @param[in] Height - Hight of rectangle in BltBuffer in pixels. 155 IN UINTN Height,
|
/freebsd/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.c | 49 static unsigned int width = 8, wbytes, height = 16; variable 180 "[-nv] [-f format] [-h height] [-w width]\n" in usage() 264 hash = fnv_32_buf(bytes, wbytes * height, FNV1_32_INIT) % FONTCVT_NHASH; in add_glyph() 266 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph() 274 gl->g_data = xmalloc(wbytes * height); in add_glyph() 275 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph() 384 errx(1, "invalid height %d", h); in set_height() 385 height = h; in set_height() 465 bytes = xmalloc(wbytes * height); in parse_bdf() 466 bytes_r = xmalloc(wbytes * height); in parse_bdf() [all …]
|
/freebsd/contrib/ntp/clockstuff/ |
H A D | propdelay.c | 26 * By default it prints out a summer (F2 average virtual height 350 km) and 27 * winter (F2 average virtual height 250 km) number. The results will be 32 * -h switch if you want to specify your own virtual height. 76 #define SUMMERHEIGHT (350.0) /* summer height in km */ 77 #define WINTERHEIGHT (250.0) /* winter height in km */ 79 #define SATHEIGHT (6.6110 * 6378.0) /* geosync satellite height in km 118 int height; variable 157 height = atof(ntp_optarg); in main() 158 if (height <= 0.0) { in main() 159 (void) fprintf(stderr, "height %s unlikely\n", in main() [all …]
|