Home
last modified time | relevance | path

Searched refs:postfields (Results 1 – 16 of 16) sorted by relevance

/third_party/curl/src/
Dtool_getparam.c1810 if(config->postfields) { in getparameter()
1813 char *oldpost = config->postfields; in getparameter()
1816 config->postfields = malloc((size_t)newlen); in getparameter()
1817 if(!config->postfields) { in getparameter()
1823 memcpy(config->postfields, oldpost, (size_t)oldlen); in getparameter()
1827 config->postfields[oldlen] = '\x26'; in getparameter()
1828 memcpy(&config->postfields[oldlen + 1], postdata, size); in getparameter()
1829 config->postfields[oldlen + 1 + size] = '\0'; in getparameter()
1833 memcpy(&config->postfields[oldlen], postdata, size); in getparameter()
1834 config->postfields[oldlen + size] = '\0'; in getparameter()
[all …]
Dtool_cfgable.h70 char *postfields; member
Dtool_cfgable.c62 Curl_safefree(config->postfields); in free_config_fields()
Dtool_operate.c951 if(config->postfields) { in single_transfer()
955 httpgetfields = state->httpgetfields = strdup(config->postfields); in single_transfer()
956 Curl_safefree(config->postfields); in single_transfer()
1626 config->postfields); in single_transfer()
/third_party/curl/docs/examples/
DMakefile.inc62 httpput-postfields \
DMakefile.in152 httpput$(EXEEXT) httpput-postfields$(EXEEXT) https$(EXEEXT) \
460 httpput_postfields_SOURCES = httpput-postfields.c
461 httpput_postfields_OBJECTS = httpput-postfields.$(OBJEXT)
967 ./$(DEPDIR)/httpput-postfields.Po ./$(DEPDIR)/httpput.Po \
1030 httpput-postfields.c https.c imap-append.c imap-authzid.c \
1055 httpput-postfields.c https.c imap-append.c imap-authzid.c \
1552 httpput-postfields$(EXEEXT): $(httpput_postfields_OBJECTS) $(httpput_postfields_DEPENDENCIES) $(EXT…
1553 @rm -f httpput-postfields$(EXEEXT)
1864 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/httpput-postfields.Po@am__quote@ # am--include-mar…
2129 -rm -f ./$(DEPDIR)/httpput-postfields.Po
[all …]
/third_party/curl/lib/
Drtsp.c504 (data->set.postfields? (curl_off_t)strlen(data->set.postfields):0); in rtsp_do()
558 result = Curl_dyn_addn(&req_buffer, data->set.postfields, in rtsp_do()
Dhttp_aws_sigv4.c347 const char *post_data = data->set.postfields; in calc_payload_hash()
375 bool post_payload = (httpreq == HTTPREQ_POST && data->set.postfields); in calc_s3_payload_hash()
Dsetopt.c523 data->set.postfields = data->set.str[STRING_COPYPOSTFIELDS]; in Curl_vsetopt()
531 data->set.postfields = va_arg(param, void *); in Curl_vsetopt()
547 data->set.postfields == data->set.str[STRING_COPYPOSTFIELDS]) { in Curl_vsetopt()
550 data->set.postfields = NULL; in Curl_vsetopt()
566 data->set.postfields == data->set.str[STRING_COPYPOSTFIELDS]) { in Curl_vsetopt()
569 data->set.postfields = NULL; in Curl_vsetopt()
Dtransfer.c1346 if(data->set.postfields && data->set.set_resume_from) { in Curl_pretransfer()
1383 if(data->set.postfields && (data->state.infilesize == -1)) in Curl_pretransfer()
1384 data->state.infilesize = (curl_off_t)strlen(data->set.postfields); in Curl_pretransfer()
Dc-hyper.c697 hyper_buf *copy = hyper_buf_copy(data->set.postfields, in uploadpostfields()
803 if(data->set.postfields) in bodysend()
Dmqtt.c516 char *payload = data->set.postfields; in mqtt_publish()
Dhttp.c2714 if(data->set.postfields) { in Curl_http_bodysend()
2732 result = Curl_dyn_addn(r, data->set.postfields, in Curl_http_bodysend()
2744 result = Curl_dyn_addn(r, data->set.postfields, in Curl_http_bodysend()
2764 http->postdata = data->set.postfields; in Curl_http_bodysend()
Deasy.c876 dst->set.postfields = dst->set.str[i]; in dupset()
Durldata.h1645 void *postfields; /* if POST, set the fields' values here */ member
Dmulti.c1791 if(data->set.postfields ||