Lines Matching refs:part
65 curl_mimepart *part = NULL; in test_once() local
91 part = curl_mime_addpart(mime); in test_once()
92 if(!part) { in test_once()
102 res = curl_mime_name(part, "sendfile"); in test_once()
104 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
107 res = curl_mime_filename(part, "postit2.c"); in test_once()
111 res = curl_mime_name(part, "sendfile alternative"); in test_once()
113 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
116 res = curl_mime_filename(part, "file name 2"); in test_once()
131 part = curl_mime_addpart(mime); in test_once()
132 if(!part) { in test_once()
140 res = curl_mime_name(part, "callbackdata"); in test_once()
142 res = curl_mime_data_cb(part, datasize, read_callback, in test_once()
148 part = curl_mime_addpart(mime); in test_once()
149 if(!part) { in test_once()
158 res = curl_mime_name(part, "filename"); in test_once()
160 res = curl_mime_data(part, "postit2.c", in test_once()
167 part = curl_mime_addpart(mime); in test_once()
168 if(!part) { in test_once()
175 res = curl_mime_name(part, "submit"); in test_once()
177 res = curl_mime_data(part, "send", in test_once()
183 part = curl_mime_addpart(mime); in test_once()
184 if(!part) { in test_once()
191 res = curl_mime_name(part, "somename"); in test_once()
193 res = curl_mime_filename(part, "somefile.txt"); in test_once()
195 res = curl_mime_data(part, "blah blah", 9); in test_once()
230 curl_mimepart *part = curl_mime_addpart(mime); in cyclic_add() local
231 CURLcode a1 = curl_mime_subparts(part, mime); in cyclic_add()
237 curl_mime_subparts(part, submime); in cyclic_add()