Searched refs:hptr (Results 1 – 2 of 2) sorted by relevance
90 struct hostent *hptr; in getHost() local92 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() local106 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() local118 hptr = gethostbyname( hostname); in getThisHostname()[all …]
119 struct hostent *hptr; in getHost() local121 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() local135 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() local144 hptr = gethostbyname( hostname); in getThisHostname()[all …]