Lines Matching refs:nMax
49 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax);
50 sal_Bool SAL_CALL osl_psz_getUserName(oslSecurity Security, sal_Char* pszName, sal_uInt32 nMax);
51 sal_Bool SAL_CALL osl_psz_getHomeDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax);
52 …_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax);
146 sal_Bool SAL_CALL osl_psz_getUserIdent(oslSecurity Security, sal_Char *pszIdent, sal_uInt32 nMax) in osl_psz_getUserIdent() argument
157 if ( nChr < 0 || nChr >= sizeof(buffer) || nChr >= nMax ) in osl_psz_getUserIdent()
181 sal_Bool SAL_CALL osl_psz_getUserName(oslSecurity Security, sal_Char* pszName, sal_uInt32 nMax) in osl_psz_getUserName() argument
188 strncpy(pszName, pSecImpl->m_pPasswd.pw_name, nMax); in osl_psz_getUserName()
213 sal_Bool SAL_CALL osl_psz_getHomeDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax) in osl_psz_getHomeDir() argument
245 strncpy(pszDirectory, pStr, nMax); in osl_psz_getHomeDir()
248 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
253 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
278 …l_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax) in osl_psz_getConfigDir() argument
280 return (osl_psz_getHomeDir(Security, pszDirectory, nMax)); in osl_psz_getConfigDir()