Home
last modified time | relevance | path

Searched refs:line_off (Results 1 – 2 of 2) sorted by relevance

/third_party/gn/src/gn/
Dcommand_args.cc100 size_t line_off = in GetContextForValue() local
103 while (line_off > 1) { in GetContextForValue()
104 line_off -= 2; // Back up to end of previous line. in GetContextForValue()
105 size_t previous_line_offset = BackUpToLineBegin(data, line_off); in GetContextForValue()
108 line_off - previous_line_offset + 1); in GetContextForValue()
113 line_off = previous_line_offset; in GetContextForValue()
Derr.cc21 size_t line_off = Tokenizer::ByteOffsetOfNthLine(data, n); in GetNthLine() local
22 size_t end = line_off + 1; in GetNthLine()
25 return std::string(data.substr(line_off, end - line_off)); in GetNthLine()