Lines Matching refs:line
33 Maybe<size_t> line; member
44 inline Source(const android::StringPiece& path, size_t line) in Source()
45 : path(path.to_string()), line(line) {} in Source()
47 inline Source WithLine(size_t line) const { in WithLine()
48 return Source(path, line); in WithLine()
56 if (line) { in to_string()
57 s = ::android::base::StringPrintf("%s:%zd", s.c_str(), line.value()); in to_string()
72 return lhs.path == rhs.path && lhs.line == rhs.line;
79 if (lhs.line) {
80 if (rhs.line) {
81 return lhs.line.value() < rhs.line.value();
85 return bool(rhs.line);