| /openbsd-src/usr.bin/tmux/ |
| H A D | layout-custom.c | 47 layout_checksum(const char *layout) in layout_checksum() argument 52 for (; *layout != '\0'; layout++) { in layout_checksum() 54 csum += *layout; in layout_checksum() 63 char layout[8192], *out; in layout_dump() local 65 *layout = '\0'; in layout_dump() 66 if (layout_append(root, layout, sizeof layout) != 0) in layout_dump() 69 xasprintf(&out, "%04hx,%s", layout_checksum(layout), layout); in layout_dump() 157 layout_parse(struct window *w, const char *layout, char **cause) in layout_parse() argument 165 if (sscanf(layout, "%hx,", &csum) != 1) { in layout_parse() 169 layout += 5; in layout_parse() [all …]
|
| H A D | layout-set.c | 1 /* $OpenBSD: layout-set.c,v 1.32 2024/08/23 10:19:06 nicm Exp $ */ 28 * one-off and generate a layout tree. 74 layout_set_select(struct window *w, u_int layout) in layout_set_select() 76 if (layout > nitems(layout_sets) - 1) in layout_set_select() 77 layout = nitems(layout_sets) - 1; 79 if (layout_sets[layout].arrange != NULL) in layout_set_next() 80 layout_sets[layout].arrange(w); in layout_set_next() 82 w->lastlayout = layout; in layout_set_next() 83 return (layout); in layout_set_next() 89 u_int layout; in layout_set_next() 66 layout_set_select(struct window * w,u_int layout) layout_set_select() argument 81 u_int layout; layout_set_next() local 100 u_int layout; layout_set_previous() local [all...] |
| H A D | cmd-select-layout.c | 81 int next, previous, layout; in cmd_select_layout_exec() local 117 layout = w->lastlayout; in cmd_select_layout_exec() 119 layout = layout_set_lookup(layoutname); in cmd_select_layout_exec() 120 if (layout != -1) { in cmd_select_layout_exec() 121 layout_set_select(w, layout); in cmd_select_layout_exec()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | MinidumpEmitter.cpp | 117 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout() function 122 static size_t layout(BlobAllocator &File, MinidumpYAML::ExceptionStream &S) { in layout() function 134 S.MDExceptionStream.ThreadContext = layout(File, S.ThreadContext); in layout() 139 static void layout(BlobAllocator &File, MemoryListStream::entry_type &Range) { in layout() function 140 Range.Entry.Memory = layout(File, Range.Content); in layout() 143 static void layout(BlobAllocator &File, ModuleListStream::entry_type &M) { in layout() function 146 M.Entry.CvRecord = layout(File, M.CvRecord); in layout() 147 M.Entry.MiscRecord = layout(File, M.MiscRecord); in layout() 150 static void layout(BlobAllocator &File, ThreadListStream::entry_type &T) { in layout() function 151 T.Entry.Stack.Memory = layout(File, T.Stack); in layout() [all …]
|
| /openbsd-src/usr.bin/mandoc/ |
| H A D | tbl_data.c | 64 cp = dp->last == NULL ? dp->layout->first : dp->last->layout->next; in getdata() 76 if (dp->layout->last->col + 1 < dp->opts->cols) { in getdata() 81 dp->layout->last->next = cp; in getdata() 82 cp->col = dp->layout->last->col + 1; in getdata() 83 dp->layout->last = cp; in getdata() 94 dat->layout = cp; in getdata() 117 pdat->layout->col < dat->layout->col) in getdata() 121 if (pdat->layout->pos != TBL_CELL_DOWN && in getdata() 186 if ((dat->layout->pos == TBL_CELL_HORIZ || in getdata() 187 dat->layout->pos == TBL_CELL_DHORIZ || in getdata() [all …]
|
| H A D | tbl_term.c | 258 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 277 cp = cpn = sp->layout->first; in term_tbl() 294 (ic || sp->layout->first->pos != TBL_CELL_SPAN)) { in term_tbl() 308 if (sp->pos == TBL_SPAN_DATA && uvert < sp->layout->vert) in term_tbl() 309 uvert = dvert = sp->layout->vert; in term_tbl() 311 dvert < sp->next->layout->vert) in term_tbl() 312 dvert = sp->next->layout->vert; in term_tbl() 313 if (sp->prev != NULL && uvert < sp->prev->layout->vert && in term_tbl() 314 (horiz || (IS_HORIZ(sp->layout->first) && in term_tbl() 315 !IS_HORIZ(sp->prev->layout->first)))) in term_tbl() [all …]
|
| H A D | out.c | 145 * Account for the data cells in the layout, matching it in tblcalc() 150 icol = dp->layout->col; in tblcalc() 154 col->flags |= dp->layout->flags; in tblcalc() 155 if (dp->layout->flags & TBL_CELL_WIGN) in tblcalc() 159 if (col->width < dp->layout->width) in tblcalc() 160 col->width = dp->layout->width; in tblcalc() 161 if (dp->layout->spacing != SIZE_MAX && in tblcalc() 163 col->spacing < dp->layout->spacing)) in tblcalc() 164 col->spacing = dp->layout->spacing; in tblcalc() 175 dp->layout in tblcalc() [all...] |
| H A D | tbl_html.c | 145 switch (sp->layout->vert) { in print_tbl() 186 cp = dp->layout; in print_tbl() 246 if (dp->layout->pos == TBL_CELL_HORIZ || in print_tbl() 247 dp->layout->pos == TBL_CELL_DHORIZ || in print_tbl() 255 html_setfont(h, dp->layout->font); in print_tbl() 256 if (dp->layout->pos == TBL_CELL_LONG) in print_tbl() 259 if (dp->layout->pos == TBL_CELL_NUMBER) { in print_tbl() 260 col = h->tbl.cols + dp->layout->col; in print_tbl()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/stormy16/ |
| H A D | stormy16.c | 871 struct xstormy16_stack_layout layout; in xstormy16_compute_stack_layout() local 875 layout.locals_size = get_frame_size (); in xstormy16_compute_stack_layout() 877 layout.register_save_size = 0; in xstormy16_compute_stack_layout() 880 layout.register_save_size += UNITS_PER_WORD; in xstormy16_compute_stack_layout() 883 layout.stdarg_save_size = NUM_ARGUMENT_REGISTERS * UNITS_PER_WORD; in xstormy16_compute_stack_layout() 885 layout.stdarg_save_size = 0; in xstormy16_compute_stack_layout() 887 layout.frame_size = (layout.locals_size in xstormy16_compute_stack_layout() 888 + layout.register_save_size in xstormy16_compute_stack_layout() 889 + layout.stdarg_save_size); in xstormy16_compute_stack_layout() 893 if (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout() [all …]
|
| /openbsd-src/sys/dev/wscons/ |
| H A D | wsemul_subr.c | 560 wsemul_local_translate(u_int32_t unisym, kbd_t layout, u_char *out) in wsemul_local_translate() argument 564 switch (KB_ENCODING(layout)) { in wsemul_local_translate() 585 switch (KB_ENCODING(layout)) { in wsemul_local_translate() 624 switch (KB_ENCODING(layout)) { in wsemul_local_translate() 662 switch (KB_ENCODING(layout)) { in wsemul_local_translate() 693 wsemul_utf8_translate(u_int32_t unisym, kbd_t layout, u_char *out, in wsemul_utf8_translate() argument 697 return (wsemul_local_translate(unisym, layout, out)); in wsemul_utf8_translate() 702 return wsemul_local_translate(unisym, layout, out); in wsemul_utf8_translate()
|
| H A D | wskbd.c | 145 current layout */ 347 id->t_keymap.layout = enc; in wskbd_update_layout() 395 kbd_t layout; in wskbd_attach() local 439 * If this layout is the default choice of the driver (i.e. the in wskbd_attach() 440 * driver doesn't know better), pick the existing layout of the in wskbd_attach() 443 layout = sc->id->t_keymap.layout; in wskbd_attach() 445 if (layout & KB_DEFAULT) { in wskbd_attach() 447 layout = wsmux_get_layout(wsmux_sc); in wskbd_attach() 454 if (wskbd_load_keymap(&sc->id->t_keymap, layout, in wskbd_attach() [all...] |
| /openbsd-src/sys/dev/pci/drm/i915/gt/uc/ |
| H A D | intel_gsc_fw.c | 77 const struct intel_gsc_layout_pointers *layout = data; in intel_gsc_fw_get_binary_info() local 83 size_t min_size = sizeof(*layout); in intel_gsc_fw_get_binary_info() 141 min_size = layout->boot1.offset + layout->boot1.size; in intel_gsc_fw_get_binary_info() 149 if (layout->boot1.size < min_size) { in intel_gsc_fw_get_binary_info() 151 layout->boot1.size, min_size); in intel_gsc_fw_get_binary_info() 155 bpdt_header = data + layout->boot1.offset; in intel_gsc_fw_get_binary_info() 163 if (layout->boot1.size < min_size) { in intel_gsc_fw_get_binary_info() 165 layout->boot1.size, min_size); in intel_gsc_fw_get_binary_info() 185 if (layout->boot1.size < min_size) { in intel_gsc_fw_get_binary_info() 187 layout->boot1.size, min_size); in intel_gsc_fw_get_binary_info() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc/execute/ |
| H A D | bf-common.h | 18 struct objc_struct_layout layout; in compare_structures() local 23 objc_layout_structure (type, &layout); in compare_structures() 25 while (objc_layout_structure_next_member (&layout)) in compare_structures() 33 type, layout.type); in compare_structures() 38 objc_layout_structure_get_info (&layout, &position, NULL, &ivar_type); in compare_structures()
|
| /openbsd-src/regress/usr.bin/mandoc/tbl/layout/ |
| H A D | empty.out_ascii | 4 tbl-layout-empty - empty table layout 7 completely empty layout: 9 layout only contains a bar:
|
| H A D | empty.out_lint | 1 mandoc: empty.in:8:2: ERROR: empty tbl layout 2 mandoc: empty.in:13:3: ERROR: empty tbl layout
|
| H A D | complex.out_lint | 1 mandoc: complex.in:9:14: WARNING: skipping vertical bar in tbl layout 2 mandoc: complex.in:9:28: WARNING: skipping vertical bar in tbl layout
|
| H A D | font.out_ascii | 4 tbl-layout-font - font modifiers in the table layout
|
| H A D | complex.out_ascii | 4 tbl-layout-complex - complex table layout
|
| /openbsd-src/gnu/gcc/gcc/config/stormy16/ |
| H A D | stormy16.c | 1014 struct xstormy16_stack_layout layout; in xstormy16_compute_stack_layout() local 1018 layout.locals_size = get_frame_size (); in xstormy16_compute_stack_layout() 1020 layout.register_save_size = 0; in xstormy16_compute_stack_layout() 1023 layout.register_save_size += UNITS_PER_WORD; in xstormy16_compute_stack_layout() 1026 layout.stdarg_save_size = NUM_ARGUMENT_REGISTERS * UNITS_PER_WORD; in xstormy16_compute_stack_layout() 1028 layout.stdarg_save_size = 0; in xstormy16_compute_stack_layout() 1030 layout.frame_size = (layout.locals_size in xstormy16_compute_stack_layout() 1031 + layout.register_save_size in xstormy16_compute_stack_layout() 1032 + layout.stdarg_save_size); in xstormy16_compute_stack_layout() 1036 if (layout.frame_size + INCOMING_FRAME_SP_OFFSET in xstormy16_compute_stack_layout() [all …]
|
| /openbsd-src/sys/arch/macppc/dev/ |
| H A D | onyx.c | 108 int32_t layout = 0; in onyx_match() local 128 if (OF_getprop(soundchip, "layout-id", &layout, sizeof layout) && in onyx_match() 129 (layout == 0x2d || layout == 0x56)) in onyx_match()
|
| /openbsd-src/sys/dev/usb/ |
| H A D | ukbd.c | 221 kbd_t layout = (kbd_t)-1; in ukbd_attach() local 292 layout = ukbd_countrylayout[hid->bCountryCode]; in ukbd_attach() 298 if (layout == (kbd_t)-1) { in ukbd_attach() 300 layout = UKBD_LAYOUT; in ukbd_attach() 302 layout = KB_US | KB_DEFAULT; in ukbd_attach() 318 ukbd_keymapdata.layout = layout; in ukbd_attach() 329 hidkbd_attach_wskbd(kbd, layout, &ukbd_accessops); in ukbd_attach()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 210 auto &layout = Builder.CGM.getDataLayout(); in addPlaceholderWithSize() local 212 offset = offset.alignTo(CharUnits::fromQuantity(layout.getABITypeAlign(type))); in addPlaceholderWithSize() 213 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(type)); in addPlaceholderWithSize() 244 auto &layout = Builder.CGM.getDataLayout(); in getOffsetFromGlobalTo() local 252 CharUnits::fromQuantity(layout.getABITypeAlign(elementType))); in getOffsetFromGlobalTo() 253 offset += CharUnits::fromQuantity(layout.getTypeStoreSize(elementType)); in getOffsetFromGlobalTo()
|
| H A D | CGVTables.h | 65 const VTableLayout &layout, unsigned componentIndex, 96 const VTableLayout &layout, llvm::Constant *rtti, 153 llvm::Type *getVTableType(const VTableLayout &layout);
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/tui/ |
| H A D | tui-layout.c | 78 show_layout (enum tui_layout_type layout) in show_layout() argument 82 if (layout != cur_layout) in show_layout() 91 if (layout == SRC_DATA_COMMAND || layout == DISASSEM_DATA_COMMAND) in show_layout() 93 show_data (layout); in show_layout() 102 switch (layout) in show_layout() 315 tui_default_win_height (enum tui_win_type type, enum tui_layout_type layout) in tui_default_win_height() argument 323 switch (layout) in tui_default_win_height() 355 enum tui_layout_type layout) in tui_default_win_viewport_height() argument 359 h = tui_default_win_height (type, layout); in tui_default_win_viewport_height()
|
| /openbsd-src/sys/dev/sun/ |
| H A D | sunkbdvar.h | 79 #define ISTYPE5(layout) ((layout) > 0x20) argument
|