Lines Matching defs:terms
262 static size_t SkipSpaces(StringPiece s, const char* terms) {
265 if (strchr(terms, c))
283 Func* f, StringPiece s, size_t i, char* terms,
285 terms[1] = ',';
286 terms[2] = '\0';
287 i += SkipSpaces(s.substr(i), terms);
296 terms[1] = '\0'; // Drop ','.
314 Value* v = ParseExprImpl(loc, s.substr(i), terms, ParseExprOpt::FUNC,
322 LOCF(loc), f->name(), terms[0]);
325 if (s[i] == terms[0]) {
354 char terms[] = {cp, ':', ' ', 0};
357 Value* vname = ParseExprImpl(loc, s.substr(i), terms,
386 ParseFunc(loc, func, s, i+1, terms, index_out);
394 // Not a function. Drop ' ' from |terms| and parse it
398 terms[2] = 0;
404 terms[2] = '\0';
405 terms[1] = '=';
407 Value* pat = ParseExprImpl(loc, s.substr(i+1), terms,
419 terms[1] = '\0';
420 Value* subst = ParseExprImpl(loc, s.substr(i+1), terms,
441 StringPiece s, const char* terms, ParseExprOpt opt,
453 if (terms && strchr(terms, c) && !save_paren) {
458 if (!terms && c == '#' && ShouldHandleComments(opt)) {
484 if (terms && strchr(terms, s[i+1])) {
500 if (terms && terms[0] == cp) {
503 terms++;
513 terms--;
531 if (terms && strchr(terms, ' ')) {