Lines Matching refs:pBuffer

108     sal_uInt8   *pBuffer = new sal_uInt8[ nBufLen ];  in TEST_F()  local
109 memset(pBuffer, 0, nBufLen); in TEST_F()
117 /* rtlRandomError */ aError = rtl_random_addBytes(aPool, pBuffer, nBufLen); in TEST_F()
121 delete [] pBuffer; in TEST_F()
130 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen ]; in TEST_F() local
132 memset(pBuffer, 0, nBufLen); in TEST_F()
134 rtl_random_addBytes(aPool, pBuffer, nBufLen); in TEST_F()
136 printf("%2x %2x %2x %2x\n", pBuffer[0], pBuffer[1], pBuffer[2], pBuffer[3]); in TEST_F()
139 delete [] pBuffer; in TEST_F()
227 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen ]; in TEST_F() local
228 memset(pBuffer, 0, nBufLen); in TEST_F()
236 /* rtlRandomError */ aError = rtl_random_getBytes(aPool, pBuffer, nBufLen); in TEST_F()
240 delete [] pBuffer; in TEST_F()
248 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen ]; in TEST_F() local
249 memset(pBuffer, 0, nBufLen); in TEST_F()
251 rtlRandomError aError = rtl_random_getBytes(aPool, pBuffer, nBufLen); in TEST_F()
254 printf("%2x %2x %2x %2x\n", pBuffer[0], pBuffer[1], pBuffer[2], pBuffer[3]); in TEST_F()
257 delete [] pBuffer; in TEST_F()
265 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen << 1 ]; in TEST_F() local
266 memset(pBuffer, 0, nBufLen << 1); in TEST_F()
268 …ASSERT_TRUE(pBuffer[4] == 0 && pBuffer[5] == 0 && pBuffer[6] == 0 && pBuffer[7] == 0) << "memset f… in TEST_F()
270 rtlRandomError aError = rtl_random_getBytes(aPool, pBuffer, nBufLen); in TEST_F()
273 …2x %2x %2x %2x %2x %2x %2x\n", pBuffer[0], pBuffer[1], pBuffer[2], pBuffer[3], pBuffer[4], pBuffer in TEST_F()
275 …ASSERT_TRUE(pBuffer[4] == 0 && pBuffer[5] == 0 && pBuffer[6] == 0 && pBuffer[7] == 0) << "internal… in TEST_F()
278 delete [] pBuffer; in TEST_F()
286 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen ]; in TEST_F() local
287 memset(pBuffer, 0, nBufLen); in TEST_F()
291 ASSERT_TRUE(pBuffer[0] == 0) << "memset failed"; in TEST_F()
298 /* rtlRandomError aError = */ rtl_random_getBytes(aPool, pBuffer, nBufLen); in TEST_F()
301 aStat.addValue(pBuffer[0], 1); in TEST_F()
310 delete [] pBuffer; in TEST_F()
318 sal_uInt8 *pBuffer = new sal_uInt8[ nBufLen ]; in TEST_F() local
319 memset(pBuffer, 0, nBufLen); in TEST_F()
323 ASSERT_TRUE(pBuffer[0] == 0) << "memset failed"; in TEST_F()
330 /* rtlRandomError aError = */ rtl_random_getBytes(aPool, pBuffer, nBufLen); in TEST_F()
335 aStat.addValue(pBuffer[i], 1); in TEST_F()
345 delete [] pBuffer; in TEST_F()