Home
last modified time | relevance | path

Searched refs:file_info (Results 1 – 11 of 11) sorted by relevance

/curl/docs/examples/
H A Dfileupload.c37 struct stat file_info; in main() local
46 if(fstat(fileno(fd), &file_info) != 0) in main()
63 (curl_off_t)file_info.st_size); in main()
H A Dhttpput.c66 struct stat file_info; in main() local
78 stat(file, &file_info); in main()
107 (curl_off_t)file_info.st_size); in main()
H A Dftpupload.c74 struct stat file_info; in main() local
82 if(stat(LOCAL_FILE, &file_info)) { in main()
86 fsize = (unsigned long)file_info.st_size; in main()
H A Danyauthput.c88 struct stat file_info; in main() local
101 fstat(FILENO(fp), &file_info); in main()
131 (curl_off_t)file_info.st_size); in main()
H A Dhttp2-upload.c199 struct stat file_info; in setup() local
216 if(stat(upload, &file_info)) { in setup()
222 uploadsize = file_info.st_size; in setup()
/curl/tests/libtest/
H A Dlib505.c45 struct_stat file_info; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
76 if(!file_info.st_size) { in test()
135 (curl_off_t)file_info.st_size); in test()
H A Dlib541.c42 struct_stat file_info; in test() local
58 hd = fstat(fileno(hd_src), &file_info); in test()
68 if(!file_info.st_size) { in test()
H A Dlib525.c40 struct_stat file_info; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
108 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()
H A Dlib568.c50 struct_stat file_info; in test() local
82 fstat(sdp, &file_info); in test()
95 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
H A Dlib572.c50 struct_stat file_info; in test() local
101 fstat(params, &file_info); in test()
114 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
H A Dlib582.c227 struct_stat file_info; in test() local
251 hd = fstat(fileno(hd_src), &file_info); in test()
260 fprintf(stderr, "Set to upload %d bytes\n", (int)file_info.st_size); in test()
287 easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size); in test()

Completed in 18 milliseconds