Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/curl/tests/unit/
H A Dunit1395.c27 extern int dedotdotify(const char *input, size_t clen, char **out);
81 char *out; variable
82 int err = dedotdotify(pairs[i].input, strlen(pairs[i].input), &out);
84 abort_if(err && out, "returned error with output");
86 if(out && pairs[i].output && strcmp(out, pairs[i].output)) {
88 i, pairs[i].input, out, pairs[i].output);
92 else if((!out && pairs[i].output) ||
93 (out && !pairs[i].output)) {
95 i, pairs[i].input, out ? out : "(null)",
102 free(out);
H A Dunit1396.c46 const char *out; member
88 char *out = curl_easy_unescape(hnd, variable
92 abort_unless(out != NULL, "returned NULL!");
94 fail_unless(!memcmp(out, list1[i].out, list1[i].outlen),
99 curl_free(out);
104 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen); variable
105 abort_unless(out != NULL, "returned NULL!");
107 outlen = (int)strlen(out);
109 fail_unless(!memcmp(out, list2[i].out, list2[i].outlen),
112 printf("curl_easy_escape test %d DONE (%s)\n", i, out);
[all …]
/curl/src/
H A Dtool_writeout_json.c54 result = curlx_dyn_addn(out, "\\b", 2); in jsonquoted()
57 result = curlx_dyn_addn(out, "\\f", 2); in jsonquoted()
60 result = curlx_dyn_addn(out, "\\n", 2); in jsonquoted()
63 result = curlx_dyn_addn(out, "\\r", 2); in jsonquoted()
66 result = curlx_dyn_addn(out, "\\t", 2); in jsonquoted()
76 result = curlx_dyn_addn(out, &o, 1); in jsonquoted()
88 struct curlx_dynbuf out; in jsonWriteString() local
89 curlx_dyn_init(&out, MAX_JSON_STRING); in jsonWriteString()
93 if(curlx_dyn_len(&out)) in jsonWriteString()
94 fputs(curlx_dyn_ptr(&out), stream); in jsonWriteString()
[all …]
H A Dmkhelp.pl31 push @out, " _ _ ____ _\n";
32 push @out, " ___| | | | _ \\| |\n";
33 push @out, " / __| | | | |_) | |\n";
34 push @out, " | (__| |_| | _ <| |___\n";
35 push @out, " \\___|\\___/|_| \\_\\_____|\n";
39 push @out, $line;
66 my $content = join("", @out);
204 for my $n (@out) {
H A Dtool_easysrc.c178 FILE *out; in dumpeasysrc() local
181 out = fopen(o, FOPEN_WRITETEXT); in dumpeasysrc()
185 out = stdout; in dumpeasysrc()
186 if(!out) in dumpeasysrc()
193 fprintf(out, "%s\n", c); in dumpeasysrc()
198 fprintf(out, " %s\n", ptr->data); in dumpeasysrc()
203 fprintf(out, "\n"); in dumpeasysrc()
209 fprintf(out, "\n"); in dumpeasysrc()
216 fprintf(out, "\n"); in dumpeasysrc()
227 fprintf(out, "%s\n", c); in dumpeasysrc()
[all …]
H A Dvar.c128 curlx_dyn_reset(out); in varfunc()
129 if(curlx_dyn_addn(out, c, len)) { in varfunc()
136 curlx_dyn_reset(out); in varfunc()
146 curlx_dyn_reset(out); in varfunc()
155 if(curlx_dyn_add(out, enc)) in varfunc()
164 curlx_dyn_reset(out); in varfunc()
192 clen = curlx_dyn_len(out); in varfunc()
193 c = Memdup(curlx_dyn_ptr(out), clen); in varfunc()
203 curlx_dyn_free(out); in varfunc()
332 result = curlx_dyn_add(out, line); in varexpand()
[all …]
/curl/.github/scripts/
H A Dtrimmarkdownheader.pl14 my @out;
24 push @out, "\n"; # replace with blank
30 push @out, "\n"; # replace with blank
33 push @out, $_;
38 for my $l (@out) {
H A Dcleancmd.pl30 my @out;
46 push @out, $_;
52 print O @out;
/curl/scripts/
H A Dfirefox-db2pem.sh36 out="${1:-}"
38 if test -z "$out"; then
39 out="ca-bundle.crt" # use a sensible default
44 cat > "$out" <<EOF
61 done >> "$out"
/curl/tests/
H A Dtest1135.pl75 my @out;
86 push(@out, "$1");
100 push(@out, "$1");
109 @out = sort(@out);
112 foreach (@out) {
/curl/lib/vauth/
H A Dvauth.h79 struct bufref *out);
82 void Curl_auth_create_login_message(const char *value, struct bufref *out);
92 struct bufref *out);
103 struct bufref *out);
137 struct bufref *out);
154 struct bufref *out);
166 struct bufref *out);
177 struct bufref *out);
182 struct bufref *out);
198 struct bufref *out);
[all …]
H A Dcleartext.c65 struct bufref *out) in Curl_auth_create_plain_message() argument
95 Curl_bufref_set(out, plainauth, plainlen, curl_free); in Curl_auth_create_plain_message()
112 void Curl_auth_create_login_message(const char *valuep, struct bufref *out) in Curl_auth_create_login_message() argument
114 Curl_bufref_set(out, valuep, strlen(valuep), NULL); in Curl_auth_create_login_message()
131 struct bufref *out) in Curl_auth_create_external_message() argument
134 Curl_auth_create_login_message(user, out); in Curl_auth_create_external_message()
H A Doauth2.c64 struct bufref *out) in Curl_auth_create_oauth_bearer_message() argument
78 Curl_bufref_set(out, oauth, strlen(oauth), curl_free); in Curl_auth_create_oauth_bearer_message()
98 struct bufref *out) in Curl_auth_create_xoauth_bearer_message() argument
105 Curl_bufref_set(out, xoauth, strlen(xoauth), curl_free); in Curl_auth_create_xoauth_bearer_message()
/curl/docs/examples/
H A Dftpget.c40 struct FtpFile *out = (struct FtpFile *)stream; in my_fwrite() local
41 if(!out->stream) { in my_fwrite()
43 out->stream = fopen(out->filename, "wb"); in my_fwrite()
44 if(!out->stream) in my_fwrite()
47 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
H A Dftpsget.c42 struct FtpFile *out = (struct FtpFile *)stream; in my_fwrite() local
43 if(!out->stream) { in my_fwrite()
45 out->stream = fopen(out->filename, "wb"); in my_fwrite()
46 if(!out->stream) in my_fwrite()
49 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
H A Dsftpget.c51 struct FtpFile *out = (struct FtpFile *)stream; in my_fwrite() local
52 if(!out->stream) { in my_fwrite()
54 out->stream = fopen(out->filename, "wb"); in my_fwrite()
55 if(!out->stream) in my_fwrite()
58 return fwrite(buffer, size, nmemb, out->stream); in my_fwrite()
/curl/lib/
H A Dc-hyper.c540 out: in Curl_hyper_stream()
671 goto out; in uploadstreamed()
675 goto out; in uploadstreamed()
711 out: in uploadstreamed()
848 goto out; in Curl_http()
855 goto out; in Curl_http()
862 goto out; in Curl_http()
887 goto out; in Curl_http()
891 goto out; in Curl_http()
895 goto out; in Curl_http()
[all …]
H A Descape.c86 char out[3]={'%'}; in curl_easy_escape() local
87 out[1] = hex[in >> 4]; in curl_easy_escape()
88 out[2] = hex[in & 0xf]; in curl_easy_escape()
89 if(Curl_dyn_addn(&d, out, 3)) in curl_easy_escape()
220 unsigned char *out, size_t olen) /* output buffer size */ in Curl_hexencode() argument
228 *out++ = (unsigned char)hex[(*src & 0xF0) >> 4]; in Curl_hexencode()
229 *out++ = (unsigned char)hex[*src & 0x0F]; in Curl_hexencode()
233 *out = 0; in Curl_hexencode()
236 *out = 0; in Curl_hexencode()
H A Didn.c110 *out = strdup(buffer); in mac_idn_to_ascii()
111 if(*out) in mac_idn_to_ascii()
138 *out = strdup(buffer); in mac_ascii_to_idn()
139 if(*out) in mac_ascii_to_idn()
172 *out = NULL; in win32_idn_to_ascii()
181 *out = strdup(mstr); in win32_idn_to_ascii()
183 if(!*out) in win32_idn_to_ascii()
200 char *out = NULL; in win32_ascii_to_idn() local
211 out = strdup(mstr); in win32_ascii_to_idn()
213 if(!out) in win32_ascii_to_idn()
[all …]
H A Dhttp1.c149 goto out; in start_req()
168 goto out; in start_req()
215 goto out; in start_req()
225 goto out; in start_req()
240 goto out; in start_req()
256 out: in start_req()
276 goto out; in Curl_h1_req_parse_read()
317 out: in Curl_h1_req_parse_read()
334 goto out; in Curl_h1_req_write_head()
338 goto out; in Curl_h1_req_write_head()
[all …]
H A Dhttp_proxy.c98 goto out; in Curl_http_proxy_create_CONNECT()
104 goto out; in Curl_http_proxy_create_CONNECT()
111 goto out; in Curl_http_proxy_create_CONNECT()
117 goto out; in Curl_http_proxy_create_CONNECT()
124 goto out; in Curl_http_proxy_create_CONNECT()
131 goto out; in Curl_http_proxy_create_CONNECT()
151 out: in Curl_http_proxy_create_CONNECT()
234 out: in http_proxy_cf_connect()
324 goto out; in Curl_cf_http_proxy_insert_after()
328 goto out; in Curl_cf_http_proxy_insert_after()
[all …]
H A Drtsp.c314 goto out; in rtsp_do()
325 goto out; in rtsp_do()
397 goto out; in rtsp_do()
434 goto out; in rtsp_do()
439 goto out; in rtsp_do()
448 goto out; in rtsp_do()
489 goto out; in rtsp_do()
499 goto out; in rtsp_do()
599 out: in rtsp_do()
785 out: in rtsp_filter_rtp()
[all …]
/curl/lib/vssh/
H A Dcurl_path.c127 struct dynbuf out; in Curl_get_pathname() local
136 Curl_dyn_init(&out, MAX_PATHLENGTH); in Curl_get_pathname()
161 result = Curl_dyn_addn(&out, &cp[i], 1); in Curl_get_pathname()
166 if(!Curl_dyn_len(&out)) in Curl_get_pathname()
183 result = Curl_dyn_add(&out, homedir); in Curl_get_pathname()
185 result = Curl_dyn_addn(&out, "/", 1); in Curl_get_pathname()
191 result = Curl_dyn_addn(&out, cp, (end - cp)); in Curl_get_pathname()
195 *path = Curl_dyn_ptr(&out); in Curl_get_pathname()
199 Curl_dyn_free(&out); in Curl_get_pathname()
/curl/tests/certs/scripts/
H A Dgenserv.sh90 "$OPENSSL" dhparam -2 -out "$PREFIX-sv.dhp" "$KEYSIZE"
93 …"$OPENSSL" req -config "$PREFIX-sv.prm" -newkey "rsa:$KEYSIZE" -keyout "$PREFIX-sv.key" -out "$PRE…
98 "$OPENSSL" rsa -in "$PREFIX-sv.key" -out "$PREFIX-sv.key" -passin fd:0 <<EOF
104 "$OPENSSL" rsa -in "$PREFIX-sv.key" -pubout -outform DER -out "$PREFIX-sv.pub.der"
105 "$OPENSSL" rsa -in "$PREFIX-sv.key" -pubout -outform PEM -out "$PREFIX-sv.pub.pem"
109 …"$OPENSSL" pkcs12 -export -des3 -out "$PREFIX-sv.p12" -caname "$CAPREFIX" -name "$PREFIX" -inkey "…
120 "$OPENSSL" ca -config "$CAPREFIX-ca.cnf" -gencrl -out "$PREFIX-sv.crl"
122 "$OPENSSL" x509 -in "$PREFIX-sv.crt" -outform der -out "$PREFIX-sv.der"
/curl/lib/vtls/
H A Dx509asn1.c946 struct dynbuf out; in do_pubkey_field() local
1082 struct dynbuf out; in Curl_extract_certinfo() local
1108 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1119 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1144 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1157 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1168 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1179 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1199 Curl_dyn_reset(&out); in Curl_extract_certinfo()
1210 Curl_dyn_reset(&out); in Curl_extract_certinfo()
[all …]

Completed in 79 milliseconds

12345678910>>...13