Home
last modified time | relevance | path

Searched +full:num +full:- +full:cols (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/sys/contrib/openzfs/cmd/
H A Dzilstat.in14 # or https://opensource.org/licenses/CDDL-1.0.
38 cols = {
40 "time": [8, -1, "time"],
41 "pool": [12, -1, "pool"],
42 "ds": [12, -1, "dataset_name"],
43 "obj": [12, -1, "objset"],
86 cmd = ("Usage: zilstat [-hgdv] [-i interval] [-p pool_name]")
99 def prettynum(sz, scale, num=0):
104 if scale == -1:
105 return "%*s" % (sz, num)
[all …]
H A Ddbufstat.in4 # is available through the dbufs kstat and may be post-processed as
15 # or https://opensource.org/licenses/CDDL-1.0.
64 cols = {
66 "pool": [15, -1, "pool name"],
67 "objset": [6, -1, "dataset identification number"],
68 "object": [10, -1, "object number"],
69 "level": [5, -1, "indirection level of buffer"],
70 "blkid": [8, -1, "block number of buffer"],
74 "meta": [4, -1, "is this buffer metadata?"],
75 "state": [5, -1, "state of buffer (read, cached, etc)"],
[all …]
H A Darcstat.in4 # For a definition of fields, or usage, use arcstat -v
16 # but has since moved to the illumos-gate repository.
32 # or https://opensource.org/licenses/CDDL-1.0.
62 cols = {
64 "time": [8, -1, "Time"],
245 cols[colname] = [len(colname), 1024, coldesc]
247 cols[colname + "%"] = [len(colname) + 1, 100, \
263 cmd = ("Usage: arcstat [-havxp] [-f fields] [-o file] [-s string] [interval "
273 # Requires py-sysctl on FreeBSD
329 for key in cols:
[all …]
/freebsd/usr.sbin/mpsutil/
H A Dmpsutil.c1 /*-
17 * 3. Neither the name of the author nor the names of any co-contributors
57 fprintf(stderr, "usage: %s [-u unit] <command> ...\n\n", getprogname()); in usage()
63 (*cmd)->handler(&args, &desc); in usage()
64 if (strncmp((*cmd)->set, "top", 3) == 0) in usage()
65 fprintf(stderr, "%-16s %-28s%s\n", in usage()
66 (*cmd)->name, args, desc); in usage()
68 fprintf(stderr, "%-5s %-10s %-28s%s\n", in usage()
69 (*cmd)->set, (*cmd)->name, args, desc); in usage()
99 while ((ch = getopt(ac, av, "u:h?")) != -1) { in main()
[all …]
/freebsd/sys/kern/
H A Dsubr_prf.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
120 static char *ksprintn(char *nbuf, uintmax_t num, int base, int *len, int upper);
132 #define BOOT_TAG "---<<BOOT>>---"
180 if (td->td_proc == initproc) { in uprintf()
189 p = td->td_proc; in uprintf()
191 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()
196 SESS_LOCK(p->p_session); in uprintf()
197 pca.tty = p->p_session->s_ttyp; in uprintf()
198 SESS_UNLOCK(p->p_session); in uprintf()
[all …]
/freebsd/usr.bin/who/
H A Dwho.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 while ((ch = getopt(argc, argv, "HTabmqsu")) != -1) { in main()
81 case 'a': /* Same as -bdlprtTu */ in main()
104 argc -= optind; in main()
109 /* "who am i" or "who am I", equivalent to -m */ in main()
111 argc -= 2; in main()
144 fprintf(stderr, "usage: who [-abHmqsTu] [am I] [file]\n"); in usage()
152 printf("%-16s ", "NAME"); in heading()
155 printf("%-12s %-12s ", "LINE", "TIME"); in heading()
[all …]
/freebsd/contrib/libedit/
H A Dterminal.c3 /*-
45 * terminal.c: Editor/termcap-curses interface
96 #define GoodStr(a) (el->el_terminal.t_str[a] != NULL && \
97 el->el_terminal.t_str[a][0] != '\0')
98 #define Str(a) el->el_terminal.t_str[a]
99 #define Val(a) el->el_terminal.t_val[a]
236 if (el->el_tty.t_tabs) in terminal_setflags()
260 (void) fprintf(el->el_errfile, in terminal_setflags()
262 (void) fprintf(el->el_errfile, in terminal_setflags()
266 (void) fprintf(el->el_errfile, "no clear EOL capability.\n"); in terminal_setflags()
[all …]
H A Dfilecomplete.c3 /*-
86 len = (size_t)(pos - txt + 1); in fn_tilde_expand()
90 (void)strlcpy(temp, txt + 1, len - 1); in fn_tilde_expand()
120 len = strlen(pass->pw_dir) + 1 + strlen(txt) + 1; in fn_tilde_expand()
124 (void)snprintf(temp, len, "%s/%s", pass->pw_dir, txt); in fn_tilde_expand()
207 wchar_t *temp = el->el_line.buffer; in escape_filename()
213 while (temp != el->el_line.cursor) { in escape_filename()
219 (temp == el->el_line.buffer || temp[-1] != '\\')) in escape_filename()
349 len = (size_t)(pos - text); /* including last slash */ in fn_filename_completion_function()
405 if (entry->d_name[0] == '.' && (!entry->d_name[1] in fn_filename_completion_function()
[all …]
H A Dreadline.c3 /*-
68 /* readline compatibility stuff - look at readline sources/documentation */
213 if (i == -1) in _getc_function()
226 *ap = li->buffer; in _resize_fun()
242 len = strlen(p->pw_dir) + sizeof("/.history"); in _default_history_file()
246 (void)snprintf(path, len, "%s/.history", p->pw_dir); in _default_history_file()
270 return -1; in rl_set_prompt()
273 /* Remove adjacent end/start markers to avoid double-escapes. */ in rl_set_prompt()
324 if (tcgetattr(fileno(rl_instream), &t) != -1 && (t.c_lflag & ECHO) == 0) in rl_initialize()
336 return -1; in rl_initialize()
[all …]
/freebsd/contrib/tcsh/
H A Ded.screen.c2 * ed.screen.c: Editor/termcap-curses interface
4 /*-
341 * A very useful table from justin@crim.ca (Justin Bur) :-)
343 * - first (and second:-) case fixed)
347 * -------------- ------- ------- ------------ ------------
350 * No Wrap no -- yes yes
363 xfree(t->str); in TCset()
364 t->str = NULL; in TCset()
369 t->str = xrealloc(t->str, size); in TCset()
370 memcpy(t->str, cap, size); in TCset()
[all …]
/freebsd/cddl/usr.sbin/dwatch/libexec/
H A Dsystop1 # -*- tab-width: 4 -*- ;; Emacs
5 # $Title: dwatch(8) profile for top-like syscall $
6 # $Copyright: 2014-2018 Devin Teske. All rights reserved. $
19 " # END-QUOTE
23 : ${PROBE:=profile:::tick-3s}
32 @num[probefunc,execname] = count();
35 END { trunc(@num) } /* probe ID $(( $ID + 2 )) */
45 # Here we override the default EVENT_TAG to include ANSI cursor-homing and
46 # screen-clearing codes.
50 cols="${size#* }"
[all …]
/freebsd/contrib/dialog/
H A Darrows.c4 * arrows.c -- draw arrows to indicate end-of-range for lists
6 * Copyright 2000-2018,2019 Thomas E. Dickey
32 #define WACS_UARROW &(CURSES_WACS_ARRAY['-'])
67 * If we have help-line text, e.g., from "--hline", draw it between the other
77 && (bottom = getmaxy(win) - 1) > 0) { in dlg_draw_helpline()
79 int cols = dlg_count_columns(dialog_vars.help_line); in dlg_draw_helpline() local
81 int avail = (getmaxx(win) - other - 2); in dlg_draw_helpline()
89 (void) wmove(win, bottom, other + (avail - limit) / 2); in dlg_draw_helpline()
91 dlg_print_text(win, dialog_vars.help_line, cols, &attr); in dlg_draw_helpline()
119 if (dialog_vars.title && is_toplevel && (top - getbegy(win)) < MARGIN) { in dlg_draw_arrows2()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_console.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
136 uint16_t cols; member
149 uint16_t cols; member
187 vi_reset_dev(&sc->vsc_vs); in pci_vtcon_reset()
195 sc->vsc_features = negotiated_features; in pci_vtcon_neg_features()
204 ptr = (uint8_t *)sc->vsc_config + offset; in pci_vtcon_cfgread()
219 uint16_t num = vq->vq_num; in pci_vtcon_vq_to_port() local
221 if (num == 0 || num == 1) in pci_vtcon_vq_to_port()
222 return (&sc->vsc_ports[0]); in pci_vtcon_vq_to_port()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDXContainerYAML.h1 //===- DXContainerYAML.h - DXContainer YAMLIO implementation ----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
59 #define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str) bool Val = false; argument
83 StringTable.find('\0', El.NameOffset) - in SignatureElement()
86 StartRow(El.StartRow), Cols(El.Cols), StartCol(El.StartCol), in SignatureElement()
93 uint8_t Cols; member
/freebsd/sys/contrib/device-tree/src/arm/samsung/
H A Dexynos4412-smdk4412.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
12 /dts-v1/;
14 #include "exynos-mfc-reserved-memory.dtsi"
31 stdout-path = "serial1:115200n8";
34 fixed-rate-clocks {
36 compatible = "samsung,clock-xxti";
37 clock-frequency = <0>;
41 compatible = "samsung,clock-xusbxti";
42 clock-frequency = <24000000>;
[all …]
H A Dexynos4210-smdkv310.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2010-2011 Linaro Ltd.
14 /dts-v1/;
16 #include <dt-bindings/gpio/gpio.h>
17 #include "exynos-mfc-reserved-memory.dtsi"
34 stdout-path = "serial1:115200n8";
37 fixed-rate-clocks {
39 compatible = "samsung,clock-xxti";
40 clock-frequency = <12000000>;
[all …]
/freebsd/contrib/libxo/libxo/
H A Dlibxo.c2 * Copyright (c) 2014-2019, Juniper Networks, Inc.
19 * http://juniper.github.io/libxo/libxo-manual.html
22 * - xo_do_emit() -- parse and emit a set of fields
23 * - xo_do_emit_fields -- the central function of the library
24 * - xo_do_format_field() -- handles formatting a single field
25 * - xo_transiton() -- the state machine that keeps things sane
66 * to run a binary, which breaks cross-compilation. Hmm... I could
69 * Anyhow, it remains a best-effort sort of thing. And it's all made
108 * Three styles of specifying thread-local variables are supported.
128 #error unknown thread-local setting
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp1 //===- DXContainerYAML.cpp - DXContainer YAMLIO implementation ------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
22 // to be updated if flags grow past 64-bits.
27 #define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str) \ in ShaderFeatureFlags() argument
34 #define SHADER_FEATURE_FLAG(Num, DxilModuleNum, Val, Str) \ in getEncodedFlags() argument
80 EntryName(StringTable.substr(P->EntryNameOffset, in PSVInfo()
81 StringTable.find('\0', P->EntryNameOffset) - in PSVInfo()
82 P->EntryNameOffset)) { in PSVInfo()
[all …]
/freebsd/contrib/ncurses/include/
H A DCaps.uwin2 # Copyright 2019-2023,2024 Thomas E. Dickey #
3 # Copyright 2001-2015,2016 Free Software Foundation, Inc. #
43 # This file has three major sections; a standard-capabilities table, two
44 # extension-capability tables, and a section of aliases declarations.
53 # Column 5: KEY_xxx name, if any, `-' otherwise
54 # Column 6: value for KEY_xxx name, if any, `-' otherwise
56 # translations, `-' otherwise
59 # The codes following [Y-] in column 7 describe the versions of termcap which
63 # lot of old termcap-using programs). The codes read as follows:
95 # as an already-supported one. The compiler will handle aliasing, emitting
[all …]
H A DCaps.osf1r52 # Copyright 2019-2023,2024 Thomas E. Dickey #
3 # Copyright 2002-2015,2016 Free Software Foundation, Inc. #
43 # This file has three major sections; a standard-capabilities table, two
44 # extension-capability tables, and a section of aliases declarations.
53 # Column 5: KEY_xxx name, if any, `-' otherwise
54 # Column 6: value for KEY_xxx name, if any, `-' otherwise
56 # translations, `-' otherwise
59 # The codes following [Y-] in column 7 describe the versions of termcap which
63 # lot of old termcap-using programs). The codes read as follows:
95 # as an already-supported one. The compiler will handle aliasing, emitting
[all …]
H A DCaps.hpux112 # Copyright 2019-2023,2024 Thomas E. Dickey #
3 # Copyright 2002-2015,2016 Free Software Foundation, Inc. #
43 # This file has three major sections; a standard-capabilities table, two
44 # extension-capability tables, and a section of aliases declarations.
53 # Column 5: KEY_xxx name, if any, `-' otherwise
54 # Column 6: value for KEY_xxx name, if any, `-' otherwise
56 # translations, `-' otherwise
59 # The codes following [Y-] in column 7 describe the versions of termcap which
63 # lot of old termcap-using programs). The codes read as follows:
95 # as an already-supported one. The compiler will handle aliasing, emitting
[all …]
H A DCaps2 # Copyright 2019-2023,2024 Thomas E. Dickey #
3 # Copyright 1998-2015,2016 Free Software Foundation, Inc. #
30 # Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995
43 # This file has three major sections; a standard-capabilities table, two
44 # extension-capability tables, and a section of aliases declarations.
53 # Column 5: KEY_xxx name, if any, `-' otherwise
54 # Column 6: value for KEY_xxx name, if any, `-' otherwise
56 # translations, `-' otherwise
59 # The codes following [Y-] in column 7 describe the versions of termcap which
63 # lot of old termcap-using programs). The codes read as follows:
[all …]
H A DCaps.keys2 # Copyright 2019-2023,2024 Thomas E. Dickey #
3 # Copyright 2001-2015,2016 Free Software Foundation, Inc. #
36 # is illustrates an experimental extension to describe alt-, shift- and
37 # control-modifiers applied to function and normal keys, as done on IBM pc's.
45 # This file has three major sections; a standard-capabilities table, two
46 # extension-capability tables, and a section of aliases declarations.
55 # Column 5: KEY_xxx name, if any, `-' otherwise
56 # Column 6: value for KEY_xxx name, if any, `-' otherwise
58 # translations, `-' otherwise
61 # The codes following [Y-] in column 7 describe the versions of termcap which
[all …]
/freebsd/contrib/ee/
H A Dee.c36 | -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
181 int local_COLS = 0; /* copy of COLS, to detect when win resizes */
184 int ee_chinese = FALSE; /* allows handling of multi-byte characters */
186 /* code recognizes a two-byte character */
191 unsigned char *u_srch_str; /* pointer to non-case sensitive search */
235 | item will be returned. If the third (argument) parameter is -1, no
340 {"", NULL, NULL, NULL, NULL, -1}, /* 1. tabs to spaces */
341 {"", NULL, NULL, NULL, NULL, -1}, /* 2. case sensitive search*/
342 {"", NULL, NULL, NULL, NULL, -1}, /* 3. margins observed */
343 {"", NULL, NULL, NULL, NULL, -1}, /* 4. auto-paragraph */
[all …]
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc.c2 * ntpdc - control and monitor your ntpd daemon
34 #include "ntpdc-opts.h"
38 /* vxWorks needs mode flag -casey*/
109 * Built-in commands we understand
125 { "-4|-6", "hostname", "", "" },
202 * For commands typed on the command line (with the -c option)
282 * main - parse arguments and handle options
310 argc -= optct; in ntpdcmain()
325 while (cmdct-- > 0) { in ntpdcmain()
386 printf ("--- %s ---\n",chosts[ihost]); in ntpdcmain()
[all …]

12