Home
last modified time | relevance | path

Searched refs:nPort (Results 1 – 16 of 16) sorted by relevance

/reactos/modules/rostests/winetests/winhttp/
H A Durl.c469 ok( uc.nPort == 80, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
505 ok( uc.nPort == 80, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
525 ok( uc.nPort == 80, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
682 ok( uc.nPort == 42, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
688 ok( uc.nPort == 0, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
693 ok( uc.nPort == 80, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
724 ok( uc.nPort == 80, "unexpected port: %u\n", uc.nPort ); in WinHttpCrackUrl_test()
787 ok( uc.nPort == 80, "unexpected port %u\n", uc.nPort ); in WinHttpCrackUrl_test()
822 ok( uc.nPort == 0, "unexpected port %u\n", uc.nPort ); in WinHttpCrackUrl_test()
843 ok( !uc.nPort, "got %u\n", uc.nPort ); in WinHttpCrackUrl_test()
[all …]
/reactos/dll/win32/winhttp/
H A Durl.c288 if ((err = parse_port( r, q - r, &uc->nPort ))) goto exit; in WinHttpCrackUrl()
293 if (scheme_number == INTERNET_SCHEME_HTTP) uc->nPort = INTERNET_DEFAULT_HTTP_PORT; in WinHttpCrackUrl()
294 if (scheme_number == INTERNET_SCHEME_HTTPS) uc->nPort = INTERNET_DEFAULT_HTTPS_PORT; in WinHttpCrackUrl()
318 if ((err = parse_port( r, len - (r - url), &uc->nPort ))) goto exit; in WinHttpCrackUrl()
323 if (scheme_number == INTERNET_SCHEME_HTTP) uc->nPort = INTERNET_DEFAULT_HTTP_PORT; in WinHttpCrackUrl()
324 if (scheme_number == INTERNET_SCHEME_HTTPS) uc->nPort = INTERNET_DEFAULT_HTTPS_PORT; in WinHttpCrackUrl()
331 debugstr_wn(*hostname.str, *hostname.len ), uc->nPort, debugstr_wn(*path.str, *path.len), in WinHttpCrackUrl()
420 if (!uses_default_port( scheme, uc->nPort )) in get_url_length()
424 *len += sprintfW( port, formatW, uc->nPort ); in get_url_length()
513 if (!uses_default_port( scheme, uc->nPort )) in WinHttpCreateUrl()
[all …]
H A Drequest.c2760 port = uc.nPort ? uc.nPort : (uc.nScheme == INTERNET_SCHEME_HTTPS ? 443 : 80); in handle_redirect()
3688 if (!(request->hconnect = WinHttpConnect( request->hsession, hostname, uc.nPort, 0 ))) in winhttp_request_Open()
3696 else if (!(request->hconnect = WinHttpConnect( request->hsession, hostname, uc.nPort, 0 ))) in winhttp_request_Open()
H A Dsession.c1800 if (!(con = WinHttpConnect( ses, hostname, uc.nPort, 0 ))) goto done; in download_script()
/reactos/modules/rostests/winetests/wininet/
H A Durl.c239 ok(url.nPort == test->port, "[%s] nPort = %d, expected %d\n", test->url, url.nPort, test->port); in test_crack_url()
313 … ok(urlw.nPort == test->port, "[%s] nPort = %d, expected %d\n", test->url, urlw.nPort, test->port); in test_crack_url()
395 test->url, test->port, url.nPort); in test_crack_url()
450 test->url, test->port, urlw.nPort); in test_crack_url()
845 lpUrlComponents->nPort = 80; in fill_url_components()
1041 urlComp.nPort = 42; in InternetCreateUrlA_test()
1058 urlComp.nPort = 80; in InternetCreateUrlA_test()
1083 urlComp.nPort = 443; in InternetCreateUrlA_test()
1134 urlComp.nPort = 8080; in InternetCreateUrlA_test()
1152 urlComp.nPort = 65535; in InternetCreateUrlA_test()
[all …]
/reactos/modules/rosapps/applications/net/roshttpd/include/
H A Dsocket.h82 virtual VOID SetPort( UINT nPort) {}; in SetPort() argument
127 virtual VOID SetPort( UINT nPort);
/reactos/dll/win32/wininet/
H A Dinternet.c1542 ret_comp->nPort = comp.nPort; in InternetCrackUrlA()
1709 lpUC->nPort = INTERNET_INVALID_PORT_NUMBER; in InternetCrackUrlW()
3505 port = components.nPort; in InternetCheckConnectionW()
3656 res = HTTP_Connect(hIC, host, urlComponents.nPort, in INTERNET_InternetOpenUrlW()
4173 (nPort == INTERNET_DEFAULT_HTTP_PORT)) in url_uses_default_port()
4176 (nPort == INTERNET_DEFAULT_HTTPS_PORT)) in url_uses_default_port()
4179 (nPort == INTERNET_DEFAULT_FTP_PORT)) in url_uses_default_port()
4182 (nPort == INTERNET_DEFAULT_GOPHER_PORT)) in url_uses_default_port()
4185 if (nPort == INTERNET_INVALID_PORT_NUMBER) in url_uses_default_port()
4273 _ltow(lpUrlComponents->nPort, port, 10); in calc_url_length()
[all …]
H A Dhttp.c1777 … UrlComponents.nPort, UrlComponents.nScheme == INTERNET_SCHEME_HTTPS, TRUE); in HTTP_DealWithProxy()
4108 urlComponents.nPort = request->server->port; in get_redirect_url()
4181 custom_port = urlComponents.nPort != INTERNET_DEFAULT_HTTP_PORT; in HTTP_HandleRedirect()
4189 custom_port = urlComponents.nPort != INTERNET_DEFAULT_HTTPS_PORT; in HTTP_HandleRedirect()
4195 session->hostPort = urlComponents.nPort; in HTTP_HandleRedirect()
4207 || request->server->port != urlComponents.nPort) { in HTTP_HandleRedirect()
4210 …new_server = get_server(host, urlComponents.nPort, urlComponents.nScheme == INTERNET_SCHEME_HTTPS,… in HTTP_HandleRedirect()
H A Dftp.c1378 uc.nPort = lpwfs->serverport; in FTP_FtpOpenFileW()
/reactos/modules/rosapps/applications/net/roshttpd/common/
H A Dsocket.cpp243 VOID CServerSocket::SetPort(UINT nPort) in SetPort() argument
247 Port = nPort; in SetPort()
/reactos/dll/win32/cryptnet/
H A Dcryptnet_main.c588 if (!components->nPort) in CRYPT_CrackUrl()
589 components->nPort = INTERNET_DEFAULT_FTP_PORT; in CRYPT_CrackUrl()
592 if (!components->nPort) in CRYPT_CrackUrl()
593 components->nPort = INTERNET_DEFAULT_HTTP_PORT; in CRYPT_CrackUrl()
797 components->nPort, context, pCredentials, phInt, phInt); in CRYPT_Connect()
821 components->nPort, NULL, NULL, service, 0, (DWORD_PTR)context); in CRYPT_Connect()
/reactos/dll/win32/qmgr/
H A Dfile.c384 if (!(con = WinHttpConnect(ses, uc->lpszHostName, uc->nPort, 0))) goto done; in transfer_file_http()
522 uc.nPort = 0; in processFile()
/reactos/dll/win32/mshtml/
H A Dhtmllocation.c329 if(url.nPort) { in HTMLLocation_get_host()
338 snprintfW(buf + url.dwHostNameLength + 1, 6, format, url.nPort); in HTMLLocation_get_host()
/reactos/sdk/include/psdk/
H A Dwinhttp.h471 INTERNET_PORT nPort; member
H A Dwininet.h199 INTERNET_PORT nPort; member
217 INTERNET_PORT nPort; member
/reactos/dll/win32/rpcrt4/
H A Drpc_transport.c3042 uc.nPort = 0; in set_auth_cookie()