/freebsd/contrib/lua/src/ |
H A D | lstring.c | 51 unsigned int luaS_hashlongstr (TString *ts) { in luaS_hashlongstr() 85 void luaS_resize (lua_State *L, int nsize) { in luaS_resize() 123 void luaS_init (lua_State *L) { in luaS_init() 143 static TString *createstrobj (lua_State *L, size_t l, int tag, unsigned int h) { in createstrobj() 144 TString *ts; in createstrobj() local 152 getstr(ts)[l] = '\0'; /* ending 0 */ in createstrobj() local 157 TString *luaS_createlngstrobj (lua_State *L, size_t l) { in luaS_createlngstrobj() 158 TString *ts = createstrobj(L, l, LUA_VLNGSTR, G(L)->seed); in luaS_createlngstrobj() local 164 void luaS_remove (lua_State *L, TString *ts) { in luaS_remove() 174 static void growstrtab (lua_State *L, stringtable *tb) { in growstrtab() [all …]
|
H A D | loslib.c | 59 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) argument 60 #define l_gettime(L,arg) luaL_checkinteger(L, arg) argument 65 #define l_pushtime(L,t) lua_pushnumber(L,(lua_Number)(t)) argument 66 #define l_gettime(L,arg) luaL_checknumber(L, arg) argument 142 static int os_execute (lua_State *L) { in os_execute() 156 static int os_remove (lua_State *L) { in os_remove() 162 static int os_rename (lua_State *L) { in os_rename() 169 static int os_tmpname (lua_State *L) { in os_tmpname() 180 static int os_getenv (lua_State *L) { in os_getenv() 186 static int os_clock (lua_State *L) { in os_clock() [all …]
|
H A D | lapi.c | 46 #define isvalid(L, o) (!ttisnil(o) || o != &G(L)->nilvalue) argument 60 static TValue *index2value (lua_State *L, int idx) { in index2value() 95 l_sinline StkId index2stack (lua_State *L, int idx) { in index2stack() 111 LUA_API int lua_checkstack (lua_State *L, int n) { in lua_checkstack() 144 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 154 LUA_API lua_Number lua_version (lua_State *L) { in lua_version() 169 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex() 176 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() 181 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() 209 LUA_API void lua_closeslot (lua_State *L, int idx) { in lua_closeslot() [all …]
|
H A D | ltable.c | 162 TString *ts = tsvalue(key); in mainpositionTV() local 166 TString *ts = tsvalue(key); in mainpositionTV() local 331 static unsigned int findindex (lua_State *L, Table *t, TValue *key, in findindex() 349 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next() 371 static void freehash (lua_State *L, Table *t) { in freehash() 480 static void setnodevector (lua_State *L, Table *t, unsigned int size) { in setnodevector() 508 static void reinsert (lua_State *L, Table *ot, Table *t) { in reinsert() 553 void luaH_resize (lua_State *L, Table *t, unsigned int newasize, in luaH_resize() 590 void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize) { in luaH_resizearray() 598 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash() [all …]
|
H A D | lgc.c | 208 void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v) { in luaC_barrier_() 230 void luaC_barrierback_ (lua_State *L, GCObject *o) { in luaC_barrierback_() 243 void luaC_fix (lua_State *L, GCObject *o) { in luaC_fix() 258 GCObject *luaC_newobjdt (lua_State *L, int tt, size_t sz, size_t offset) { in luaC_newobjdt() 270 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz) { in luaC_newobj() 763 static void freeupval (lua_State *L, UpVal *uv) { in freeupval() 770 static void freeobj (lua_State *L, GCObject *o) { in freeobj() 800 TString *ts = gco2ts(o); in freeobj() local 806 TString *ts = gco2ts(o); in freeobj() local 822 static GCObject **sweeplist (lua_State *L, GCObject **p, int countin, in sweeplist() [all …]
|
H A D | ltests.c | 47 #define obj_at(L,k) s2v(L->ci->func.p + (k)) argument 53 static void setnameval (lua_State *L, const char *name, int val) { in setnameval() 59 static void pushobject (lua_State *L, const TValue *o) { in pushobject() 75 static int tpanic (lua_State *L) { in tpanic() 95 lua_State *L = cast(lua_State *, ud); in warnf() local 323 void lua_printobj (lua_State *L, struct GCObject *o) { in lua_printobj() 625 int lua_checkmemory (lua_State *L) { in lua_checkmemory() 729 static int listcode (lua_State *L) { in listcode() 748 static int printcode (lua_State *L) { in printcode() 764 static int listk (lua_State *L) { in listk() [all …]
|
H A D | llex.c | 70 void luaX_init (lua_State *L) { in luaX_init() 75 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init() local 135 lua_State *L = ls->L; in luaX_newstring() local 136 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring() local 167 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 541 TString *ts; in llex() local
|
H A D | luac.c | 126 static const char* reader(lua_State* L, void* ud, size_t* size) in reader() 141 #define toproto(L,i) getproto(s2v(L->top.p+(i))) argument 143 static const Proto* combine(lua_State* L, int n) in combine() 162 static int writer(lua_State* L, const void* p, size_t size, void* u) in writer() 168 static int pmain(lua_State* L) in pmain() 198 lua_State* L; in main() local 220 static void PrintString(const TString* ts) in PrintString()
|
H A D | lundump.c | 29 #define luai_verifycode(L,f) /* empty */ argument 34 lua_State *L; member 111 lua_State *L = S->L; in loadStringN() local 112 TString *ts; in loadStringN() local 313 LClosure *luaU_undump(lua_State *L, ZIO *Z, const char *name) { in luaU_undump()
|
H A D | lvm.c | 180 static int forlimit (lua_State *L, lua_Integer init, const TValue *lim, in forlimit() 210 static int forprep (lua_State *L, StkId ra) { in forprep() 291 void luaV_finishget (lua_State *L, const TValue *t, TValue *key, StkId val, in luaV_finishget() 334 void luaV_finishset (lua_State *L, const TValue *t, TValue *key, in luaV_finishset() 524 static int lessthanothers (lua_State *L, const TValue *l, const TValue *r) { in lessthanothers() 536 int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) { in luaV_lessthan() 546 static int lessequalothers (lua_State *L, const TValue *l, const TValue *r) { in lessequalothers() 558 int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r) { in luaV_lessequal() 569 int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) { in luaV_equalobj() 622 #define tostring(L,o) \ argument [all …]
|
H A D | lobject.h | 106 #define checkliveness(L,obj) \ argument 118 #define setobj(L,obj1,obj2) \ argument 129 #define setobjs2s(L,o1,o2) setobj(L,s2v(o1),s2v(o2)) argument 131 #define setobj2s(L,o1,o2) setobj(L,s2v(o1),o2) argument 268 #define setthvalue(L,obj,x) \ argument 273 #define setthvalue2s(L,o,t) setthvalue(L,s2v(o),t) argument 309 #define setgcovalue(L,obj,x) \ argument 371 #define setsvalue(L,obj,x) \ argument 377 #define setsvalue2s(L,o,s) setsvalue(L,s2v(o),s) argument 403 #define getstr(ts) ((ts)->contents) argument [all …]
|
H A D | lstate.h | 104 #define yieldable(L) (((L)->nCcalls & 0xffff0000) == 0) argument 107 #define getCcalls(L) ((L)->nCcalls & 0xffff) argument 111 #define incnny(L) ((L)->nCcalls += 0x10000) argument 114 #define decnny(L) ((L)->nCcalls -= 0x10000) argument 335 #define G(L) (L->l_G) argument 355 struct TString ts; member
|
H A D | llex.h | 52 TString *ts; member 71 struct lua_State *L; member
|
H A D | lparser.c | 75 lua_State *L = fs->ls->L; in errorlimit() local 144 TString *ts; in str_checkname() local 194 lua_State *L = ls->L; in new_localvar() local 700 lua_State *L = ls->L; in addprototype() local 757 lua_State *L = ls->L; in close_func() local 1942 LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, in luaY_parser()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lstring.c | 62 void luaS_resize (lua_State *L, int newsize) { in luaS_resize() 96 static TString *createstrobj (lua_State *L, const char *str, size_t l, in createstrobj() 98 TString *ts; in createstrobj() local 116 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr() 133 static TString *internshrstr (lua_State *L, const char *str, size_t l) { in internshrstr() 140 TString *ts = rawgco2ts(o); in internshrstr() local 156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr() 170 TString *luaS_new (lua_State *L, const char *str) { in luaS_new() 175 Udata *luaS_newudata (lua_State *L, size_t s, Table *e) { in luaS_newudata()
|
H A D | lapi.c | 45 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument 47 #define api_checkstackindex(L, i, o) \ argument 51 static TValue *index2addr (lua_State *L, int idx) { in index2addr() 82 static void growstack (lua_State *L, void *ud) { in growstack() 88 LUA_API int lua_checkstack (lua_State *L, int size) { in lua_checkstack() 123 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 133 LUA_API const lua_Number *lua_version (lua_State *L) { in lua_version() 149 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex() 156 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() 161 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() [all …]
|
H A D | llex.c | 61 void luaX_init (lua_State *L) { in luaX_init() 64 TString *ts = luaS_new(L, luaX_tokens[i]); in luaX_init() local 121 lua_State *L = ls->L; in luaX_newstring() local 123 TString *ts = luaS_newlstr(L, str, l); /* create new string */ in luaX_newstring() local 155 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 490 TString *ts; in llex() local
|
H A D | lobject.h | 198 #define setgcovalue(L,obj,x) \ argument 202 #define setsvalue(L,obj,x) \ argument 208 #define setuvalue(L,obj,x) \ argument 213 #define setthvalue(L,obj,x) \ argument 218 #define setclLvalue(L,obj,x) \ argument 223 #define setclCvalue(L,obj,x) \ argument 228 #define sethvalue(L,obj,x) \ argument 237 #define setobj(L,obj1,obj2) \ argument 264 #define luai_checknum(L,o,c) { /* empty */ } argument 350 #define setobj(L,obj1,obj2) \ argument [all …]
|
H A D | llex.h | 39 TString *ts; member 61 struct lua_State *L; member
|
H A D | lparser.c | 61 TString *ts = ls->t.seminfo.ts; in anchor_token() local 81 lua_State *L = fs->ls->L; in errorlimit() local 137 TString *ts; in str_checkname() local 328 lua_State *L = ls->L; in enterlevel() local 497 lua_State *L = ls->L; in addprototype() local 525 lua_State *L = ls->L; in open_func() local 553 lua_State *L = ls->L; in close_func() local 1622 Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, in luaY_parser()
|
H A D | lstate.h | 180 #define G(L) (L->l_G) argument 188 struct TString ts; member
|
/freebsd/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 109 #define _PMCLOG_TO_HEADER(T, L) \ argument 144 #define PMCLOG_RESERVE_SAFE(P, T, L, TSC) \ argument 146 #define PMCLOG_RESERVE(P,T,L) \ argument 148 #define PMCLOG_RESERVE_WITH_ERROR(P, T, L) \ argument 159 #define PMCLOG_EMITSTRING(S,L) do { \ argument 162 #define PMCLOG_EMITNULLSTRING(L) do { \ argument 689 struct timespec ts; in pmclog_configure_log() local
|
/freebsd/crypto/openssl/crypto/ |
H A D | o_time.c | 16 struct tm *ts = NULL; in OPENSSL_gmtime() local 188 long L = jd + 68569; in julian_to_date() local
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/ |
H A D | PerfJITEventListener.cpp | 162 static inline uint64_t timespec_to_ns(const struct timespec *ts) { in timespec_to_ns() argument 168 struct timespec ts; in perf_get_timestamp() local 231 const RuntimeDyld::LoadedObjectInfo &L) { in notifyObjectLoaded() argument [all...] |
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_string.c | 2716 int n, ret = 0, ts, tm; in archive_string_append_unicode() local 2931 int always_replace, n, n2, ret = 0, spair, ts, tm; in archive_string_normalize_C() local 3238 int always_replace, n, n2, ret = 0, spair, ts, tm; in archive_string_normalize_D() local 3324 int L = HC_LBASE + SIndex / HC_NCOUNT; in archive_string_normalize_D() local
|