Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 9 of 9) sorted by relevance

/curl/src/
H A Dtool_dirhie.c128 size_t dlen = strlen(dirbuildup); in create_dir_hierarchy() local
129 if(dlen) in create_dir_hierarchy()
130 msnprintf(&dirbuildup[dlen], outlen - dlen, "%s%s", DIR_CHAR, tempdir); in create_dir_hierarchy()
/curl/lib/
H A Dbufq.c40 return chunk->w_offset >= chunk->dlen; in chunk_is_full()
50 return chunk->dlen - chunk->w_offset; in chunk_space()
63 size_t n = chunk->dlen - chunk->w_offset; in chunk_append()
64 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_append()
116 size_t n = chunk->dlen - chunk->w_offset; /* free amount */ in chunk_slurpn()
119 DEBUGASSERT(chunk->dlen >= chunk->w_offset); in chunk_slurpn()
205 chunk->dlen = pool->chunk_size; in bufcp_take()
298 space += chunk->dlen; in Curl_bufq_space()
349 chunk->dlen = q->chunk_size; in get_spare()
H A Daltsvc.c97 size_t dlen, /* dsthost length */ in altsvc_createid() argument
109 DEBUGASSERT(dlen); in altsvc_createid()
110 if(!hlen || !dlen) { in altsvc_createid()
123 if((dlen > 2) && dsthost[0] == '[') { in altsvc_createid()
126 dlen -= 2; in altsvc_createid()
133 as->dst.host = Curl_memdup0(dsthost, dlen); in altsvc_createid()
H A Durlapi.c772 size_t dlen; in urldecode_host() local
774 CURLcode result = Curl_urldecode(hostname, 0, &decoded, &dlen, in urldecode_host()
779 result = Curl_dyn_addn(host, decoded, dlen); in urldecode_host()
1643 size_t dlen; in curl_url_get() local
1646 CURLcode res = Curl_urldecode(*part, 0, &decoded, &dlen, REJECT_CTRL); in curl_url_get()
1653 partlen = dlen; in curl_url_get()
1994 size_t dlen; in curl_url_set() local
1997 Curl_urldecode(newp, n, &decoded, &dlen, REJECT_CTRL); in curl_url_set()
1998 if(result || hostname_check(u, decoded, dlen)) in curl_url_set()
H A Dbufq.h37 size_t dlen; /* the amount of allocated x.data[] */ member
H A Dmprintf.c970 size_t dlen; in formatf() local
974 dlen = (size_t)curl_msnprintf(fptr, left, "%d", width); in formatf()
975 fptr += dlen; in formatf()
976 left -= dlen; in formatf()
H A Dcookie.c950 size_t dlen = strlen(domain); in is_public_suffix() local
952 if((dlen < sizeof(lcase)) && (clen < sizeof(lcookie))) { in is_public_suffix()
956 Curl_strntolower(lcase, domain, dlen + 1); in is_public_suffix()
/curl/packages/OS400/
H A Dccsidcurl.c108 convert(char *d, size_t dlen, int dccsid, in convert() argument
131 i = lslen < dlen ? lslen : dlen; in convert()
151 i = dlen; in convert()
153 if((int) iconv(cd, (char * *) &s, &lslen, &d, &dlen) < 0) in convert()
156 i -= dlen; in convert()
167 size_t dlen; in dynconvert() local
173 dlen = (size_t) (slen < 0 ? strlen(s) : slen) + 1; in dynconvert()
174 dlen *= MAX_CONV_EXPANSION; /* Allow some expansion. */ in dynconvert()
175 d = malloc(dlen); in dynconvert()
180 l = convert(d, dlen, dccsid, s, slen, sccsid); in dynconvert()
[all …]
/curl/tests/unit/
H A Dunit2601.c73 chunk->dlen, chunk->r_offset, chunk->w_offset); in dump_bufq()

Completed in 43 milliseconds