Home
last modified time | relevance | path

Searched refs:tt (Results 1 – 19 of 19) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlstate.h369 check_exp(novariant((o)->tt) == LUA_TSTRING, &((cast_u(o))->ts))
370 #define gco2u(o) check_exp((o)->tt == LUA_VUSERDATA, &((cast_u(o))->u))
371 #define gco2lcl(o) check_exp((o)->tt == LUA_VLCL, &((cast_u(o))->cl.l))
372 #define gco2ccl(o) check_exp((o)->tt == LUA_VCCL, &((cast_u(o))->cl.c))
374 check_exp(novariant((o)->tt) == LUA_TFUNCTION, &((cast_u(o))->cl))
375 #define gco2t(o) check_exp((o)->tt == LUA_VTABLE, &((cast_u(o))->h))
376 #define gco2p(o) check_exp((o)->tt == LUA_VPROTO, &((cast_u(o))->p))
377 #define gco2th(o) check_exp((o)->tt == LUA_VTHREAD, &((cast_u(o))->th))
378 #define gco2upv(o) check_exp((o)->tt == LUA_VUPVAL, &((cast_u(o))->upv))
385 #define obj2gco(v) check_exp((v)->tt >= LUA_TSTRING, &(cast_u(v)->gc))
A Dldump.c114 int tt = ttypetag(o); in dumpConstants() local
115 dumpByte(D, tt); in dumpConstants()
116 switch (tt) { in dumpConstants()
128 lua_assert(tt == LUA_VNIL || tt == LUA_VFALSE || tt == LUA_VTRUE); in dumpConstants()
A Dltablib.c118 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove() local
120 checktab(L, tt, TAB_W); in tmove()
128 if (t > e || t <= f || (tt != 1 && !lua_compare(L, 1, tt, LUA_OPEQ))) { in tmove()
131 lua_seti(L, tt, t + i); in tmove()
137 lua_seti(L, tt, t + i); in tmove()
141 lua_pushvalue(L, tt); /* return destination table */ in tmove()
A Dlstring.h35 #define isreserved(s) ((s)->tt == LUA_VSHRSTR && (s)->extra > 0)
41 #define eqshrstr(a,b) check_exp((a)->tt == LUA_VSHRSTR, (a) == (b))
A Dlstring.c36 lua_assert(a->tt == LUA_VLNGSTR && b->tt == LUA_VLNGSTR); in luaS_eqlngstr()
52 lua_assert(ts->tt == LUA_VLNGSTR); in luaS_hashlongstr()
A Dlgc.c126 switch (o->tt) { in getgclist()
187 else if (novariant(o->tt) == LUA_TSTRING) { in iscleared()
258 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz) { in luaC_newobj() argument
260 GCObject *o = cast(GCObject *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj()
262 o->tt = tt; in luaC_newobj()
292 switch (o->tt) { in reallymarkobject()
656 switch (o->tt) { in propagatemark()
765 switch (o->tt) { in freeobj()
1063 if (curr->tt == LUA_VTHREAD) { /* threads must be watched */ in sweep2old()
1067 else if (curr->tt == LUA_VUPVAL && upisopen(gco2upv(curr))) in sweep2old()
[all …]
A Dlauxlib.c849 int tt; in luaL_getmetafield() local
851 tt = lua_rawget(L, -2); in luaL_getmetafield()
852 if (tt == LUA_TNIL) /* is metafield nil? */ in luaL_getmetafield()
856 return tt; /* return metafield type */ in luaL_getmetafield()
907 int tt = luaL_getmetafield(L, idx, "__name"); /* try name */ in luaL_tolstring() local
908 const char *kind = (tt == LUA_TSTRING) ? lua_tostring(L, -1) : in luaL_tolstring()
911 if (tt != LUA_TNIL) in luaL_tolstring()
A Dlobject.h96 #define righttt(obj) (ttypetag(obj) == gcvalue(obj)->tt)
275 #define CommonHeader struct GCObject *next; lu_byte tt; lu_byte marked
298 val_(io).gc = i_g; settt_(io, ctb(i_g->tt)); }
360 val_(io).gc = obj2gco(x_); settt_(io, ctb(x_->tt)); \
397 #define tsslen(s) ((s)->tt == LUA_VSHRSTR ? (s)->shrlen : (s)->u.lnglen)
A Dlgc.h182 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz);
A Dlstate.c294 L1->tt = LUA_VTHREAD; in lua_newthread()
362 L->tt = LUA_VTHREAD; in lua_newstate()
A Dltable.c749 lua_assert(key->tt == LUA_VSHRSTR); in luaH_getshortstr()
764 if (key->tt == LUA_VSHRSTR) in luaH_getstr()
A Dldebug.c34 #define noLuaClosure(f) ((f) == NULL || (f)->c.tt == LUA_VCCL)
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/locale/
A Dgen_wc8bit.c54 static unsigned char tt[MAX_WCHAR+1]; variable
284 if (!memcmp(p, &tt[j << TT_SHIFT], (1 << TT_SHIFT))) { in main()
289 memcpy(&tt[j << TT_SHIFT], p, (1 << TT_SHIFT)); in main()
573 printf(" %#4x,", tt[i]); in main()
A Dgen_wctype.c168 long int u, l, tt; in main() local
667 if (totitle && ((tt = towctrans(c, totitle)) != upper)) { in main()
669 c, tt, upper, i0); in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/string/arm/
A Dmemcmp.S68 IT(tt, mi)
A D_memcpy.S165 IT(tt, lt)
444 IT(tt, lt)
/l4re-core-master/uclibc/lib/contrib/uclibc/libm/
A De_lgamma_r.c102 tt = -3.63867699703950536541e-18, /* 0xBC50C7CA, 0xA48A971F */ variable
260 p = z*p1-(tt-w*(p2+y*p3)); in __ieee754_lgamma_r()
/l4re-core-master/libc_backends/lib/sig/lib/
A Dsig.cc381 L4::Cap<L4::Thread> tt(t); in libsig_be_add_thread() local
384 if (int e = l4_error(tt->control(a))) in libsig_be_add_thread()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/malloc-standard/
A Dmalloc.c708 size_t tt = av->trim_threshold; in __malloc_alloc() local
711 av->trim_threshold = tt; in __malloc_alloc()

Completed in 232 milliseconds