| /f-stack/freebsd/net/ |
| H A D | radix.c | 395 struct radix_node *tt = nodes, *t = tt + 1; in rn_newpair() local 483 return (tt); in rn_insert() 626 for (t = tt; tt; t = tt, tt = tt->rn_dupedkey) { in rn_addroute() 666 tt->rn_dupedkey->rn_parent = tt; /* parent */ in rn_addroute() 670 tt->rn_twin = t; tt->rn_ybro = rn_clist; rn_clist = tt; in rn_addroute() 748 return (tt); in rn_addroute() 780 if ((tt = tt->rn_dupedkey) == NULL) in rn_delete() 853 t = tt + 1; in rn_delete() 912 x = tt + 1; in rn_delete() 932 return (tt); in rn_delete() [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lobject.h | 43 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked 71 #define TValuefields Value value; int tt 90 #define ttype(o) ((o)->tt) 117 #define setnilvalue(obj) ((obj)->tt=LUA_TNIL) 120 { TValue *i_o=(obj); i_o->value.n=(x); i_o->tt=LUA_TNUMBER; } 130 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TSTRING; \ 140 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTHREAD; \ 150 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TTABLE; \ 155 i_o->value.gc=cast(GCObject *, (x)); i_o->tt=LUA_TPROTO; \ 163 o1->value = o2->value; o1->tt=o2->tt; \ [all …]
|
| H A D | lstate.h | 149 #define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts)) 151 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) 153 #define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl)) 154 #define gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) 155 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) 156 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) 158 check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv)) 159 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
|
| H A D | lstring.c | 60 ts->tsv.tt = LUA_TSTRING; in newlstr() 102 u->uv.tt = LUA_TUSERDATA; in luaS_newudata()
|
| H A D | lgc.c | 72 switch (o->gch.tt) { in reallymarkobject() 281 switch (o->gch.tt) { in propagatemark() 379 switch (o->gch.tt) { in freeobj() 412 if (curr->gch.tt == LUA_TTHREAD) /* sweep open upvalues of each thread */ in sweeplist() 685 void luaC_link (lua_State *L, GCObject *o, lu_byte tt) { in luaC_link() argument 690 o->gch.tt = tt; in luaC_link()
|
| /f-stack/tools/libutil/ |
| H A D | login_times.c | 110 in_ltm(const login_time_t *ltm, struct tm *tt, time_t *ends) in in_ltm() argument 114 if (tt != NULL) { in in_ltm() 116 if ((u_char)(0x01 << tt->tm_wday) & ltm->lt_dow) { in in_ltm() 118 u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min); in in_ltm() 120 if (tt->tm_sec > 30) in in_ltm() 126 tt->tm_hour = (int)(ltm->lt_end / 60); in in_ltm() 127 tt->tm_min = (int)(ltm->lt_end % 60); in in_ltm() 128 *ends = mktime(tt); in in_ltm()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lstate.h | 203 check_exp(novariant((o)->gch.tt) == LUA_TSTRING, &((o)->ts)) 205 #define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u)) 207 #define gco2lcl(o) check_exp((o)->gch.tt == LUA_TLCL, &((o)->cl.l)) 208 #define gco2ccl(o) check_exp((o)->gch.tt == LUA_TCCL, &((o)->cl.c)) 210 check_exp(novariant((o)->gch.tt) == LUA_TFUNCTION, &((o)->cl)) 211 #define gco2t(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h)) 212 #define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p)) 213 #define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv)) 214 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
|
| H A D | lstring.c | 34 lua_assert(a->tsv.tt == LUA_TLNGSTR && b->tsv.tt == LUA_TLNGSTR); in luaS_eqlngstr() 45 return (a->tsv.tt == b->tsv.tt) && in luaS_eqstr() 46 (a->tsv.tt == LUA_TSHRSTR ? eqshrstr(a, b) : luaS_eqlngstr(a, b)); in luaS_eqstr()
|
| H A D | lstring.h | 29 #define isreserved(s) ((s)->tsv.tt == LUA_TSHRSTR && (s)->tsv.extra > 0) 35 #define eqshrstr(a,b) check_exp((a)->tsv.tt == LUA_TSHRSTR, (a) == (b))
|
| H A D | lgc.c | 138 lua_assert(gch(o)->tt != LUA_TTABLE); in luaC_barrier_() 156 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE); in luaC_barrierback_() 211 GCObject *luaC_newobj (lua_State *L, int tt, size_t sz, GCObject **list, in luaC_newobj() argument 214 char *raw = cast(char *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj() 219 gch(o)->tt = tt; in luaC_newobj() 245 switch (gch(o)->tt) { in reallymarkobject() 525 switch (gch(o)->tt) { in propagatemark() 663 switch (gch(o)->tt) { in freeobj() 743 if (gch(curr)->tt == LUA_TTHREAD) in sweeplist()
|
| H A D | lobject.h | 75 #define CommonHeader GCObject *next; lu_byte tt; lu_byte marked 175 #define righttt(obj) (ttype(obj) == gcvalue(obj)->gch.tt) 201 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); } 206 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
|
| /f-stack/freebsd/crypto/des/ |
| H A D | des_locl.h | 347 register DES_LONG tt; \ 348 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \ 349 PERM_OP(l,r,tt,16,0x0000ffffL); \ 350 PERM_OP(r,l,tt, 2,0x33333333L); \ 351 PERM_OP(l,r,tt, 8,0x00ff00ffL); \ 352 PERM_OP(r,l,tt, 1,0x55555555L); \ 357 register DES_LONG tt; \ 358 PERM_OP(l,r,tt, 1,0x55555555L); \ 359 PERM_OP(r,l,tt, 8,0x00ff00ffL); \ 360 PERM_OP(l,r,tt, 2,0x33333333L); \ [all …]
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-srio.h | 122 uint64_t tt : 1; /**< When set, indicates that the first sRIO member 176 uint64_t tt : 1; 268 uint64_t tt : 2; /**< When WORD1[R] is set and WORD1[NTT] is member 287 uint64_t tt : 2; 318 uint64_t tt : 1; /**< When set, the sRIO message segments use a member 367 uint64_t tt : 1;
|
| H A D | cvmx-npi.h | 77 cvmx_pow_tag_type_t tt : 2; /**< POW Tag type */ member 81 cvmx_pow_tag_type_t tt : 2;
|
| H A D | cvmx-wqe.h | 673 static inline void cvmx_wqe_set_tt(cvmx_wqe_t *work, int tt) in cvmx_wqe_set_tt() argument 677 work->word1.cn68xx.tag_type = (cvmx_pow_tag_type_t)tt; in cvmx_wqe_set_tt() 682 work->word1.cn38xx.tag_type = (cvmx_pow_tag_type_t)tt; in cvmx_wqe_set_tt()
|
| /f-stack/dpdk/drivers/common/cpt/ |
| H A D | cpt_hw_types.h | 123 uint64_t tt : 2; member 130 uint64_t tt : 2; member 221 uint64_t tt : 2; member 225 uint64_t tt : 2; member
|
| /f-stack/dpdk/drivers/compress/octeontx/include/ |
| H A D | zip_regs.h | 315 uint64_t tt : 2; member 320 uint64_t tt : 2; member 483 uint64_t tt : 2; member 488 uint64_t tt : 2; member
|
| /f-stack/dpdk/drivers/raw/octeontx2_dma/ |
| H A D | otx2_dpi_rawdev.h | 126 uint16_t tt:2; member 154 uint64_t tt:2; member
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
| H A D | tst.lib_table.lua | 198 tt = {__lt = function (a,b) return a.val < b.val end} function 200 for i=1,10 do a[i] = {val=rand(100)}; setmetatable(a[i], tt); end 202 check(a, tt.__lt)
|
| H A D | tst.lib_base.lua | 322 local tt = { 331 local a = setmetatable({}, tt) 332 local b = setmetatable({f=a}, tt) 333 local c = setmetatable({f=b}, tt)
|
| /f-stack/dpdk/drivers/event/octeontx/ |
| H A D | ssovf_worker.c | 257 uint8_t tt; in ssows_reset() local 267 tt = (tag >> 32) & 0x3; in ssows_reset() 268 if (tt == SSO_SYNC_ORDERED || tt == SSO_SYNC_ATOMIC) in ssows_reset()
|
| /f-stack/dpdk/drivers/net/octeontx/base/ |
| H A D | octeontx_pki_var.h | 43 uint64_t tt : 2; member 115 uint64_t tt : 2;
|
| /f-stack/freebsd/kern/ |
| H A D | kern_resource.c | 966 uint64_t ut, uu, st, su, it, tt, tu; in calcru1() local 971 tt = ut + st + it; in calcru1() 972 if (tt == 0) { in calcru1() 975 tt = 1; in calcru1() 986 if (__predict_true(tu <= ((uint64_t)1 << 38) && tt <= (1 << 26))) { in calcru1() 988 uu = (tu * ut) / tt; in calcru1() 989 su = (tu * st) / tt; in calcru1() 991 uu = mul64_by_fraction(tu, ut, tt); in calcru1() 992 su = mul64_by_fraction(tu, st, tt); in calcru1()
|
| H A D | kern_sysctl.c | 1631 int error, s, tt; in sysctl_msec_to_ticks() local 1633 tt = *(int *)arg1; in sysctl_msec_to_ticks() 1641 if (tt < 1) in sysctl_msec_to_ticks() 1644 *(int *)arg1 = tt; in sysctl_msec_to_ticks() 1852 int64_t tt; in sysctl_usec_to_sbintime() local 1855 tt = *(int64_t *)arg1; in sysctl_usec_to_sbintime() 1856 sb = sbttous(tt); in sysctl_usec_to_sbintime() 1862 tt = ustosbt(sb); in sysctl_usec_to_sbintime() 1875 int64_t tt; in sysctl_msec_to_sbintime() local 1879 sb = sbttoms(tt); in sysctl_msec_to_sbintime() [all …]
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_sec.h | 53 uint64_t tt : 2; member
|