Home
last modified time | relevance | path

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

/AOO41X/main/sal/qa/osl/socket/
H A Dsockethelper.cxx91 struct hostent *hptr; in getHost() local
93 hptr = gethostbyname( "localhost" ); in getHost()
94 OSL_ENSURE( hptr != NULL, "#In getHostname function, error on gethostbyname()" ); in getHost()
95 ::rtl::OUString aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getHost()
106 struct hostent *hptr; in getThisHostname() local
107 hptr = gethostbyname( "localhost" ); in getThisHostname()
108 OSL_ENSURE( hptr != NULL, "#In getHostname function, error on gethostbyname()" ); in getThisHostname()
109 rtl::OString sHostname(hptr->h_name); in getThisHostname()
117 struct hostent *hptr; in getThisHostname() local
119 hptr = gethostbyname( hostname); in getThisHostname()
[all …]
H A Dosl_Socket.cxx118 struct hostent *hptr; in getHost() local
120 hptr = gethostbyname( "localhost" ); in getHost()
121 CPPUNIT_ASSERT_MESSAGE( "#In getHostname function, error on gethostbyname()", hptr != NULL ); in getHost()
122 ::rtl::OUString aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getHost()
133 struct hostent *hptr; in getThisHostname() local
134 hptr = gethostbyname( "localhost" ); in getThisHostname()
135 CPPUNIT_ASSERT_MESSAGE( "#In getHostname function, error on gethostbyname()", hptr != NULL ); in getThisHostname()
136 aUString = ::rtl::OUString::createFromAscii( (const sal_Char *) hptr->h_name ); in getThisHostname()
141 struct hostent *hptr; in getThisHostname() local
143 hptr = gethostbyname( hostname); in getThisHostname()
[all …]