Home
last modified time | relevance | path

Searched refs:nChr (Results 1 – 2 of 2) sorted by relevance

/aoo41x/main/sal/osl/os2/
H A Dsecurity.c149 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()
/aoo41x/main/sal/osl/unx/
H A Dsecurity.c667 sal_Int32 nChr; 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()
676 || SAL_INT_CAST(sal_uInt32, nChr) >= nMax ) in osl_psz_getUserIdent()
679 memcpy(pszIdent, buffer, nChr+1); in osl_psz_getUserIdent()

Completed in 23 milliseconds