Home
last modified time | relevance | path

Searched refs:lua_tostring (Results 1 – 12 of 12) sorted by relevance

/redis-3.2.3/deps/lua/etc/
H A Dmin.c20 printf("%s",lua_tostring(L,i)); in print()
36 if (luaL_dofile(L,NULL)!=0) fprintf(stderr,"%s\n",lua_tostring(L,-1)); in main()
/redis-3.2.3/deps/lua/src/
H A Dloadlib.c106 luaL_gsub(L, lua_tostring(L, -1), LUA_EXECDIR, buff); in setprogdir()
356 path = lua_tostring(L, -1); in findfile()
362 filename = luaL_gsub(L, lua_tostring(L, -1), LUA_PATH_MARK, name); in findfile()
376 lua_tostring(L, 1), filename, lua_tostring(L, -1)); in loaderror()
422 filename = findfile(L, lua_tostring(L, -1), "cpath"); in loader_Croot()
471 name, lua_tostring(L, -2)); in ll_require()
H A Dlua.c67 const char *msg = lua_tostring(L, -1); in report()
156 p = lua_tostring(L, -1); in get_prompt()
202 status = luaL_loadbuffer(L, lua_tostring(L, 1), lua_strlen(L, 1), "=stdin"); in loadline()
229 lua_tostring(L, -1))); in dotty()
H A Dluac.c169 if (luaL_loadfile(L,filename)!=0) fatal(lua_tostring(L,-1)); in pmain()
197 if (lua_cpcall(L,pmain,&s)!=0) fatal(lua_tostring(L,-1)); in main()
H A Dlauxlib.c353 return lua_tostring(L, -1); in luaL_gsub()
545 const char *filename = lua_tostring(L, fnameindex) + 1; in errfile()
581 status = lua_load(L, getF, &lf, lua_tostring(L, -1)); in luaL_loadfile()
642 lua_tostring(L, -1)); in panic()
H A Dliolib.c50 luaL_argerror(L, arg, lua_tostring(L, -1)); in fileerror()
202 const char *filename = lua_tostring(L, 1); in g_iofile()
352 const char *p = lua_tostring(L, n); in g_read()
H A Dlbaselib.c40 s = lua_tostring(L, -1); /* get result */ in luaB_print()
360 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
402 lua_pushstring(L, lua_tostring(L, 1)); in luaB_tostring()
H A Dldblib.c112 options = lua_tostring(L, -1); in db_getinfo()
311 fputs(lua_tostring(L, -1), stderr); in db_debug()
H A Dluaconf.h280 add_history(lua_tostring(L, idx)); /* add it to history */
H A Dlua.h279 #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) macro
H A Dlstrlib.c552 const char *p = lua_tostring(L, lua_upvalueindex(2)); in gmatch_aux()
/redis-3.2.3/src/
H A Dscripting.c282 addReplyBulkCBuffer(c,(char*)lua_tostring(lua,-1),lua_strlen(lua,-1)); in luaReplyToRedisReply()
299 sds err = sdsnew(lua_tostring(lua,-1)); in luaReplyToRedisReply()
312 sds ok = sdsnew(lua_tostring(lua,-1)); in luaReplyToRedisReply()
1156 lua_tostring(lua,-1)); in luaCreateFunction()
1164 lua_tostring(lua,-1)); in luaCreateFunction()
1351 funcname, lua_tostring(lua,-1)); in evalGenericCommand()
2147 ldbLog(sdscatfmt(sdsempty(),"<error> %s",lua_tostring(lua,-1))); in ldbEval()
2158 ldbLog(sdscatfmt(sdsempty(),"<error> %s",lua_tostring(lua,-1))); in ldbEval()