Home
last modified time | relevance | path

Searched refs:tostring (Results 1 – 4 of 4) sorted by relevance

/redis-3.2.3/deps/lua/test/
H A Dtrace-globals.lua5 local _tostring=tostring
6 local tostring=function(a) function
19 io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n")
/redis-3.2.3/tests/unit/
H A Dscripting.tcl261 assert(tostring(-1) == "-1", "broken tostring()");
262 assert(tostring(0xffffffff) == "-1" or
263 tostring(0xffffffff) == "4294967295",
363 set rand1 [r eval {return tostring(math.random())} 0]
364 set rand2 [r eval {return tostring(math.random())} 0]
370 math.randomseed(ARGV[1]); return tostring(math.random())
373 math.randomseed(ARGV[1]); return tostring(math.random())
376 math.randomseed(ARGV[1]); return tostring(math.random())
/redis-3.2.3/deps/lua/src/
H A Dlvm.h16 #define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o))) macro
H A Dlvm.c286 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()