Home
last modified time | relevance | path

Searched refs:hd_src (Results 1 – 6 of 6) sorted by relevance

/curl/tests/libtest/
H A Dlib541.c40 FILE *hd_src; in test() local
49 hd_src = fopen(libtest_arg2, "rb"); in test()
50 if(!hd_src) { in test()
58 hd = fstat(fileno(hd_src), &file_info); in test()
64 fclose(hd_src); in test()
70 fclose(hd_src); in test()
76 fclose(hd_src); in test()
85 fclose(hd_src); in test()
99 test_setopt(curl, CURLOPT_READDATA, hd_src); in test()
113 fclose(hd_src); in test()
H A Dlib505.c43 FILE *hd_src; in test() local
57 hd_src = fopen(libtest_arg2, "rb"); in test()
58 if(!hd_src) { in test()
66 hd = fstat(fileno(hd_src), &file_info); in test()
72 fclose(hd_src); in test()
78 fclose(hd_src); in test()
84 fclose(hd_src); in test()
93 fclose(hd_src); in test()
104 fclose(hd_src); in test()
113 fclose(hd_src); in test()
[all …]
H A Dlib525.c38 FILE *hd_src = NULL; in test() local
57 hd_src = fopen(libtest_arg2, "rb"); in test()
58 if(!hd_src) { in test()
66 hd = fstat(fileno(hd_src), &file_info); in test()
72 fclose(hd_src); in test()
78 fclose(hd_src); in test()
97 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
161 fclose(hd_src); in test()
H A Dlib582.c232 FILE *hd_src = NULL; in test() local
250 hd_src = fopen(libtest_arg2, "rb"); in test()
251 if(!hd_src) { in test()
259 hd = fstat(fileno(hd_src), &file_info); in test()
265 fclose(hd_src); in test()
272 fclose(hd_src); in test()
288 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
357 fclose(hd_src); in test()
/curl/docs/examples/
H A Dhttpput.c70 FILE * hd_src; in main() local
88 hd_src = fopen(file, "rb"); in main()
107 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main()
124 fclose(hd_src); /* close the local file */ in main()
H A Dftpupload.c75 FILE *hd_src; in main() local
93 hd_src = fopen(LOCAL_FILE, "rb"); in main()
118 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main()
140 fclose(hd_src); /* close the local file */ in main()

Completed in 8 milliseconds