Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 17 of 17) sorted by relevance

/curl/lib/
H A Dstrcase.c149 void Curl_strntoupper(char *dest, const char *src, size_t n) in Curl_strntoupper() argument
155 *dest++ = Curl_raw_toupper(*src); in Curl_strntoupper()
164 void Curl_strntolower(char *dest, const char *src, size_t n) in Curl_strntolower() argument
170 *dest++ = Curl_raw_tolower(*src); in Curl_strntolower()
H A Dstrcase.h48 void Curl_strntoupper(char *dest, const char *src, size_t n);
49 void Curl_strntolower(char *dest, const char *src, size_t n);
H A Dcurl_ntlm_core.c402 static void ascii_to_unicode_le(unsigned char *dest, const char *src, in ascii_to_unicode_le() argument
407 dest[2 * i] = (unsigned char)src[i]; in ascii_to_unicode_le()
408 dest[2 * i + 1] = '\0'; in ascii_to_unicode_le()
414 static void ascii_uppercase_to_unicode_le(unsigned char *dest, in ascii_uppercase_to_unicode_le() argument
419 dest[2 * i] = (unsigned char)(Curl_raw_toupper(src[i])); in ascii_uppercase_to_unicode_le()
420 dest[2 * i + 1] = '\0'; in ascii_uppercase_to_unicode_le()
H A Dcf-socket.h98 void Curl_sock_assign_addr(struct Curl_sockaddr_ex *dest,
H A Dcf-socket.c309 void Curl_sock_assign_addr(struct Curl_sockaddr_ex *dest, in Curl_sock_assign_addr() argument
320 dest->family = ai->ai_family; in Curl_sock_assign_addr()
323 dest->socktype = SOCK_STREAM; in Curl_sock_assign_addr()
324 dest->protocol = IPPROTO_TCP; in Curl_sock_assign_addr()
327 dest->socktype = SOCK_STREAM; in Curl_sock_assign_addr()
328 dest->protocol = IPPROTO_IP; in Curl_sock_assign_addr()
331 dest->socktype = SOCK_DGRAM; in Curl_sock_assign_addr()
332 dest->protocol = IPPROTO_UDP; in Curl_sock_assign_addr()
335 dest->addrlen = (unsigned int)ai->ai_addrlen; in Curl_sock_assign_addr()
338 dest->addrlen = sizeof(struct Curl_sockaddr_storage); in Curl_sock_assign_addr()
[all …]
H A Dsocks.c837 char dest[MAX_IPADR_LEN]; /* printable address */ in do_SOCKS5() local
856 Curl_printable_address(hp, dest, sizeof(dest)); in do_SOCKS5()
872 infof(data, "SOCKS5 connect to %s:%d (locally resolved)", dest, in do_SOCKS5()
887 infof(data, "SOCKS5 connect to [%s]:%d (locally resolved)", dest, in do_SOCKS5()
893 failf(data, "SOCKS5 connection to %s not supported", dest); in do_SOCKS5()
H A Dconncache.c79 char *dest[1]; /* destination of bundle, allocated to keep dest_len bytes */ member
104 static struct cpool_bundle *cpool_bundle_create(const char *dest, in cpool_bundle_create() argument
113 memcpy(bundle->dest, dest, dest_len); in cpool_bundle_create()
262 bundle->dest, bundle->dest_len, bundle)) { in cpool_add_bundle()
275 Curl_hash_delete(&cpool->dest2bundle, bundle->dest, bundle->dest_len); in cpool_remove_bundle()
H A Durlapi.c615 char dest[16]; /* fits a binary IPv6 address */ in ipv6_parse() local
617 if(1 != Curl_inet_pton(AF_INET6, hostname, dest)) in ipv6_parse()
619 if(Curl_inet_ntop(AF_INET6, dest, hostname, hlen)) { in ipv6_parse()
1378 #define DUP(dest, src, name) \ argument
1381 dest->name = strdup(src->name); \
1382 if(!dest->name) \
H A Dftp.c1170 char *dest = target; in ftp_state_use_port() local
1175 *dest = ','; in ftp_state_use_port()
1177 *dest = *source; in ftp_state_use_port()
1178 dest++; in ftp_state_use_port()
1181 *dest = 0; in ftp_state_use_port()
1182 msnprintf(dest, 20, ",%d,%d", (int)(port >> 8), (int)(port & 0xff)); in ftp_state_use_port()
/curl/docs/examples/
H A Dpost-callback.c46 static size_t read_callback(char *dest, size_t size, size_t nmemb, void *userp) in read_callback() argument
56 memcpy(dest, wt->readptr, copy_this_much); in read_callback()
/curl/lib/vauth/
H A Ddigest.c147 unsigned char *dest) /* 33 bytes */ in auth_digest_md5_to_ascii() argument
151 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_md5_to_ascii()
156 unsigned char *dest) /* 65 bytes */ in auth_digest_sha256_to_ascii() argument
160 msnprintf((char *) &dest[i * 2], 3, "%02x", source[i]); in auth_digest_sha256_to_ascii()
166 char *dest; in auth_digest_string_quoted() local
179 dest = malloc(n); in auth_digest_string_quoted()
180 if(dest) { in auth_digest_string_quoted()
181 char *d = dest; in auth_digest_string_quoted()
192 return dest; in auth_digest_string_quoted()
H A Dntlm.c306 static void unicodecpy(unsigned char *dest, const char *src, size_t length) in unicodecpy() argument
310 dest[2 * i] = (unsigned char)src[i]; in unicodecpy()
311 dest[2 * i + 1] = '\0'; in unicodecpy()
/curl/lib/vtls/
H A Dvtls.c116 DEBUGASSERT(dest); in blobdup()
117 DEBUGASSERT(!*dest); in blobdup()
130 *dest = d; in blobdup()
244 dest->version = source->version; in clone_ssl_primary_config()
245 dest->version_max = source->version_max; in clone_ssl_primary_config()
246 dest->verifypeer = source->verifypeer; in clone_ssl_primary_config()
247 dest->verifyhost = source->verifyhost; in clone_ssl_primary_config()
250 dest->ssl_options = source->ssl_options; in clone_ssl_primary_config()
389 dest = &data->conn->ssl_config; in Curl_ssl_conn_config_update()
391 dest->verifyhost = src->verifyhost; in Curl_ssl_conn_config_update()
[all …]
/curl/docs/cmdline-opts/
H A Dmail-rcpt-allowfails.md13 - --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
/curl/packages/vms/
H A Dpcsi_product_gnv_curl.com190 /source=stage_root:[kit]/dest=stage_root:[kit] -
/curl/lib/vquic/
H A Dcurl_ngtcp2.c682 static void cb_rand(uint8_t *dest, size_t destlen, in cb_rand() argument
688 result = Curl_rand(NULL, dest, destlen); in cb_rand()
692 memset(dest, 0, destlen); in cb_rand()
/curl/docs/
H A DTODO401 addresses that were used in the attempt. Source + dest IP, source + dest port

Completed in 96 milliseconds