Home
last modified time | relevance | path

Searched refs:hp (Results 1 – 25 of 37) sorted by relevance

12

/reactos/dll/opengl/glu32/src/libnurbs/internals/
H A Dsorter.cc80 char *lp, *hp; in qs1() local
88 hp = lp = a+n; in qs1()
104 if(j > hp) { in qs1()
105 if((c = qscmp(hp, j)) == 0) { in qs1()
106 qsexc(hp += es, j); in qs1()
111 qstexc(i, hp += es, j); in qs1()
125 if(lp-a >= l-hp) { in qs1()
126 qs1(hp+es, l); in qs1()
130 a = hp+es; in qs1()
136 j = hp -= es; in qs1()
/reactos/base/applications/network/whois/
H A Dwhois.c89 struct hostent *hp; in main() local
115 hp = gethostbyname(host); in main()
116 if (hp == NULL) { in main()
120 host = hp->h_name; in main()
122 s = socket(hp->h_addrtype, SOCK_STREAM, 0); in main()
129 sin.sin_family = hp->h_addrtype; in main()
135 memcpy((char *)&sin.sin_addr, hp->h_addr, hp->h_length); in main()
145 (void)printf("[%s]\n", hp->h_name); in main()
/reactos/modules/rosapps/applications/net/ncftp/sio/
H A DStrAddr.c59 struct hostent *hp; in AddrStrToAddr() local
120 hp = gethostbyname(hostcp); in AddrStrToAddr()
121 if (hp == NULL) { in AddrStrToAddr()
126 sa->sin_family = hp->h_addrtype; in AddrStrToAddr()
127 memcpy(&sa->sin_addr.s_addr, hp->h_addr_list[0], in AddrStrToAddr()
128 (size_t) hp->h_length); in AddrStrToAddr()
139 struct hostent *hp; in AddrToAddrStr() local
148 hp = gethostbyaddr((char *) &saddrp->sin_addr, (int) sizeof(struct in_addr), AF_INET); in AddrToAddrStr()
149 if ((hp != NULL) && (hp->h_name != NULL) && (hp->h_name[0] != '\0')) { in AddrToAddrStr()
150 addrNamePtr = hp->h_name; in AddrToAddrStr()
/reactos/base/applications/network/finger/
H A Dnet.c45 struct hostent *hp, def; in netfinger() local
63 hp = &def; in netfinger()
64 } else if (!(hp = gethostbyname(host))) { in netfinger()
73 sin.sin_family = hp->h_addrtype; in netfinger()
74 bcopy(hp->h_addr, (char *)&sin.sin_addr, hp->h_length); in netfinger()
76 if ((s = socket(hp->h_addrtype, SOCK_STREAM, 0)) == INVALID_SOCKET) { in netfinger()
82 (void)printf("[%s]\n", hp->h_name); in netfinger()
/reactos/dll/3rdparty/libtirpc/src/
H A Dgetrpcport.c52 struct hostent *hp; local
56 if ((hp = gethostbyname(host)) == NULL)
61 if (hp->h_length > sizeof(addr))
62 hp->h_length = sizeof(addr);
63 memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length);
H A Dgetrpcent.c215 struct rpcent *hp; in getrpcent() local
247 hp = interpret(val, vallen); in getrpcent()
249 return hp; in getrpcent()
/reactos/modules/rostests/winetests/gdi32/
H A Dgdiobj.c36 HPEN hp; in test_gdi_objects() local
48 hp, GetLastError()); in test_gdi_objects()
52 hp = SelectObject(hdc, NULL); in test_gdi_objects()
53 ok(!hp && !GetLastError(), in test_gdi_objects()
55 hp, GetLastError()); in test_gdi_objects()
59 hp = SelectObject(hdc, GetStockObject(BLACK_PEN)); in test_gdi_objects()
60 ok(hp && !GetLastError(), in test_gdi_objects()
62 hp, GetLastError()); in test_gdi_objects()
66 hp = GetCurrentObject(NULL, OBJ_PEN); in test_gdi_objects()
67 ok(!hp && !GetLastError(), in test_gdi_objects()
[all …]
/reactos/dll/3rdparty/libtiff/
H A Dtif_lzw.c960 ent = hp->code; in LZWEncode()
1002 hp->hash = fcode; in LZWEncode()
1127 hp[-7].hash = -1; in cl_hash()
1128 hp[-6].hash = -1; in cl_hash()
1129 hp[-5].hash = -1; in cl_hash()
1130 hp[-4].hash = -1; in cl_hash()
1131 hp[-3].hash = -1; in cl_hash()
1132 hp[-2].hash = -1; in cl_hash()
1133 hp[-1].hash = -1; in cl_hash()
1135 hp -= 8; in cl_hash()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dftp.c56 struct hostent *hp; in GetHostEntry() local
64 hp = NULL; in GetHostEntry()
68 if (hp != NULL) in GetHostEntry()
69 (void) memcpy(&ip.s_addr, hp->h_addr_list[0], (size_t) hp->h_length); in GetHostEntry()
73 return (hp); in GetHostEntry()
90 struct hostent *hp; in GetOurHostName()
111 if (hp != NULL) { in GetOurHostName()
357 struct hostent *hp; in OpenControlConnection() local
398 if (hp == NULL) { in OpenControlConnection()
420 if (hp == NULL) { in OpenControlConnection()
[all …]
/reactos/modules/rosapps/applications/net/ncftp/ncftp/
H A Dutil.c218 struct hostent *hp; in GetHostEntry() local
230 if (hp != NULL) in GetHostEntry()
235 return (hp); in GetHostEntry()
829 struct hostent *hp; in GetHostByName() local
838 hp = gethostbyname(hn); in GetHostByName()
839 if (hp != NULL) { in GetHostByName()
840 (void) memcpy(&ina.s_addr, hp->h_addr_list[0], (size_t) hp->h_length); in GetHostByName()
848 struct hostent *hp; in GetHostByName()
890 hp = gethostbyname(hn); in GetHostByName()
896 if (hp != NULL) { in GetHostByName()
[all …]
H A Dcmds.c1889 struct hostent *hp; in LookupCmd() local
1910 hp = GetHostEntry((host = argv[i]), &ip_address); in LookupCmd()
1913 if (hp == NULL) { in LookupCmd()
1916 MyInetAddr(ipStr, sizeof(ipStr), hp->h_addr_list, 0); in LookupCmd()
1917 Trace(-1, "%-40s %s\n", hp->h_name, ipStr); in LookupCmd()
1920 Trace(-1, " Name: %s\n", hp->h_name); in LookupCmd()
1921 for (cpp = hp->h_aliases; *cpp != NULL; cpp++) in LookupCmd()
1923 for (j = 0, cpp = hp->h_addr_list; *cpp != NULL; cpp++, ++j) { in LookupCmd()
1924 MyInetAddr(ipStr, sizeof(ipStr), hp->h_addr_list, j); in LookupCmd()
/reactos/sdk/lib/3rdparty/freetype/src/gzip/
H A Dinftrees.c103 inflate_huft *hp, /* space for trees */ in huft_build() argument
240 u[h] = q = hp + *hn; in huft_build()
303 inflate_huft *hp, /* space for trees */ in inflate_trees_bits() argument
314 tb, bb, hp, &hn, v); in inflate_trees_bits()
335 inflate_huft *hp, /* space for trees */ in inflate_trees_dynamic() argument
348 r = huft_build(c, nl, 257, cplens, cplext, tl, bl, hp, &hn, v); in inflate_trees_dynamic()
363 r = huft_build(c + nl, nd, 0, cpdist, cpdext, td, bd, hp, &hn, v); in inflate_trees_dynamic()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dconfig.guess294 echo alpha-hp-vms
571 echo m68k-hp-bsd
574 echo m68k-hp-bsd4.4
646 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
650 echo ia64-hp-hpux${HPUX_REV}
683 echo hppa1.1-hp-bsd
686 echo hppa1.0-hp-bsd
689 echo hppa1.0-hp-mpeix
692 echo hppa1.1-hp-osf
695 echo hppa1.0-hp-osf
[all …]
H A Dconfig.sub143 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
1343 *-hp)
1443 vendor=hp
1446 vendor=hp
/reactos/base/applications/network/ftp/
H A Dftp.c98 register struct hostent *hp = 0; in hookup() local
109 hp = gethostbyname(host); in hookup()
110 if (hp == NULL) { in hookup()
116 hisctladdr.sin_family = hp->h_addrtype; in hookup()
117 bcopy(hp->h_addr_list[0], in hookup()
118 (caddr_t)&hisctladdr.sin_addr, hp->h_length); in hookup()
119 (void) strncpy(hostnamebuf, hp->h_name, sizeof(hostnamebuf)); in hookup()
130 if (hp && hp->h_addr_list[1]) { in hookup()
137 hp->h_addr_list++; in hookup()
138 bcopy(hp->h_addr_list[0], in hookup()
[all …]
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/
H A Dipcp.c374 struct hostent *hp; local
378 if ((hp = gethostbyname(*argv)) == NULL) {
383 dns = *(u32_t *)hp->h_addr;
410 struct hostent *hp; local
414 if ((hp = gethostbyname(*argv)) == NULL) {
419 wins = *(u32_t *)hp->h_addr;
448 struct hostent *hp; local
472 local = *(u32_t *)hp->h_addr;
493 remote = *(u32_t *)hp->h_addr;
1806 struct hostent *hp;
[all …]
H A Dmultilink.c456 struct hostent *hp; local
468 hp = gethostbyname(hostname);
469 if (hp != NULL) {
470 addr = *(u32_t *)hp->h_addr;
H A Dauth.c2048 struct hostent *hp;
2121 hp = gethostbyname(ptr_word);
2122 if (hp != NULL && hp->h_addrtype == AF_INET) {
2123 a = *(u32_t *)hp->h_addr;
/reactos/modules/rostests/apitests/kernel32/
H A DTerminateProcess.c105 #define CloseProcessAndVerify(hp, pid, code) CloseProcessAndVerify_(hp, pid, code, __FILE__, __LINE… argument
/reactos/sdk/lib/3rdparty/stlport/build/Makefiles/gmake/
H A Dsysid.mak41 ifeq ($(OSNAME),hp-ux)
91 ifeq ($(OSNAME),hp-ux)
/reactos/sdk/lib/3rdparty/libxml2/
H A Dnanoftp.c843 struct hostent *hp; in xmlNanoFTPConnect() local
919 hp = gethostbyname (GETHOSTBYNAME_ARG_CAST proxy); in xmlNanoFTPConnect()
921 hp = gethostbyname (GETHOSTBYNAME_ARG_CAST ctxt->hostname); in xmlNanoFTPConnect()
922 if (hp == NULL) { in xmlNanoFTPConnect()
926 if ((unsigned int) hp->h_length > in xmlNanoFTPConnect()
937 hp->h_addr_list[0], hp->h_length); in xmlNanoFTPConnect()
/reactos/drivers/usb/usbohci/
H A Dusbohci.c1051 ULONG hp; in OHCI_InterruptService() local
1057 hp = OhciExtension->FrameHighPart; in OHCI_InterruptService()
1061 OhciExtension->FrameHighPart += 1 * (1 << 16) - ((hp ^ fm) & 0x8000); in OHCI_InterruptService()
2178 ULONG hp; in OHCI_Get32BitFrameNumber() local
2184 hp = OhciExtension->FrameHighPart; in OHCI_Get32BitFrameNumber()
2187 DPRINT_OHCI("OHCI_Get32BitFrameNumber: hp - %lX, fm - %lX\n", hp, fm); in OHCI_Get32BitFrameNumber()
2189 return ((fm & 0x7FFF) | hp) + ((fm ^ hp) & 0x8000); in OHCI_Get32BitFrameNumber()
/reactos/dll/3rdparty/libxslt/
H A DAUTHORS37 Havoc Pennington <hp@pobox.com>
/reactos/sdk/lib/3rdparty/stlport/build/test/unit/
H A Dgcc.mak59 ifeq ($(OSNAME), hp-ux)
/reactos/media/drivers/etc/
H A Dservices581 hp-collector 381/tcp #hp performance data collector
1705 hp-sci 1299/tcp #hp-sci
1706 hp-sci 1299/udp #hp-sci
2666 hp-hcip 1782/tcp #hp-hcip
2667 hp-hcip 1782/udp #hp-hcip
2854 hp-webqosdb 1877/tcp #hp-webqosdb
2855 hp-webqosdb 1877/udp #hp-webqosdb
8018 hp-sco 19410/tcp #hp-sco
8019 hp-sco 19410/udp #hp-sco
8020 hp-sca 19411/tcp #hp-sca
[all …]

12