Lines Matching refs:PROT_READ
142 void* ptr = mmap(nullptr, pagesize * (kNumPages + 2), PROT_READ | PROT_WRITE, in TEST()
383 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST()
384 EXPECT_EQ(vmas[1].flags, PROT_READ | PROT_WRITE); in TEST()
385 EXPECT_EQ(vmas[2].flags, PROT_READ | PROT_WRITE); in TEST()
386 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST()
387 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST()
388 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST()
527 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST()
528 EXPECT_EQ(vmas[1].flags, PROT_READ | PROT_WRITE); in TEST()
529 EXPECT_EQ(vmas[2].flags, PROT_READ | PROT_WRITE); in TEST()
530 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST()
531 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST()
532 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST()