Lines Matching refs:LocalHostname
1390 static sal_Char LocalHostname[256] = ""; in osl_psz_getLocalHostname() local
1392 if (strlen(LocalHostname) == 0) in osl_psz_getLocalHostname()
1405 strncpy(LocalHostname, uts.nodename, sizeof( LocalHostname )); in osl_psz_getLocalHostname()
1408 if (gethostname(LocalHostname, sizeof(LocalHostname)-1) != 0) in osl_psz_getLocalHostname()
1410 LocalHostname[sizeof(LocalHostname)-1] = 0; in osl_psz_getLocalHostname()
1414 if (strchr(LocalHostname, '.') == NULL) in osl_psz_getLocalHostname()
1419 Addr = osl_psz_createHostAddrByName(LocalHostname); in osl_psz_getLocalHostname()
1426 strcpy(LocalHostname, pStr); in osl_psz_getLocalHostname()
1433 if ((pChr = strchr(LocalHostname, '.')) == NULL) in osl_psz_getLocalHostname()
1437 pChr = &LocalHostname[strlen(LocalHostname)]; in osl_psz_getLocalHostname()
1456 LocalHostname[0] = '\0'; in osl_psz_getLocalHostname()
1466 if (strlen(LocalHostname) > 0) in osl_psz_getLocalHostname()
1468 strncpy(pBuffer, LocalHostname, nBufLen); in osl_psz_getLocalHostname()