Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlua_cmsgpack.c526 lua_pushlstring(L,(char*)buf->b,buf->len); in mp_pack()
696 lua_pushlstring(L,(char*)c->p+2,l); in mp_decode_to_lua_type()
705 lua_pushlstring(L,(char*)c->p+3,l); in mp_decode_to_lua_type()
718 lua_pushlstring(L,(char*)c->p,l); in mp_decode_to_lua_type()
770 lua_pushlstring(L,(char*)c->p+1,l); in mp_decode_to_lua_type()
H A Dlua_struct.c340 lua_pushlstring(L, data+pos, size); in b_unpack()
348 lua_pushlstring(L, data+pos, size - 1); in b_unpack()
H A Dloadlib.c346 lua_pushlstring(L, path, l - path); /* template */ in pushnexttemplate()
421 lua_pushlstring(L, name, p - name); in loader_Croot()
539 lua_pushlstring(L, modname, dot - modname); in modinit()
H A Dlua.h163 LUA_API void (lua_pushlstring) (lua_State *L, const char *s, size_t l); variable
274 lua_pushlstring(L, "" s, (sizeof(s)/sizeof(char))-1)
H A Dlstrlib.c51 lua_pushlstring(L, s+start-1, end-start+1); in str_sub()
470 lua_pushlstring(ms->L, s, e - s); /* add whole match */ in push_onecapture()
480 lua_pushlstring(ms->L, ms->capture[i].init, l); in push_onecapture()
636 lua_pushlstring(L, s, e - s); /* keep original text */ in add_value()
H A Dlauxlib.c364 lua_pushlstring(L, fname, e - fname); in luaL_findtable()
369 lua_pushlstring(L, fname, e - fname); in luaL_findtable()
402 lua_pushlstring(B->L, B->buffer, l); in emptybuffer()
H A Dlua_bit.c137 lua_pushlstring(L, buf, (size_t)n); in bit_tohex()
H A Dlua_cjson.c726 lua_pushlstring(l, json, len); in json_encode()
1158 lua_pushlstring(l, token.value.string, token.string_len); in json_parse_object_context()
1229 lua_pushlstring(l, token->value.string, token->string_len); in json_process_value()
H A Dliolib.c289 lua_pushlstring(L, NULL, 0); in test_eof()
H A Dlapi.c445 LUA_API void lua_pushlstring (lua_State *L, const char *s, size_t len) { in lua_pushlstring() function
458 lua_pushlstring(L, s, strlen(s)); in lua_pushstring()
/redis-3.2.3/src/
H A Dscripting.c158 lua_pushlstring(lua,p+2,bulklen); in redisProtocolToLuaType_Bulk()
168 lua_pushlstring(lua,reply+1,p-reply-1); in redisProtocolToLuaType_Status()
178 lua_pushlstring(lua,reply+1,p-reply-1); in redisProtocolToLuaType_Error()
1083 lua_pushlstring(lua,(char*)elev[j]->ptr,sdslen(elev[j]->ptr)); in luaSetGlobalArray()
2177 lua_pushlstring(lua,argv[j],sdslen(argv[j])); in ldbRedis()