Lines Matching refs:tchar_ptr
157 useranddomain.tchar_ptr = curlx_convert_UTF8_to_tchar((char *)userp);
158 if(!useranddomain.tchar_ptr)
165 if(user.tchar_ptr) {
166 domain.tchar_ptr = useranddomain.tchar_ptr;
167 domlen = user.tchar_ptr - useranddomain.tchar_ptr;
168 user.tchar_ptr++;
171 user.tchar_ptr = useranddomain.tchar_ptr;
177 dup_user.tchar_ptr = _tcsdup(user.tchar_ptr);
178 if(!dup_user.tchar_ptr) {
179 curlx_unicodefree(useranddomain.tchar_ptr);
183 identity->UserLength = curlx_uztoul(_tcslen(dup_user.tchar_ptr));
184 dup_user.tchar_ptr = NULL;
187 dup_domain.tchar_ptr = malloc(sizeof(TCHAR) * (domlen + 1));
188 if(!dup_domain.tchar_ptr) {
189 curlx_unicodefree(useranddomain.tchar_ptr);
192 _tcsncpy(dup_domain.tchar_ptr, domain.tchar_ptr, domlen);
193 *(dup_domain.tchar_ptr + domlen) = TEXT('\0');
196 dup_domain.tchar_ptr = NULL;
198 curlx_unicodefree(useranddomain.tchar_ptr);
201 passwd.tchar_ptr = curlx_convert_UTF8_to_tchar((char *)passwdp);
202 if(!passwd.tchar_ptr)
204 dup_passwd.tchar_ptr = _tcsdup(passwd.tchar_ptr);
205 if(!dup_passwd.tchar_ptr) {
206 curlx_unicodefree(passwd.tchar_ptr);
210 identity->PasswordLength = curlx_uztoul(_tcslen(dup_passwd.tchar_ptr));
211 dup_passwd.tchar_ptr = NULL;
213 curlx_unicodefree(passwd.tchar_ptr);