/external/curl/tests/libtest/ |
D | lib661.c | 49 test_setopt(curl, CURLOPT_URL, newURL); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 51 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test() 52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test() 57 test_setopt(curl, CURLOPT_URL, newURL); in test() 72 test_setopt(curl, CURLOPT_URL, newURL); in test() 73 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 74 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test() 75 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test() 81 test_setopt(curl, CURLOPT_URL, newURL); in test() [all …]
|
D | lib572.c | 68 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 69 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 72 test_setopt(curl, CURLOPT_URL, URL); in test() 80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 84 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test() 85 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 95 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test() 112 test_setopt(curl, CURLOPT_READDATA, paramsf); in test() [all …]
|
D | lib568.c | 67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_URL, URL); in test() 77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test() 93 test_setopt(curl, CURLOPT_READDATA, sdpf); in test() 94 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 95 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test() 102 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test() 112 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
D | lib1525.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, hhl); in test() 78 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_UNIFIED); 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 | lib1526.c | 77 test_setopt(curl, CURLOPT_URL, URL); in test() 78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 80 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 81 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test() 82 test_setopt(curl, CURLOPT_POST, 0L); in test() 83 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 84 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 85 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 86 test_setopt(curl, CURLOPT_HEADER, 1L); in test() [all …]
|
D | lib1527.c | 77 test_setopt(curl, CURLOPT_URL, URL); in test() 78 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 79 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 80 test_setopt(curl, CURLOPT_POST, 0L); in test() 81 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 82 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 83 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 84 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 85 test_setopt(curl, CURLOPT_WRITEFUNCTION, fwrite); in test() 86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() [all …]
|
D | lib547.c | 95 test_setopt(curl, CURLOPT_URL, URL); in test() 96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 97 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 100 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS); in test() 104 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test() 105 test_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test() 107 test_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test() 108 test_setopt(curl, CURLOPT_READDATA, &counter); in test() 111 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS)); in test() 113 test_setopt(curl, CURLOPT_POST, 1L); in test() [all …]
|
D | lib570.c | 52 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 53 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 54 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 56 test_setopt(curl, CURLOPT_URL, URL); in test() 58 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test() 65 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 76 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L); in test() 77 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test() 79 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
D | lib1938.c | 49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 50 test_setopt(curl, CURLOPT_POST, 1L); in test() 51 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test() 52 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test() 53 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 54 test_setopt(curl, CURLOPT_URL, URL); in test() 58 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test() 60 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 61 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test() 62 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)sizeof(data)); in test()
|
D | lib571.c | 129 test_setopt(curl, CURLOPT_URL, URL); in test() 136 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 140 test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write); in test() 141 test_setopt(curl, CURLOPT_TIMEOUT, 3L); in test() 142 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 143 test_setopt(curl, CURLOPT_WRITEDATA, protofile); in test() 145 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "RTP/AVP/TCP;interleaved=0-1"); in test() 146 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 158 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 161 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY); in test() [all …]
|
D | lib3100.c | 44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 48 test_setopt(curl, CURLOPT_URL, URL); in test() 49 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL); in test() 51 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test() 52 test_setopt(curl, CURLOPT_USERNAME, "user"); in test() 53 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test() 54 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
|
D | lib598.c | 45 test_setopt(curl, CURLOPT_URL, URL); in test() 46 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 47 test_setopt(curl, CURLOPT_REFERER, "http://example.com/the-moo"); in test() 48 test_setopt(curl, CURLOPT_USERAGENT, "the-moo agent next generation"); in test() 49 test_setopt(curl, CURLOPT_COOKIE, "name=moo"); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_URL, URL); in test() 61 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 62 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
|
D | lib569.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() 71 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 87 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test() 92 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, in test() 107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 111 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN); in test() [all …]
|
D | lib1937.c | 48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 49 test_setopt(curl, CURLOPT_POST, 1L); in test() 50 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service"); in test() 51 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey"); in test() 52 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 53 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test() 59 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 60 test_setopt(curl, CURLOPT_POSTFIELDS, "postData"); in test()
|
D | lib579.c | 117 test_setopt(curl, CURLOPT_URL, URL); in test() 120 test_setopt(curl, CURLOPT_POST, 1L); in test() 123 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 126 test_setopt(curl, CURLOPT_READDATA, &pooh); in test() 129 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 132 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 135 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 137 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test() 138 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test() 141 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test() [all …]
|
D | lib1970.c | 47 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 48 test_setopt(curl, CURLOPT_INFILESIZE, 0L); in test() 49 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 50 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 51 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 52 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 53 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 61 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
D | lib1975.c | 57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 62 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 63 test_setopt(curl, CURLOPT_URL, URL); in test() 69 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 73 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
D | lib1971.c | 57 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test() 58 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 59 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 60 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 61 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 62 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 63 test_setopt(curl, CURLOPT_URL, URL); in test() 67 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 71 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
D | lib3101.c | 44 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 45 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 46 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 47 test_setopt(curl, CURLOPT_URL, URL); in test() 48 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in test() 49 test_setopt(curl, CURLOPT_USERNAME, "user"); in test() 50 test_setopt(curl, CURLOPT_PASSWORD, "password"); in test() 51 test_setopt(curl, CURLOPT_REDIR_PROTOCOLS_STR, "https"); in test()
|
D | lib1960.c | 127 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 128 test_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, socket_cb); in test() 129 test_setopt(curl, CURLOPT_OPENSOCKETDATA, &client_fd); in test() 130 test_setopt(curl, CURLOPT_SOCKOPTFUNCTION, sockopt_cb); in test() 131 test_setopt(curl, CURLOPT_SOCKOPTDATA, NULL); in test() 132 test_setopt(curl, CURLOPT_CLOSESOCKETFUNCTION, closesocket_cb); in test() 133 test_setopt(curl, CURLOPT_CLOSESOCKETDATA, NULL); in test() 134 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 135 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 136 test_setopt(curl, CURLOPT_URL, URL); in test()
|
D | lib1528.c | 56 test_setopt(curl, CURLOPT_URL, URL); in test() 57 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test() 58 test_setopt(curl, CURLOPT_HTTPHEADER, hhl); in test() 59 test_setopt(curl, CURLOPT_PROXYHEADER, phl); in test() 60 test_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in test() 61 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 62 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test() 63 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
|
D | lib1973.c | 47 test_setopt(curl, CURLOPT_POSTFIELDS, "post fields\n"); in test() 48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 49 test_setopt(curl, CURLOPT_AWS_SIGV4, "aws:amz:us-east-1:s3"); in test() 50 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test() 51 test_setopt(curl, CURLOPT_HEADER, 0L); in test() 52 test_setopt(curl, CURLOPT_URL, URL); in test() 56 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test() 60 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
|
D | lib510.c | 93 test_setopt(curl, CURLOPT_URL, URL); in test() 96 test_setopt(curl, CURLOPT_POST, 1L); in test() 99 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test() 102 test_setopt(curl, CURLOPT_READDATA, &pooh); in test() 105 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 108 test_setopt(curl, CURLOPT_HEADER, 1L); in test() 111 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 114 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test() 115 test_setopt(curl, CURLOPT_USERPWD, "foo:bar"); in test()
|
D | lib506.c | 245 test_setopt(curl, CURLOPT_SHARE, share); in test() 247 test_setopt(curl, CURLOPT_COOKIELIST, in test() 251 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); in test() 253 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants"); in test() 255 test_setopt(curl, CURLOPT_COOKIELIST, in test() 259 test_setopt(curl, CURLOPT_COOKIELIST, "SESS"); in test() 293 test_setopt(curl, CURLOPT_HTTPHEADER, headers); in test() 294 test_setopt(curl, CURLOPT_URL, url); in test() 296 test_setopt(curl, CURLOPT_SHARE, share); in test() 298 test_setopt(curl, CURLOPT_COOKIEJAR, JAR); in test() [all …]
|
D | lib578.c | 71 test_setopt(curl, CURLOPT_URL, URL); in test() 74 test_setopt(curl, CURLOPT_POST, 1L); in test() 77 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)data_size); in test() 78 test_setopt(curl, CURLOPT_POSTFIELDS, data); in test() 82 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); in test() 83 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()
|