Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlundump.c249 *h++=cast_byte(VERSION); in luaU_header()
250 *h++=cast_byte(FORMAT); in luaU_header()
251 *h++=cast_byte(*(char*)&x); /* endianness */ in luaU_header()
252 *h++=cast_byte(sizeof(int)); in luaU_header()
253 *h++=cast_byte(sizeof(size_t)); in luaU_header()
254 *h++=cast_byte(sizeof(Instruction)); in luaU_header()
255 *h++=cast_byte(sizeof(lua_Number)); in luaU_header()
256 *h++=cast_byte(((lua_Number)0.5)==0); /* is lua_Number integral? */ in luaU_header()
H A Dlfunc.c25 c->c.nupvalues = cast_byte(n); in luaF_newCclosure()
33 c->l.nupvalues = cast_byte(n); in luaF_newLclosure()
H A Dltm.c56 events->flags |= cast_byte(1u<<event); /* cache this fact */ in luaT_gettm()
H A Dllimits.h93 #define cast_byte(i) cast(lu_byte, (i)) macro
H A Dltable.c299 t->lsizenode = cast_byte(lsize); in setnodevector()
371 t->flags = cast_byte(~0); in luaH_new()
H A Dlstring.c56 h = h ^ ((h<<5) + (h>>2) + cast_byte(str[l1 - 1])); in luaS_hash()
H A Dlgc.c60 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g)))
747 gch(curr)->marked = cast_byte((marked & toclear) | toset); in sweeplist()
1034 g->currentwhite = cast_byte(otherwhite(g)); /* flip current white */ in atomic()
H A Dldo.c113 L->status = cast_byte(errcode); /* mark it as dead */ in luaD_throw()
555 L->status = cast_byte(status); /* mark thread as `dead' */ in lua_resume()
H A Dllex.c68 ts->tsv.extra = cast_byte(i+1); /* reserved word */ in luaX_init()
H A Dlparser.c206 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
238 f->upvalues[fs->nups].idx = cast_byte(v->u.info); in newupvalue()
782 f->numparams = cast_byte(fs->nactvar); in parlist()
H A Dldebug.c70 L->hookmask = cast_byte(mask); in lua_sethook()
H A Dlcode.c265 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()