Home
last modified time | relevance | path

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

/bionic/tests/
Dbuffer_tests.cpp406 uint8_t* memory1; in RunCmpBufferOverreadTest() local
407 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory1), pagesize, in RunCmpBufferOverreadTest()
409 memset(memory1, 0x23, 2*pagesize); in RunCmpBufferOverreadTest()
412 ASSERT_TRUE(mprotect(&memory1[pagesize], pagesize, PROT_NONE) == 0); in RunCmpBufferOverreadTest()
423 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
437 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
448 ASSERT_TRUE(mprotect(&memory1[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); in RunCmpBufferOverreadTest()
450 free(memory1); in RunCmpBufferOverreadTest()