Lines Matching +refs:val +refs:value
277 tools::env::set("__RUNNING_INSIDE_ATF_RUN", "internal-yes-value");
362 "be accompanied by a reason nor an expected value");
376 "be accompanied by a reason but not by an expected value");
392 int value;
394 value = -1;
397 value = tools::text::to_type< int >(arg);
399 throw std::runtime_error("The value '" + arg + "' passed to the '" +
404 return impl::test_case_result(state, value, reason);
432 const std::string& value, const size_t lineno,
437 if (value.empty())
438 throw parse_error(lineno, "The value for '" + name +"' cannot be "
445 // Any non-empty value is valid.
448 (void)tools::text::to_bool(value);
451 " boolean value");
454 if (!tools::text::match(value, ident_regex))
456 ident_regex + "; was '" + value + "'");
463 (void)tools::text::to_bytes(value);
466 "integer value representing an amount of bytes");
471 if (!tools::text::match(value, integer_regex))
473 " value");
477 // Any non-empty value is valid.
482 md.insert(std::make_pair(name, value));
509 const std::string value = tools::text::trim(p.rest_of_line());
511 validate_and_insert(name, value, t.lineno(), props);
578 impl::atf_tps_writer::info(const std::string& what, const std::string& val)
580 m_os << "info: " << what << ", " << val << "\n";