• Home
  • Raw
  • Download

Lines Matching refs:part

247   curl_mimepart *part = NULL;  in tool2curlparts()  local
254 part = curl_mime_addpart(mime); in tool2curlparts()
255 if(!part) in tool2curlparts()
264 ret = curl_mime_subparts(part, submime); in tool2curlparts()
283 ret = curl_mime_data(part, cp, CURL_ZERO_TERMINATED); in tool2curlparts()
288 ret = curl_mime_data(part, m->data, CURL_ZERO_TERMINATED); in tool2curlparts()
294 ret = curl_mime_filedata(part, m->data); in tool2curlparts()
296 ret = curl_mime_filename(part, NULL); in tool2curlparts()
304 ret = curl_mime_data_cb(part, m->size, in tool2curlparts()
316 ret = curl_mime_filename(part, filename); in tool2curlparts()
318 ret = curl_mime_type(part, m->type); in tool2curlparts()
320 ret = curl_mime_headers(part, m->headers, 0); in tool2curlparts()
322 ret = curl_mime_encoder(part, m->encoder); in tool2curlparts()
324 ret = curl_mime_name(part, m->name); in tool2curlparts()
753 struct tool_mime *part = NULL; in formparse() local
781 NULL_CHECK(part, tool_mime_new_parts(*mimecurrent), 4); in formparse()
782 *mimecurrent = part; in formparse()
783 part->headers = headers; in formparse()
785 SET_TOOL_MIME_PTR(part, type, 5); in formparse()
823 NULL_CHECK(part, in formparse()
825 part->headers = headers; in formparse()
827 part->config = config->global; in formparse()
832 if(part->size > 0) { in formparse()
838 CONST_SAFEFREE(part->data); in formparse()
839 part->data = NULL; in formparse()
840 part->size = -1; in formparse()
843 SET_TOOL_MIME_PTR(part, filename, 11); in formparse()
844 SET_TOOL_MIME_PTR(part, type, 12); in formparse()
845 SET_TOOL_MIME_PTR(part, encoder, 13); in formparse()
849 part = (*mimecurrent)->subparts; /* Set name on group. */ in formparse()
861 NULL_CHECK(part, tool_mime_new_filedata(*mimecurrent, data, FALSE, in formparse()
863 part->headers = headers; in formparse()
865 part->config = config->global; in formparse()
870 if(part->size > 0) { in formparse()
876 CONST_SAFEFREE(part->data); in formparse()
877 part->data = NULL; in formparse()
878 part->size = -1; in formparse()
894 NULL_CHECK(part, tool_mime_new_data(*mimecurrent, data), 18); in formparse()
895 part->headers = headers; in formparse()
899 SET_TOOL_MIME_PTR(part, filename, 19); in formparse()
900 SET_TOOL_MIME_PTR(part, type, 20); in formparse()
901 SET_TOOL_MIME_PTR(part, encoder, 21); in formparse()
911 SET_TOOL_MIME_PTR(part, name, 22); in formparse()