Lines Matching refs:luaL_dostring
203 ATF_REQUIRE(luaL_dostring(raw(state), "test_variable = 3") == 0); in ATF_TEST_CASE_BODY()
224 ATF_REQUIRE(luaL_dostring(raw(state), "global_variable = 'hello'") == 0); in ATF_TEST_CASE_BODY()
239 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY()
254 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY()
267 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY()
285 ATF_REQUIRE(luaL_dostring(raw(state), "meta = { foo = 567 }; " in ATF_TEST_CASE_BODY()
303 ATF_REQUIRE(luaL_dostring(raw(state), "t = {}") == 0); in ATF_TEST_CASE_BODY()
314 ATF_REQUIRE(luaL_dostring(raw(state), "t = { a = 1, bar = 234 }") == 0); in ATF_TEST_CASE_BODY()
340 ATF_REQUIRE(luaL_dostring(raw(state), in ATF_TEST_CASE_BODY()
425 luaL_dostring(raw(state), "function my_func(a, b) return a + b; end"); in ATF_TEST_CASE_BODY()
439 luaL_dostring(raw(state), "function my_func(a, b) return a + b; end"); in ATF_TEST_CASE_BODY()
567 luaL_dostring(raw(state), "t = {3, 4, 5}"); in ATF_TEST_CASE_BODY()
581 luaL_dostring(raw(state), "t = {3, 4, 5}"); in ATF_TEST_CASE_BODY()
710 luaL_dostring(raw(state), "t = {}"); in ATF_TEST_CASE_BODY()
724 luaL_dostring(raw(state), "t = {}; t[1] = 100; t[2] = 200"); in ATF_TEST_CASE_BODY()
857 ATF_REQUIRE(luaL_dostring(raw(state), in ATF_TEST_CASE_BODY()
871 ATF_REQUIRE(luaL_dostring(raw(state), "return cxx_divide(17, 3)") == 0); in ATF_TEST_CASE_BODY()
885 ATF_REQUIRE(luaL_dostring(raw(state), "return cxx_divide(15, 0)") != 0); in ATF_TEST_CASE_BODY()
898 ATF_REQUIRE(luaL_dostring(raw(state), "return cxx_divide(-3, -1)") != 0); in ATF_TEST_CASE_BODY()
911 ATF_REQUIRE(luaL_dostring(raw(state), "return fail(900)") != 0); in ATF_TEST_CASE_BODY()
915 ATF_REQUIRE(luaL_dostring(raw(state), "return fail(8192)") != 0); in ATF_TEST_CASE_BODY()
1009 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1026 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1045 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1051 ATF_REQUIRE(luaL_dostring(raw(state), "return t.foo") == 0); in ATF_TEST_CASE_BODY()
1064 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1071 ATF_REQUIRE(luaL_dostring(raw(state), "return t.foo") == 0); in ATF_TEST_CASE_BODY()
1088 ATF_REQUIRE(luaL_dostring(raw(state), in ATF_TEST_CASE_BODY()
1102 ATF_REQUIRE(luaL_dostring(raw(state), "return test_variable + 1") == 0); in ATF_TEST_CASE_BODY()
1113 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1125 ATF_REQUIRE(luaL_dostring(raw(state), "return numbers + 2") == 0); in ATF_TEST_CASE_BODY()
1136 ATF_REQUIRE(luaL_dostring( in ATF_TEST_CASE_BODY()
1149 ATF_REQUIRE(luaL_dostring(raw(state), "return numbers + 2") == 0); in ATF_TEST_CASE_BODY()
1160 ATF_REQUIRE(luaL_dostring(raw(state), "t = { a = 1, bar = 234 }") == 0); in ATF_TEST_CASE_BODY()
1309 ATF_REQUIRE(luaL_dostring(raw(state), in ATF_TEST_CASE_BODY()