Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 561) sorted by relevance

12345678910>>...23

/curl/lib/
H A Ddynbuf.c61 s->leng = s->allc = 0; in Curl_dyn_free()
78 DEBUGASSERT(!s->leng || s->bufr); in dyn_nappend()
119 s->bufr[s->leng] = 0; in dyn_nappend()
131 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_reset()
145 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_tail()
154 memmove(&s->bufr[0], &s->bufr[s->leng - trail], trail); in Curl_dyn_tail()
156 s->bufr[s->leng] = 0; in Curl_dyn_tail()
169 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_addn()
182 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_add()
196 DEBUGASSERT(!s->leng || s->bufr); in Curl_dyn_vaddf()
[all …]
H A Ddynbuf.h57 void Curl_dyn_init(struct dynbuf *s, size_t toobig);
58 void Curl_dyn_free(struct dynbuf *s);
59 CURLcode Curl_dyn_addn(struct dynbuf *s, const void *mem, size_t len)
61 CURLcode Curl_dyn_add(struct dynbuf *s, const char *str)
63 CURLcode Curl_dyn_addf(struct dynbuf *s, const char *fmt, ...)
67 void Curl_dyn_reset(struct dynbuf *s);
68 CURLcode Curl_dyn_tail(struct dynbuf *s, size_t trail);
69 CURLcode Curl_dyn_setlen(struct dynbuf *s, size_t set);
70 char *Curl_dyn_ptr(const struct dynbuf *s);
71 unsigned char *Curl_dyn_uptr(const struct dynbuf *s);
[all …]
H A Dcurl_fnmatch.c277 if(!*s++) in loop()
284 for(maxstars--; *s; s++) { in loop()
290 if(!*s) in loop()
292 s++; in loop()
300 if(*s++ != *p++) in loop()
307 if(!*s) in loop()
312 found = ISALNUM(*s); in loop()
314 found = ISALPHA(*s); in loop()
316 found = ISDIGIT(*s); in loop()
338 s++; in loop()
[all …]
H A Doptiontable.pl126 $o = sprintf(" {\"%s\", %s, %s, %s},\n",
132 printf(" {\"%s\", %s,\n %s, %s},\n",
/curl/tests/
H A Dtest1165.pl142 if(!$file{$s}) {
143 printf "Present in configure.ac, not used by code: %s\n", $s;
146 if(!$docs{$s}) {
154 if(!$file{$s}) {
158 if(!$docs{$s}) {
175 printf "Not set by configure: %s (%s)\n", $s, $file{$s};
179 printf "Not set by CMakeLists.txt: %s (%s)\n", $s, $file{$s};
183 printf "Used in code, not documented in $DOCS: %s\n", $s;
191 printf "Documented but not in configure: %s\n", $s;
195 printf "Documented but not in CMakeLists.txt: %s\n", $s;
[all …]
H A Dtest1488.pl103 open my $s, "<", "$root/docs/libcurl/symbols-in-versions";
104 while(<$s>) {
113 close $s;
120 printf "%s.md says version %s, but SIV says %s\n",
H A Dtestutil.pm213 my ($s)=@_;
215 $s = '"' . $s . '"';
218 if($s !~ m/^[-+=.,_\/:a-zA-Z0-9]+$/) {
220 $s =~ s/'/'"'"'/g;
221 $s = "'" . $s . "'";
224 return $s;
/curl/docs/
H A DTHANKS-filter33 s/Andres Garcia/Andrés García/
42 s/Pete Su$/Peter Su/
46 s/Karl M$/Karl Moerder/
58 s/IT DOES NOT WORK//
72 s/tetetest tetetest//
81 s/Jan-E/Jan Ehrhardt/
89 s/upstream tests 305//
90 s/ (edited)//
137 s/GitHub$//
148 s/\#14922//
[all …]
/curl/tests/libtest/
H A Dlib543.c51 if(s) { in test()
52 printf("%s\n", s); in test()
53 curl_free(s); in test()
56 s = curl_easy_escape(easy, "", 0); in test()
57 if(s) { in test()
58 printf("IN: '' OUT: '%s'\n", s); in test()
59 curl_free(s); in test()
61 s = curl_easy_escape(easy, " 123", 3); in test()
62 if(s) { in test()
63 printf("IN: ' 12' OUT: '%s'\n", s); in test()
[all …]
H A Dtest613.pl124 … my $line = sprintf("%s%s?%s?%s?%5d U U %15d %s %s\n", $1,$u,$g,$o,$5,$6,$7,$8);
H A Dmk-lib1521.pl246 printf("%s set to 0 returned %d, \\"%s\\" on line %d\\n",
253 printf("%s set to non-zero returned %d, \\"%s\\" on line %d\\n",
262 printf("%s set to a string returned %d, \\"%s\\" on line %d\\n",
268 printf("%s returned %d, \\"%s\\" on line %d\\n",
274 printf("%s set to NULL returned %d, \\"%s\\" on line %d\\n",
280 printf("CURLINFO_%s returned %d, \\"%s\\" on line %d\\n",
/curl/tests/http/
H A Dtest_16_info.py65 for idx, s in enumerate(r.stats):
118 self.check_stat_times(s, idx)
125 assert s['size_request'] >= s['size_upload'], \
134 def check_stat_zero(self, s, key): argument
138 def check_stat_times(self, s, idx): argument
140 url = s['url_effective']
148 if s['num_connects'] > 0:
152 if s['num_redirects'] > 0:
162 assert s[key] < s['time_pretransfer'], f'time "{key}" larger than' \
165 assert s['time_pretransfer'] <= s['time_starttransfer'], f'"time_pretransfer" '\
[all …]
/curl/packages/OS400/
H A Dccsidcurl.c263 if(s) in curl_to_ccsid()
264 s = dynconvert(ccsid, s, -1, ASCII_CCSID); in curl_to_ccsid()
272 if(s) in curl_from_ccsid()
273 s = dynconvert(ASCII_CCSID, s, -1, ccsid); in curl_from_ccsid()
299 if(!s) in curl_easy_escape_ccsid()
329 if(!s) in curl_easy_unescape_ccsid()
361 if(!s) in curl_slist_append_ccsid()
381 if(!s) in curl_getdate_ccsid()
1341 if(s) in curl_pushheader_bynum_cssid()
1458 if(s) in curl_url_get_ccsid()
[all …]
/curl/tests/http/testenv/
H A Dports.py39 s = socket.socket(type=ptype)
40 s.bind(('', 0))
41 ports[name] = s.getsockname()[1]
42 socks.append(s)
45 for s in socks:
46 s.close()
/curl/src/
H A Dtool_doswin.c326 if(s[0] >= 'A' && s[0] <= 'z' && s[1] == ':') { in msdosify()
327 *d++ = *s++; in msdosify()
329 ++d; ++s; in msdosify()
332 for(idx = 0, dot_idx = -1; *s && d < dlimit; s++, d++) { in msdosify()
346 (s[1] == '/' || s[1] == '\\' || in msdosify()
347 (s[1] == '.' && (s[2] == '/' || s[2] == '\\')))) { in msdosify()
375 else if(*s == '+' && s[1] == '+') { in msdosify()
395 s++; in msdosify()
402 *d = *s; in msdosify()
403 if(*s == '/' || *s == '\\') { in msdosify()
[all …]
/curl/tests/data/
H A Dtest133039 s/ =.*//
40 s/\(.*\)/()/
41 s/:\d+/:/
42 s:^(MEM )(.*/)(.*):$1$3:
43 s/\r\n/\n/
44 s/^MEM getenv.c: realloc\(\)[\n]$//
45 s/^MEM getenv.c: free\(\)[\n]$//
H A Dtest55848 s/^MEM escape.c:\d+ free\(\(nil\)\)[\n]$//
49 s/ =.*//
50 s/\(.*\)/()/
51 s/:\d+/:/
52 s:^(MEM |FD )(.*/)(.*):$1$3:
53 s/\r\n/\n/
54 s/^MEM getenv.c: realloc\(\)[\n]$//
55 s/^MEM getenv.c: free\(\)[\n]$//
/curl/scripts/
H A Dnroff2cd139 for my $s (split(/,/, $word)) {
141 $s =~ s/\"//g;
143 $s =~ s/^ +//g;
144 push @seealso, $s;
183 for my $s (sort @seealso) {
184 print " - $s\n" if($s);
H A Dciconfig.pl165 printf " %s: %d %d%s\n", $w, $with{$w}, $without{$w},
172 printf " %s%s\n", $w,
180 printf " %s\n", $w;
188 printf " %s\n", $w;
H A Dcd2nroff91 for my $s (sort @sa) {
92 push @o, sprintf "%s.BR $s", $comma ? ",\n": "";
109 my @s = sort @p;
111 for my $e (sort @s) {
112 push @o, sprintf "%s%s",
113 $comma ? (($e eq $s[-1]) ? " and " : ", "): "",
118 if($s[0] eq "All") {
139 my @s = sort @t;
140 for my $e (@s) {
141 push @o, sprintf "%s$e",
[all …]
/curl/docs/examples/
H A Devhiperfifo.c137 const char *s; in mcode_or_die() local
140 s = "CURLM_BAD_HANDLE"; in mcode_or_die()
155 s = "CURLM_LAST"; in mcode_or_die()
158 s = "CURLM_unknown"; in mcode_or_die()
161 s = "CURLM_BAD_SOCKET"; in mcode_or_die()
255 f->sockfd = s; in setsock()
297 addsock(s, e, what, g); in sock_cb()
374 char s[1024]; in fifo_cb() local
380 s[0]='\0'; in fifo_cb()
382 s[n]='\0'; in fifo_cb()
[all …]
H A Dhiperfifo.c115 case code: s = __STRING(code)
121 const char *s; in mcode_or_die() local
256 f->sockfd = s; in setsock()
274 setsock(fdp, s, easy, action, g); in addsock()
294 addsock(s, e, what, g); in sock_cb()
300 setsock(fdp, s, e, what, g); in sock_cb()
368 char s[1024]; in fifo_cb() local
376 s[0]='\0'; in fifo_cb()
378 s[n]='\0'; in fifo_cb()
379 if(n && s[0]) { in fifo_cb()
[all …]
H A Dghiper.c102 const char *s; in mcode_or_die() local
111 default: s = "CURLM_unknown"; in mcode_or_die()
113 MSG_OUT("ERROR: %s returns %s\n", where, s); in mcode_or_die()
219 static void setsock(SockInfo *f, curl_socket_t s, CURL *e, int act, in setsock() argument
226 f->sockfd = s; in setsock()
241 fdp->ch = g_io_channel_unix_new(s); in addsock()
242 setsock(fdp, s, easy, action, g); in addsock()
243 curl_multi_assign(g->multi, s, fdp); in addsock()
253 MSG_OUT("socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb()
263 addsock(s, e, what, g); in sock_cb()
[all …]
H A Dversion-check.pl66 my @s=split(/\./, $ver);
67 return $s[0]*10000+$s[1]*100+$s[2];
/curl/lib/vquic/
H A Dcurl_osslq.c232 if(!s->ssl) { in cf_osslq_stream_open()
235 s->id = (curl_int64_t)SSL_get_stream_id(s->ssl); in cf_osslq_stream_open()
242 if(s->ssl) { in cf_osslq_stream_cleanup()
247 memset(s, 0, sizeof(*s)); in cf_osslq_stream_cleanup()
252 if(s->ssl) { in cf_osslq_stream_close()
1316 if(s->closed) in cf_osslq_stream_recv()
1321 x.s = s; in cf_osslq_stream_recv()
1322 while(s->ssl && !s->closed && !eagain && in cf_osslq_stream_recv()
1324 if(Curl_bufq_is_empty(&s->recvbuf) && !s->recvd_eos) { in cf_osslq_stream_recv()
1361 if(Curl_bufq_is_empty(&s->recvbuf) && !s->closed) { in cf_osslq_stream_recv()
[all …]

Completed in 70 milliseconds

12345678910>>...23