Lines Matching refs:buffer
540 char buffer[1024]; in osl_psz_loginUser()
543 buffer[0] = '\0'; in osl_psz_loginUser()
545 pszUserName, &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
557 "root", &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
583 char buffer[1024]; in osl_psz_loginUser()
585 buffer[0] = '\0'; in osl_psz_loginUser()
587 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer) != NULL) in osl_psz_loginUser()
589 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer, NULL) == 0) in osl_psz_loginUser()
601 (getspnam_r("root", &spwdStruct, buffer, sizeof buffer) != NULL)) in osl_psz_loginUser()
603 (getspnam_r("root", &spwdStruct, buffer, sizeof buffer, NULL) == 0)) in osl_psz_loginUser()
666 sal_Char buffer[32]; in osl_psz_getUserIdent() local
674 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
675 if ( nChr < 0 || SAL_INT_CAST(sal_uInt32, nChr) >= sizeof(buffer) in osl_psz_getUserIdent()
679 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent()
744 char buffer[8192]; in osl_psz_getHomeDir() local
750 if ( 0 != getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &ppwd ) ) in osl_psz_getHomeDir()
753 ppwd = getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer) ); in osl_psz_getHomeDir()