| /src/usr.bin/tabs/ |
| H A D | Makefile | 3 PROG= tabs
|
| H A D | tabs.c | 1 /* $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 D | Makefile | 6 SRCS= tabs csh.1 csh.2 csh.3 csh.4 csh.ap csh.g
|
| /src/lib/libc/gen/ |
| H A D | errlist.awk | 38 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 D | rpc_tblout.c | 162 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 D | fmt-list | 52 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 D | comm.c | 58 static const char *tabs[] = { "", "\t", "\t\t" }; variable in typeref:typename:const char * [] 108 p = tabs;
|
| /src/lib/libform/ |
| H A D | internals.h | 95 _formi_tab_t *tabs; member in struct:_formi_field_lines
|
| H A D | internals.c | 231 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 D | field.c | 61 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 D | wsemul_vt100_subr.c | 334 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 D | wsemul_vt100.c | 230 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 D | vt100_base.h | 55 char *tabs; member in struct:vt100base_data
|
| /src/sbin/pppoectl/ |
| H A D | pppoectl.c | 61 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 D | escape.exp | 47 VAR1BSNLtt=:first line two tabs on second line: 48 VAR1BSNLxx=:first line many spaces and tabs [ ] on second line:
|
| H A D | escape.mk | 179 two tabs on second line 181 many spaces and tabs [ ] on second line
|
| /src/tests/usr.bin/sdiff/ |
| H A D | t_sdiff.sh | 65 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 D | vfontedpr.c | 79 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 D | itevar.h | 63 u_char *tabs; member in struct:ite_softc
|
| H A D | ite.c | 248 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 D | itevar.h | 57 u_char *tabs; member in struct:ite_softc
|
| H A D | ite.c | 240 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 D | Makefile | 30 tabs tail talk tcopy tee telnet tftp tic time timeout tip touch \
|
| /src/sys/arch/x68k/dev/ |
| H A D | itevar.h | 91 char argbuf[ARGBUF_SIZE], *ap, *tabs; member in struct:ite_softc
|
| H A D | ite.c | 266 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;
|