Home
last modified time | relevance | path

Searched refs:ivalue (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlvm.c110 *n = cast_num(ivalue(obj)); in luaV_tonumber_()
145 *p = ivalue(obj); in luaV_tointegerns()
215 lua_Integer init = ivalue(pinit); in forprep()
216 lua_Integer step = ivalue(pstep); in forprep()
483 lua_Integer li = ivalue(l); in LTnum()
505 lua_Integer li = ivalue(l); in LEnum()
587 case LUA_VNUMINT: return (ivalue(t1) == ivalue(t2)); in luaV_equalobj()
909 lua_Integer iv1 = ivalue(v1); \
956 lua_Integer i1 = ivalue(v1); lua_Integer i2 = ivalue(v2); \
988 lua_Integer i2 = ivalue(v2); \
[all …]
H A Dlvm.h58 (ttisinteger(o) ? ((n) = cast_num(ivalue(o)), 1) : 0))
63 (l_likely(ttisinteger(o)) ? (*(i) = ivalue(o), 1) \
69 (l_likely(ttisinteger(o)) ? (*(i) = ivalue(o), 1) \
H A Dltable.c154 lua_Integer i = ivalue(key); in mainpositionTV()
224 return (ivalue(k1) == keyival(n2)); in equalkey()
335 i = ttisinteger(key) ? arrayindex(ivalue(key)) : 0; in findindex()
611 na += countint(ivalue(ek), nums); in rehash()
791 case LUA_VNUMINT: return luaH_getint(t, ivalue(key)); in luaH_get()
H A Dlobject.c113 setivalue(res, intarith(L, op, ivalue(p1), ivalue(p2))); in luaO_rawarith()
359 len = lua_integer2str(buff, MAXNUMBER2STR, ivalue(obj)); in tostringbuff()
H A Dlobject.h331 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
333 #define ivalue(o) check_exp(ttisinteger(o), val_(o).i) macro
H A Dldump.c125 dumpInteger(D, ivalue(o)); in dumpConstants()
H A Dllex.c248 seminfo->i = ivalue(&obj); in read_numeral()
H A Dlcode.c550 k = cast_int(ivalue(idx)); in addk()
702 e->k = VKINT; e->u.ival = ivalue(v); in const2exp()
1348 e1->u.ival = ivalue(&res); in constfolding()
H A Dluac.c317 printf(LUA_INTEGER_FMT,ivalue(o)); in PrintConstant()
/freebsd/sbin/camcontrol/
H A Dmodeedit.c72 int ivalue; member
185 dest->value.ivalue = (intptr_t)arg; in editentry_update()
222 newentry->value.ivalue = (intptr_t)arg; in editentry_create_desc()
253 return (src->value.ivalue); in editentry_save()
323 if (dest->value.ivalue != ival) in editentry_set()
325 dest->value.ivalue = ival; in editentry_set()
849 scan->value.ivalue); in modepage_write()
/freebsd/sys/kern/
H A Dkern_mib.c150 int ivalue; in sysctl_maxphys() local
157 ivalue = lvalue; in sysctl_maxphys()
158 return (sysctl_handle_int(oidp, &ivalue, 0, req)); in sysctl_maxphys()
H A Dvfs_bio.c480 int ivalue; in sysctl_bufspace() local
491 ivalue = lvalue; in sysctl_bufspace()
492 return (sysctl_handle_int(oidp, &ivalue, 0, req)); in sysctl_bufspace()