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 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 …]
|
D | lib541.c | 38 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()
|
D | lib525.c | 36 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()
|
D | lib582.c | 229 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/ |
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()
|