Lines Matching refs:result
45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) { in Evaluate() argument
46 if (result == nullptr) { in Evaluate()
59 *result = v->data; in Evaluate()
82 std::string result; in ConcatFn() local
88 result += str; in ConcatFn()
91 return StringValue(result); in ConcatFn()
126 std::string result; in AssertFn() local
127 if (!Evaluate(state, argv[i], &result)) { in AssertFn()
130 if (result.empty()) { in AssertFn()
213 std::string result = (haystack.find(needle) != std::string::npos) ? "t" : ""; in SubstringFn() local
214 return StringValue(result); in SubstringFn()
227 const char* result = (left == right) ? "t" : ""; in EqualityFn() local
228 return StringValue(result); in EqualityFn()
242 const char* result = (left != right) ? "t" : ""; in InequalityFn() local
243 return StringValue(result); in InequalityFn()