Lines Matching refs:name
50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate()
64 return expr->fn(expr->name.c_str(), state, expr->argv); in EvaluateValue()
78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in ConcatFn() argument
94 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IfElseFn() argument
114 Value* AbortFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AbortFn() argument
124 Value* AssertFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AssertFn() argument
139 Value* SleepFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SleepFn() argument
154 Value* StdoutFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in StdoutFn() argument
165 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn() argument
178 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn() argument
191 Value* LogicalNotFn(const char* name, State* state, in LogicalNotFn() argument
201 Value* SubstringFn(const char* name, State* state, in SubstringFn() argument
217 Value* EqualityFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in EqualityFn() argument
231 Value* InequalityFn(const char* name, State* state, in InequalityFn() argument
246 Value* SequenceFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SequenceFn() argument
254 Value* LessThanIntFn(const char* name, State* state, in LessThanIntFn() argument
282 Value* GreaterThanIntFn(const char* name, State* state, in GreaterThanIntFn() argument
310 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in Literal() argument
311 return StringValue(name); in Literal()
320 void RegisterFunction(const std::string& name, Function fn) { in RegisterFunction() argument
321 fn_table[name] = fn; in RegisterFunction()
324 Function FindFunction(const std::string& name) { in FindFunction() argument
325 if (fn_table.find(name) == fn_table.end()) { in FindFunction()
328 return fn_table[name]; in FindFunction()