lua5.4
宏定义 | 函数
lstring.c 文件参考
#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
lstring.c 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

宏定义

#define lstring_c
 
#define LUA_CORE
 
#define MAXSTRTB   cast_int(luaM_limitN(MAX_INT, TString*))
 

函数

int luaS_eqlngstr (TString *a, TString *b)
 
unsigned int luaS_hash (const char *str, size_t l, unsigned int seed)
 
unsigned int luaS_hashlongstr (TString *ts)
 
static void tablerehash (TString **vect, int osize, int nsize)
 
void luaS_resize (lua_State *L, int nsize)
 
void luaS_clearcache (global_State *g)
 
void luaS_init (lua_State *L)
 
static TStringcreatestrobj (lua_State *L, size_t l, int tag, unsigned int h)
 
TStringluaS_createlngstrobj (lua_State *L, size_t l)
 
void luaS_remove (lua_State *L, TString *ts)
 
static void growstrtab (lua_State *L, stringtable *tb)
 
static TStringinternshrstr (lua_State *L, const char *str, size_t l)
 
TStringluaS_newlstr (lua_State *L, const char *str, size_t l)
 
TStringluaS_new (lua_State *L, const char *str)
 
UdataluaS_newudata (lua_State *L, size_t s, int nuvalue)
 

宏定义说明

◆ lstring_c

#define lstring_c

◆ LUA_CORE

#define LUA_CORE

◆ MAXSTRTB

#define MAXSTRTB   cast_int(luaM_limitN(MAX_INT, TString*))

函数说明

◆ createstrobj()

static TString* createstrobj ( lua_State L,
size_t  l,
int  tag,
unsigned int  h 
)
static
函数调用图:
这是这个函数的调用关系图:

◆ growstrtab()

static void growstrtab ( lua_State L,
stringtable tb 
)
static
函数调用图:
这是这个函数的调用关系图:

◆ internshrstr()

static TString* internshrstr ( lua_State L,
const char *  str,
size_t  l 
)
static
函数调用图:
这是这个函数的调用关系图:

◆ luaS_clearcache()

void luaS_clearcache ( global_State g)
这是这个函数的调用关系图:

◆ luaS_createlngstrobj()

TString* luaS_createlngstrobj ( lua_State L,
size_t  l 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_eqlngstr()

int luaS_eqlngstr ( TString a,
TString b 
)
这是这个函数的调用关系图:

◆ luaS_hash()

unsigned int luaS_hash ( const char *  str,
size_t  l,
unsigned int  seed 
)
这是这个函数的调用关系图:

◆ luaS_hashlongstr()

unsigned int luaS_hashlongstr ( TString ts)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_init()

void luaS_init ( lua_State L)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_new()

TString* luaS_new ( lua_State L,
const char *  str 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_newlstr()

TString* luaS_newlstr ( lua_State L,
const char *  str,
size_t  l 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_newudata()

Udata* luaS_newudata ( lua_State L,
size_t  s,
int  nuvalue 
)
函数调用图:
这是这个函数的调用关系图:

◆ luaS_remove()

void luaS_remove ( lua_State L,
TString ts 
)
这是这个函数的调用关系图:

◆ luaS_resize()

void luaS_resize ( lua_State L,
int  nsize 
)
函数调用图:
这是这个函数的调用关系图:

◆ tablerehash()

static void tablerehash ( TString **  vect,
int  osize,
int  nsize 
)
static
这是这个函数的调用关系图: