Searched refs:tostring (Results 1 – 9 of 9) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/test/ |
| H A D | trace-globals.lua | 5 local _tostring=tostring 6 local tostring=function(a) function 19 io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n")
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_base.lua | 47 assert(tostring(a) == "NAME") 438 assert(tostring("alo") == "alo") 439 assert(tostring(12) == "12") 440 assert(tostring(1234567890123) == '1234567890123') 441 assert(type(tostring("hello")) == "string") 442 assert(tostring(true) == "true") 443 assert(tostring(false) == "false") 444 assert(string.find(tostring{}, 'table:')) 445 assert(string.find(tostring(select), 'function:')) 446 assert(#tostring('\0') == 1)
|
| H A D | tst.lib_coroutine.lua | 60 assert(string.find(tostring(f), "thread"))
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | scripting.tcl | 263 assert(tostring(-1) == "-1", "broken tostring()"); 264 assert(tostring(0xffffffff) == "-1" or 265 tostring(0xffffffff) == "4294967295", 368 set rand1 [r eval {return tostring(math.random())} 0] 369 set rand2 [r eval {return tostring(math.random())} 0] 375 math.randomseed(ARGV[1]); return tostring(math.random()) 378 math.randomseed(ARGV[1]); return tostring(math.random()) 381 math.randomseed(ARGV[1]); return tostring(math.random())
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lvm.h | 16 #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o))) macro
|
| H A D | lvm.c | 286 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat() 290 (void)tostring(L, top - 2); /* result is first op (as string) */ in luaV_concat() 297 for (n = 1; n < total && tostring(L, top-n-1); n++) { in luaV_concat()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
| H A D | tst.set_props.zcp | 80 if (tostring(new_val) ~= tostring(val)) then
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lvm.h | 17 #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o))) macro
|
| H A D | lvm.c | 299 if (!(ttisstring(top-2) || ttisnumber(top-2)) || !tostring(L, top-1)) { in luaV_concat() 304 (void)tostring(L, top - 2); /* result is first operand */ in luaV_concat() 314 for (i = 1; i < total && tostring(L, top-i-1); i++) { in luaV_concat()
|