Lines Matching full:segment
32 bool MemoryMappingLayout::Next(MemoryMappedSegment *segment) { in Next() argument
41 segment->start = ParseHex(&data_.current); in Next()
43 segment->end = ParseHex(&data_.current); in Next()
46 segment->protection = 0; in Next()
47 if (*data_.current++ == 'r') segment->protection |= kProtectionRead; in Next()
49 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite; in Next()
51 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute; in Next()
53 if (*data_.current++ == 's') segment->protection |= kProtectionShared; in Next()
55 segment->offset = ParseHex(&data_.current); in Next()
68 if (segment->filename) { in Next()
70 Min((uptr)(next_line - data_.current), segment->filename_size - 1); in Next()
71 internal_strncpy(segment->filename, data_.current, len); in Next()
72 segment->filename[len] = 0; in Next()