Home
last modified time | relevance | path

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

/external/curl/tests/libtest/
Dlib505.c41 FILE *hd_src; in test() local
56 hd_src = fopen(libtest_arg2, "rb"); in test()
57 if(NULL == hd_src) { in test()
66 hd = fstat(fileno(hd_src), &file_info); in test()
73 fclose(hd_src); in test()
79 fclose(hd_src); in test()
85 fclose(hd_src); in test()
94 fclose(hd_src); in test()
105 fclose(hd_src); in test()
114 fclose(hd_src); in test()
[all …]
Dlib541.c38 FILE *hd_src; in test() local
48 hd_src = fopen(libtest_arg2, "rb"); in test()
49 if(NULL == hd_src) { in test()
58 hd = fstat(fileno(hd_src), &file_info); in test()
65 fclose(hd_src); in test()
71 fclose(hd_src); in test()
77 fclose(hd_src); in test()
85 fclose(hd_src); in test()
99 test_setopt(curl, CURLOPT_READDATA, hd_src); in test()
111 fclose(hd_src); in test()
Dlib525.c36 FILE *hd_src = NULL; in test() local
56 hd_src = fopen(libtest_arg2, "rb"); in test()
57 if(NULL == hd_src) { in test()
66 hd = fstat(fileno(hd_src), &file_info); in test()
73 fclose(hd_src); in test()
79 fclose(hd_src); in test()
98 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
162 fclose(hd_src); in test()
Dlib582.c229 FILE *hd_src = NULL; in test() local
245 hd_src = fopen(libtest_arg2, "rb"); in test()
246 if(NULL == hd_src) { in test()
255 hd = fstat(fileno(hd_src), &file_info); in test()
262 fclose(hd_src); in test()
269 fclose(hd_src); in test()
285 easy_setopt(curl, CURLOPT_READDATA, hd_src); in test()
352 fclose(hd_src); in test()
/external/curl/docs/examples/
Dhttpput.c63 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()
Dftpupload.c70 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()