Lines Matching refs:StringPiece
55 explicit Literal(StringPiece s) in Literal()
59 StringPiece val() const { return s_; } in val()
66 virtual StringPiece GetLiteralValueUnsafe() const override { return s_; } in GetLiteralValueUnsafe()
73 StringPiece s_;
194 for (StringPiece tok : WordScanner(value)) { in Eval()
262 static size_t SkipSpaces(StringPiece s, const char* terms) { in SkipSpaces()
283 Func* f, StringPiece s, size_t i, char* terms, in ParseFunc()
343 Value* ParseDollar(const Loc& loc, StringPiece s, size_t* index_out) { in ParseDollar()
441 StringPiece s, const char* terms, ParseExprOpt opt, in ParseExprImpl()
478 r->AddValue(new Literal(StringPiece("$"))); in ParseExprImpl()
537 r->AddValue(new Literal(StringPiece(" "))); in ParseExprImpl()
559 StringPiece rest = s.substr(b, i-b); in ParseExprImpl()
569 Value* ParseExpr(const Loc& loc, StringPiece s, ParseExprOpt opt) { in ParseExpr()
597 Value* NewLiteral(StringPiece s) { in NewLiteral()