/freebsd/contrib/dialog/ |
H A D | timebox.c | 4 * timebox.c -- implements the timebox dialog 6 * Copyright 2001-2019,2020 Thomas E. Dickey 37 sHR = -3 38 ,sMN = -2 39 ,sSC = -1 49 int width; member 62 result = -1; in next_or_previous() 74 * Draw the hour-of-month selection box 77 draw_cell(BOX * data) in draw_cell() argument 79 werase(data->window); in draw_cell() [all …]
|
H A D | rangebox.c | 4 * rangebox.c -- implements the rangebox dialog 6 * Copyright 2012-2019,2020 Thomas E. Dickey 37 /* position and width of the numeric field */ 41 /* position and width of the slider field */ 60 digit_of(VALUE * data) in digit_of() argument 62 int col = data->value_col; in digit_of() 65 while (++col < data->value_len) { in digit_of() 72 set_digit(VALUE * data, int chr) in set_digit() argument 79 sprintf(buffer, "%*d", data->value_len, data->current); in set_digit() 80 buffer[data->value_col] = (char) chr; in set_digit() [all …]
|
H A D | calendar.c | 4 * calendar.c -- implements the calendar box 6 * Copyright 2001-2019,2020 Thomas E. Dickey 37 #define MON_WIDE 4 /* width of a month-name */ 38 #define DAY_HIGH 6 /* maximum lines in day-grid */ 39 #define DAY_WIDE (8 * MON_WIDE) /* width of the day-grid */ 41 #define BTN_HIGH 1 /* height of button-row excluding margin */ 43 /* two more lines: titles for day-of-week and month/year boxes */ 48 sMONTH = -3 49 ,sYEAR = -2 50 ,sDAY = -1 [all …]
|
H A D | util.c | 4 * util.c -- miscellaneous utilities for dialog 6 * Copyright 2000-2020,2021 Thomas E. Dickey 116 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0) 122 #define DATA(atr,upr,lwr,cmt) { atr COLOR_DATA(upr) RC_DATA(lwr,cmt) } macro 123 /* *INDENT-OFF* */ 126 DATA(A_NORMAL, SCREEN, screen, "Screen"), 127 DATA(A_NORMAL, SHADOW, shadow, "Shadow"), 128 DATA(A_REVERSE, DIALOG, dialog, "Dialog box"), 129 DATA(A_REVERSE, TITLE, title, "Dialog box title"), 130 DATA(A_REVERSE, BORDER, border, "Dialog box border"), [all …]
|
H A D | menubox.c | 4 * menubox.c -- implements the menu box 6 * Copyright 2000-2019,2020 Thomas E. Dickey 37 /* the outer-window */ 45 /* the inner-window */ 63 print_item(ALL_DATA * data, in print_item() argument 71 int climit = (data->item_x - data->tag_x - GUTTER); in print_item() 72 int my_width = data->menu_width; in print_item() 73 int my_x = data->item_x; in print_item() 79 ? item->name in print_item() 80 : item->text); in print_item() [all …]
|
H A D | treeview.c | 4 * treeview.c -- implements the treeview dialog 6 * Copyright 2012-2019,2020 Thomas E. Dickey 31 /* the outer-window */ 40 /* the inner-window */ 53 print_item(ALL_DATA * data, in print_item() argument 60 WINDOW *win = data->list; in print_item() 64 int climit = (getmaxx(win) - data->check_x + 1); in print_item() 66 ? item->name in print_item() 67 : item->text); in print_item() 72 for (i = 0; i < data->use_width; i++) in print_item() [all …]
|
H A D | checklist.c | 4 * checklist.c -- implements the checklist box 6 * Copyright 2000-2019,2020 Thomas E. Dickey 25 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension 26 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two 35 /* the outer-window */ 44 /* the inner-window */ 56 print_item(ALL_DATA * data, in print_item() argument 67 int climit = (getmaxx(win) - data->check_x + 1); in print_item() 69 ? item->name in print_item() 70 : item->text); in print_item() [all …]
|
/freebsd/share/man/man4/ |
H A D | siftr.4 | 24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 39 as a module at run-time, run the following command as root: 40 .Bd -literal -offset indent 49 .Bd -literal -offset indent 66 .Ss Compile-time Configuration 72 .Bd -literal -offset indent 73 CFLAGS+=-DSIFTR_IPV6 80 In the IPv4-only (default) mode, standard dotted decimal notation (e.g. 83 and standard colon-separated hex notation (see RFC 4291) is used to format IPv6 85 .Ss Run-time Configuration [all …]
|
H A D | wsp.4 | 19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 .Bd -ragged -offset indent 43 .Bd -literal -offset indent 52 The driver simulates a three-button mouse using multi-finger press/tap 54 A single-finger press generates a left button click. 55 A two-finger press maps to the right button; whereas a three-finger 58 The trackpad functions with presses and taps. A press is a full-forced 64 driver supports receiving evdev input device data if enabled. This data 65 is used for extended usage of the touchpad like multi-finger support, 74 Vertical scrolling (z-axis) is enabled by default with a two-finger [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | bhyvegc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 43 bhyvegc_init(int width, int height, void *fbaddr) in bhyvegc_init() argument 51 gc_image->width = width; in bhyvegc_init() 52 gc_image->height = height; in bhyvegc_init() 54 gc_image->data = fbaddr; in bhyvegc_init() 55 gc->raw = 1; in bhyvegc_init() 57 gc_image->data = calloc(width * height, sizeof (uint32_t)); in bhyvegc_init() 58 gc->raw = 0; in bhyvegc_init() [all …]
|
/freebsd/sbin/nvmecontrol/ |
H A D | nvmecontrol.8 | 3 .\" Copyright (c) 2018-2019 Alexander Motin <mav@FreeBSD.org> 26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 51 .Aq Ar device-id | Ar namespace-id 59 .Aq Ar namespace-id 62 .Aq Ar device-id 67 .Op Fl v Ar vendor-string 72 .Aq Ar device-id | Ar namespace-id 75 .Aq Ar device-id 78 .Aq Ar device-id 83 .Aq Ar device-id [all …]
|
/freebsd/lib/libsys/ |
H A D | procctl.2 | 24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 41 .Fn procctl "idtype_t idtype" "id_t id" "int cmd" "void *data" 59 .Bl -tag -width P_PGID 82 .Bl -tag -width PROC_LOGSIGEXIT_STATUS 91 .Fa data 94 .Bl -tag -width Ds 97 system-wide. 100 system-wide. 102 Use the system-wide configured policy for ASLR. 110 Similarly, executing a set-user-ID or set-group-ID binary ignores this [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_radiotap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 72 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv() 73 th->it_present = htole32(tx_radiotap); in ieee80211_radiotap_attachv() 74 ic->ic_th = th; in ieee80211_radiotap_attachv() 75 /* calculate offset to channel data */ in ieee80211_radiotap_attachv() 76 off = -1; in ieee80211_radiotap_attachv() 81 if (off == -1) { in ieee80211_radiotap_attachv() 84 /* NB: we handle this case but data will have no chan spec */ in ieee80211_radiotap_attachv() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | tbl.7 | 14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 47 .Sx Data 51 All input must be 7-bit ASCII. 54 case-insensitive options separated by spaces, tabs, or commas. 61 .Bl -tag -width Ds 63 Draw a single-line box around each table cell. 65 Draw a single-line box around the table. 69 Center the table instead of left-adjusting it. 73 Use the single-character argument as the decimal point with the 83 Draw a double-line box around the table. [all …]
|
H A D | out.c | 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 64 dst->unit = def == SCALE_MAX ? SCALE_BU : def; in a2roffsu() 65 dst->scale = strtod(src, &endptr); in a2roffsu() 71 dst->unit = SCALE_CM; in a2roffsu() 74 dst->unit = SCALE_IN; in a2roffsu() 77 dst->unit = SCALE_FS; in a2roffsu() 80 dst->unit = SCALE_MM; in a2roffsu() 83 dst->unit = SCALE_EM; in a2roffsu() 86 dst->unit = SCALE_EN; in a2roffsu() 89 dst->unit = SCALE_PC; in a2roffsu() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibportstate.c | 2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 60 WIDTH, enumerator 80 uint64_t width = 0; /* no state change */ variable 102 {"width", &width, 0}, /* WIDTH */ 125 static int get_node_info(ib_portid_t * dest, uint8_t * data) in get_node_info() argument 129 if (!smp_query_via(data, dest, IB_ATTR_NODE_INFO, 0, 0, srcport)) in get_node_info() 132 node_type = mad_get_field(data, 0, IB_NODE_TYPE_F); in get_node_info() 139 static int get_port_info(ib_portid_t * dest, uint8_t * data, int portnum, in get_port_info() argument [all …]
|
/freebsd/contrib/dialog/samples/ |
H A D | msgbox4-8bit | 2 # $Id: msgbox4-8bit,v 1.8 2020/11/26 00:26:09 tom Exp $ 4 . ./setup-vars 6 . ./testdata-8bit 8 width=30 9 while test $width != 61 11 $DIALOG --title "MESSAGE BOX (width $width)" --no-collapse --colors "$@" \ 12 --msgbox "\ 13 This sample uses characters which are non-printing in POSIX locale. 15 \Z1`./rotated-data 0 "$SAMPLE"` \Z2`./rotated-data 1 "$SAMPLE"` \Z3`./rotated-data 2 "$SAMPLE"` \Z4… 19 you press the ENTER key." 22 $width [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_05.HIPx.out | 11 …data" data-tag="gurmukhi" data-xpath="/indian-languages/gurmukhi">ਲਹੌਰ ਪਾਕਿਸਤਾਨੀ ਪੰਜਾਬ ਦੀ ਰਾਜਧਾਨੀ … 17 …<div class="data" data-tag="shahmukhi" data-xpath="/indian-languages/shahmukhi">لہور پاکستانی پنجا… 24 …<div class="data" data-tag="tranliteration" data-xpath="/indian-languages/tranliteration">lahor pā… 28 <div class="data" data-tag="wc" data-xpath="/employees/wc">෴ - 0xdf4 - 1</div> 32 <div class="data" data-tag="wc" data-xpath="/employees/wc">ණ - 0xdab - 1</div> 36 <div class="data" data-tag="wc" data-xpath="/employees/wc">් - 0xdca - 0</div> 40 <div class="data" data-tag="wc" data-xpath="/employees/wc">ණ - 0xdab - 1</div> 44 <div class="data" data-tag="wc" data-xpath="/employees/wc">្ - 0x17d2 - 0</div> 48 <div class="data" data-tag="wc" data-xpath="/employees/wc">෴ - 0xdf4 - 1</div> 52 <div class="data" data-tag="wc" data-xpath="/employees/wc">1 - 0x31 - 1</div> [all …]
|
/freebsd/usr.sbin/ctladm/ |
H A D | ctladm.8 | 3 .\" Copyright (c) 2015-2021 Alexander Motin <mav@FreeBSD.org> 26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.sbin/ctladm/ctladm.8#3 $ 72 .Aq Fl f Ar file|- 82 .Aq Fl f Ar file|- 197 .Aq Fl a | Fl c Ar connection-id | Fl i Ar name | Fl p Ar portal 200 .Aq Fl a | Fl c Ar connection-id | Fl i Ar name | Fl p Ar portal 207 .Aq Fl a | Fl c Ar controller-id | Fl h Ar name 218 some meta-commands that utilize 232 .Bl -tag -width 14n [all …]
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | gelf.3 | 18 .\" or services; loss of use, data, or profits; or business interruption) 24 .\" $Id: gelf.3 3743 2019-06-12 19:36:30Z jkoshy $ 31 .Nd class-independent API for ELF manipulation 43 .Ss GElf Data Structures 44 The GElf API defines the following class-independent data structures: 45 .Bl -tag -width GElf_Sxword 49 A class-independent representation of an ELF Compression Header. 51 A class-independent representation of ELF 55 A class-independent representation of an ELF Executable Header. 59 A class-independent representation of a ELF offset. [all …]
|
/freebsd/lib/libpmc/ |
H A D | pmc.amd.3 | 1 .\" Copyright (c) 2003-2008 Joseph Koshy. All rights reserved. 18 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 54 .Bl -column "PMC_CAP_INTERRUPT" "Support" 71 .Bl -tag -width indent 77 Configure the counter to only count negated-to-asserted transitions 93 These additional qualifiers are event-specific and are documented 109 .Bl -ta [all...] |
/freebsd/stand/common/ |
H A D | gfx_fb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 37 * ALL pixel data is assumed to be 32-bit BGRA (byte order Blue, Green, Red, 38 * Alpha) format, this allows us to only handle RGB data and not to worry 40 * Data exchange between memory buffer and video will translate BGRA 43 * 32-bit to/from 32-bit is trivial case. 44 * 32-bit to/from 24-bit is also simple - we just drop the alpha channel. 45 * 32-bit to/from 16-bit is more complicated, because we nee to handle 46 * data loss from 32-bit to 16-bit. While reading/writing from/to video, we [all …]
|
/freebsd/sbin/camcontrol/ |
H A D | camcontrol.8 | 22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 145 .Bk -words 392 can cause a loss of data and/or system crashes if used improperly. 402 .Bl -tag -width 14n 419 function-specific arguments. 437 .Bl -tag -width 14n 477 .Bl -tag -width periphlist 500 .Bl -tag -width 4n 504 Do a hexdump of the returned sense data. 510 will print out the standard inquiry data, device serial number, and [all …]
|
/freebsd/contrib/pnglite/ |
H A D | pnglite.c | 2 * pnglite.c - pnglite library 24 #define abs(x) ((x) < 0? -(x):(x)) 44 result = lseek(png->fd, offset, SEEK_CUR); in file_read() 46 result = read(png->fd, out, size * numel); in file_read() 76 switch (png->color_type) { in png_get_bpp() 91 bpp *= png->depth / 8; in png_get_bpp() 123 png->width = get_ul(ihdr+4); in png_read_ihdr() 124 png->height = get_ul(ihdr+8); in png_read_ihdr() 125 png->depth = ihdr[12]; in png_read_ihdr() 126 png->color_type = ihdr[13]; in png_read_ihdr() [all …]
|
/freebsd/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.8 | 19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 36 .Op Fl w Ar width 54 .Bl -tag -width "-o output_file" 58 .Bl -tag -width "compressed-source" 59 .It Cm compressed-source 60 C source with font data compressed by using LZ4 compression method. 78 comment before any font data. 85 .It Fl w Ar width 86 Set font width. 88 Font width is set automatically for BDF files and for HEX files that have a [all …]
|