Lines Matching refs:tchar_ptr
153 useranddomain.tchar_ptr = Curl_convert_UTF8_to_tchar((char *)userp); in Curl_create_sspi_identity()
154 if(!useranddomain.tchar_ptr) in Curl_create_sspi_identity()
161 if(user.tchar_ptr) { in Curl_create_sspi_identity()
162 domain.tchar_ptr = useranddomain.tchar_ptr; in Curl_create_sspi_identity()
163 domlen = user.tchar_ptr - useranddomain.tchar_ptr; in Curl_create_sspi_identity()
164 user.tchar_ptr++; in Curl_create_sspi_identity()
167 user.tchar_ptr = useranddomain.tchar_ptr; in Curl_create_sspi_identity()
173 dup_user.tchar_ptr = _tcsdup(user.tchar_ptr); in Curl_create_sspi_identity()
174 if(!dup_user.tchar_ptr) { in Curl_create_sspi_identity()
175 Curl_unicodefree(useranddomain.tchar_ptr); in Curl_create_sspi_identity()
179 identity->UserLength = curlx_uztoul(_tcslen(dup_user.tchar_ptr)); in Curl_create_sspi_identity()
180 dup_user.tchar_ptr = NULL; in Curl_create_sspi_identity()
183 dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1)); in Curl_create_sspi_identity()
184 if(!dup_domain.tchar_ptr) { in Curl_create_sspi_identity()
185 Curl_unicodefree(useranddomain.tchar_ptr); in Curl_create_sspi_identity()
188 _tcsncpy(dup_domain.tchar_ptr, domain.tchar_ptr, domlen); in Curl_create_sspi_identity()
189 *(dup_domain.tchar_ptr + domlen) = TEXT('\0'); in Curl_create_sspi_identity()
192 dup_domain.tchar_ptr = NULL; in Curl_create_sspi_identity()
194 Curl_unicodefree(useranddomain.tchar_ptr); in Curl_create_sspi_identity()
197 passwd.tchar_ptr = Curl_convert_UTF8_to_tchar((char *)passwdp); in Curl_create_sspi_identity()
198 if(!passwd.tchar_ptr) in Curl_create_sspi_identity()
200 dup_passwd.tchar_ptr = _tcsdup(passwd.tchar_ptr); in Curl_create_sspi_identity()
201 if(!dup_passwd.tchar_ptr) { in Curl_create_sspi_identity()
202 Curl_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity()
206 identity->PasswordLength = curlx_uztoul(_tcslen(dup_passwd.tchar_ptr)); in Curl_create_sspi_identity()
207 dup_passwd.tchar_ptr = NULL; in Curl_create_sspi_identity()
209 Curl_unicodefree(passwd.tchar_ptr); in Curl_create_sspi_identity()