Lines Matching refs:buffer
539 char buffer[1024]; in osl_psz_loginUser()
542 buffer[0] = '\0'; in osl_psz_loginUser()
544 pszUserName, &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
556 "root", &result_buf, buffer, sizeof buffer, in osl_psz_loginUser()
582 char buffer[1024]; in osl_psz_loginUser()
584 buffer[0] = '\0'; in osl_psz_loginUser()
586 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer) != NULL) in osl_psz_loginUser()
588 if (getspnam_r(pszUserName, &spwdStruct, buffer, sizeof buffer, NULL) == 0) in osl_psz_loginUser()
600 (getspnam_r("root", &spwdStruct, buffer, sizeof buffer) != NULL)) in osl_psz_loginUser()
602 (getspnam_r("root", &spwdStruct, buffer, sizeof buffer, NULL) == 0)) in osl_psz_loginUser()
665 sal_Char buffer[32]; in osl_psz_getUserIdent() local
673 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent()
674 if ( nChr < 0 || SAL_INT_CAST(sal_uInt32, nChr) >= sizeof(buffer) in osl_psz_getUserIdent()
678 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent()
743 char buffer[8192]; in osl_psz_getHomeDir() local
749 if ( 0 != getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer), &ppwd ) ) in osl_psz_getHomeDir()
752 ppwd = getpwuid_r(getuid(), &pwd, buffer, sizeof(buffer) ); in osl_psz_getHomeDir()