Searched refs:file_info (Results 1 – 11 of 11) sorted by relevance
/curl/docs/examples/ |
H A D | fileupload.c | 37 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 D | httpput.c | 66 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 D | ftpupload.c | 74 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 D | anyauthput.c | 88 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 D | http2-upload.c | 199 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 D | lib505.c | 45 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 D | lib541.c | 42 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 D | lib525.c | 40 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 D | lib568.c | 50 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 D | lib572.c | 50 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 D | lib582.c | 227 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