Lines Matching refs:size

355   size_t size;  in Curl_auth_create_ntlm_type1_message()  local
410 size = 32 + hostlen + domlen; in Curl_auth_create_ntlm_type1_message()
434 Curl_bufref_set(out, ntlmbuf, size, curl_free); in Curl_auth_create_ntlm_type1_message()
479 size_t size; in Curl_auth_create_ntlm_type3_message() local
592 size = msnprintf((char *)ntlmbuf, NTLM_BUFSIZE, in Curl_auth_create_ntlm_type3_message()
669 DEBUGASSERT(size == 64); in Curl_auth_create_ntlm_type3_message()
670 DEBUGASSERT(size == (size_t)lmrespoff); in Curl_auth_create_ntlm_type3_message()
673 if(size < (NTLM_BUFSIZE - 0x18)) { in Curl_auth_create_ntlm_type3_message()
674 memcpy(&ntlmbuf[size], lmresp, 0x18); in Curl_auth_create_ntlm_type3_message()
675 size += 0x18; in Curl_auth_create_ntlm_type3_message()
684 if(ntresplen + size > sizeof(ntlmbuf)) { in Curl_auth_create_ntlm_type3_message()
688 DEBUGASSERT(size == (size_t)ntrespoff); in Curl_auth_create_ntlm_type3_message()
689 memcpy(&ntlmbuf[size], ptr_ntresp, ntresplen); in Curl_auth_create_ntlm_type3_message()
690 size += ntresplen; in Curl_auth_create_ntlm_type3_message()
708 if(size + userlen + domlen + hostlen >= NTLM_BUFSIZE) { in Curl_auth_create_ntlm_type3_message()
713 DEBUGASSERT(size == domoff); in Curl_auth_create_ntlm_type3_message()
715 unicodecpy(&ntlmbuf[size], domain, domlen / 2); in Curl_auth_create_ntlm_type3_message()
717 memcpy(&ntlmbuf[size], domain, domlen); in Curl_auth_create_ntlm_type3_message()
719 size += domlen; in Curl_auth_create_ntlm_type3_message()
721 DEBUGASSERT(size == useroff); in Curl_auth_create_ntlm_type3_message()
723 unicodecpy(&ntlmbuf[size], user, userlen / 2); in Curl_auth_create_ntlm_type3_message()
725 memcpy(&ntlmbuf[size], user, userlen); in Curl_auth_create_ntlm_type3_message()
727 size += userlen; in Curl_auth_create_ntlm_type3_message()
729 DEBUGASSERT(size == hostoff); in Curl_auth_create_ntlm_type3_message()
731 unicodecpy(&ntlmbuf[size], host, hostlen / 2); in Curl_auth_create_ntlm_type3_message()
733 memcpy(&ntlmbuf[size], host, hostlen); in Curl_auth_create_ntlm_type3_message()
735 size += hostlen; in Curl_auth_create_ntlm_type3_message()
738 result = Curl_bufref_memdup(out, ntlmbuf, size); in Curl_auth_create_ntlm_type3_message()