/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_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_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...] |
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...] |
/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
|
Makefile | 4 PROG= indent 5 SRCS= args.c debug.c indent.c io.c lexi.c parse.c pr_comment.c
|
/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...] |
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...] |
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' \
|
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...] |
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),
|
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),
|
/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");
|
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...] |
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...] |
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...] |