Lines Matching refs:k
169 sal_sSize j, k; in __rtl_random_seedPool() local
180 k = (pImpl->m_nIndex + j) - RTL_RANDOM_SIZE_POOL; in __rtl_random_seedPool()
181 if (k > 0) in __rtl_random_seedPool()
184 pImpl->m_hDigest, &(pImpl->m_pData[pImpl->m_nIndex]), j - k); in __rtl_random_seedPool()
186 pImpl->m_hDigest, &(pImpl->m_pData[0]), k); in __rtl_random_seedPool()
199 for (k = 0; k < j; k++) in __rtl_random_seedPool()
201 pImpl->m_pData[pImpl->m_nIndex++] ^= pImpl->m_pDigest[k]; in __rtl_random_seedPool()
220 sal_Int32 j, k; in __rtl_random_readPool() local
234 k = (pImpl->m_nIndex + j) - pImpl->m_nData; in __rtl_random_readPool()
235 if (k > 0) in __rtl_random_readPool()
238 pImpl->m_hDigest, &(pImpl->m_pData[pImpl->m_nIndex]), j - k); in __rtl_random_readPool()
240 pImpl->m_hDigest, &(pImpl->m_pData[0]), k); in __rtl_random_readPool()
250 for (k = 0; k < j; k++) in __rtl_random_readPool()
253 pImpl->m_pData[pImpl->m_nIndex++] ^= pImpl->m_pDigest[k]; in __rtl_random_readPool()
254 *pBuffer++ = pImpl->m_pDigest[k + RTL_RANDOM_SIZE_DIGEST/2]; in __rtl_random_readPool()