Lines Matching refs:uc
22 struct UploadContext* uc = reinterpret_cast<UploadContext*>(cls); in process_upload_data() local
25 uc->fStream.write(data, size); in process_upload_data()
38 UploadContext* uc = request->fUploadContext; in handle() local
41 if (!uc) { in handle()
43 uc = new UploadContext; in handle()
44 uc->connection = connection; in handle()
45 uc->fPostProcessor = MHD_create_post_processor(connection, kBufferSize, in handle()
46 &process_upload_data, uc); in handle()
47 SkASSERT(uc->fPostProcessor); in handle()
49 request->fUploadContext = uc; in handle()
55 SkASSERT(uc->fPostProcessor); in handle()
56 MHD_post_process(uc->fPostProcessor, upload_data, *upload_data_size); in handle()
62 MHD_destroy_post_processor(uc->fPostProcessor); in handle()
63 uc->fPostProcessor = nullptr; in handle()