Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 171) sorted by relevance

1234567

/busybox-1.35.0/testsuite/
Dhead.tests10 line 1
11 line 2
12 line 3
13 line 4
14 line 5
15 line 6
16 line 7
17 line 8
18 line 9
19 line 10
[all …]
/busybox-1.35.0/shell/ash_test/ash-vars/
Dparam_expand_indicate_error.right1 SHELL: line 0: syntax error: bad substitution
6 SHELL: line 0: 1: parameter not set
7 SHELL: line 0: 1: parameter not set or null
8 SHELL: line 0: 1: message1
9 SHELL: line 0: 1: message1
10 SHELL: line 0: 1: unset!
11 SHELL: line 0: 1: null or unset!
22 SHELL: line 0: f: parameter not set
23 SHELL: line 0: f: parameter not set or null
24 SHELL: line 0: f: message3
[all …]
Dparam_expand_assign.right1 SHELL: line 0: syntax error: bad substitution
2 SHELL: line 0: syntax error: bad substitution
3 SHELL: line 0: syntax error: bad substitution
5 SHELL: line 0: 1: bad variable name
6 SHELL: line 0: 1: bad variable name
7 SHELL: line 0: 1: bad variable name
8 SHELL: line 0: 1: bad variable name
Dreadonly0.right5 ./readonly0.tests: line 19: a: is read only
7 ./readonly0.tests: readonly: line 21: a: is read only
10 ./readonly0.tests: export: line 27: a: is read only
13 ./readonly0.tests: unset: line 44: a: is read only
Dparam_expand_bash_substring.right1 SHELL: line 0: syntax error: bad substitution
2 SHELL: line 0: syntax error: bad substitution
3 SHELL: line 0: syntax error: bad substitution
4 SHELL: line 0: syntax error: bad substitution
5 SHELL: line 0: syntax error: missing '}'
/busybox-1.35.0/libbb/
Dparse_config.c93 free(parser->line); in config_close()
107 char *line; in get_line_with_continuation() local
109 len = getline(&parser->line, &parser->line_alloc, parser->fp); in get_line_with_continuation()
113 line = parser->line; in get_line_with_continuation()
116 if (line[len - 1] == '\n') in get_line_with_continuation()
118 if (len == 0 || line[len - 1] != '\\') in get_line_with_continuation()
128 line = parser->line = xrealloc(line, parser->line_alloc); in get_line_with_continuation()
130 memcpy(&line[len], parser->nline, nlen); in get_line_with_continuation()
134 line[len] = '\0'; in get_line_with_continuation()
165 char *line, *p; in config_read() local
[all …]
Dgetpty.c12 int FAST_FUNC xgetpty(char *line) in xgetpty() argument
28 safe_strncpy(line, name, GETPTY_BUFSIZE); in xgetpty()
32 if (ptsname_r(p, line, GETPTY_BUFSIZE-1) != 0) { in xgetpty()
35 line[GETPTY_BUFSIZE-1] = '\0'; in xgetpty()
44 strcpy(line, "/dev/ptyXX"); in xgetpty()
47 line[8] = "pqrstuvwxyzabcde"[i]; in xgetpty()
48 line[9] = '0'; in xgetpty()
49 if (stat(line, &stb) < 0) { in xgetpty()
53 line[9] = j < 10 ? j + '0' : j - 10 + 'a'; in xgetpty()
55 fprintf(stderr, "Trying to open device: %s\n", line); in xgetpty()
[all …]
Dget_cpu_count.c25 char line[256]; in get_cpu_count() local
29 while (fgets(line, sizeof(line), fp)) { in get_cpu_count()
30 if (!starts_with_cpu(line)) { in get_cpu_count()
35 if (line[3] != ' ') { /* "cpuN" */ in get_cpu_count()
37 if (sscanf(line + 3, "%u", &num_proc) == 1 in get_cpu_count()
Dprint_numbered_lines.c15 char *line; in print_numbered_lines() local
21 while ((line = xmalloc_fgetline(fp)) != NULL) { in print_numbered_lines()
23 || (ns->nonempty && line[0]) in print_numbered_lines()
29 puts(line); in print_numbered_lines()
30 free(line); in print_numbered_lines()
/busybox-1.35.0/shell/ash_test/ash-arith/
Darith.right62 ./arith.tests: line 116: arithmetic syntax error
84 ./arith.tests: line 162: arithmetic syntax error
85 ./arith.tests: line 164: divide by zero
86 ./arith.tests: let: line 165: arithmetic syntax error
87 ./arith.tests: line 166: arithmetic syntax error
88 ./arith.tests: let: line 167: arithmetic syntax error
92 ./arith.tests: line 190: arithmetic syntax error
94 ./arith.tests: line 195: arithmetic syntax error
95 ./arith.tests: line 196: malformed ?: operator
96 ./arith.tests: line 197: arithmetic syntax error
[all …]
/busybox-1.35.0/miscutils/
Dcrond.c335 static void FixDayDow(CronLine *line) in FixDayDow() argument
341 for (i = 0; i < ARRAY_SIZE(line->cl_Dow); ++i) { in FixDayDow()
342 if (line->cl_Dow[i] == 0) { in FixDayDow()
347 for (i = 0; i < ARRAY_SIZE(line->cl_Days); ++i) { in FixDayDow()
348 if (line->cl_Days[i] == 0) { in FixDayDow()
355 memset(line->cl_Days, 0, sizeof(line->cl_Days)); in FixDayDow()
357 memset(line->cl_Dow, 0, sizeof(line->cl_Dow)); in FixDayDow()
388 CronLine *line; in delete_cronfile() local
393 while ((line = *pline) != NULL) { in delete_cronfile()
394 if (line->cl_pid > 0) { in delete_cronfile()
[all …]
Dts.c31 char *line; in ts_main() local
55 while ((line = xmalloc_fgets(stdin)) != NULL) { in ts_main()
79 printf("%s %s", date_buf, line); in ts_main()
81 printf("%s.%06u %s", date_buf, (unsigned)ts.tv_usec, line); in ts_main()
83 free(line); in ts_main()
/busybox-1.35.0/networking/
Dhttpd_ssi.c60 static char line[64 * 1024]; variable
84 while (fgets(line, sizeof(line), fp)) { in process_includes()
88 include_directive = strstr(line, INCLUDE); in process_includes()
90 fputs(line, stdout); in process_includes()
93 preceding_len = include_directive - line; in process_includes()
94 if (memchr(line, '\"', preceding_len) in process_includes()
95 || memchr(line, '\'', preceding_len) in process_includes()
99 fputs(line, stdout); in process_includes()
106 fputs(line, stdout); in process_includes()
112 fputs(line, stdout); in process_includes()
[all …]
/busybox-1.35.0/scripts/kconfig/
Dconf.c37 static char line[128]; variable
77 line[0] = '\n'; in conf_askvalue()
78 line[1] = 0; in conf_askvalue()
79 line[2] = 0; in conf_askvalue()
93 line[0] = 'y'; in conf_askvalue()
94 line[1] = '\n'; in conf_askvalue()
95 printf("%s", line); in conf_askvalue()
101 line[0] = 'm'; in conf_askvalue()
102 line[1] = '\n'; in conf_askvalue()
103 printf("%s", line); in conf_askvalue()
[all …]
/busybox-1.35.0/coreutils/
Dtac.c44 struct lstring *line = NULL; in tac_main() local
87 line = xrealloc(line, i + 0x7f + sizeof(int) + 1); in tac_main()
88 line->buf[i++] = ch; in tac_main()
91 line = xrealloc(line, i + sizeof(int)); in tac_main()
92 line->size = i; in tac_main()
93 llist_add_to(&list, line); in tac_main()
94 line = NULL; in tac_main()
107 line = (struct lstring *)list->data; in tac_main()
108 xwrite(STDOUT_FILENO, line->buf, line->size); in tac_main()
Dpaste.c37 char *line; in paste_files() local
49 line = xmalloc_fgetline(files[i]); in paste_files()
50 if (!line) { in paste_files()
56 fputs_stdout(line); in paste_files()
57 free(line); in paste_files()
72 char *line, *next_line; in paste_files_separate() local
79 line = NULL; in paste_files_separate()
81 if (line) { in paste_files_separate()
82 fputs_stdout(line); in paste_files_separate()
83 free(line); in paste_files_separate()
[all …]
Duudecode.c39 char *line; in read_stduu() local
47 line = xmalloc_fgets_str_len(src_stream, "\n", &line_len); in read_stduu()
48 if (!line) in read_stduu()
56 && (line[str_len] == '\n' || line[str_len] == '\r') in read_stduu()
58 line[str_len] = '\0'; in read_stduu()
61 if (strcmp(line, "end") == 0) { in read_stduu()
65 line_ptr = line; in read_stduu()
70 str_len = line_ptr - line; in read_stduu()
72 encoded_len = line[0] * 4 / 3; in read_stduu()
81 free(line); in read_stduu()
[all …]
Dexpand.c75 char *line; in expand() local
84 line = xmalloc_fgets(file); // in expand()
85 if (!line) in expand()
87 ptr = ptr_strbeg = line; in expand()
127 free(line); in expand()
135 char *line; in unexpand() local
137 while ((line = xmalloc_fgets(file)) != NULL) { in unexpand()
138 char *ptr = line; in unexpand()
163 if (!(opt & OPT_ALL) && ptr != line) { in unexpand()
182 free(line); in unexpand()
/busybox-1.35.0/scripts/basic/
Dsplit-include.c56 char * line; in main() local
80 if ( (line = malloc(buffer_size)) == NULL in main()
105 while (fgets(line, buffer_size, fp_config)) in main()
111 if (line[0] != '#') in main()
113 if ((str_config = strstr(line, " CONFIG_")) == NULL) in main()
138 if (!strcmp(line, old_line)) in main()
161 fputs(line, fp_target); in main()
197 line[0] = '\n'; in main()
198 while (fgets(line+1, buffer_size, fp_find)) in main()
200 if (strstr(list_target, line) == NULL) in main()
[all …]
Ddocproc.c56 typedef void FILELINE(char * file, char * line);
155 void adddep2(char * file, char * line) { line = line; adddep(file); } in adddep2() argument
156 void noaction(char * line) { line = line; } in noaction() argument
157 void noaction2(char * file, char * line) { file = file; line = line; } in noaction2() argument
160 void printline(char * line) { printf("%s", line); } in printline() argument
171 char line[MAXLINESZ]; in find_export_symbols() local
184 while (fgets(line, MAXLINESZ, fp)) { in find_export_symbols()
187 if (((p = (unsigned char *)strstr(line, "EXPORT_SYMBOL_GPL")) != 0) || in find_export_symbols()
188 ((p = (unsigned char *)strstr(line, "EXPORT_SYMBOL")) != 0)) { in find_export_symbols()
259 void singfunc(char * filename, char * line) in singfunc() argument
[all …]
/busybox-1.35.0/shell/ash_test/ash-psubst/
Demptytick.right3 ./emptytick.tests: line 2: : Permission denied
5 ./emptytick.tests: line 3: : Permission denied
11 ./emptytick.tests: line 10: : Permission denied
13 ./emptytick.tests: line 11: : Permission denied
17 ./emptytick.tests: exec: line 15: : Permission denied
Dfalsetick.right9 ./falsetick.tests: line 12: can't create /does/not/exist: nonexistent directory
11 ./falsetick.tests: line 13: can't create /does/not/exist: nonexistent directory
13 ./falsetick.tests: line 14: can't create /does/not/exist: nonexistent directory
15 ./falsetick.tests: line 15: can't create /does/not/exist: nonexistent directory
17 ./falsetick.tests: line 16: can't create /does/not/exist: nonexistent directory
19 ./falsetick.tests: line 17: can't create /does/not/exist: nonexistent directory
21 ./falsetick.tests: line 18: can't create /does/not/exist: nonexistent directory
23 ./falsetick.tests: line 19: can't create /does/not/exist: nonexistent directory
/busybox-1.35.0/shell/ash_test/ash-parsing/
Dbrace1.right4 ./brace1.tests: line 4: {cmd: not found
5 ./brace1.tests: line 5: {: not found
6 ./brace1.tests: line 6: {: not found
/busybox-1.35.0/util-linux/
Dwall.c50 char *line; in wall_main() local
53 line = concat_path_file("/dev", ut->ut_line); in wall_main()
54 xopen_xwrite_close(line, msg); in wall_main()
55 free(line); in wall_main()
/busybox-1.35.0/scripts/
Dcheckstack.pl120 while (my $line = <STDIN>) {
121 if ($line =~ m/$funcre/) {
124 elsif ($line =~ m/(.*):\s*file format/) {
132 elsif ($line =~ m/$re/) {
143 next if $line !~ m/^($xs*)/;
158 elsif (defined $dre && $line =~ m/$dre/) {
161 next if $line !~ m/^($xs*)/;

1234567