Lines Matching refs:map
50 bool BacktraceMap::ParseLine(const char* line, backtrace_map_t* map) {
74 map->start = start;
75 map->end = end;
76 map->flags = PROT_NONE;
78 map->flags |= PROT_READ;
81 map->flags |= PROT_WRITE;
84 map->flags |= PROT_EXEC;
90 map->name = line+name_pos;
91 if (!map->name.empty() && map->name[map->name.length()-1] == '\n') {
92 map->name.erase(map->name.length()-1);
95 ALOGV("Parsed map: start=%p, end=%p, flags=%x, name=%s",
96 reinterpret_cast<void*>(map->start), reinterpret_cast<void*>(map->end),
97 map->flags, map->name.c_str());
123 backtrace_map_t map;
124 if (ParseLine(line, &map)) {
125 maps_.push_back(map);
139 // map object.
141 BacktraceMap* map = new BacktraceMap(pid);
142 if (!map->Build()) {
143 delete map;
146 return map;