Lines Matching refs:LocalHostname
1370 static sal_Char LocalHostname[256] = ""; in osl_psz_getLocalHostname() local
1372 if (strlen(LocalHostname) == 0) in osl_psz_getLocalHostname()
1385 strncpy(LocalHostname, uts.nodename, sizeof( LocalHostname )); in osl_psz_getLocalHostname()
1388 if (gethostname(LocalHostname, sizeof(LocalHostname)-1) != 0) in osl_psz_getLocalHostname()
1390 LocalHostname[sizeof(LocalHostname)-1] = 0; in osl_psz_getLocalHostname()
1394 if (strchr(LocalHostname, '.') == NULL) in osl_psz_getLocalHostname()
1399 Addr = osl_psz_createHostAddrByName(LocalHostname); in osl_psz_getLocalHostname()
1406 strcpy(LocalHostname, pStr); in osl_psz_getLocalHostname()
1413 if ((pChr = strchr(LocalHostname, '.')) == NULL) in osl_psz_getLocalHostname()
1417 pChr = &LocalHostname[strlen(LocalHostname)]; in osl_psz_getLocalHostname()
1436 LocalHostname[0] = '\0'; in osl_psz_getLocalHostname()
1445 if (strlen(LocalHostname) > 0) in osl_psz_getLocalHostname()
1447 strncpy(pBuffer, LocalHostname, nBufLen); in osl_psz_getLocalHostname()