Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | Mbuffer |
struct | Zio |
Macros | |
#define | EOZ (-1) /* end of stream */ |
#define | char2int(c) cast(int, cast(unsigned char, (c))) |
#define | zgetc(z) (((z)->n--)>0 ? char2int(*(z)->p++) : luaZ_fill(z)) |
#define | luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0) |
#define | luaZ_buffer(buff) ((buff)->buffer) |
#define | luaZ_sizebuffer(buff) ((buff)->buffsize) |
#define | luaZ_bufflen(buff) ((buff)->n) |
#define | luaZ_resetbuffer(buff) ((buff)->n = 0) |
#define | luaZ_resizebuffer(L, buff, size) |
#define | luaZ_freebuffer(L, buff) luaZ_resizebuffer(L, buff, 0) |
Typedefs | |
typedef struct Zio | ZIO |
typedef struct Mbuffer | Mbuffer |
Functions | |
LUAI_FUNC char * | luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) |
LUAI_FUNC void | luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) |
LUAI_FUNC size_t | luaZ_read (ZIO *z, void *b, size_t n) |
LUAI_FUNC int | luaZ_lookahead (ZIO *z) |
LUAI_FUNC int | luaZ_fill (ZIO *z) |
Definition at line 20 of file lua-5.1.5/src/lzio.h.
Referenced by luaZ_fill(), and luaZ_lookahead().
#define EOZ (-1) /* end of stream */ |
Definition at line 16 of file lua-5.1.5/src/lzio.h.
Referenced by esccheck(), esccheck(), escerror(), llex(), llex(), llex(), llex(), loadByte(), luaZ_fill(), luaZ_lookahead(), luaZ_read(), read_long_string(), read_long_string(), read_long_string(), read_long_string(), read_string(), read_string(), read_string(), and read_string().
#define luaZ_buffer | ( | buff | ) | ((buff)->buffer) |
Definition at line 32 of file lua-5.1.5/src/lzio.h.
Referenced by buffreplace(), buffreplace(), llex(), llex(), llex(), llex(), read_long_string(), read_long_string(), read_long_string(), read_long_string(), read_numeral(), read_numeral(), read_numeral(), read_string(), read_string(), read_string(), read_string(), trydecpoint(), txtToken(), txtToken(), txtToken(), and txtToken().
#define luaZ_bufflen | ( | buff | ) | ((buff)->n) |
Definition at line 34 of file lua-5.1.5/src/lzio.h.
Referenced by buffreplace(), buffreplace(), llex(), llex(), llex(), llex(), read_long_string(), read_long_string(), read_long_string(), read_long_string(), read_string(), read_string(), read_string(), read_string(), save(), save(), and save().
#define luaZ_freebuffer | ( | L, | |
buff ) luaZ_resizebuffer(L, buff, 0) |
Definition at line 43 of file lua-5.1.5/src/lzio.h.
Referenced by checkSizes(), close_state(), close_state(), luaD_protectedparser(), and luaD_protectedparser().
#define luaZ_initbuffer | ( | L, | |
buff ) ((buff)->buffer = NULL, (buff)->buffsize = 0) |
Definition at line 30 of file lua-5.1.5/src/lzio.h.
Referenced by lua_newstate(), luaD_protectedparser(), and luaD_protectedparser().
#define luaZ_resetbuffer | ( | buff | ) | ((buff)->n = 0) |
Definition at line 36 of file lua-5.1.5/src/lzio.h.
Referenced by escerror(), llex(), llex(), llex(), llex(), read_long_string(), read_long_string(), read_long_string(), and read_long_string().
#define luaZ_resizebuffer | ( | L, | |
buff, | |||
size ) |
Definition at line 39 of file lua-5.1.5/src/lzio.h.
Referenced by checkSizes(), luaX_setinput(), luaX_setinput(), luaZ_openspace(), save(), save(), save(), and save().
#define luaZ_sizebuffer | ( | buff | ) | ((buff)->buffsize) |
Definition at line 33 of file lua-5.1.5/src/lzio.h.
Referenced by checkSizes(), save(), save(), and save().
Definition at line 22 of file lua-5.1.5/src/lzio.h.
Referenced by f_parser(), f_parser(), f_parser(), and loadByte().
typedef struct Mbuffer Mbuffer |
Definition at line 18 of file lua-5.1.5/src/lzio.h.
Definition at line 21 of file lua-5.1.5/src/lzio.c.
LUAI_FUNC void luaZ_init | ( | lua_State * | L, |
ZIO * | z, | ||
lua_Reader | reader, | ||
void * | data ) |
Definition at line 35 of file lua-5.1.5/src/lzio.c.
References char2int, EOZ, luaZ_fill(), Zio::n, and Zio::p.
Referenced by f_parser(), and luaZ_read().
Definition at line 74 of file lua-5.1.5/src/lzio.c.
Definition at line 58 of file lua-5.1.5/src/lzio.c.