Home
last modified time | relevance | path

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

/aoo4110/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()
/aoo4110/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 17 milliseconds