Searched refs:do_string (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/kyua/utils/fs/
H A Dlua_module_test.cpp49 lutok::do_string(state, "return fs.basename", 0, 1, 0);
51 lutok::do_string(state, "return fs.dirname", 0, 1, 0);
53 lutok::do_string(state, "return fs.join", 0, 1, 0);
65 lutok::do_string(state, "return fs.basename('/my/test//file_foobar')",
79 lutok::do_string(state, "return fs.basename({})",
82 lutok::do_string(state, "return fs.basename('')",
93 lutok::do_string(state, "return fs.dirname('/my/test//file_foobar')",
107 lutok::do_string(state, "return fs.dirname({})",
110 lutok::do_string(state, "return fs.dirname('')",
123 lutok::do_string(stat
[all...]
/freebsd-13-stable/contrib/kyua/utils/config/
H A Dlua_module_test.cpp133 lutok::do_string(state,
159 lutok::do_string(state,
181 lutok::do_string(state, "first = 100; second = first * 2", 0, 0, 0);
198 lutok::do_string(state, "first = 100; first = 200", 0, 0, 0);
215 lutok::do_string(state, "first = first * 15", 0, 0, 0);
233 lutok::do_string(state,
256 lutok::do_string(state, "a.first = 100; a.second = a.first * 2",
274 lutok::do_string(state, "a.first = 100; a.first = 200", 0, 0, 0);
291 lutok::do_string(state, "a.first = a.first * 15", 0, 0, 0);
307 lutok::do_string(stat
[all...]
/freebsd-13-stable/contrib/lutok/
H A Doperations.hpp48 unsigned int do_string(state&, const std::string&, const int, const int,
H A Doperations_test.cpp88 lutok::do_string(state, "return next(my_math) == nil", 0, 1, 0);
102 lutok::do_string(state, "return my_math.add(10, 20)", 0, 1, 0);
118 lutok::do_string(state, "return my_math.add(10, 20)", 0, 1, 0);
120 lutok::do_string(state, "return my_math.multiply(10, 20)", 0, 1, 0);
122 lutok::do_string(state, "return my_math.add2(20, 30)", 0, 1, 0);
245 ATF_REQUIRE_EQ(2, lutok::do_string(
259 ATF_REQUIRE_EQ(3, lutok::do_string(state, "return 10, 20, 30", 0, -1, 0));
272 ATF_REQUIRE_EQ(0, lutok::do_string(state, "return 10, 20, 30", 0, 0, 0));
281 ATF_REQUIRE_EQ(2, lutok::do_string(state, "return 10, 20, 30", 0, 2, 0));
295 lutok::do_string(stat
[all...]
H A Doperations.cpp116 lutok::do_string(state& s, const std::string& str, const int nargs, function in class:lutok
152 do_string(s, "return " + expression, 0, nresults, 0);
/freebsd-13-stable/contrib/lutok/examples/
H A Dinterpreter.cpp53 lutok::do_string(state, line, 0, 0, 0);
H A Draii.cpp116 lutok::do_string(state, "example = {foo='hello', bar=123, baz='bye'}",
H A Dbindings.cpp127 lutok::do_string(state, script.str(), 0, 0, 0);

Completed in 113 milliseconds