Home
last modified time | relevance | path

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

/bionic/tests/
Dbuffer_tests.cpp414 uint8_t* memory1; in RunCmpBufferOverreadTest() local
415 ASSERT_TRUE(posix_memalign(reinterpret_cast<void**>(&memory1), pagesize, in RunCmpBufferOverreadTest()
417 memset(memory1, 0x23, 2*pagesize); in RunCmpBufferOverreadTest()
420 ASSERT_TRUE(MprotectHeap(&memory1[pagesize], pagesize, PROT_NONE) == 0); in RunCmpBufferOverreadTest()
431 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
445 uint8_t* buf1 = &memory1[pagesize-i]; in RunCmpBufferOverreadTest()
456 ASSERT_TRUE(MprotectHeap(&memory1[pagesize], pagesize, PROT_READ | PROT_WRITE) == 0); in RunCmpBufferOverreadTest()
458 free(memory1); in RunCmpBufferOverreadTest()