/curl/lib/ |
H A D | strerror.c | 782 if(!buflen) in get_winapi_error() 842 if(!buflen) in Curl_strerror() 863 !get_winapi_error(err, buf, buflen)) in Curl_strerror() 874 if(0 != strerror_r(err, buf, buflen)) { in Curl_strerror() 888 msnprintf(buf, buflen, "%s", msg); in Curl_strerror() 897 msnprintf(buf, buflen, "%s", msg); in Curl_strerror() 936 if(!buflen) in Curl_winapi_strerror() 948 if(strlen(txt) < buflen) in Curl_winapi_strerror() 978 if(!buflen) in Curl_sspi_strerror() 1079 msnprintf(buf, buflen, in Curl_sspi_strerror() [all …]
|
H A D | strerror.h | 31 const char *Curl_strerror(int err, char *buf, size_t buflen); 33 const char *Curl_winapi_strerror(DWORD err, char *buf, size_t buflen); 36 const char *Curl_sspi_strerror(int err, char *buf, size_t buflen);
|
H A D | ws.c | 653 len = buflen; in ws_enc_write_payload() 857 size_t buflen; member 898 nwritten = CURLMIN(buflen, ctx->buflen - ctx->bufidx); in ws_client_collect() 962 ctx.buflen = buflen; in curl_ws_recv() 1060 while(buflen) { in ws_send_raw_blocking() 1066 buflen -= nwritten; in ws_send_raw_blocking() 1067 if(buflen) { in ws_send_raw_blocking() 1104 if(!buflen) in ws_send_raw() 1225 if(buflen) { in curl_ws_send() 1368 (void)buflen; in curl_ws_recv() [all …]
|
H A D | http1.c | 85 const char *buf, const size_t buflen, in detect_line() argument 91 line_end = memchr(buf, '\n', buflen); in detect_line() 103 const char *buf, const size_t buflen, int options, in next_line() argument 114 nread = detect_line(parser, buf, buflen, err); in next_line() 130 *err = Curl_dyn_addn(&parser->scratch, (const unsigned char *)buf, buflen); in next_line() 131 nread = (*err) ? -1 : (ssize_t)buflen; in next_line() 262 const char *buf, size_t buflen, in Curl_h1_req_parse_read() argument 270 n = next_line(parser, buf, buflen, options, err); in Curl_h1_req_parse_read() 282 buflen -= (size_t)n; in Curl_h1_req_parse_read() 286 if(!buflen) in Curl_h1_req_parse_read()
|
H A D | c-hyper.h | 47 uint8_t *buf, size_t buflen); 49 const uint8_t *buf, size_t buflen);
|
H A D | easyif.h | 31 size_t buflen, size_t *n);
|
H A D | urlapi-int.h | 28 size_t Curl_is_absolute_url(const char *url, char *buf, size_t buflen,
|
H A D | setup-os400.h | 133 extern int Curl_os400_sendto(int sd, char *buffer, int buflen, int flags, 135 extern int Curl_os400_recvfrom(int sd, char *buffer, int buflen, int flags,
|
H A D | hmac.c | 149 const unsigned char *buf, const size_t buflen, in Curl_hmacit() argument 159 Curl_HMAC_update(ctxt, buf, curlx_uztoui(buflen)); in Curl_hmacit()
|
H A D | http1.h | 52 const char *buf, size_t buflen,
|
H A D | c-hyper.c | 79 uint8_t *buf, size_t buflen) in Curl_hyper_recv() argument 89 DEBUGF(infof(data, "Curl_hyper_recv(%zu)", buflen)); in Curl_hyper_recv() 91 (char *)buf, buflen, &nread); in Curl_hyper_recv() 94 DEBUGF(infof(data, "Curl_hyper_recv(%zu) -> EAGAIN", buflen)); in Curl_hyper_recv() 108 DEBUGF(infof(data, "Curl_hyper_recv(%zu) -> %zd", buflen, nread)); in Curl_hyper_recv() 113 const uint8_t *buf, size_t buflen) in Curl_hyper_send() argument 120 DEBUGF(infof(data, "Curl_hyper_send(%zu)", buflen)); in Curl_hyper_send() 122 (void *)buf, buflen, FALSE, &nwrote); in Curl_hyper_send() 124 DEBUGF(infof(data, "Curl_hyper_send(%zu) -> EAGAIN", buflen)); in Curl_hyper_send() 139 DEBUGF(infof(data, "Curl_hyper_send(%zu) -> %zd", buflen, nwrote)); in Curl_hyper_send()
|
/curl/src/ |
H A D | tool_getpass.c | 62 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument 84 &iosb, 0, 0, buffer, buflen, 0, 0, in getpass_r() 99 char *getpass_r(const char *prompt, char *buffer, size_t buflen) in getpass_r() argument 104 for(i = 0; i < buflen; i++) { in getpass_r() 119 if(i == buflen) in getpass_r() 120 buffer[buflen-1] = '\0'; in getpass_r() 177 size_t buflen) /* size of buffer to store password in */ in getpass_r() argument 188 nread = read(fd, password, buflen); in getpass_r()
|
H A D | tool_getpass.h | 35 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
|
H A D | tool_urlglob.c | 535 size_t buflen = glob->urllen + 1; in glob_next_url() local 589 msnprintf(buf, buflen, "%s", in glob_next_url() 593 buflen -= len; in glob_next_url() 597 if(buflen) { in glob_next_url() 600 buflen--; in glob_next_url() 604 msnprintf(buf, buflen, "%0*" CURL_FORMAT_CURL_OFF_T, in glob_next_url() 609 buflen -= len; in glob_next_url()
|
/curl/tests/unit/ |
H A D | unit2603.c | 74 size_t buflen, i, in_len, in_consumed; in parse_success() local 82 buflen = strlen(buf); in parse_success() 83 in_len += buflen; in parse_success() 84 nread = Curl_h1_req_parse_read(&p, buf, buflen, t->default_scheme, in parse_success() 91 if((size_t)nread != buflen) { in parse_success() 94 nread, buflen, buf); in parse_success()
|
H A D | unit1655.c | 144 const size_t buflen = sizeof(buffer); variable 154 DOHcode ret = doh_req_encode(sunshine1, dnstype, buffer, buflen, &olen1); 161 ret2 = doh_req_encode(dotshine1, dnstype, buffer, buflen, &olen2); 168 ret2 = doh_req_encode(sunshine2, dnstype, buffer, buflen, &olen2);
|
/curl/include/curl/ |
H A D | websockets.h | 55 CURL_EXTERN CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen, 71 size_t buflen, size_t *sent,
|
H A D | easy.h | 97 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, 109 size_t buflen, size_t *n);
|
/curl/packages/vms/ |
H A D | curl_crtl_init.c | 72 unsigned short int buflen; member 117 itlst[0].buflen = value_len; in sys_trnlnm() 122 itlst[1].buflen = 0; in sys_trnlnm() 162 item_list[0].buflen = strlen(value); in sys_crelnm() 167 item_list[1].buflen = 0; in sys_crelnm()
|
/curl/tests/http/clients/ |
H A D | ws-data.c | 96 static CURLcode send_binary(CURL *curl, char *buf, size_t buflen) in send_binary() argument 100 curl_ws_send(curl, buf, buflen, &nwritten, 0, CURLWS_BINARY); in send_binary() 102 (long)buflen, result, (long)nwritten); in send_binary()
|
H A D | hx-upload.c | 177 static size_t my_write_cb(char *buf, size_t nitems, size_t buflen, in my_write_cb() argument 181 size_t blen = (nitems * buflen); in my_write_cb() 194 nwritten = fwrite(buf, nitems, buflen, t->out); in my_write_cb() 203 static size_t my_read_cb(char *buf, size_t nitems, size_t buflen, in my_read_cb() argument 207 size_t blen = (nitems * buflen); in my_read_cb()
|
/curl/docs/libcurl/ |
H A D | curl_ws_recv.md | 27 CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen, 36 **buffer**, but not more than **buflen** bytes. *recv* is set to the
|
H A D | curl_easy_send.md | 27 size_t buflen, size_t *n); 38 **buffer** is a pointer to the data of length **buflen** that you want
|
H A D | curl_easy_recv.md | 26 CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, size_t *n); 38 received data. **buflen** is the maximum amount of data you can get in that
|
H A D | curl_ws_send.md | 27 CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen, 37 connection. The *buffer* holds the data to send and it is *buflen*
|