Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 14 of 14) sorted by relevance

/curl/lib/
H A Dhttp1.c47 Curl_dyn_init(&parser->scratch, max_line_len); in Curl_h1_req_parse_init()
54 Curl_dyn_free(&parser->scratch); in Curl_h1_req_parse_free()
111 Curl_dyn_reset(&parser->scratch); in next_line()
116 if(Curl_dyn_len(&parser->scratch)) { in next_line()
118 *err = Curl_dyn_addn(&parser->scratch, parser->line, parser->line_len); in next_line()
121 parser->line = Curl_dyn_ptr(&parser->scratch); in next_line()
122 parser->line_len = Curl_dyn_len(&parser->scratch); in next_line()
130 *err = Curl_dyn_addn(&parser->scratch, (const unsigned char *)buf, buflen); in next_line()
304 Curl_dyn_reset(&parser->scratch); in Curl_h1_req_parse_read()
H A Dhttp1.h40 struct dynbuf scratch; member
H A Dhttp2.c137 struct dynbuf scratch; /* scratch buffer for temp use */ member
166 Curl_dyn_init(&ctx->scratch, CURL_MAX_HTTP_HEADER); in cf_h2_ctx_init()
179 Curl_dyn_free(&ctx->scratch); in cf_h2_ctx_free()
1257 char scratch[128]; in fr_print() local
1258 size_t s_len = sizeof(scratch)/sizeof(scratch[0]); in fr_print()
1262 memcpy(scratch, frame->goaway.opaque_data, len); in fr_print()
1263 scratch[len] = '\0'; in fr_print()
1616 Curl_dyn_reset(&ctx->scratch); in on_header()
1639 Curl_dyn_reset(&ctx->scratch); in on_header()
1642 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in on_header()
[all …]
H A Dcf-h2-proxy.c621 char scratch[128]; in proxy_h2_fr_print() local
622 size_t s_len = sizeof(scratch)/sizeof(scratch[0]); in proxy_h2_fr_print()
626 memcpy(scratch, frame->goaway.opaque_data, len); in proxy_h2_fr_print()
627 scratch[len] = '\0'; in proxy_h2_fr_print()
630 scratch, frame->goaway.last_stream_id); in proxy_h2_fr_print()
H A Dsendf.c790 char scratch[4*1024]; in cr_in_resume_from() local
792 (offset - passed > (curl_off_t)sizeof(scratch)) ? in cr_in_resume_from()
793 sizeof(scratch) : in cr_in_resume_from()
798 actuallyread = ctx->read_cb(scratch, 1, readthisamountnow, in cr_in_resume_from()
H A Dmime.c2080 char scratch[4*1024]; in cr_mime_resume_from() local
2082 (offset - passed > (curl_off_t)sizeof(scratch)) ? in cr_mime_resume_from()
2083 sizeof(scratch) : in cr_mime_resume_from()
2087 nread = Curl_mime_read(scratch, 1, readthisamountnow, ctx->part); in cr_mime_resume_from()
H A Dftp.c1546 char scratch[4*1024]; in ftp_state_ul_setup() local
1548 (data->state.resume_from - passed > (curl_off_t)sizeof(scratch)) ? in ftp_state_ul_setup()
1549 sizeof(scratch) : in ftp_state_ul_setup()
1553 data->state.fread_func(scratch, 1, readthisamountnow, in ftp_state_ul_setup()
/curl/lib/vquic/
H A Dcurl_ngtcp2.c161 Curl_dyn_init(&ctx->scratch, CURL_MAX_HTTP_HEADER); in cf_ngtcp2_ctx_init()
170 Curl_dyn_free(&ctx->scratch); in cf_ngtcp2_ctx_free()
1035 Curl_dyn_reset(&ctx->scratch); in cb_h3_recv_header()
1036 result = Curl_dyn_addn(&ctx->scratch, STRCONST("HTTP/3 ")); in cb_h3_recv_header()
1038 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
1046 stream_id, Curl_dyn_ptr(&ctx->scratch)); in cb_h3_recv_header()
1056 Curl_dyn_reset(&ctx->scratch); in cb_h3_recv_header()
1057 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
1060 result = Curl_dyn_addn(&ctx->scratch, STRCONST(": ")); in cb_h3_recv_header()
1062 result = Curl_dyn_addn(&ctx->scratch, in cb_h3_recv_header()
[all …]
/curl/lib/vssh/
H A Dwolfssh.c647 char scratch[4*1024]; in wssh_statemach_act() local
650 (curl_off_t)sizeof(scratch)) ? in wssh_statemach_act()
651 sizeof(scratch) : curlx_sotouz(data->state.resume_from - passed); in wssh_statemach_act()
655 actuallyread = data->state.fread_func(scratch, 1, in wssh_statemach_act()
H A Dlibssh.c1312 char scratch[4*1024]; in myssh_statemach_act() local
1315 (curl_off_t)sizeof(scratch)) ? in myssh_statemach_act()
1316 sizeof(scratch) : curlx_sotouz(data->state.resume_from - passed); in myssh_statemach_act()
1319 data->state.fread_func(scratch, 1, in myssh_statemach_act()
H A Dlibssh2.c1235 char scratch[4*1024]; in sftp_upload_init() local
1238 (curl_off_t)sizeof(scratch)) ? in sftp_upload_init()
1239 sizeof(scratch) : curlx_sotouz(data->state.resume_from - passed); in sftp_upload_init()
1243 actuallyread = data->state.fread_func(scratch, 1, in sftp_upload_init()
/curl/docs/libcurl/opts/
H A DCURLOPT_SSH_KEYFUNCTION.md107 up from scratch again.
/curl/packages/vms/
H A Dconfig_h.com88 $! on a NFS mounted volume. So copy it to sys$scratch:
/curl/m4/
H A Dcurl-functions.m44021 dnl and might use the provided workbuf as a scratch area if needed. A

Completed in 71 milliseconds