Searched refs:separator_pos (Results 1 – 4 of 4) sorted by relevance
/build/kati/ |
D | rule.cc | 41 size_t separator_pos, in ParsePrerequisites() argument 50 if (separator_pos != string::npos && in ParsePrerequisites() 52 CHECK(line[separator_pos] == ';'); in ParsePrerequisites() 55 Intern(TrimLeftSpace(line.substr(separator_pos + 1))).str())); in ParsePrerequisites() 56 prereq_string = line.substr(0, separator_pos); in ParsePrerequisites() 59 if ((separator_pos = prereq_string.find(':')) == string::npos) { in ParsePrerequisites() 76 StringPiece target_prereq = prereq_string.substr(0, separator_pos); in ParsePrerequisites() 77 StringPiece prereq_patterns = prereq_string.substr(separator_pos + 1); in ParsePrerequisites()
|
D | eval.cc | 210 size_t separator_pos) { in EvalRuleSpecificAssign() argument 214 ParseAssignStatement(after_targets, separator_pos, &var_name, &rhs_string, in EvalRuleSpecificAssign() 284 size_t separator_pos = after_targets.find_first_of("=;"); in EvalRule() local 286 if (separator_pos != string::npos) { in EvalRule() 287 separator = after_targets[separator_pos]; in EvalRule() 288 } else if (separator_pos == string::npos && in EvalRule() 291 separator_pos = after_targets.size(); in EvalRule() 297 if (separator == '=' && separator_pos) { in EvalRule() 298 EvalRuleSpecificAssign(targets, stmt, after_targets, separator_pos); in EvalRule() 306 if (!separator_pos) { in EvalRule() [all …]
|
D | eval.h | 129 size_t separator_pos);
|
D | parser.cc | 255 void ParseAssign(StringPiece line, size_t separator_pos) { in ParseAssign() argument 256 if (separator_pos == 0) { in ParseAssign() 263 ParseAssignStatement(line, separator_pos, &lhs, &rhs, &op); in ParseAssign()
|