Home
last modified time | relevance | path

Searched refs:pcall (Results 1 – 11 of 11) sorted by relevance

/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_table.lua33 function pcall(f, ...) function
85 assert(not pcall(unpack, {}, 0, 2^31-1))
86 assert(not pcall(unpack, {}, 1, 2^31-1))
87 assert(not pcall(unpack, {}, -(2^31), 2^31-1))
88 assert(not pcall(unpack, {}, -(2^31 - 1), 2^31-1))
89 assert(pcall(unpack, {}, 2^31-1, 0))
90 assert(pcall(unpack, {}, 2^31-1, 1))
91 pcall(unpack, {}, 1, 2^31)
116 local s, e = pcall(table.sort, t, f)
/freebsd-src/contrib/lutok/
H A Doperations.cpp86 s.pcall(nargs, nresults == -1 ? LUA_MULTRET : nresults, in do_file()
126 s.pcall(nargs, nresults == -1 ? LUA_MULTRET : nresults, in do_string()
H A Dstate.hpp121 void pcall(const int, const int, const int);
H A DNEWS24 pcall call.
H A Dstate_test.cpp691 state.pcall(0, 0, 0); in ATF_TEST_CASE_BODY()
697 state.pcall(2, 1, 0); in ATF_TEST_CASE_BODY()
708 REQUIRE_API_ERROR("lua_pcall", state.pcall(0, 0, 0)); in ATF_TEST_CASE_BODY()
H A Dstate.cpp643 lutok::state::pcall(const int nargs, const int nresults, const int errfunc) in pcall() function in lutok::state
/freebsd-src/tools/lua/
H A Dtemplate.lua40 local pcall = pcall
111 ok, newtab = pcall(require, "table.new")
296 local ok, err = pcall(render, ...)
302 local ok, output = pcall(process, ...)
310 local ok, output = pcall(process, ...)
633 local ok, a, b = pcall(template[k], ...)
/freebsd-src/contrib/lutok/examples/
H A Dhello.cpp55 state.pcall(1, 0, 0); in main()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp294 CallInst *pcall = CallInst::Create(PrintfAllocFn, alloc_args, in lowerPrintfForGpu()
304 auto *cmp = cast<ICmpInst>(Builder.CreateICmpNE(pcall, zeroIntPtr, "")); in lowerPrintfForGpu()
320 I8Ty, pcall, ConstantInt::get(Ctx, APInt(32, 0)), "PrintBuffID", in lowerPrintfForGpu()
331 BufferIdx = GetElementPtrInst::Create(I8Ty, pcall, in lowerPrintfForGpu()
293 CallInst *pcall = lowerPrintfForGpu() local
/freebsd-src/sys/dev/smbus/
H A Dsmbus_if.m122 METHOD int pcall {
/freebsd-src/stand/lua/
H A Dconfig.lua560 local res, err = pcall(load(text, name, "t", cfg_env))