Home | History | Annotate | Download | only in kati

Lines Matching defs:sep

186     size_t sep = FindThreeOutsideParen(line, ':', '=', ';');
187 if (sep == string::npos || line[sep] == ';') {
189 } else if (line[sep] == '=') {
190 ParseAssign(line, sep);
191 } else if (line.get(sep+1) == '=') {
192 ParseAssign(line, sep+1);
193 } else if (line[sep] == ':') {
194 ParseRule(line, sep);
200 void ParseRule(StringPiece line, size_t sep) {
204 if (sep != string::npos) {
205 sep += orig_line_with_directives_.size() - line.size();
219 const bool is_rule = sep != string::npos && line[sep] == ':';
223 size_t found = FindTwoOutsideParen(line.substr(sep + 1), '=', ';');
225 found += sep + 1;
240 void ParseAssign(StringPiece line, size_t sep) {
241 if (sep == 0) {
248 ParseAssignStatement(line, sep, &lhs, &rhs, &op);
566 void ParseAssignStatement(StringPiece line, size_t sep,
568 CHECK(sep != 0);
570 size_t lhs_end = sep;
571 switch (line[sep-1]) {
586 *rhs = TrimLeftSpace(line.substr(sep + 1));