Searched refs:tabs (Results 1 - 25 of 29) sorted by relevance

12

/src/usr.bin/tabs/
H A DMakefile3 PROG= tabs
H A Dtabs.c1 /* $NetBSD: tabs.c,v 1.6 2021/08/27 18:28:41 rillig Exp $ */
36 __RCSID("$NetBSD: tabs.c,v 1.6 2021/08/27 18:28:41 rillig Exp $");
75 "usage: tabs [-n|-a|-a2|-c|-c2|-c3|-f|-p|-s|-u] [+m[n]]"
77 " tabs [-T type] [+[n]] n1[,n2,...]\n");
85 char *term, *arg, *token, *end, *tabs = NULL, *p; local in function:main
112 tabs = argv[i];
120 tabs = argv[i + 1];
146 if (tabs == NULL && spec != NULL)
147 tabs = strdup(spec);
149 if (tabs !
[all...]
/src/bin/csh/USD.doc/
H A DMakefile6 SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.ap csh.g
/src/lib/libc/gen/
H A Derrlist.awk38 function tabs(desc) { function
56 printf("\t\"%s\",%s/* %d - %s */\n", desc, tabs(desc), number, name);
60 printf("\t\"%s\\0\"%s/* %d - %s */\n", desc, tabs(desc), number, name);
/src/usr.bin/rpcgen/
H A Drpc_tblout.c162 int tabs; local in function:printit
168 /* round up to tabs required */
169 tabs = (TABSTOP - len + TABSIZE - 1) / TABSIZE;
170 f_print(fout, "%s", &tabstr[TABCOUNT - tabs]);
/src/distrib/sets/
H A Dfmt-list52 local function tabs(str, width) function
54 local tabs = ("\t"):rep((width - strwidth + 7) // 8)
55 if tabs == "" then
58 assert(tabs ~= "")
59 return tabs
63 assert_equals(tabs("", 8), "\t")
64 assert_equals(tabs("1234567", 8), "\t")
65 assert_equals(tabs("", 64), "\t\t\t\t\t\t\t\t")
269 -- The flags are already aligned, 4 tabs to the right of the category.
281 -- Amend the entries by the tabs use
[all...]
/src/usr.bin/comm/
H A Dcomm.c58 static const char *tabs[] = { "", "\t", "\t\t" }; variable in typeref:typename:const char * []
108 p = tabs;
/src/lib/libform/
H A Dinternals.h95 _formi_tab_t *tabs; member in struct:_formi_field_lines
H A Dinternals.c231 new->tabs = NULL;
240 if (row->tabs != NULL) {
241 tp = row->tabs;
242 if ((new->tabs = malloc(sizeof(*new->tabs))) == NULL) {
248 memcpy(new->tabs, row->tabs, sizeof(*new->tabs));
249 new->tabs->back = NULL;
250 new->tabs
[all...]
H A Dfield.c61 0, /* actual pos of cursor in row, not same as x pos due to tabs */
351 * calculate the tabs for a single row field, the
812 new->alines->tabs = NULL;
907 if (field->alines[i].tabs != NULL) {
908 ts = field->alines[i].tabs;
/src/sys/dev/wscons/
H A Dwsemul_vt100_subr.c334 KASSERT(vd->tabs != NULL);
337 if (vd->tabs[i]) {
480 if (vd->tabs) {
482 if (vd->tabs[n])
501 KASSERT(vd->tabs != NULL);
504 vd->tabs[vd->ccol] = 0;
507 memset(vd->tabs, 0, vd->ncols);
834 KASSERT(vd->tabs != NULL);
836 memset(vd->tabs, 0, vd->ncols);
856 vd->tabs[po
[all...]
H A Dwsemul_vt100.c230 vd->tabs = 0;
260 vd->tabs = malloc(1024, M_DEVBUF, M_WAITOK);
282 f(vd->tabs)
349 if (vd->tabs) {
350 memset(vd->tabs, 0, vd->ncols);
352 vd->tabs[i] = 1;
482 if (vd->tabs) {
486 if (vd->tabs[n])
595 KASSERT(vd->tabs != 0);
596 vd->tabs[v
[all...]
H A Dvt100_base.h55 char *tabs; member in struct:vt100base_data
/src/sbin/pppoectl/
H A Dpppoectl.c61 static void print_dns(const char *ifname, int dns1, int dns2, int s, int tabs);
600 print_dns(const char *ifname, int dns1, int dns2, int s, int tabs) argument
610 for (i = 0; i < tabs; i++)
612 if (tabs > 0)
621 for (i = 0; i < tabs; i++)
623 if (tabs > 0)
/src/usr.bin/make/unit-tests/
H A Descape.exp47 VAR1BSNLtt=:first line two tabs on second line:
48 VAR1BSNLxx=:first line many spaces and tabs [ ] on second line:
H A Descape.mk179 two tabs on second line
181 many spaces and tabs [ ] on second line
/src/tests/usr.bin/sdiff/
H A Dt_sdiff.sh65 atf_test_case tabs
68 atf_set "descr" "Checks comparing files containing tabs"
79 atf_set "descr" "Checks correct handling of lines ended with tabs"
198 atf_add_test_case tabs
/src/usr.bin/vgrind/
H A Dvfontedpr.c79 static int tabs(char *, char *);
557 i = tabs(x_start, start) - margin / 8;
582 tabs(char *s, char *os) function in typeref:typename:int
/src/sys/arch/atari/dev/
H A Ditevar.h63 u_char *tabs; member in struct:ite_softc
H A Dite.c248 con_itesoftc.tabs = cons_tabs;
375 if (sc->tabs == NULL)
376 sc->tabs = kmem_alloc(MAX_TABS * sizeof(u_char), KM_SLEEP);
745 memset(sc->tabs, 0, sc->cols);
747 sc->tabs[i] = ((i & 7) == 0);
1771 sc->tabs[sc->curx] = 0;
1775 sc->tabs[n] = 0;
2209 if (sc->tabs[n]) {
2259 sc->tabs[sc->curx] = 1;
/src/sys/arch/amiga/dev/
H A Ditevar.h57 u_char *tabs; member in struct:ite_softc
H A Dite.c240 con_itesoftc.tabs = cons_tabs;
409 if (ip->tabs == NULL)
410 ip->tabs = malloc(MAX_TABS * sizeof(u_char),M_DEVBUF,M_WAITOK);
724 memset(ip->tabs, 0, ip->cols);
726 ip->tabs[i] = ((i & 7) == 0);
1670 ip->tabs[ip->curx] = 0;
1674 ip->tabs[n] = 0;
2076 if (ip->tabs[n]) {
2124 ip->tabs[ip->curx] = 1;
/src/usr.bin/
H A DMakefile30 tabs tail talk tcopy tee telnet tftp tic time timeout tip touch \
/src/sys/arch/x68k/dev/
H A Ditevar.h91 char argbuf[ARGBUF_SIZE], *ap, *tabs; member in struct:ite_softc
H A Dite.c266 if (ip->tabs == NULL)
267 ip->tabs = malloc(MAX_TABS * sizeof(u_char),
281 con_itesoftc.tabs = cons_tabs;
603 ip->tabs[i] = ((i & 7) == 0);
1685 /* clear tabs */
1689 ip->tabs[ip->curx] = 0;
1693 ip->tabs[n] = 0;
2233 if (ip->tabs[n]) {
2309 ip->tabs[ip->curx] = 1;

Completed in 26 milliseconds

12