Home
last modified time | relevance | path

Searched refs:olen (Results 1 – 10 of 10) sorted by relevance

/curl/lib/
H A Descape.c124 char **ostring, size_t *olen, in Curl_urldecode() argument
167 if(olen) in Curl_urldecode()
169 *olen = ns - *ostring; in Curl_urldecode()
182 int length, int *olen) in curl_easy_unescape() argument
194 if(olen) { in curl_easy_unescape()
196 *olen = curlx_uztosi(outputlen); in curl_easy_unescape()
223 DEBUGASSERT(src && len && (olen >= 3)); in Curl_hexencode()
224 if(src && len && (olen >= 3)) { in Curl_hexencode()
225 while(len-- && (olen >= 3)) { in Curl_hexencode()
231 olen -= 2; in Curl_hexencode()
[all …]
H A Descape.h38 char **ostring, size_t *olen,
42 unsigned char *out, size_t olen); /* output buffer size */
H A Dheaders.c228 size_t olen; /* length of the old value */ in unfold_value() local
233 olen = strlen(hs->value); in unfold_value()
235 oalloc = olen + offset + 1; in unfold_value()
263 memcpy(&newhs->value[olen], value, vlen); in unfold_value()
264 newhs->value[olen + vlen] = 0; /* null-terminate at newline */ in unfold_value()
H A Ddoh.h172 size_t *olen); /* output length */
H A Ddoh.c89 size_t *olen) /* output length */ in doh_req_encode() argument
152 *olen = 0; in doh_req_encode()
174 *olen = dnsp - orig; in doh_req_encode()
178 DEBUGASSERT(*olen == expected_len); in doh_req_encode()
H A Dtelnet.c821 size_t olen; in check_telnet_options() local
826 olen = sep - option; in check_telnet_options()
830 switch(olen) { in check_telnet_options()
H A Durl.c2574 size_t olen; local
2593 olen = (osep ?
2612 if(olen) {
2613 obuf = Curl_memdup0(&osep[1], olen);
/curl/tests/unit/
H A Dunit1655.c104 size_t olen = 100000; variable
113 &olen);
133 fail_unless(olen <= sizeof(victim.dohbuffer), "wrote outside bounds");
134 fail_unless(olen > strlen(name), "unrealistic low size");
152 size_t olen; variable
174 ret = doh_req_encode(sunshine1, dnstype, buffer, olen1 - 1, &olen);
178 ret = doh_req_encode(sunshine1, dnstype, buffer, olen1, &olen);
180 fail_unless(olen == olen1, "bad buffer length");
/curl/src/
H A Dtool_help.c180 ctx->olen = 0; in inithelpscan()
214 DEBUGASSERT(ctx->olen < sizeof(ctx->obuf)); in helpscan()
215 if(ctx->olen == sizeof(ctx->obuf)) in helpscan()
217 ctx->obuf[ctx->olen++] = 0; in helpscan()
218 ctx->olen = 0; in helpscan()
222 DEBUGASSERT(ctx->olen < sizeof(ctx->obuf)); in helpscan()
223 if(ctx->olen == sizeof(ctx->obuf)) in helpscan()
225 ctx->obuf[ctx->olen++] = buf[i]; in helpscan()
H A Dtool_help.h38 size_t olen; member

Completed in 27 milliseconds