Lines Matching defs:lvm
918 static const char *direct_chunkreader(lua_State *lvm, void *udata,
1036 lua_State *lvm;
1060 lvm = luaL_newstate();
1062 lua_settop(lvm, 0);
1064 rv = lua_load(lvm, direct_chunkreader, &ctx, spec->file_name);
1068 lua_tostring(lvm, -1), NULL);
1069 lua_close(lvm);
1074 luaL_buffinit(lvm, &b);
1076 lua_dump(lvm, ldump_writer, &b, 0);
1078 lua_dump(lvm, ldump_writer, &b);
1081 spec->bytecode_len = lua_strlen(lvm, -1);
1082 spec->bytecode = apr_pstrmemdup(cmd->pool, lua_tostring(lvm, -1),
1084 lua_close(lvm);