/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 | 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 | 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 | 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() 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() 1202 last = (y - height); 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 | rangebox.c | 160 int height, in dialog_rangebox() argument 195 int old_height = height; in dialog_rangebox() 215 DLG_TRACE2N("height", height); in dialog_rangebox() 235 dlg_auto_size(title, prompt, &height, &width, MIN_HIGH, MIN_WIDE); in dialog_rangebox() 238 dlg_print_size(height, width); in dialog_rangebox() 239 dlg_ctl_size(height, width); in dialog_rangebox() 241 dialog = dlg_new_window(height, width, in dialog_rangebox() 242 yorg = dlg_box_y_ordinate(height), in dialog_rangebox() 276 data.slide_y = height - 5; in dialog_rangebox() 283 dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); in dialog_rangebox() [all …]
|
H A D | tailbox.c | 168 print_page(MY_OBJ * obj, int height, int width) in print_page() argument 172 for (i = 0; i < height; i++) { in print_page() 309 int height, in dialog_tailbox() argument 330 int old_height = height; in dialog_tailbox() 344 DLG_TRACE2N("height", height); in dialog_tailbox() 355 dlg_auto_sizefile(title, filename, &height, &width, 2, min_width); in dialog_tailbox() 356 dlg_print_size(height, width); in dialog_tailbox() 357 dlg_ctl_size(height, width); in dialog_tailbox() 360 y = dlg_box_y_ordinate(height); in dialog_tailbox() 361 thigh = height - ((2 * MARGIN) + (bg_task ? 0 : 2)); in dialog_tailbox() [all …]
|
H A D | calendar.c | 63 int height; member 386 data->height + (2 * MARGIN), data->width + (2 * MARGIN), in draw_day() 447 data->y + data->height); in draw_day() 466 data->height + 2, data->width + 2, in draw_month() 488 data->height + 2, data->width + 2, in draw_year() 502 int width, int height, in init_object() argument 511 data->height = height; in init_object() 516 data->height, data->width, in init_object() 523 dlg_mouse_mkbigregion(y + 1, x + MON_WIDE, height - 1, width - MON_WIDE, in init_object() 526 dlg_mouse_mkregion(y, x, height, width, code); in init_object() [all …]
|
/freebsd/contrib/dialog/samples/ |
H A D | dialog.py | 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 150 ' --textbox "%s" %d %d' % (filename, height, width)) [all …]
|
/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/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/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.c | 49 static unsigned int width = 8, wbytes, height = 16; variable 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() 385 height = h; in set_height() 465 bytes = xmalloc(wbytes * height); in parse_bdf() 466 bytes_r = xmalloc(wbytes * height); in parse_bdf() 491 memset(bytes, 0, wbytes * height); in parse_bdf() 492 memset(bytes_r, 0, wbytes * height); in parse_bdf() [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/sys/dev/virtio/gpu/ |
H A D | virtio_gpu.c | 151 int x, y, width, height; in vtgpu_fb_bitblt_text() 161 height = area->tr_end.tp_row * vw->vw_font->vf_height + vw->vw_draw_area.tr_begin.tp_row - y; in vtgpu_fb_bitblt_text() 163 vtgpu_transfer_to_host_2d(sc, x, y, width, height); in vtgpu_fb_bitblt_text() 164 vtgpu_resource_flush(sc, x, y, width, height); 170 unsigned int width, unsigned int height, in vtgpu_fb_bitblt_bitmap() 179 vt_fb_bitblt_bitmap(vd, vw, pattern, mask, width, height, x, y, fg, bg); in vtgpu_fb_bitblt_bitmap() 181 vtgpu_transfer_to_host_2d(sc, x, y, width, height); in vtgpu_fb_bitblt_bitmap() 182 vtgpu_resource_flush(sc, x, y, width, height); 188 unsigned int width, unsigned int height, in vtgpu_fb_drawrect() 201 int width, height; 149 int x, y, width, height; vtgpu_fb_bitblt_text() local 168 vtgpu_fb_bitblt_bitmap(struct vt_device * vd,const struct vt_window * vw,const uint8_t * pattern,const uint8_t * mask,unsigned int width,unsigned int height,unsigned int x,unsigned int y,term_color_t fg,term_color_t bg) vtgpu_fb_bitblt_bitmap() argument 189 int width, height; vtgpu_fb_drawrect() local 587 vtgpu_set_scanout(struct vtgpu_softc * sc,uint32_t x,uint32_t y,uint32_t width,uint32_t height) vtgpu_set_scanout() argument 625 vtgpu_transfer_to_host_2d(struct vtgpu_softc * sc,uint32_t x,uint32_t y,uint32_t width,uint32_t height) vtgpu_transfer_to_host_2d() argument 664 vtgpu_resource_flush(struct vtgpu_softc * sc,uint32_t x,uint32_t y,uint32_t width,uint32_t height) vtgpu_resource_flush() argument [all...] |