• Home
  • Raw
  • Download

Lines Matching refs:Value

50     std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv));  in Evaluate()
54 if (v->type != Value::Type::STRING) { in Evaluate()
63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) { in EvaluateValue()
67 Value* StringValue(const char* str) { in StringValue()
71 return new Value(Value::Type::STRING, str); in StringValue()
74 Value* StringValue(const std::string& str) { in StringValue()
78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in ConcatFn()
94 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IfElseFn()
114 Value* AbortFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AbortFn()
124 Value* AssertFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AssertFn()
139 Value* SleepFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SleepFn()
154 Value* StdoutFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in StdoutFn()
165 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn()
178 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn()
191 Value* LogicalNotFn(const char* name, State* state, in LogicalNotFn()
201 Value* SubstringFn(const char* name, State* state, in SubstringFn()
217 Value* EqualityFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in EqualityFn()
231 Value* InequalityFn(const char* name, State* state, in InequalityFn()
246 Value* SequenceFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SequenceFn()
247 std::unique_ptr<Value> left(EvaluateValue(state, argv[0])); in SequenceFn()
254 Value* LessThanIntFn(const char* name, State* state, in LessThanIntFn()
282 Value* GreaterThanIntFn(const char* name, State* state, in GreaterThanIntFn()
310 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in Literal()
379 std::vector<std::unique_ptr<Value>>* args) { in ReadValueArgs()
384 std::vector<std::unique_ptr<Value>>* args, size_t start, size_t len) { in ReadValueArgs()
392 std::unique_ptr<Value> v(EvaluateValue(state, argv[i])); in ReadValueArgs()
404 Value* ErrorAbort(State* state, const char* format, ...) { in ErrorAbort()
412 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { in ErrorAbort()