Lines Matching refs:pszDirectory

57 static sal_Bool SAL_CALL osl_psz_getHomeDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt3…
58 static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uIn…
715 sal_Char pszDirectory[PATH_MAX]; in osl_getHomeDir() local
717 pszDirectory[0] = '\0'; in osl_getHomeDir()
719 bRet = osl_psz_getHomeDir(Security,pszDirectory,sizeof(pszDirectory)); in osl_getHomeDir()
723 …rtl_string2UString( pustrDirectory, pszDirectory, rtl_str_getLength( pszDirectory ), osl_getThread… in osl_getHomeDir()
732 static sal_Bool SAL_CALL osl_psz_getHomeDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt3… in osl_psz_getHomeDir() argument
764 strncpy(pszDirectory, pStr, nMax); in osl_psz_getHomeDir()
766 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
769 strncpy(pszDirectory, pSecImpl->m_pPasswd.pw_dir, nMax); in osl_psz_getHomeDir()
777 sal_Char pszDirectory[PATH_MAX]; in osl_getConfigDir() local
779 pszDirectory[0] = '\0'; in osl_getConfigDir()
781 bRet = osl_psz_getConfigDir(Security,pszDirectory,sizeof(pszDirectory)); in osl_getConfigDir()
785 …rtl_string2UString( pustrDirectory, pszDirectory, rtl_str_getLength( pszDirectory ), osl_getThread… in osl_getConfigDir()
795 static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uIn… in osl_psz_getConfigDir() argument
801 return (osl_psz_getHomeDir(Security, pszDirectory, nMax)); in osl_psz_getConfigDir()
803 strncpy(pszDirectory, pStr, nMax); in osl_psz_getConfigDir()
817 static sal_Bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uIn… in osl_psz_getConfigDir() argument
819 if( osl_psz_getHomeDir(Security, pszDirectory, nMax - sizeof(MACOSX_CONFIG_DIR) + 1) ) in osl_psz_getConfigDir()
821 strcat( pszDirectory, MACOSX_CONFIG_DIR ); in osl_psz_getConfigDir()