Home
last modified time | relevance | path

Searched refs:hptr (Results 1 – 2 of 2) sorted by relevance

/AOO42X/main/sal/qa/osl/socket/
H A Dsockethelper.cxx90 struct hostent *hptr; in getHost() local
92 hptr = gethostbyname( "localhost" ); in getHost()
93 OSL_ENSURE( hptr != NULL, "#In getHostname function, error on gethostbyname()" ); in getHost()
94 ::rtl::OUString aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getHost()
105 struct hostent *hptr; in getThisHostname() local
106 hptr = gethostbyname( "localhost" ); in getThisHostname()
107 OSL_ENSURE( hptr != NULL, "#In getHostname function, error on gethostbyname()" ); in getThisHostname()
108 rtl::OString sHostname(hptr->h_name); in getThisHostname()
116 struct hostent *hptr; in getThisHostname() local
118 hptr = gethostbyname( hostname); in getThisHostname()
[all …]
H A Dosl_Socket.cxx119 struct hostent *hptr; in getHost() local
121 hptr = gethostbyname( "localhost" ); in getHost()
122 EXPECT_TRUE(hptr != NULL) << "#In getHostname function, error on gethostbyname()"; in getHost()
123 ::rtl::OUString aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getHost()
134 struct hostent *hptr; in getThisHostname() local
135 hptr = gethostbyname( "localhost" ); in getThisHostname()
136 EXPECT_TRUE(hptr != NULL) << "#In getHostname function, error on gethostbyname()"; in getThisHostname()
137 aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getThisHostname()
142 struct hostent *hptr; in getThisHostname() local
144 hptr = gethostbyname( hostname); in getThisHostname()
[all …]