Searched refs:upload_ctx (Results 1 – 6 of 6) sorted by relevance
/external/curl/docs/examples/ |
D | imap-append.c | 64 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 71 data = payload_text[upload_ctx->lines_read]; in payload_source() 76 upload_ctx->lines_read++; in payload_source() 88 struct upload_status upload_ctx; in main() local 90 upload_ctx.lines_read = 0; in main() 107 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
D | smtp-mail.c | 65 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 72 data = payload_text[upload_ctx->lines_read]; in payload_source() 77 upload_ctx->lines_read++; in payload_source() 90 struct upload_status upload_ctx; in main() local 92 upload_ctx.lines_read = 0; in main() 119 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
D | smtp-tls.c | 66 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 73 data = payload_text[upload_ctx->lines_read]; in payload_source() 78 upload_ctx->lines_read++; in payload_source() 91 struct upload_status upload_ctx; in main() local 93 upload_ctx.lines_read = 0; in main() 147 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
D | smtp-ssl.c | 66 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 73 data = payload_text[upload_ctx->lines_read]; in payload_source() 78 upload_ctx->lines_read++; in payload_source() 91 struct upload_status upload_ctx; in main() local 93 upload_ctx.lines_read = 0; in main() 145 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
D | smtp-multi.c | 66 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local 73 data = payload_text[upload_ctx->lines_read]; in payload_source() 78 upload_ctx->lines_read++; in payload_source() 110 struct upload_status upload_ctx; in main() local 112 upload_ctx.lines_read = 0; in main() 146 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
|
/external/curl/tests/libtest/ |
D | lib1520.c | 52 struct upload_status *upload_ctx = (struct upload_status *)userp; in read_callback() local 59 data = payload_text[upload_ctx->lines_read]; in read_callback() 64 upload_ctx->lines_read++; in read_callback() 77 struct upload_status upload_ctx = {0}; in test() local 98 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test()
|