/external/curl/tests/libtest/ |
lib578.c | 69 test_setopt(curl, CURLOPT_URL, URL); 72 test_setopt(curl, CURLOPT_POST, 1L); 76 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 80 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)data_size); 81 test_setopt(curl, CURLOPT_POSTFIELDS, data); 84 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); 85 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); 90 test_setopt(curl, CURLOPT_VERBOSE, 1L); 93 test_setopt(curl, CURLOPT_HEADER, 1L);
|
lib569.c | 64 test_setopt(curl, CURLOPT_HEADERDATA, stdout); 65 test_setopt(curl, CURLOPT_WRITEDATA, stdout); 66 test_setopt(curl, CURLOPT_VERBOSE, 1L); 68 test_setopt(curl, CURLOPT_URL, URL); 70 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); 86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 90 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); 91 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, 106 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN) [all...] |
lib1517.c | 77 test_setopt(curl, CURLOPT_URL, URL); 80 test_setopt(curl, CURLOPT_POST, 1L); 84 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 88 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); 91 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 94 test_setopt(curl, CURLOPT_READDATA, &pooh); 97 test_setopt(curl, CURLOPT_VERBOSE, 1L); 100 test_setopt(curl, CURLOPT_HEADER, 1L); 103 /* test_setopt(curl, CURLOPT_FAILONERROR, 1L); */
|
lib508.c | 73 test_setopt(curl, CURLOPT_URL, URL); 76 test_setopt(curl, CURLOPT_POST, 1L); 80 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 84 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft); 87 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 90 test_setopt(curl, CURLOPT_READDATA, &pooh); 93 test_setopt(curl, CURLOPT_VERBOSE, 1L); 96 test_setopt(curl, CURLOPT_HEADER, 1L);
|
lib544.c | 58 test_setopt(curl, CURLOPT_URL, URL); 61 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof teststring); 64 test_setopt(curl, CURLOPT_COPYPOSTFIELDS, teststring); 66 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */ 67 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
|
lib572.c | 66 test_setopt(curl, CURLOPT_HEADERDATA, stdout); 67 test_setopt(curl, CURLOPT_WRITEDATA, stdout); 68 test_setopt(curl, CURLOPT_VERBOSE, 1L); 70 test_setopt(curl, CURLOPT_URL, URL); 78 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 82 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); 83 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); 93 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 108 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); 110 test_setopt(curl, CURLOPT_READDATA, paramsf) [all...] |
lib510.c | 91 test_setopt(curl, CURLOPT_URL, URL); 94 test_setopt(curl, CURLOPT_POST, 1L); 98 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 102 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 105 test_setopt(curl, CURLOPT_READDATA, &pooh); 108 test_setopt(curl, CURLOPT_VERBOSE, 1L); 111 test_setopt(curl, CURLOPT_HEADER, 1L); 114 test_setopt(curl, CURLOPT_HTTPHEADER, slist); 117 test_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); 118 test_setopt(curl, CURLOPT_USERPWD, "foo:bar") [all...] |
lib568.c | 65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); 66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); 68 test_setopt(curl, CURLOPT_URL, URL); 75 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 89 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); 91 test_setopt(curl, CURLOPT_READDATA, sdpf); 92 test_setopt(curl, CURLOPT_UPLOAD, 1L); 93 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); 100 test_setopt(curl, CURLOPT_UPLOAD, 0L); 110 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri) [all...] |
lib1520.c | 96 test_setopt(curl, CURLOPT_URL, URL); 97 test_setopt(curl, CURLOPT_UPLOAD, 1L); 98 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 99 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); 100 test_setopt(curl, CURLOPT_MAIL_FROM, FROM); 101 test_setopt(curl, CURLOPT_MAIL_RCPT, rcpt_list); 102 test_setopt(curl, CURLOPT_VERBOSE, 1L);
|
lib1530.c | 56 test_setopt(curl, CURLOPT_URL, "http://99.99.99.99:9999"); 57 test_setopt(curl, CURLOPT_VERBOSE, 1L); 58 test_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, opensocket);
|
lib562.c | 57 test_setopt(curl, CURLOPT_VERBOSE, 1L); 60 test_setopt(curl, CURLOPT_PORT, strtol(libtest_arg2, NULL, 10)); 63 test_setopt(curl, CURLOPT_URL, URL);
|
lib651.c | 69 test_setopt(curl, CURLOPT_URL, URL); 72 test_setopt(curl, CURLOPT_HTTPPOST, formpost); 75 test_setopt(curl, CURLOPT_VERBOSE, 1L); 78 test_setopt(curl, CURLOPT_HEADER, 1L);
|
lib501.c | 45 test_setopt(curl, CURLOPT_HEADER, 1L); 48 test_setopt(curl, CURLOPT_MAXREDIRS, -1L);
|
lib553.c | 92 test_setopt(curl, CURLOPT_URL, URL); 93 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist); 94 test_setopt(curl, CURLOPT_POST, 1L); 97 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 99 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)POSTLEN); 100 test_setopt(curl, CURLOPT_VERBOSE, 1L); 101 test_setopt(curl, CURLOPT_HEADER, 1L); 102 test_setopt(curl, CURLOPT_READFUNCTION, myreadfunc);
|
lib539.c | 48 test_setopt(curl, CURLOPT_URL, URL); 49 test_setopt(curl, CURLOPT_VERBOSE, 1L); 50 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); 77 test_setopt(curl, CURLOPT_URL, newURL); 78 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); 79 test_setopt(curl, CURLOPT_QUOTE, slist);
|
lib599.c | 61 test_setopt(curl, CURLOPT_URL, URL); 64 test_setopt(curl, CURLOPT_NOPROGRESS, 0L); 65 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback); 68 test_setopt(curl, CURLOPT_VERBOSE, 1L); 71 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); 74 test_setopt(curl, CURLOPT_HEADER, 1L);
|
lib571.c | 128 test_setopt(curl, CURLOPT_URL, URL); 135 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 139 test_setopt(curl, CURLOPT_INTERLEAVEFUNCTION, rtp_write); 140 test_setopt(curl, CURLOPT_TIMEOUT, 3L); 141 test_setopt(curl, CURLOPT_VERBOSE, 1L); 142 test_setopt(curl, CURLOPT_WRITEDATA, protofile); 144 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "RTP/AVP/TCP;interleaved=0-1"); 145 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); 157 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); 160 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY) [all...] |
lib1533.c | 148 test_setopt(curl, CURLOPT_URL, URL); 149 test_setopt(curl, CURLOPT_POST, 1L); 150 test_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, 152 test_setopt(curl, CURLOPT_VERBOSE, 1L); 153 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 154 test_setopt(curl, CURLOPT_READDATA, &data); 155 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); 156 test_setopt(curl, CURLOPT_WRITEDATA, &data); 172 test_setopt(curl, CURLOPT_KEEP_SENDING_ON_ERROR, 1L);
|
lib552.c | 181 test_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace); 182 test_setopt(curl, CURLOPT_DEBUGDATA, &config); 184 test_setopt(curl, CURLOPT_VERBOSE, 1L); 191 test_setopt(curl, CURLOPT_POST, 1L); 195 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L); 199 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof(databuf)); 200 test_setopt(curl, CURLOPT_READFUNCTION, read_callback); 203 test_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback); 206 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctl_callback); 208 test_setopt(curl, CURLOPT_PROXY, libtest_arg2) [all...] |
lib556.c | 55 test_setopt(curl, CURLOPT_URL, URL); 56 test_setopt(curl, CURLOPT_CONNECT_ONLY, 1L); 57 test_setopt(curl, CURLOPT_VERBOSE, 1L);
|
lib574.c | 52 test_setopt(curl, CURLOPT_URL, URL); 53 test_setopt(curl, CURLOPT_WILDCARDMATCH, 1L); 54 test_setopt(curl, CURLOPT_FNMATCH_FUNCTION, new_fnmatch);
|
lib505.c | 117 test_setopt(curl, CURLOPT_UPLOAD, 1L); 120 test_setopt(curl, CURLOPT_VERBOSE, 1L); 123 test_setopt(curl, CURLOPT_URL, URL); 126 test_setopt(curl, CURLOPT_POSTQUOTE, headerlist); 129 test_setopt(curl, CURLOPT_READDATA, hd_src); 132 test_setopt(curl, CURLOPT_INFILESIZE_LARGE,
|
lib566.c | 45 test_setopt(curl, CURLOPT_URL, URL); 46 test_setopt(curl, CURLOPT_HEADER, 1L);
|
lib506.c | 242 test_setopt(curl, CURLOPT_SHARE, share); 244 test_setopt(curl, CURLOPT_COOKIELIST, 248 test_setopt(curl, CURLOPT_COOKIELIST, "ALL"); 250 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: session=elephants"); 252 test_setopt(curl, CURLOPT_COOKIELIST, 256 test_setopt(curl, CURLOPT_COOKIELIST, "SESS"); 290 test_setopt(curl, CURLOPT_HTTPHEADER, headers); 291 test_setopt(curl, CURLOPT_URL, url); 293 test_setopt(curl, CURLOPT_SHARE, share); 295 test_setopt(curl, CURLOPT_COOKIEJAR, JAR) [all...] |
lib541.c | 88 test_setopt(curl, CURLOPT_UPLOAD, 1L); 91 test_setopt(curl, CURLOPT_VERBOSE, 1L); 94 test_setopt(curl, CURLOPT_URL, URL); 97 test_setopt(curl, CURLOPT_READDATA, hd_src);
|