Home
last modified time | relevance | path

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

/third_party/curl/lib/
H A Dcurl_sspi.c150 size_t domlen = 0; in Curl_create_sspi_identity() local
167 domlen = user.tchar_ptr - useranddomain.tchar_ptr; in Curl_create_sspi_identity()
173 domlen = 0; in Curl_create_sspi_identity()
187 dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1)); in Curl_create_sspi_identity()
192 _tcsncpy(dup_domain.tchar_ptr, domain.tchar_ptr, domlen); in Curl_create_sspi_identity()
193 *(dup_domain.tchar_ptr + domlen) = TEXT('\0'); in Curl_create_sspi_identity()
195 identity->DomainLength = curlx_uztoul(domlen); in Curl_create_sspi_identity()
H A Dcurl_ntlm_core.c506 const char *domain, size_t domlen, in Curl_ntlm_core_mk_ntlmv2_hash()
515 if((userlen > CURL_MAX_INPUT_LENGTH) || (domlen > CURL_MAX_INPUT_LENGTH)) in Curl_ntlm_core_mk_ntlmv2_hash()
518 identity_len = (userlen + domlen) * 2; in Curl_ntlm_core_mk_ntlmv2_hash()
525 ascii_to_unicode_le(identity + (userlen << 1), domain, domlen); in Curl_ntlm_core_mk_ntlmv2_hash()
505 Curl_ntlm_core_mk_ntlmv2_hash(const char *user, size_t userlen, const char *domain, size_t domlen, unsigned char *ntlmhash, unsigned char *ntlmv2hash) Curl_ntlm_core_mk_ntlmv2_hash() argument
H A Dcurl_ntlm_core.h60 const char *domain, size_t domlen,
/third_party/curl/lib/vauth/
H A Dntlm.c365 size_t domlen = 0; in Curl_auth_create_ntlm_type1_message() local
399 SHORTPAIR(domlen), in Curl_auth_create_ntlm_type1_message()
400 SHORTPAIR(domlen), in Curl_auth_create_ntlm_type1_message()
414 size = 32 + hostlen + domlen; in Curl_auth_create_ntlm_type1_message()
501 size_t domlen = 0; in Curl_auth_create_ntlm_type3_message() local
511 domlen = (user - domain); in Curl_auth_create_ntlm_type3_message()
551 result = Curl_ntlm_core_mk_ntlmv2_hash(user, userlen, domain, domlen, in Curl_auth_create_ntlm_type3_message()
596 domlen = domlen * 2; in Curl_auth_create_ntlm_type3_message()
604 useroff = domoff + domlen; in Curl_auth_create_ntlm_type3_message()
[all...]
/third_party/musl/porting/linux/user/src/locale/
H A Ddcngettext.c77 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain() local
79 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
94 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain()
102 p->dirname = p->buf + domlen + 1; in bindtextdomain()
103 memcpy(p->domainname, domainname, domlen+1); in bindtextdomain()
162 size_t domlen; in dcngettext() local
179 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
180 if (domlen > NAME_MAX) { in dcngettext()
234 char name[dirlen+1 + loclen+modlen+1 + catlen+1 + domlen+3 + 1]; in dcngettext()
/third_party/musl/src/locale/
H A Ddcngettext.c53 size_t domlen = strnlen(domainname, NAME_MAX+1); in bindtextdomain()
55 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain()
70 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain()
78 p->dirname = p->buf + domlen + 1; in bindtextdomain()
79 memcpy(p->domainname, domainname, domlen+1); in bindtextdomain()
150 size_t domlen; in dcngettext() local
161 domlen = strnlen(domainname, NAME_MAX+1); in dcngettext()
162 if (domlen > NAME_MAX) goto notrans; in dcngettext()
204 char name[dirlen+1 + loclen+modlen+1 + catlen+1 + domlen+3 + 1]; in dcngettext()
H A Dtextdomain.c18 size_t domlen = strlen(domainname); in textdomain()
19 if (domlen > NAME_MAX) { in textdomain()
29 memcpy(current_domain, domainname, domlen+1); in textdomain()

Completed in 4 milliseconds