Searched refs:flags_str (Results 1 – 2 of 2) sorted by relevance
111 std::string flags_str("---p"); in show() local112 if (vma.flags & PROT_READ) flags_str[0] = 'r'; in show()113 if (vma.flags & PROT_WRITE) flags_str[1] = 'w'; in show()114 if (vma.flags & PROT_EXEC) flags_str[2] = 'x'; in show()116 ss << ::android::base::StringPrintf("%7s ", flags_str.c_str()) << vma.name << std::endl; in show()
198 std::string flags_str("---"); in print_vmainfo() local199 if (v.vma.flags & PROT_READ) flags_str[0] = 'r'; in print_vmainfo()200 if (v.vma.flags & PROT_WRITE) flags_str[1] = 'w'; in print_vmainfo()201 if (v.vma.flags & PROT_EXEC) flags_str[2] = 'x'; in print_vmainfo()203 printf("%6s ", flags_str.c_str()); in print_vmainfo()