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

/netbsd-current/external/bsd/kyua-cli/dist/utils/fs/
H A Dlua_module_test.cpp48 lutok::do_string(state, "return fs.basename", 1);
50 lutok::do_string(state, "return fs.dirname", 1);
52 lutok::do_string(state, "return fs.join", 1);
64 lutok::do_string(state, "return fs.basename('/my/test//file_foobar')", 1);
77 lutok::do_string(state, "return fs.basename({})", 1));
79 lutok::do_string(state, "return fs.basename('')", 1));
89 lutok::do_string(state, "return fs.dirname('/my/test//file_foobar')", 1);
102 lutok::do_string(state, "return fs.dirname({})", 1));
104 lutok::do_string(state, "return fs.dirname('')", 1));
116 lutok::do_string(stat
[all...]
/netbsd-current/external/bsd/kyua-cli/dist/utils/config/
H A Dlua_module_test.cpp135 lutok::do_string(state,
157 lutok::do_string(state, "first = 100; second = first * 2");
174 lutok::do_string(state, "first = 100; first = 200");
191 lutok::do_string(state, "first = first * 15");
209 lutok::do_string(state,
231 lutok::do_string(state, "a.first = 100; a.second = a.first * 2");
248 lutok::do_string(state, "a.first = 100; a.first = 200");
265 lutok::do_string(state, "a.first = a.first * 15");
281 lutok::do_string(state, "root.test = 'a'");
283 lutok::do_string(stat
[all...]
/netbsd-current/external/bsd/lutok/dist/
H A Doperations.hpp47 unsigned int do_string(state&, const std::string&, const int = 0);
H A Doperations_test.cpp88 lutok::do_string(state, "return next(my_math) == nil", 1);
102 lutok::do_string(state, "return my_math.add(10, 20)", 1);
118 lutok::do_string(state, "return my_math.add(10, 20)", 1);
120 lutok::do_string(state, "return my_math.multiply(10, 20)", 1);
122 lutok::do_string(state, "return my_math.add2(20, 30)", 1);
202 ATF_REQUIRE_EQ(3, lutok::do_string(state, "return 10, 20, 30", -1));
215 ATF_REQUIRE_EQ(0, lutok::do_string(state, "return 10, 20, 30"));
224 ATF_REQUIRE_EQ(2, lutok::do_string(state, "return 10, 20, 30", 2));
238 lutok::do_string(state, "a b c"));
H A Doperations.cpp108 lutok::do_string(state& s, const std::string& str, const int nresults) function in class:lutok
142 do_string(s, "return " + expression, nresults);
/netbsd-current/external/bsd/lutok/dist/examples/
H A Dinterpreter.cpp53 lutok::do_string(state, line);
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());
/netbsd-current/external/bsd/kyua-cli/dist/engine/
H A Dtest_program.cpp150 lutok::do_string(state, output, 0);

Completed in 147 milliseconds