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