Home
last modified time | relevance | path

Searched +defs:L +defs:ts +defs:L (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlstring.c51 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()
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()
189 TString *ts; in internshrstr() local
225 TString *ts; in luaS_newlstr() local
[all …]
H A Dloslib.c142 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()
302 static int os_date (lua_State *L) { in os_date()
344 static int os_time (lua_State *L) { in os_time()
349 struct tm ts; in os_time() local
370 static int os_difftime (lua_State *L) { in os_difftime()
[all …]
H A Dlapi.c154 LUA_API lua_Number lua_version (lua_State *L) { in lua_version()
176 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
284 LUA_API int lua_type (lua_State *L, int idx) { in lua_type()
497 LUA_API void lua_pushnil (lua_State *L) { in lua_pushnil()
527 TString *ts; in lua_pushlstring() local
543 TString *ts; in lua_pushstring() local
624 LUA_API int lua_pushthread (lua_State *L) { in lua_pushthread()
662 #define getGtable(L) \ argument
998 #define checkresults(L,na,nr) \ argument
1125 LUA_API int lua_status (lua_State *L) { in lua_status()
[all …]
H A Dltable.c162 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()
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()
598 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash()
626 Table *luaH_new (lua_State *L) { in luaH_new()
638 void luaH_free (lua_State *L, Table *t) { in luaH_free()
[all …]
H A Dlgc.c243 void luaC_fix (lua_State *L, GCObject *o) { in luaC_fix()
763 static void freeupval (lua_State *L, UpVal *uv) { in freeupval()
800 TString *ts = gco2ts(o); in freeobj() local
806 TString *ts = gco2ts(o); in freeobj() local
899 static void dothecall (lua_State *L, void *ud) { in dothecall()
905 static void GCTM (lua_State *L) { in GCTM()
1484 static void entersweep (lua_State *L) { in entersweep()
1509 void luaC_freeallobjects (lua_State *L) { in luaC_freeallobjects()
1523 static lu_mem atomic (lua_State *L) { in atomic()
1583 static lu_mem singlestep (lua_State *L) { in singlestep()
[all …]
H A Dltests.c75 static int tpanic (lua_State *L) { in tpanic()
764 static int listk (lua_State *L) { in listk()
906 static int gc_age (lua_State *L) { in gc_age()
1040 TString *ts; in string_query() local
1053 static int tref (lua_State *L) { in tref()
1071 static int unref (lua_State *L) { in unref()
1131 static int s2d (lua_State *L) { in s2d()
1137 static int d2s (lua_State *L) { in d2s()
1756 lua_State *ts = (t == 0) ? L1 : lua_tothread(L1, t); in runC() local
1784 static int testC (lua_State *L) { in testC()
[all …]
H A Dllex.c70 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 Dluac.c126 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 Dlundump.c29 #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 Dlvm.c622 #define tostring(L,o) \ argument
659 TString *ts; in luaV_concat() local
813 void luaV_finishOp (lua_State *L) { in luaV_finishOp()
904 #define op_arithI(L,iop,fop) { \ argument
933 #define op_arithf(L,fop) { \ argument
943 #define op_arithfK(L,fop) { \ argument
965 #define op_arith(L,iop,fop) { \ argument
974 #define op_arithK(L,iop,fop) { \ argument
983 #define op_bitwiseK(L,op) { \ argument
997 #define op_bitwise(L,op) { \ argument
[all …]
H A Dlobject.h106 #define checkliveness(L,obj) \ argument
118 #define setobj(L,obj1,obj2) \ argument
268 #define setthvalue(L,obj,x) \ argument
309 #define setgcovalue(L,obj,x) \ argument
371 #define setsvalue(L,obj,x) \ argument
403 #define getstr(ts) ((ts)->contents) argument
444 #define setuvalue(L,obj,x) \ argument
610 #define setclLvalue(L,obj,x) \ argument
620 #define setclCvalue(L,obj,x) \ argument
686 #define sethvalue(L,obj,x) \ argument
[all …]
H A Dlstate.h104 #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 Dllex.h52 TString *ts; member
71 struct lua_State *L; member
H A Dlparser.c75 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 Dlstring.c62 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 Dlapi.c47 #define api_checkstackindex(L, i, o) \ argument
82 static void growstack (lua_State *L, void *ud) { in growstack()
156 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
245 LUA_API int lua_type (lua_State *L, int idx) { in lua_type()
463 LUA_API void lua_pushnil (lua_State *L) { in lua_pushnil()
500 TString *ts; in lua_pushlstring() local
517 TString *ts; in lua_pushstring() local
591 LUA_API int lua_pushthread (lua_State *L) { in lua_pushthread()
873 #define checkresults(L,na,nr) \ argument
1010 LUA_API int lua_status (lua_State *L) { in lua_status()
[all …]
H A Dllex.c61 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 Dlobject.h198 #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 Dllex.h39 TString *ts; member
61 struct lua_State *L; member
H A Dlparser.c61 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 Dlstate.h180 #define G(L) (L->l_G) argument
188 union TString ts; member
/freebsd/crypto/openssl/crypto/
H A Do_time.c16 struct tm *ts = NULL; in OPENSSL_gmtime() local
188 long L = jd + 68569; in julian_to_date() local
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c109 #define _PMCLOG_TO_HEADER(T,L) \ argument
144 #define PMCLOG_RESERVE_SAFE(P,T,L,TSC) _PMCLOG_RESERVE_SAFE(P,T,L,return,TSC) argument
145 #define PMCLOG_RESERVE(P,T,L) _PMCLOG_RESERVE(P,T,L,return) argument
146 #define PMCLOG_RESERVE_WITH_ERROR(P,T,L) _PMCLOG_RESERVE(P,T,L, \ argument
157 #define PMCLOG_EMITSTRING(S,L) do { bcopy((S), _le, (L)); } while (0) argument
158 #define PMCLOG_EMITNULLSTRING(L) do { bzero(_le, (L)); } while (0) argument
684 struct timespec ts; in pmclog_configure_log() local
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp162 static inline uint64_t timespec_to_ns(const struct timespec *ts) { in timespec_to_ns()
168 struct timespec ts; in perf_get_timestamp() local
231 const RuntimeDyld::LoadedObjectInfo &L) { in notifyObjectLoaded()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_string.c2716 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