Home
last modified time | relevance | path

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

/system/memory/libmeminfo/tools/
Dprocmem.cpp110 std::string flags_str("---p"); in show() local
111 if (vma.flags & PROT_READ) flags_str[0] = 'r'; in show()
112 if (vma.flags & PROT_WRITE) flags_str[1] = 'w'; in show()
113 if (vma.flags & PROT_EXEC) flags_str[2] = 'x'; in show()
115 ss << ::android::base::StringPrintf("%7s ", flags_str.c_str()) << vma.name << std::endl; in show()
Dshowmap.cpp183 std::string flags_str("---"); in print_vmainfo() local
184 if (v.vma.flags & PROT_READ) flags_str[0] = 'r'; in print_vmainfo()
185 if (v.vma.flags & PROT_WRITE) flags_str[1] = 'w'; in print_vmainfo()
186 if (v.vma.flags & PROT_EXEC) flags_str[2] = 'x'; in print_vmainfo()
188 printf("%6s ", flags_str.c_str()); in print_vmainfo()