Searched refs:hd_src (Results 1 – 6 of 6) sorted by relevance
/external/curl/tests/libtest/ |
D | lib505.c | 41 FILE *hd_src; in test() local 55 hd_src = fopen(libtest_arg2, "rb"); in test() 56 if(NULL == hd_src) { in test() 64 hd = fstat(fileno(hd_src), &file_info); in test() 70 fclose(hd_src); in test() 76 fclose(hd_src); in test() 82 fclose(hd_src); in test() 91 fclose(hd_src); in test() 102 fclose(hd_src); in test() 111 fclose(hd_src); in test() [all …]
|
D | lib541.c | 38 FILE *hd_src; in test() local 47 hd_src = fopen(libtest_arg2, "rb"); in test() 48 if(NULL == hd_src) { in test() 56 hd = fstat(fileno(hd_src), &file_info); in test() 62 fclose(hd_src); in test() 68 fclose(hd_src); in test() 74 fclose(hd_src); in test() 83 fclose(hd_src); in test() 97 test_setopt(curl, CURLOPT_READDATA, hd_src); in test() 109 fclose(hd_src); in test()
|
D | lib525.c | 36 FILE *hd_src = NULL; in test() local 55 hd_src = fopen(libtest_arg2, "rb"); in test() 56 if(NULL == hd_src) { in test() 64 hd = fstat(fileno(hd_src), &file_info); in test() 70 fclose(hd_src); in test() 76 fclose(hd_src); in test() 95 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test() 159 fclose(hd_src); in test()
|
D | lib582.c | 229 FILE *hd_src = NULL; in test() local 244 hd_src = fopen(libtest_arg2, "rb"); in test() 245 if(NULL == hd_src) { in test() 253 hd = fstat(fileno(hd_src), &file_info); in test() 259 fclose(hd_src); in test() 266 fclose(hd_src); in test() 282 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test() 350 fclose(hd_src); in test()
|
/external/curl/docs/examples/ |
D | httpput.c | 63 FILE * hd_src; in main() local 81 hd_src = fopen(file, "rb"); in main() 103 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main() 120 fclose(hd_src); /* close the local file */ in main()
|
D | ftpupload.c | 70 FILE *hd_src; in main() local 88 hd_src = fopen(LOCAL_FILE, "rb"); in main() 113 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main() 135 fclose(hd_src); /* close the local file */ in main()
|