Searched refs:nChr (Results 1 – 2 of 2) sorted by relevance
/aoo42x/main/sal/osl/os2/ |
H A D | security.c | 149 sal_Int32 nChr; in osl_psz_getUserIdent() local 156 nChr = snprintf(buffer, sizeof(buffer), "%u", pSecImpl->m_pPasswd.pw_uid); in osl_psz_getUserIdent() 157 if ( nChr < 0 || nChr >= sizeof(buffer) || nChr >= nMax ) in osl_psz_getUserIdent() 160 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent()
|
/aoo42x/main/sal/osl/unx/ |
H A D | security.c | 666 sal_Int32 nChr; 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() 675 || SAL_INT_CAST(sal_uInt32, nChr) >= nMax ) in osl_psz_getUserIdent() 678 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent()
|
Completed in 17 milliseconds