Home
last modified time | relevance | path

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

12345678910>>...12

/curl/src/
H A Dtool_parsecfg.c90 char *line; in parseconfig() local
111 while(*line && ISSPACE(*line)) in parseconfig()
112 line++; in parseconfig()
131 while(*line && !ISSPACE(*line) && !ISSEP(*line, dashed_option)) in parseconfig()
132 line++; in parseconfig()
143 while(*line && (ISSPACE(*line) || ISSEP(*line, dashed_option))) in parseconfig()
161 while(*line && !ISSPACE(*line)) in parseconfig()
170 while(*line && ISSPACE(*line)) in parseconfig()
269 while(*line && (*line != '\"')) { in unslashquote()
272 line++; in unslashquote()
[all …]
H A Dvar.c223 result = curlx_dyn_addn(out, line, envp - line - 1); in varexpand()
259 result = curlx_dyn_addn(out, line, clp - line + prefix); in varexpand()
265 result = curlx_dyn_addn(out, line, envp - prefix - line); in varexpand()
326 line = &clp[2]; in varexpand()
393 line++; in setvariable()
395 name = line; in setvariable()
396 while(*line && (ISALNUM(*line) || (*line == '_'))) in setvariable()
397 line++; in setvariable()
406 if(*line) { in setvariable()
430 line++; in setvariable()
[all …]
/curl/scripts/
H A Dchecksrc.pl179 if($skiplist{$line}) {
213 print " $line\n";
325 my ($what, $line, $file, $l) = @_;
338 my ($cmd, $line, $file, $l) = @_;
373 $ignore_set{$warn}=$line;
374 $ignore_line[$line]=$l;
397 my $line = 1;
426 $line = $1;
436 line => $line,
446 line => $line,
[all …]
H A Dcd2nroff206 my $line;
228 $line++;
297 print STDERR "$f:$line:1:ERROR: no 'Title:' in $f\n";
301 print STDERR "$f:$line:1:ERROR: no 'Section:' in $f\n";
305 print STDERR "$f:$line:1:ERROR: no 'Source:' in $f\n";
309 print STDERR "$f:$line:1:ERROR: no 'Added-in:' in $f\n";
317 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
363 print STDERR "$f:$line:1:ERROR: no header present\n";
378 $line++;
419 print STDERR "$f:$line:1:ERROR: un-escaped < or > used\n";
[all …]
H A Dcijobs.pl59 my $line = 1;
163 my $line = 1;
215 $line++;
229 my $line=0;
234 $line++;
287 my $line=0;
293 $line++;
340 my $line=0;
347 $line++;
409 my $line=0;
[all …]
H A Dcd2cd86 my $line = 0;
90 $line++;
115 print STDERR "$f:$line:1:ERROR: bad See-Also, needs list\n";
145 print STDERR "$f:$line:1:ERROR: no 'See-also:' present\n";
149 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
153 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
165 print STDERR "$f:$line:1:ERROR: no header present\n";
189 $line++;
200 print STDERR "$f:$line:1:WARN: excessive line length\n";
H A Dmanagen103 for(@line) {
116 for(@line) {
133 for(@line) {
148 my @line;
158 push @line, $e;
291 $line++;
510 my $line;
518 $line++;
877 my $line = 0;
879 $line++;
[all …]
/curl/tests/unit/
H A Dunit3200.c93 char *line; variable
108 line = Curl_dyn_ptr(&buf);
109 fail_unless(line && !strcmp("LINE1\n", line),
112 line = Curl_dyn_ptr(&buf);
113 fail_unless(line && !strcmp("LINE2 NEWLINE\n", line),
121 fail_unless(line && !strcmp("LINE1\n", line),
125 fail_unless(line && !strcmp("LINE2 NONEWLINE\n", line),
133 fail_unless(line && !strcmp("LINE1\n", line),
142 fail_unless(line && !strcmp("LINE1\n", line),
151 fail_unless(line && !strcmp("LINE1\n", line),
[all …]
/curl/lib/
H A Dmemdebug.c115 source, line, func); in countcheck()
118 source, line, func); in countcheck()
140 if(countcheck("malloc", line, source)) in curl_dbg_malloc()
168 if(countcheck("calloc", line, source)) in curl_dbg_calloc()
195 if(countcheck("strdup", line, source)) in curl_dbg_strdup()
220 if(countcheck("wcsdup", line, source)) in curl_dbg_wcsdup()
316 source, line, sockfd); in curl_dbg_socket()
327 if(countcheck("send", line, source)) in curl_dbg_send()
341 if(countcheck("recv", line, source)) in curl_dbg_recv()
376 source, line, sockfd); in curl_dbg_accept()
[all …]
H A Dmemdebug.h56 int line,
62 int line,
64 CURL_EXTERN void curl_dbg_free(void *ptr, int line, const char *source);
65 CURL_EXTERN ALLOC_FUNC char *curl_dbg_strdup(const char *str, int line,
69 int line,
79 int line, const char *source);
81 int line, const char *source);
83 int line, const char *source);
85 int line, const char *source);
89 int line, const char *source);
[all …]
H A Dhttp1.c62 DEBUGASSERT(parser->line); in trim_line()
90 DEBUGASSERT(!parser->line); in detect_line()
96 parser->line = buf; in detect_line()
108 if(parser->line) { in next_line()
109 parser->line = NULL; in next_line()
148 if(!p || p == parser->line) in start_req()
151 m = parser->line; in start_req()
152 m_len = p - parser->line; in start_req()
159 if(parser->line[i] == ' ') { in start_req()
160 hv = &parser->line[i + 1]; in start_req()
[all …]
/curl/lib/vtls/
H A Dkeylog.c101 if(!keylog_file_fp || !line) { in Curl_tls_keylog_write_line()
105 linelen = strlen(line); in Curl_tls_keylog_write_line()
111 memcpy(buf, line, linelen); in Curl_tls_keylog_write_line()
112 if(line[linelen - 1] != '\n') { in Curl_tls_keylog_write_line()
143 memcpy(line, label, pos); in Curl_tls_keylog_write()
144 line[pos++] = ' '; in Curl_tls_keylog_write()
151 line[pos++] = ' '; in Curl_tls_keylog_write()
155 line[pos++] = hex[secret[i] >> 4]; in Curl_tls_keylog_write()
158 line[pos++] = '\n'; in Curl_tls_keylog_write()
159 line[pos] = '\0'; in Curl_tls_keylog_write()
[all …]
/curl/tests/
H A Dtest1173.pl102 my ($f, $sec, $file, $line)=@_;
147 my $line = 1;
178 push @sepline, $line;
179 checkref($1, $2, $file, $line);
189 push @sepline, $line;
193 push @sepline, $line;
215 $shline{$n} = $line;
232 checkref($2, $4, $file, $line);
250 print STDERR "$file:$line unrefed curl call: $2\n";
269 print STDERR "$file:$line trailing whitespace\n";
[all …]
H A Dtest1275.pl52 my $line = $_;
53 chomp $line;
55 if(($l == 1) && ($line =~ /^---/)) {
61 if($line !~ /^---/) {
67 if($line =~ /^(\`\`\`|\~\~\~)/) {
72 if(($prevl =~ /\.\z/) && ($line =~ /^( *)([a-z][A-Za-z-]*)/)) {
78 print STDERR "$line\n";
84 elsif($line =~ /^(.*)\. +([a-z-]+)/) {
100 print STDERR "$line\n";
107 $prevl = $line;
H A Dtest1222.pl56 my $line = "";
71 if($line ne "") {
74 $line = "";
92 $line = $_;
99 $line = $_;
108 $line = $_;
120 $line = $_;
150 my $line = "";
163 $line = "";
177 $line .= $_;
[all …]
H A Dtest1140.pl61 my $line = 1;
68 print "error: $f:$line: double-highlight\n";
72 print "error: $f:$line: missing \\fP after $str\n";
79 print "error: $f:$line: referring to non-existing manpage $man\n";
83 print "error: $f:$line: use \\fI before $str\n";
89 print "error: $f:$line: non-referencing $1\n";
98 print "error: $f:$line: referring to non-existing manpage $man\n";
103 $line++;
H A Dtest1477.pl47 my $line = 0;
49 $line++;
57 $wherefrom{$name}="$file:$line";
67 my $line = 0;
69 $line++;
73 $manfrom{$name}="$file:$line";
H A Dtest1544.pl41 my $line = "";
56 if($line ne "") {
58 $_ = "$line $1";
59 $line = "";
62 $line = "$1 ";
81 $line = $_;
H A Ddevtest.pl77 my $line = $_;
80 $line =~ s/\r?\n$/\r\n/g;
82 print "$line";
91 my ($line)=@_;
93 @protocols = split(' ', lc($line));
H A Dmk-bundle.pl124 while(my $line = <$fh>) {
125 chomp $line;
126 if($line =~ /([a-z0-9]+)_SOURCES\ =\ ([a-z0-9]+)\.c/) {
/curl/tests/http/
H A Dtest_15_tracing.py58 for line in r.trace_lines:
59 m = re.match(r'^\[0-[0x]] .+', line)
71 for line in r.trace_lines:
72 m = re.match(r'^([0-9:.]+) \[0-[0x]] .+', line)
85 for line in r.trace_lines:
86 m = re.match(r'^([0-9:.]+) \[0-[0x]] .+', line)
89 m = re.match(r'^([0-9:.]+) \[0-[0x]] . \[TCP].+', line)
104 for line in r.trace_lines:
105 m = re.match(r'^\[0-[0x]] .+', line)
108 m = re.match(r'^\[0-[0x]] . \[TCP].+', line)
H A Dtest_19_shutdown.py100 shutdowns = [line for line in r.trace_lines
101 if re.match(r'.*CCACHE\] shutdown #\d+, done=1', line)]
123 shutdowns = [line for line in r.trace_lines
124 if re.match(r'.*CCACHE\] shutdown #\d+, done=1', line)]
148 closings = [line for line in r.trace_lines
149 if re.match(r'.*CCACHE\] closing #\d+', line)]
152 removes = [line for line in r.trace_lines
153 if re.match(r'.*socket cb: socket \d+ REMOVED', line)]
173 shutdowns = [line for line in r.trace_lines
174 if re.match(r'.*CCACHE\] shutdown #\d+, done=1', line)]
/curl/tests/data/
H A Dtest58613 line 1
14 line 2
15 last line
20 line 1
21 line 2
22 last line
H A Dtest32619 line 1
20 line 2
21 line 3
29 line 1
30 line 2
31 line 3
/curl/.github/scripts/
H A Dcmp-config.pl93 my ($line) = @_;
94 if(!$remove{$line}) {
95 return "$line\n";
97 $remove{$line}++;

Completed in 35 milliseconds

12345678910>>...12