HomeSort by: relevance | last modified time | path
    Searched refs:indent (Results 1 - 25 of 56) sorted by relevancy

1 2 3

  /src/tests/usr.bin/indent/
t_options.sh 28 # Tests for indent that focus on comparing the effects of the various command
35 # //indent input [description]
37 # //indent run [options]
38 # Runs indent on the input, using the given options.
39 # //indent end [description]
40 # Finishes an '//indent input' or '//indent run' section.
41 # //indent run-equals-input [options]
42 # Runs indent on the input, expecting unmodified output.
43 # //indent run-equals-prev-output [options
    [all...]
t_errors.sh 28 # Tests for error handling in indent.
30 indent=$(atf_config_get usr.bin.indent.test_indent /usr/bin/indent)
41 "$indent" "$@"
48 'indent: Command line: unknown option "-Z-unknown"' \
56 'indent: Command line: unknown option "-bacchus"' \
64 'indent: Command line: argument "x" to option "-ts" must be an integer' \
72 'indent: profile ./nonexistent: No such file or directory' \
80 'indent: cannot open file ./nonexistent'
    [all...]
t_misc.sh 28 # Tests for indent that do not follow the input-profile-output scheme that is
31 indent=$(atf_config_get usr.bin.indent.test_indent /usr/bin/indent)
45 env SIMPLE_BACKUP_SUFFIX=".bak" "$indent" code.c
55 # On normal parse errors, indent continues until the end of the file.
65 "$indent" code.c
73 cat <<-\EOF > .indent.pro
100 "$indent" -v before.c after.c
184 "$indent" -i1 -nut < 'code.c
    [all...]
opt_version.c 8 //indent input
12 //indent end
14 //indent run --version
15 NetBSD indent 2.1
16 //indent end
t_options.lua 27 -- usage: [INDENT=...] lua t_options.lua <file.c>...
29 -- Run indent on several inputs with different command line options, verifying
36 -- //indent input
38 -- //indent run [options]
39 -- Runs indent on the input, using the given options.
40 -- //indent end
41 -- Finishes an '//indent input' or '//indent run' section.
42 -- //indent run-equals-input [options]
43 -- Runs indent on the input, expecting that the output is th
    [all...]
  /src/usr.bin/indent/
Makefile 4 PROG= indent
5 SRCS= args.c debug.c indent.c io.c lexi.c parse.c pr_comment.c
README.md 3 This is NetBSD indent. It originally came from the University of Illinois via
13 In 2021, indent was updated to handle C99 comments and the code got a major
14 overhaul. Indent got an extensive and systematic test suite, which uncovered
20 * https://github.com/freebsd/freebsd-src/tree/main/usr.bin/indent
  /src/lib/libbluetooth/
sdp_data.c 324 * sdp_data_print(data, indent)
329 _sdp_put(int indent, const char *type, const char *fmt, ...)
333 indent = printf("%*s%s", indent, "", type);
334 indent = 18 - indent;
335 if (indent < 2)
336 indent = 2;
338 printf("%*s", indent, "");
348 _sdp_putstr(int indent, const char *type, const uint8_t *str, size_t len
    [all...]
  /src/bin/ksh/
tree.c 15 #define INDENT 4
18 static void ptree ARGS((struct op *t, int indent, struct shf *f));
19 static void pioact ARGS((struct shf *f, int indent, struct ioword *iop));
22 static void vfptreef ARGS((struct shf *shf, int indent, const char *fmt, va_list va));
31 ptree(t, indent, shf)
33 int indent;
47 fptreef(shf, indent, "%S ", *w++);
49 fptreef(shf, indent, "#no-vars# ");
52 fptreef(shf, indent, "%S ", *w++);
54 fptreef(shf, indent, "#no-args# ")
    [all...]
  /src/tests/usr.bin/xlint/lint1/
gen-platforms.sh 48 case $platform in ????*) indent='\t';; *) indent='\t\t';; esac
50 printf '\t\t\t''platform["%s"]'"$indent"'= "%s %-5s %-4s %s"\n' \
  /src/usr.sbin/mtree/
create.c 103 int indent = 0; local in function:cwalk
127 indent = p->fts_level * 4;
143 statf(fp, indent, p);
148 fprintf(fp, "%*s# %s\n", indent, "",
151 fprintf(fp, "%*s..\n", indent, "");
164 statf(fp, indent, p);
177 dosum(FILE *fp, int indent, FTSENT *p, int *offset, int flag,
187 output(fp, indent, offset, "%s=%s", key, digestbuf);
225 statf(FILE *fp, int indent, FTSENT *p)
230 offset = fprintf(fp, "%*s%s%s", indent, "",
    [all...]
  /src/sys/arch/alpha/pci/
tsp_pci.c 103 tsp_print_error(unsigned int indent, unsigned long p_error)
108 IPRINTF(indent, "data invalid\n");
130 IPRINTF(indent, "error = %s\n", buf);
133 IPRINTF(indent, "address = 0x%09lx\n", PER_SADR(p_error));
134 IPRINTF(indent, "command = 0x%lx<%s>\n", PER_CMD(p_error),
137 IPRINTF(indent, "syndrome = 0x%02lx\n", PER_SYN(p_error));
139 IPRINTF(indent, "address = 0x%08lx, 0x%lx<%s>\n",
143 IPRINTF(indent, "command = 0x%lx<%s>\n", PER_CMD(p_error),
tsc.c 333 tsc_print_dir(unsigned int indent, unsigned long dir)
345 IPRINTF(indent, "DIR = %s\n", buf);
349 tsc_print_misc(unsigned int indent, unsigned long misc)
356 IPRINTF(indent, "NXM address detected\n");
357 IPRINTF(indent, "NXM source = %s %lu\n",
  /src/usr.sbin/lpr/filters/
lpf.c 65 static int indent; /* indentation length */ variable in typeref:typename:int
101 indent = atoi(optarg);
123 col = indent;
148 if (--col < indent)
149 col = indent;
153 col = indent;
157 col = ((col - indent) | 07) + indent + 1;
234 "usage: lpf [-c] [-f] [-h host] [-i indent] [-l length] [-n name] [-w width] [acctfile]\n");
  /src/usr.sbin/acpitools/aml/
aml_parse.c 82 int indent);
84 int indent);
86 int num1, int indent);
89 int indent);
92 int indent);
94 int indent);
96 int indent);
98 int indent);
100 int indent);
105 int indent);
    [all...]
  /src/sbin/efi/
certs.c 155 show_time(const EFI_TIME *et, int indent)
161 indent, "",
180 sigfn0(const void *vp, size_t sz, int indent)
187 printf("%*sOwner: ", indent, "");
195 sigfn1(const void *vp, size_t sz, int indent)
203 printf("%*sOwner: ", indent, "");
206 printf("%*szero: 0x%02x\n", indent, "", s->zero);
211 sigfn256(const void *vp, size_t sz, int indent)
220 printf("%*sOwner: ", indent, "");
225 printf("%*sTimeOfRevocation: ", indent, "");
    [all...]
  /src/usr.bin/sort/
init.c 164 errx(2, "cannot indent end of line");
166 col->indent = (int) strtol(pos, &npos, 10);
169 col->indent--;
170 if (col->indent < 0)
207 if (!cur_fld->tcol.indent) /* BT has no meaning at end of field */
213 /* indent if 0 -> end of field, i.e. okay */
214 && cur_fld->tcol.indent != 0
215 && cur_fld->tcol.indent < cur_fld->icol.indent))
289 int col, indent; local in function:fixit
    [all...]
  /src/sys/arch/alpha/alpha/
dec_6600.c 232 dec_6600_mcheck_sys(unsigned int indent, struct ev6_logout_area *la)
239 IPRINTF(indent, FMT, "Software Error Summary Flags", ls->flags);
241 IPRINTF(indent, FMT, "CPU Device Interrupt Requests", ls->dir);
242 tsc_print_dir(indent + 1, ls->dir);
244 IPRINTF(indent, FMT, "Cchip Miscellaneous Register", ls->misc);
245 tsc_print_misc(indent + 1, ls->misc);
247 IPRINTF(indent, FMT, "Pchip 0 Error Register", ls->p0_error);
249 tsp_print_error(indent + 1, ls->p0_error);
251 IPRINTF(indent, FMT, "Pchip 1 Error Register", ls->p1_error);
253 tsp_print_error(indent + 1, ls->p1_error)
    [all...]
  /src/usr.bin/pmap/
pmap.c 49 #define indent(n) ((n) * ((recurse > 1 ? recurse - 1 : 0)) + depth) macro
136 printf("%*s%s %p = {", indent(2), "", mname, P(vm_map));
138 printf("%*s lock = <struct lock>,", indent(2), "");
141 printf("%*s size = %#"PRIxVSIZE",", indent(2), "",
144 printf("%*s hint = %p,", indent(2), "",
146 printf("%*s first_free = %p,", indent(2), "",
163 printf("%*s timestamp = %u }\n", indent(2), "",
169 printf("%*s%s %p: [%#"PRIxVADDR"->%#"PRIxVADDR"]\n", indent(2), "",
174 indent(2), "", D(vm_map, vm_map)->nentries,
177 printf("\t%*spmap=%p(resident=<unknown>)\n", indent(2), ""
    [all...]
  /src/bin/sh/
show.c 107 static void indent(int, TFILE *);
320 indent(ind, fp);
336 indent(ind < 0 ? 2 : ind + 1, fp);
359 indent((ind < 0 ? ilvl : ind) + 1, fp);
380 indent(ind, fp);
382 indent(ind, fp);
407 indent(ilvl, fp);
410 indent(ilvl+1, fp);
416 indent(ilvl, fp);
419 indent(ilvl, fp)
775 indent(int amount, TFILE *fp) function in typeref:typename:void
929 char indent[16]; local in function:trace_id
    [all...]
  /src/tests/usr.bin/
Makefile 9 diff dirname error find fstat ftp gcov gdb grep gzip id indent \
  /src/usr.sbin/usbdevs/
usbdevs.c 83 static int indent; variable in typeref:typename:int
263 printf("%*s %s(0x%02x), %s(0x%02x), proto %u\n", indent, "",
270 printf("%*s %s\n", indent, "",
284 printf("%*sport %d %s\n", indent + 1, "",
294 indent++;
295 printf("%*s", indent, "");
302 indent--;
323 indent = 0;
  /src/usr.bin/rpcgen/
rpc_cout.c 180 print_ifopen(int indent, const char *name)
194 tabify(fout, indent);
219 print_ifclose(int indent)
222 tabify(fout, indent);
227 print_ifstat(int indent, const char *prefix, const char *type, relation rel,
234 print_ifopen(indent, "pointer");
247 print_ifopen(indent, alt);
250 print_ifopen(indent, "vector");
267 print_ifopen(indent, alt);
271 print_ifopen(indent, alt)
    [all...]
  /src/share/misc/
Makefile 7 eqnchar flowers indent.pro inter.phone language man.template \
  /src/usr.bin/xlint/xlint/
xlint.c 230 int indent = (int)(strlen("usage: ") + strlen(name)); local in function:usage
237 name, indent, "", indent, "", indent, "");
241 name, indent, "");

Completed in 22 milliseconds

1 2 3