/external/curl/tests/libtest/ |
lib541.c | 38 FILE *hd_src; local 48 hd_src = fopen(libtest_arg2, "rb"); 49 if(NULL == hd_src) { 58 hd = fstat(fileno(hd_src), &file_info); 65 fclose(hd_src); 71 fclose(hd_src); 77 fclose(hd_src); 85 fclose(hd_src); 99 test_setopt(curl, CURLOPT_READDATA, hd_src); 111 fclose(hd_src); [all...] |
lib505.c | 41 FILE *hd_src; local 56 hd_src = fopen(libtest_arg2, "rb"); 57 if(NULL == hd_src) { 66 hd = fstat(fileno(hd_src), &file_info); 73 fclose(hd_src); 79 fclose(hd_src); 85 fclose(hd_src); 94 fclose(hd_src); 105 fclose(hd_src); 114 fclose(hd_src); [all...] |
lib525.c | 36 FILE *hd_src = NULL; local 56 hd_src = fopen(libtest_arg2, "rb"); 57 if(NULL == hd_src) { 66 hd = fstat(fileno(hd_src), &file_info); 73 fclose(hd_src); 79 fclose(hd_src); 98 easy_setopt(curl, CURLOPT_READDATA, hd_src); 162 fclose(hd_src);
|
lib582.c | 229 FILE *hd_src = NULL; local 245 hd_src = fopen(libtest_arg2, "rb"); 246 if(NULL == hd_src) { 255 hd = fstat(fileno(hd_src), &file_info); 262 fclose(hd_src); 269 fclose(hd_src); 285 easy_setopt(curl, CURLOPT_READDATA, hd_src); 352 fclose(hd_src);
|
/external/curl/docs/examples/ |
httpput.c | 63 FILE * hd_src; local 81 hd_src = fopen(file, "rb"); 103 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); 120 fclose(hd_src); /* close the local file */
|
ftpupload.c | 70 FILE *hd_src; local 88 hd_src = fopen(LOCAL_FILE, "rb"); 113 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); 135 fclose(hd_src); /* close the local file */
|