Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 78) sorted by relevance

1234

/xen-4.10.0-shim-comet/xen/tools/kconfig/lxdialog/
A Dyesno.c29 int x = width / 2 - 10; in print_buttons()
50 if (getmaxx(stdscr) < (width + YESNO_WIDTH_MIN)) in dialog_yesno()
54 x = (getmaxx(stdscr) - width) / 2; in dialog_yesno()
57 draw_shadow(stdscr, y, x, height, width); in dialog_yesno()
59 dialog = newwin(height, width, y, x); in dialog_yesno()
62 draw_box(dialog, 0, 0, height, width, in dialog_yesno()
66 for (i = 0; i < width - 2; i++) in dialog_yesno()
71 print_title(dialog, title, width); in dialog_yesno()
74 print_autowrap(dialog, prompt, width - 2, 1, 3); in dialog_yesno()
76 print_buttons(dialog, height, width, 0); in dialog_yesno()
[all …]
A Dinputbox.c31 int x = width / 2 - 11; in print_buttons()
65 x = (getmaxx(stdscr) - width) / 2; in dialog_inputbox()
68 draw_shadow(stdscr, y, x, height, width); in dialog_inputbox()
70 dialog = newwin(height, width, y, x); in dialog_inputbox()
73 draw_box(dialog, 0, 0, height, width, in dialog_inputbox()
77 for (i = 0; i < width - 2; i++) in dialog_inputbox()
82 print_title(dialog, title, width); in dialog_inputbox()
88 box_width = width - 6; in dialog_inputbox()
91 box_x = (width - box_width) / 2; in dialog_inputbox()
95 print_buttons(dialog, height, width, 0); in dialog_inputbox()
[all …]
A Dtextbox.c61 int height, width, boxh, boxw; in dialog_textbox() local
82 getmaxyx(stdscr, height, width); in dialog_textbox()
93 width = initial_width; in dialog_textbox()
95 if (width > 5) in dialog_textbox()
96 width -= 5; in dialog_textbox()
98 width = 0; in dialog_textbox()
101 x = (getmaxx(stdscr) - width) / 2; in dialog_textbox()
111 boxw = width - 2; in dialog_textbox()
124 for (i = 0; i < width - 2; i++) in dialog_textbox()
329 print_line(win, i, width); in print_page()
[all …]
A Dchecklist.c103 int x = width / 2 - 11; in print_buttons()
118 int width, int list_height) in dialog_checklist() argument
143 x = (getmaxx(stdscr) - width) / 2; in dialog_checklist()
146 draw_shadow(stdscr, y, x, height, width); in dialog_checklist()
148 dialog = newwin(height, width, y, x); in dialog_checklist()
151 draw_box(dialog, 0, 0, height, width, in dialog_checklist()
155 for (i = 0; i < width - 2; i++) in dialog_checklist()
160 print_title(dialog, title, width); in dialog_checklist()
165 list_width = width - 6; in dialog_checklist()
167 box_x = (width - list_width) / 2 - 1; in dialog_checklist()
[all …]
A Dmenubox.c157 int x = width / 2 - 28; in print_buttons()
188 int height, width, menu_height; in dialog_menu() local
195 width = getmaxx(stdscr); in dialog_menu()
200 width -= 5; in dialog_menu()
206 x = (getmaxx(stdscr) - width) / 2; in dialog_menu()
211 dialog = newwin(height, width, y, x); in dialog_menu()
214 draw_box(dialog, 0, 0, height, width, in dialog_menu()
218 for (i = 0; i < width - 2; i++) in dialog_menu()
224 print_title(dialog, title, width); in dialog_menu()
229 menu_width = width - 6; in dialog_menu()
[all …]
A Ddialog.h221 void attr_clear(WINDOW * win, int height, int width, chtype attr);
223 void print_autowrap(WINDOW * win, const char *prompt, int width, int y, int x);
225 void print_title(WINDOW *dialog, const char *title, int width);
226 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
228 void draw_shadow(WINDOW * win, int y, int x, int height, int width);
231 int dialog_yesno(const char *title, const char *prompt, int height, int width);
233 int width, int pause);
244 int width, int list_height);
246 int width, const char *init);
A Dutil.c249 for (j = 0; j < width; j++) in attr_clear()
317 int height, width; in init_dialog() local
324 getmaxyx(stdscr, height, width); in init_dialog()
368 int tlen = MIN(width - 2, strlen(title)); in print_title()
393 wmove(win, y, (width - prompt_len) / 2); in print_autowrap()
411 room = width - cur_x; in print_autowrap()
485 for (j = 0; j < width; j++) in draw_box()
490 else if (!i && j == width - 1) in draw_box()
500 else if (j == width - 1) in draw_box()
518 for (i = 0; i < width; i++) in draw_shadow()
[all …]
/xen-4.10.0-shim-comet/xen/drivers/acpi/
A Dosl.c124 if (width <= 8) { in acpi_os_read_port()
126 } else if (width <= 16) { in acpi_os_read_port()
128 } else if (width <= 32) { in acpi_os_read_port()
139 if (width <= 8) { in acpi_os_write_port()
141 } else if (width <= 16) { in acpi_os_write_port()
143 } else if (width <= 32) { in acpi_os_write_port()
156 void __iomem *virt_addr = acpi_os_map_memory(phys_addr, width >> 3); in acpi_os_read_memory()
164 switch (width) { in acpi_os_read_memory()
178 acpi_os_unmap_memory(virt_addr, width >> 3); in acpi_os_read_memory()
191 switch (width) { in acpi_os_write_memory()
[all …]
A Dhwregs.c567 acpi_hw_low_level_read(u32 width, u32 * value, struct acpi_generic_address *reg) in acpi_hw_low_level_read() argument
599 value, width); in acpi_hw_low_level_read()
605 value, width); in acpi_hw_low_level_read()
615 *value, width, in acpi_hw_low_level_read()
637 acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address * reg) in acpi_hw_low_level_write() argument
668 value, width); in acpi_hw_low_level_write()
674 value, width); in acpi_hw_low_level_write()
683 value, width, in acpi_hw_low_level_write()
/xen-4.10.0-shim-comet/xen/drivers/video/
A Dlfb.c46 ((lfb.lfbp.font->width + 7) >> 3)); in lfb_show_line()
47 for ( b = lfb.lfbp.font->width; b--; ) in lfb_show_line()
55 memset(ptr, 0, (lfb.lfbp.width - nr_chars * lfb.lfbp.font->width) * bpp); in lfb_show_line()
91 unsigned int width; in lfb_redraw_puts() local
93 for ( width = lfb.lfbp.text_columns; width; --width ) in lfb_redraw_puts()
94 if ( line[width - 1] ) in lfb_redraw_puts()
98 width, max(lfb.line_len[i], width)); in lfb_redraw_puts()
99 lfb.line_len[i] = width; in lfb_redraw_puts()
115 unsigned int bytes = (lfb.lfbp.width * in lfb_scroll_puts()
152 if ( lfbp->width > MAX_XRES || lfbp->height > MAX_YRES ) in lfb_init()
[all …]
A Dvesa.c94 lfbp.width = vlfb_info.width; in vesa_init()
97 lfbp.text_columns = vlfb_info.width / font->width; in vesa_init()
111 vlfb_info.width, vlfb_info.height, in vesa_init()
113 font->width, font->height); in vesa_init()
193 vlfb_info.width * bpp); in vesa_endboot()
/xen-4.10.0-shim-comet/tools/xentrace/
A Dxenctx.c352 if ( width == 4 ) in print_special()
718 memcpy(&word, src, width); in read_stack_word()
762 if (width == 2) in print_stack_word()
764 else if (width == 4) in print_stack_word()
799 mem_addr += width; in print_lines()
877 if ( width ) in print_stack()
879 ((xenctx.bytes_per_line + width - 1) / width) * width; in print_stack()
917 print_stack_word(read_stack_word(p, width), width); in print_stack()
932 print_stack_word(read_stack_word(p, width), width); in print_stack()
935 stack += width; in print_stack()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Datomic.h8 #define build_atomic_read(name, size, width, type, reg)\ argument
12 asm volatile("ldr" size " %" width "0,%1" \
18 #define build_atomic_write(name, size, width, type, reg) \ argument
21 asm volatile("str" size " %"width"1,%0" \
26 #define build_add_sized(name, size, width, type, reg) \ argument
30 asm volatile("ldr" size " %"width"1,%0\n" \
31 "add %"width"1,%"width"1,%"width"2\n" \
32 "str" size " %"width"1,%0" \
/xen-4.10.0-shim-comet/xen/drivers/acpi/apei/
A Dapei-io.c159 u32 width, space_id; in apei_check_gar() local
161 width = reg->bit_width; in apei_check_gar()
172 if ((width != 8) && (width != 16) && (width != 32) && (width != 64)) { in apei_check_gar()
229 static int apei_read_mem(u64 paddr, u64 *val, u32 width) in apei_read_mem() argument
234 addr = __apei_ioremap_fast(paddr, width); in apei_read_mem()
235 switch (width) { in apei_read_mem()
257 static int apei_write_mem(u64 paddr, u64 val, u32 width) in apei_write_mem() argument
262 addr = __apei_ioremap_fast(paddr, width); in apei_write_mem()
263 switch (width) { in apei_write_mem()
/xen-4.10.0-shim-comet/xen/include/acpi/
A Dacpiosxf.h69 acpi_status acpi_os_read_port(acpi_io_address address, u32 * value, u32 width);
71 acpi_status acpi_os_write_port(acpi_io_address address, u32 value, u32 width);
77 acpi_os_read_memory(acpi_physical_address address, u32 * value, u32 width);
80 acpi_os_write_memory(acpi_physical_address address, u32 value, u32 width);
A Dachware.h56 acpi_hw_low_level_read(u32 width,
60 acpi_hw_low_level_write(u32 width, u32 value, struct acpi_generic_address *reg);
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/
A Dgenwrap.py67 if ty.width in [8, 16]:
69 width = None
71 width = ty.width
74 if width:
269 if ty.width in [8, 16]:
271 width = None
273 width = ty.width
276 if width:
368 width = None
370 width = ty.width
[all …]
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_sr_restore_x86_pv.c9 return xc_pfn_to_mfn(pfn, ctx->x86_pv.p2m, ctx->x86_pv.width); in pfn_to_mfn()
22 unsigned int fpp = PAGE_SIZE / ctx->x86_pv.width; in expand_p2m()
31 p2msz = (max_pfn + 1) * ctx->x86_pv.width; in expand_p2m()
164 SET_FIELD(vcpu, user_regs.edx, mfn, ctx->x86_pv.width); in process_start_info()
217 ctx->x86_pv.max_pfn + 1, ctx->x86_pv.width); in process_start_info()
257 ctx->x86_pv.width); in process_vcpu_basic()
612 else if ( info->guest_width != ctx->x86_pv.width ) in handle_x86_pv_info()
791 size_t vcpusz = ctx->x86_pv.width == 8 ? in handle_x86_pv_vcpu_blob()
892 0, ctx->x86_pv.width); in handle_shared_info()
897 0, ctx->x86_pv.width); in handle_shared_info()
[all …]
A Dxc_sr_common_x86_pv.c16 ctx->x86_pv.width) == mfn) ); in mfn_in_pseudophysmap()
35 pfn, xc_pfn_to_mfn(pfn, ctx->x86_pv.p2m, ctx->x86_pv.width)); in dump_bad_pseudophysmap_entry()
40 if ( ctx->x86_pv.width == 8 ) in cr3_to_mfn()
56 if ( ctx->x86_pv.width == 8 ) in mfn_to_cr3()
89 ctx->x86_pv.width = guest_width; in x86_pv_domain_info()
A Dxc_sr_save_x86_pv.c40 if ( ctx->x86_pv.width == sizeof(unsigned long) ) in copy_mfns_from_guest()
147 fpp = PAGE_SIZE / ctx->x86_pv.width; in map_p2m_tree()
156 ctx->x86_pv.width); in map_p2m_tree()
286 ctx->x86_pv.width); in get_p2m_generation()
336 ctx->x86_pv.width); in map_p2m_list()
337 fpp = PAGE_SIZE / ctx->x86_pv.width; in map_p2m_list()
341 if ( ctx->x86_pv.width == 8 ) in map_p2m_list()
518 ctx->x86_pv.width); in write_one_vcpu_basic()
543 ctx->x86_pv.width); in write_one_vcpu_basic()
573 if ( ctx->x86_pv.width == 8 ) in write_one_vcpu_basic()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/efi/
A Dmkreloc.c86 unsigned int *width) in load() argument
125 *width = 32; in load()
129 *width = 64; in load()
191 int_fast64_t diff, unsigned int width, in diff_sections() argument
219 unsigned int reloc = (width == 4 ? PE_BASE_RELOC_HIGHLOW : in diff_sections()
225 if ( i < disp || i + width - disp > sec->file_size ) in diff_sections()
233 memcpy(&val1, ptr1 + i - disp, width); in diff_sections()
234 memcpy(&val2, ptr2 + i - disp, width); in diff_sections()
235 delta = width == 4 ? val2.u32 - val1.u32 : val2.u64 - val1.u64; in diff_sections()
244 if ( width == 8 && (val1.u64 < base || val1.u64 > end) ) in diff_sections()
[all …]
/xen-4.10.0-shim-comet/tools/firmware/vgabios/
A Dvbetables-gen.c8 int width; member
96 pitch = (pm->width + 7) / 8; in main()
98 pitch = pm->width * ((pm->depth + 7) / 8); in main()
102 pm->mode, pm->width, pm->height, pm->depth); in main()
137 printf("/*Bit16u XResolution*/ %d,\n", pm->width); in main()
/xen-4.10.0-shim-comet/xen/include/public/io/
A Dfbif.h49 int32_t width; /* rect width */ member
62 int32_t width; /* width in pixels */ member
136 int32_t width; /* the width of the framebuffer (in pixels) */ member
A Ddisplif.h495 uint32_t width; member
614 uint32_t width; member
696 uint32_t width; member
/xen-4.10.0-shim-comet/tools/python/xen/migration/
A Dlibxc.py296 width, levels, res1, res2 = unpack(X86_PV_INFO_FORMAT, content)
298 if width not in (4, 8):
299 raise RecordError("Expected width of 4 or 8, got %d" % (width, ))
308 bitness = {4:32, 8:64}[width]

Completed in 54 milliseconds

1234