Home
last modified time | relevance | path

Searched refs:domlen (Results 1 – 7 of 7) sorted by relevance

/third_party/curl/lib/vauth/
Dntlm.c373 size_t domlen = 0; in Curl_auth_create_ntlm_type1_message() local
413 SHORTPAIR(domlen), in Curl_auth_create_ntlm_type1_message()
414 SHORTPAIR(domlen), in Curl_auth_create_ntlm_type1_message()
428 size = 32 + hostlen + domlen; in Curl_auth_create_ntlm_type1_message()
517 size_t domlen = 0; in Curl_auth_create_ntlm_type3_message() local
525 domlen = (user - domain); in Curl_auth_create_ntlm_type3_message()
565 result = Curl_ntlm_core_mk_ntlmv2_hash(user, userlen, domain, domlen, in Curl_auth_create_ntlm_type3_message()
654 domlen = domlen * 2; in Curl_auth_create_ntlm_type3_message()
666 useroff = domoff + domlen; in Curl_auth_create_ntlm_type3_message()
731 SHORTPAIR(domlen), in Curl_auth_create_ntlm_type3_message()
[all …]
/third_party/curl/lib/
Dcurl_sspi.c148 size_t domlen = 0; in Curl_create_sspi_identity() local
165 domlen = user.tchar_ptr - useranddomain.tchar_ptr; in Curl_create_sspi_identity()
171 domlen = 0; in Curl_create_sspi_identity()
185 dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1)); in Curl_create_sspi_identity()
190 _tcsncpy(dup_domain.tchar_ptr, domain.tchar_ptr, domlen); in Curl_create_sspi_identity()
191 *(dup_domain.tchar_ptr + domlen) = TEXT('\0'); in Curl_create_sspi_identity()
193 identity->DomainLength = curlx_uztoul(domlen); in Curl_create_sspi_identity()
Dcurl_ntlm_core.c566 const char *domain, size_t domlen, in Curl_ntlm_core_mk_ntlmv2_hash() argument
575 if((userlen > CURL_MAX_INPUT_LENGTH) || (domlen > CURL_MAX_INPUT_LENGTH)) in Curl_ntlm_core_mk_ntlmv2_hash()
578 identity_len = (userlen + domlen) * 2; in Curl_ntlm_core_mk_ntlmv2_hash()
585 ascii_to_unicode_le(identity + (userlen << 1), domain, domlen); in Curl_ntlm_core_mk_ntlmv2_hash()
Dcurl_ntlm_core.h86 const char *domain, size_t domlen,
/third_party/musl/src/locale/
Ddcngettext.c45 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain() local
47 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
62 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain()
70 p->dirname = p->buf + domlen + 1; in bindtextdomain()
71 memcpy(p->domainname, domainname, domlen+1); in bindtextdomain()
123 size_t domlen; in dcngettext() local
131 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
132 if (domlen > NAME_MAX) goto notrans; in dcngettext()
174 char name[dirlen+1 + loclen+modlen+1 + catlen+1 + domlen+3 + 1]; in dcngettext()
Dtextdomain.c18 size_t domlen = strlen(domainname); in textdomain() local
19 if (domlen > NAME_MAX) { in textdomain()
29 memcpy(current_domain, domainname, domlen+1); in textdomain()
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c69 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain() local
71 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
86 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain()
94 p->dirname = p->buf + domlen + 1; in bindtextdomain()
95 memcpy(p->domainname, domainname, domlen+1); in bindtextdomain()
154 size_t domlen; in dcngettext() local
166 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
167 if (domlen > NAME_MAX) { in dcngettext()
221 char name[dirlen+1 + loclen+modlen+1 + catlen+1 + domlen+3 + 1]; in dcngettext()