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()
93 fclose(hd_src); in test()
103 fclose(hd_src); in test()
111 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()
357 fclose(hd_src); in test()
/external/curl/docs/examples/
Dhttpput.c59 FILE * hd_src ; in main() local
77 hd_src = fopen(file, "rb"); in main()
99 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main()
116 fclose(hd_src); /* close the local file */ in main()
Dftpupload.c71 FILE *hd_src; in main() local
89 hd_src = fopen(LOCAL_FILE, "rb"); in main()
114 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); in main()
136 fclose(hd_src); /* close the local file */ in main()