/external/curl/tests/libtest/ |
D | lib572.c | 65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 67 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 69 test_setopt(curl, CURLOPT_URL, URL); in test() 76 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 80 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test() 81 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 90 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 105 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test() 107 test_setopt(curl, CURLOPT_READDATA, paramsf); in test() [all …]
|
D | lib568.c | 64 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 65 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 67 test_setopt(curl, CURLOPT_URL, URL); in test() 73 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 87 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test() 89 test_setopt(curl, CURLOPT_READDATA, sdpf); in test() 90 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 91 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test() 98 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test() 107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
D | lib1525.c | 71 test_setopt(curl, CURLOPT_URL, URL); in test() 72 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 73 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 74 test_setopt(curl, CURLOPT_PROXYHEADER, hhl); in test() 75 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_UNIFIED); in test() 76 test_setopt(curl, CURLOPT_POST, 0L); in test() 77 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 78 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 79 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 80 test_setopt(curl, CURLOPT_HEADER, 1L); in test() [all …]
|
D | lib1526.c | 74 test_setopt(curl, CURLOPT_URL, URL); in test() 75 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 76 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 77 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 78 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test() 79 test_setopt(curl, CURLOPT_POST, 0L); in test() 80 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 81 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 82 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 83 test_setopt(curl, CURLOPT_HEADER, 1L); in test() [all …]
|
D | lib1527.c | 74 test_setopt(curl, CURLOPT_URL, URL); in test() 75 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 76 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 77 test_setopt(curl, CURLOPT_POST, 0L); in test() 78 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 79 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 80 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 81 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 82 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test() 83 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() [all …]
|
D | lib547.c | 99 test_setopt(curl, CURLOPT_URL, URL); in test() 100 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 101 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 104 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS); in test() 107 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test() 108 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test() 109 test_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test() 110 test_setopt(curl, CURLOPT_READDATA, &counter); in test() 112 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS)); in test() 114 test_setopt(curl, CURLOPT_POST, 1L); in test() [all …]
|
D | lib570.c | 49 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 50 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 51 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 53 test_setopt(curl, CURLOPT_URL, URL); in test() 55 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test() 61 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 72 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L); in test() 73 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test() 75 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 81 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
D | lib579.c | 115 test_setopt(curl, CURLOPT_URL, URL); in test() 118 test_setopt(curl, CURLOPT_POST, 1L); in test() 122 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 126 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 129 test_setopt(curl, CURLOPT_READDATA, &pooh); in test() 132 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 135 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 138 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 140 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test() 141 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test() [all …]
|
D | lib571.c | 125 test_setopt(curl, CURLOPT_URL, URL); in test() 131 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 135 test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write); in test() 136 test_setopt(curl, CURLOPT_TIMEOUT, 3L); in test() 137 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 138 test_setopt(curl, CURLOPT_WRITEDATA, protofile); in test() 140 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "RTP/AVP/TCP;interleaved=0-1"); in test() 141 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 152 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 155 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY); in test() [all …]
|
D | lib598.c | 42 test_setopt(curl, CURLOPT_URL, URL); in test() 43 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 44 test_setopt(curl, CURLOPT_REFERER, "http://example.com/the-moo"); in test() 45 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation"); in test() 46 test_setopt(curl, CURLOPT_COOKIE, "name=moo"); in test() 47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 57 test_setopt(curl, CURLOPT_URL, URL); in test() 58 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
|
D | lib569.c | 63 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 64 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 65 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 67 test_setopt(curl, CURLOPT_URL, URL); in test() 69 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 84 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 88 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 89 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Fake/NotReal/JustATest;foo=baz"); in test() 102 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 106 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN); in test() [all …]
|
D | lib510.c | 86 test_setopt(curl, CURLOPT_URL, URL); in test() 89 test_setopt(curl, CURLOPT_POST, 1L); in test() 93 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 97 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 100 test_setopt(curl, CURLOPT_READDATA, &pooh); in test() 103 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 106 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 109 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 112 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test() 113 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
|
D | lib578.c | 66 test_setopt(curl, CURLOPT_URL, URL); in test() 69 test_setopt(curl, CURLOPT_POST, 1L); in test() 73 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 77 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size); in test() 78 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test() 81 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test() 82 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); in test() 87 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 90 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib1528.c | 53 test_setopt(curl, CURLOPT_URL, URL); in test() 54 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 55 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 56 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 57 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test() 58 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 59 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 60 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib508.c | 72 test_setopt(curl, CURLOPT_URL, URL); in test() 75 test_setopt(curl, CURLOPT_POST, 1L); in test() 79 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 83 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); in test() 86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 89 test_setopt(curl, CURLOPT_READDATA, &pooh); in test() 92 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 95 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib514.c | 43 test_setopt(curl, CURLOPT_URL, URL); in test() 54 test_setopt(curl, CURLOPT_POSTFIELDS, "moo"); in test() 55 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 3L); in test() 56 test_setopt(curl, CURLOPT_POST, 1L); in test() 61 test_setopt(curl, CURLOPT_NOBODY, 1L); in test() 63 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */ in test() 64 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */ in test()
|
D | lib506.c | 239 test_setopt( curl, CURLOPT_SHARE, share ); in test() 241 test_setopt( curl, CURLOPT_COOKIELIST, in test() 245 test_setopt( curl, CURLOPT_COOKIELIST, "ALL" ); in test() 247 test_setopt( curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants" ); in test() 249 test_setopt( curl, CURLOPT_COOKIELIST, in test() 253 test_setopt( curl, CURLOPT_COOKIELIST, "SESS" ); in test() 287 test_setopt( curl, CURLOPT_HTTPHEADER, headers ); in test() 288 test_setopt( curl, CURLOPT_URL, url ); in test() 290 test_setopt( curl, CURLOPT_SHARE, share ); in test() 292 test_setopt( curl, CURLOPT_COOKIEJAR, JAR ); in test() [all …]
|
D | lib567.c | 47 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 48 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 50 test_setopt(curl, CURLOPT_URL, URL); in test() 51 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test() 52 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test() 53 test_setopt(curl, CURLOPT_USERAGENT, "test567"); in test() 56 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
|
D | lib513.c | 52 test_setopt(curl, CURLOPT_URL, URL); in test() 55 test_setopt(curl, CURLOPT_POST, 1L); in test() 58 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 1L); in test() 61 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 64 test_setopt(curl, CURLOPT_READDATA, NULL); in test() 67 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 70 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib552.c | 178 test_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace); in test() 179 test_setopt(curl, CURLOPT_DEBUGDATA, &config); in test() 181 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 188 test_setopt(curl, CURLOPT_POST, 1L); in test() 192 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 196 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof(databuf)); in test() 197 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 200 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); in test() 203 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctl_callback); in test() 205 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() [all …]
|
D | lib553.c | 91 test_setopt(curl, CURLOPT_URL, URL); in test() 92 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in test() 93 test_setopt(curl, CURLOPT_POST, 1L); in test() 96 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test() 98 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)POSTLEN); in test() 99 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 100 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 101 test_setopt(curl, CURLOPT_READFUNCTION, myreadfunc); in test()
|
D | lib1520.c | 95 test_setopt(curl, CURLOPT_URL, URL); in test() 96 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 97 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 98 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test() 99 test_setopt(curl, CURLOPT_MAIL_FROM, FROM); in test() 100 test_setopt(curl, CURLOPT_MAIL_RCPT, rcpt_list); in test() 101 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
|
D | lib599.c | 60 test_setopt(curl, CURLOPT_URL, URL); in test() 63 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test() 64 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); in test() 67 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 70 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in test() 73 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib539.c | 47 test_setopt(curl, CURLOPT_URL, URL); in test() 48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 49 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test() 77 test_setopt(curl, CURLOPT_URL, newURL); in test() 78 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test() 79 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
|
D | lib549.c | 47 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 48 test_setopt(curl, CURLOPT_URL, URL); in test() 49 test_setopt(curl, CURLOPT_PROXY_TRANSFER_MODE, 1L); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 53 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); in test()
|