Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_histogram.c25 const int height = 20; variable
30 static uint8_t input[height][stride] __attribute__((aligned(128))) = {
50 static void ref_histogram(uint8_t *src, int stride, int width, int height, in ref_histogram() argument
57 for (int i = 0; i < height; i++) { in ref_histogram()
64 static void hvx_histogram(uint8_t *src, int stride, int width, int height, in hvx_histogram() argument
73 for (int i = 0; i < height; i += n) { in hvx_histogram()
74 int k = height - i > n ? n : height - i; in hvx_histogram()
82 ref_histogram(&input[0][0], stride, width, height, expect); in main()
83 hvx_histogram(&input[0][0], stride, width, height, result); in main()
/openbmc/qemu/hw/display/
H A Dramfb.c27 uint32_t height; member
35 uint32_t width, height; member
47 static DisplaySurface *ramfb_create_display_surface(int width, int height, in ramfb_create_display_surface() argument
56 height < 16 || height > VBE_DISPI_MAX_YRES || in ramfb_create_display_surface()
65 mapsize = size = stride * (height - 1) + linesize; in ramfb_create_display_surface()
72 surface = qemu_create_displaysurface_from(width, height, in ramfb_create_display_surface()
84 uint32_t fourcc, format, width, height; in ramfb_fw_cfg_write() local
88 height = be32_to_cpu(s->cfg.height); in ramfb_fw_cfg_write()
94 surface = ramfb_create_display_surface(width, height, in ramfb_fw_cfg_write()
101 s->height = height; in ramfb_fw_cfg_write()
[all …]
H A Dartist.c35 unsigned int height; member
54 uint16_t height; member
224 int starty, int height) in artist_invalidate_lines() argument
229 if (starty + height > buf->height) { in artist_invalidate_lines()
230 height = buf->height - starty; in artist_invalidate_lines()
233 size = height * buf->width; in artist_invalidate_lines()
352 *y = s->height - artist_get_y(s->cursor_pos); in artist_get_cursor_pos()
359 if (*y > s->height) { in artist_get_cursor_pos()
360 *y = s->height; in artist_get_cursor_pos()
386 unsigned int width, unsigned int height) in block_move() argument
[all …]
H A Dvirtio-gpu.c61 s->current_cursor->height * 4)) { in virtio_gpu_update_cursor_data()
67 pixman_image_get_height(res->image) != s->current_cursor->height) { in virtio_gpu_update_cursor_data()
73 pixels = s->current_cursor->width * s->current_cursor->height; in virtio_gpu_update_cursor_data()
231 uint32_t width, uint32_t height) in calc_image_hostmem() argument
239 return height * stride; in calc_image_hostmem()
252 c2d.width, c2d.height); in virtio_gpu_resource_create_2d()
272 res->height = c2d.height; in virtio_gpu_resource_create_2d()
286 res->hostmem = calc_image_hostmem(pformat, c2d.width, c2d.height); in virtio_gpu_resource_create_2d()
294 c2d.height, in virtio_gpu_resource_create_2d()
295 c2d.height ? res->hostmem / c2d.height : 0, in virtio_gpu_resource_create_2d()
[all …]
/openbmc/u-boot/scripts/kconfig/lxdialog/
H A Dyesno.c14 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
17 int y = height - 2; in print_buttons()
29 int dialog_yesno(const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
35 if (getmaxy(stdscr) < (height + YESNO_HEIGTH_MIN)) in dialog_yesno()
42 y = (getmaxy(stdscr) - height) / 2; in dialog_yesno()
44 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
46 dialog = newwin(height, width, y, x); in dialog_yesno()
49 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
52 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_yesno()
63 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
H A Dtextbox.c12 static void print_page(WINDOW *win, int height, int width, update_text_fn
48 int height, width, boxh, boxw; in dialog_textbox() local
69 getmaxyx(stdscr, height, width); in dialog_textbox()
70 if (height < TEXTBOX_HEIGTH_MIN || width < TEXTBOX_WIDTH_MIN) in dialog_textbox()
73 height = initial_height; in dialog_textbox()
75 if (height > 4) in dialog_textbox()
76 height -= 4; in dialog_textbox()
78 height = 0; in dialog_textbox()
89 y = (getmaxy(stdscr) - height) / 2; in dialog_textbox()
91 draw_shadow(stdscr, y, x, height, width); in dialog_textbox()
[all …]
H A Dinputbox.c16 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
19 int y = height - 2; in print_buttons()
31 int dialog_inputbox(const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument
46 if (getmaxy(stdscr) <= (height - INPUTBOX_HEIGTH_MIN)) in dialog_inputbox()
53 y = (getmaxy(stdscr) - height) / 2; in dialog_inputbox()
55 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
57 dialog = newwin(height, width, y, x); in dialog_inputbox()
60 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
63 mvwaddch(dialog, height - 3, 0, ACS_LTEE); in dialog_inputbox()
82 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
H A Dmenubox.c99 int height) in print_arrows() argument
119 y = y + height + 1; in print_arrows()
123 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
142 static void print_buttons(WINDOW * win, int height, int width, int selected) in print_buttons() argument
145 int y = height - 2; in print_buttons()
175 int height, width, menu_height; in dialog_menu() local
181 height = getmaxy(stdscr); in dialog_menu()
183 if (height < MENUBOX_HEIGTH_MIN || width < MENUBOX_WIDTH_MIN) in dialog_menu()
186 height -= 4; in dialog_menu()
188 menu_height = height - 10; in dialog_menu()
[all …]
H A Dchecklist.c53 int y, int x, int height) in print_arrows() argument
69 y = y + height + 1; in print_arrows()
72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
88 static void print_buttons(WINDOW * dialog, int height, int width, int selected) in print_buttons() argument
91 int y = height - 2; in print_buttons()
104 int dialog_checklist(const char *title, const char *prompt, int height, in dialog_checklist() argument
122 if (getmaxy(stdscr) < (height + CHECKLIST_HEIGTH_MIN)) in dialog_checklist()
131 y = (getmaxy(stdscr) - height) / 2; in dialog_checklist()
133 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
135 dialog = newwin(height, width, y, x); in dialog_checklist()
[all …]
/openbmc/qemu/ui/
H A Dcursor.c12 unsigned int width, height, colors, chars; in cursor_parse_xpm() local
19 &width, &height, &colors, &chars) != 4) { in cursor_parse_xpm()
48 c = cursor_alloc(width, height); in cursor_parse_xpm()
51 for (pixel = 0, y = 0; y < height; y++, line++) { in cursor_parse_xpm()
52 for (x = 0; x < height; x++, pixel++) { in cursor_parse_xpm()
66 for (y = 0; y < c->height; y++) { in cursor_print_ascii_art()
93 QEMUCursor *cursor_alloc(uint16_t width, uint16_t height) in cursor_alloc() argument
96 size_t datasize = width * height * sizeof(uint32_t); in cursor_alloc()
99 if (width > 512 || height > 512) { in cursor_alloc()
105 c->height = height; in cursor_alloc()
[all …]
/openbmc/webui-vue/src/assets/styles/bmc/custom/
H A D_base.scss7 line-height: 1.4285;
14 line-height: 1.238;
21 line-height: 1.3333;
28 line-height: 1.2857;
35 line-height: 1.3;
42 line-height: 1.375;
49 line-height: 1.2857;
/openbmc/phosphor-webui/app/common/styles/elements/
H A Dcontent-search.scss16 height: 3em;
17 max-height: none;
25 height:20px;
36 height: 30px;
45 height: 100%;
52 min-height: 20px;
59 height: 100%;
70 min-height: 20px;
71 line-height:1.3;
H A Dloader.scss10 height: 115px;
21 height:100%;
38 height: 1.4rem;
41 line-height:0;
50 height: 100%;
/openbmc/u-boot/drivers/video/
H A Dvideo_bmp.c47 ulong width, height; in video_display_rle8_bitmap() local
54 height = get_unaligned_le32(&bmp->header.height); in video_display_rle8_bitmap()
58 y = height - 1; in video_display_rle8_bitmap()
88 if (y < height) { in video_display_rle8_bitmap()
106 if (y < height) { in video_display_rle8_bitmap()
200 unsigned long width, height, byte_width; in video_bmp_display() local
214 height = get_unaligned_le32(&bmp->header.height); in video_bmp_display()
245 (int)width, (int)height, (int)colours, 1 << bpix); in video_bmp_display()
254 video_splash_align_axis(&y, priv->ysize, height); in video_bmp_display()
259 if ((y + height) > priv->ysize) in video_bmp_display()
[all …]
H A Dsandbox_osd.c15 uint height; member
34 info->height = priv->height; in sandbox_osd_get_info()
51 if (pos >= 2 * (priv->width * priv->height)) in sandbox_osd_set_mem()
67 priv->height = row; in _sandbox_osd_set_size()
68 size = priv->width * priv->height; in _sandbox_osd_set_size()
97 if (col >= priv->width || row >= priv->height) in sandbox_osd_print()
132 uint memsize = 2 * (priv->width * priv->height); in sandbox_osd_get_mem()
/openbmc/u-boot/lib/efi_loader/
H A Defi_gop.c91 efi_uintn_t height, in gop_blt_int() argument
121 sy + height > gopobj->info.height) in gop_blt_int()
134 dy + height > gopobj->info.height) in gop_blt_int()
174 for (i = 0; i < height; i++) { in gop_blt_int()
259 efi_uintn_t height, efi_uintn_t delta, in gop_blt_video_fill() argument
263 dy, width, height, delta, vid_bpp); in gop_blt_video_fill()
271 efi_uintn_t height, efi_uintn_t delta) in gop_blt_buf_to_vid16() argument
274 dy, width, height, delta, 16); in gop_blt_buf_to_vid16()
282 efi_uintn_t height, efi_uintn_t delta) in gop_blt_buf_to_vid32() argument
285 dy, width, height, delta, 32); in gop_blt_buf_to_vid32()
[all …]
/openbmc/phosphor-webui/app/server-control/styles/
H A Dremote-console.scss6 height: 100%;
16 line-height: 0;
22 height: 25em;
28 height: 80vh;
32 height: 100%;
/openbmc/phosphor-webui/app/common/styles/layout/
H A Dheader.scss29 height: 50px;
47 height: 50px; //to vertically align in 50px header
57 line-height: 50px; //to vertically align in 50px header
67 min-height: 5em;
75 height: 100%;
98 height: $logoHeight; //required for <SVG> logos - can remove if using img
99 max-height: $logoMaxHeight;
131 height: 100%;
134 line-height: 1;
147 height: 100%;
[all …]
/openbmc/qemu/include/ui/
H A Drect.h12 uint16_t height; member
17 uint16_t width, uint16_t height) in qemu_rect_init() argument
22 rect->height = height; in qemu_rect_init()
40 y2 = MIN(a->y + a->height, b->y + b->height); in qemu_rect_intersect()
H A Dpixman-minimal.h101 int height; member
118 int height, in create_bits() argument
142 if (unlikely(__builtin_mul_overflow((size_t) height, in create_bits()
157 int height, in pixman_image_create_bits() argument
164 i->height = height; in pixman_image_create_bits()
170 create_bits(format, width, height, &rowstride_bytes); in pixman_image_create_bits()
171 if (width && height) { in pixman_image_create_bits()
221 return i->height; in pixman_image_get_height()
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dncurses.py68 def __init__( self, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument
69 self.win = curses.newwin( height, width, y, x )
70 self.dimensions = ( x, y, width, height )
109 … def __init__( self, title, x, y, width, height, fg=curses.COLOR_BLACK, bg=curses.COLOR_WHITE ): argument
110 NCursesUI.Window.__init__( self, x+1, y+3, width-2, height-4, fg, bg )
111 self.decoration = NCursesUI.Window( x, y, width, height, fg, bg )
137 def __init__( self, x, y, width, height ): argument
138 NCursesUI.DecoratedWindow.__init__( self, "Thread Activity", x, y, width, height )
153 def __init__( self, x, y, width, height ): argument
155 NCursesUI.DecoratedWindow.__init__( self, None, x, y, width, height )
[all …]
/openbmc/phosphor-webui/app/common/styles/directives/
H A Dapp-navigation.scss10 height: 100%;
30 height: 3em;
32 height: inherit;
40 height: 3.3em;
52 height: 26px;
58 height: inherit;
104 height: 2em;
118 line-height: 0;
139 line-height: 1.1;
/openbmc/u-boot/tools/
H A Dbmp_logo.c10 uint16_t height; member
69 b->width, b->height, n_colors, in gen_info()
120 if (fread (&b->height, sizeof (uint16_t), 1, fp) != 1) in main()
132 b->height = le_short(b->height); in main()
156 if ((b->data = (uint8_t *)malloc(b->width * b->height)) == NULL) in main()
185 for (i=(b->height-1)*b->width; i>=0; i-=b->width) { in main()
192 for (i=0; i<(b->height*b->width); ++i) { in main()
/openbmc/webui-vue/src/components/Global/
H A DTableToolbar.vue75 $toolbar-height: 46px;
84 height: $toolbar-height;
90 top: -$toolbar-height;
97 line-height: $toolbar-height;
110 height: 1.5rem;
131 transform: translateY($toolbar-height);
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvhost-user-gpu.c35 uint32_t height; member
379 res->height = c2d.height; in vg_resource_create_2d()
391 vugbm_buffer_create(&res->buffer, &g->gdev, c2d.width, c2d.height); in vg_resource_create_2d()
394 c2d.height, in vg_resource_create_2d()
399 __func__, c2d.resource_id, c2d.width, c2d.height); in vg_resource_create_2d()
425 scanout->height = 0; in vg_disable_scanout()
616 t2d.r.y > res->height || in vg_transfer_to_host_2d()
618 t2d.r.height > res->height || in vg_transfer_to_host_2d()
620 t2d.r.y + t2d.r.height > res->height) { in vg_transfer_to_host_2d()
624 t2d.r.width, t2d.r.height, res->width, res->height); in vg_transfer_to_host_2d()
[all …]

12345678910>>...13