Home
last modified time | relevance | path

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

/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc31 char protection_flags[5] = {0}; in ParseSmapsHeader() local
35 &region->start_address, &end_addr, protection_flags, in ParseSmapsHeader()
47 region->protection_flags = 0; in ParseSmapsHeader()
48 if (protection_flags[0] == 'r') { in ParseSmapsHeader()
49 region->protection_flags |= in ParseSmapsHeader()
52 if (protection_flags[1] == 'w') { in ParseSmapsHeader()
53 region->protection_flags |= in ParseSmapsHeader()
56 if (protection_flags[2] == 'x') { in ParseSmapsHeader()
57 region->protection_flags |= in ParseSmapsHeader()
Dprocess_memory_maps_dump_provider_unittest.cc148 EXPECT_EQ(kProtR | kProtX, regions_1[0].protection_flags); in TEST()
159 EXPECT_EQ(kProtW, regions_1[1].protection_flags); in TEST()
179 EXPECT_EQ(0U, regions_2[0].protection_flags); in TEST()
Dprocess_memory_maps.cc22 protection_flags(0), in VMRegion()
47 value->SetInteger("pf", region.protection_flags); in AsValueInto()
Dprocess_memory_maps.h33 uint32_t protection_flags; member