Home
last modified time | relevance | path

Searched refs:upload_ctx (Results 1 – 8 of 8) sorted by relevance

/third_party/curl/tests/libtest/
Dlib1520.c52 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
99 test_setopt(curl, CURLOPT_READDATA, &upload_ctx); in test()
/third_party/curl/docs/examples/
Dimap-append.c62 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
70 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
77 upload_ctx->bytes_read += len; in payload_source()
93 struct upload_status upload_ctx = { 0 }; in main() local
108 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-mail.c67 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
75 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
82 upload_ctx->bytes_read += len; in payload_source()
95 struct upload_status upload_ctx = { 0 }; in main() local
122 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-tls.c64 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
72 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
79 upload_ctx->bytes_read += len; in payload_source()
92 struct upload_status upload_ctx = { 0 }; in main() local
146 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-multi.c60 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
68 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
75 upload_ctx->bytes_read += len; in payload_source()
89 struct upload_status upload_ctx = { 0 }; in main() local
123 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-authzid.c70 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
78 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
85 upload_ctx->bytes_read += len; in payload_source()
98 struct upload_status upload_ctx = { 0 }; in main() local
134 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
Dsmtp-ssl.c64 struct upload_status *upload_ctx = (struct upload_status *)userp; in payload_source() local
72 data = &payload_text[upload_ctx->bytes_read]; in payload_source()
79 upload_ctx->bytes_read += len; in payload_source()
92 struct upload_status upload_ctx = { 0 }; in main() local
144 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c91 VulkanExecCtx upload_ctx; member
1757 free_exec_ctx(hwfc, &fp->upload_ctx); in vulkan_frames_uninit()
1783 err = create_exec_ctx(hwfc, &fp->upload_ctx, in vulkan_frames_init()
2962 VulkanExecCtx *ectx = to_buf ? &fp->download_ctx : &fp->upload_ctx; in transfer_image_buf()