Searched refs:hptr (Results 1 – 2 of 2) sorted by relevance
91 struct hostent *hptr; in getHost() local93 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() local107 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() local119 hptr = gethostbyname( hostname); in getThisHostname()[all …]
118 struct hostent *hptr; in getHost() local120 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() local134 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() local143 hptr = gethostbyname( hostname); in getThisHostname()[all …]