Lines Matching refs:current
35 if (data_.current >= last) return false;
37 (char *)internal_memchr(data_.current, '\n', last - data_.current);
41 segment->start = ParseHex(&data_.current);
42 CHECK_EQ(*data_.current++, '-');
43 segment->end = ParseHex(&data_.current);
44 CHECK_EQ(*data_.current++, ' ');
45 CHECK(IsOneOf(*data_.current, '-', 'r'));
47 if (*data_.current++ == 'r') segment->protection |= kProtectionRead;
48 CHECK(IsOneOf(*data_.current, '-', 'w'));
49 if (*data_.current++ == 'w') segment->protection |= kProtectionWrite;
50 CHECK(IsOneOf(*data_.current, '-', 'x'));
51 if (*data_.current++ == 'x') segment->protection |= kProtectionExecute;
52 CHECK(IsOneOf(*data_.current, 's', 'p'));
53 if (*data_.current++ == 's') segment->protection |= kProtectionShared;
54 CHECK_EQ(*data_.current++, ' ');
55 segment->offset = ParseHex(&data_.current);
56 CHECK_EQ(*data_.current++, ' ');
57 ParseHex(&data_.current);
58 CHECK_EQ(*data_.current++, ':');
59 ParseHex(&data_.current);
60 CHECK_EQ(*data_.current++, ' ');
61 while (IsDecimal(*data_.current)) data_.current++;
64 // CHECK_EQ(*data_.current++, ' ');
66 while (data_.current < next_line && *data_.current == ' ') data_.current++;
70 Min((uptr)(next_line - data_.current), segment->filename_size - 1);
71 internal_strncpy(segment->filename, data_.current, len);
75 data_.current = next_line + 1;