/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lopcodes.h | 89 #define GET_OPCODE(i) (cast(OpCode, ((i)>>POS_OP) & MASK1(SIZE_OP,0))) 91 ((cast(Instruction, o)<<POS_OP)&MASK1(SIZE_OP,POS_OP)))) 93 #define getarg(i,pos,size) (cast(int, ((i)>>pos) & MASK1(size,0))) 95 ((cast(Instruction, v)<<pos)&MASK1(size,pos)))) 113 #define SETARG_sBx(i,b) SETARG_Bx((i),cast(unsigned int, (b)+MAXARG_sBx)) 116 #define CREATE_ABC(o,a,b,c) ((cast(Instruction, o)<<POS_OP) \ 117 | (cast(Instruction, a)<<POS_A) \ 118 | (cast(Instruction, b)<<POS_B) \ 119 | (cast(Instruction, c)<<POS_C)) 121 #define CREATE_ABx(o,a,bc) ((cast(Instruction, o)<<POS_OP) \ [all …]
|
D | lmem.h | 25 (cast(void, \ 26 (cast(size_t, (n)+1) > MAX_SIZET/(e)) ? (luaM_toobig(L), 0) : 0), \ 34 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) 36 cast(t *, luaM_reallocv(L, NULL, 0, n, sizeof(t))) 42 ((v)=cast(t *, luaM_growaux_(L,v,&(size),sizeof(t),limit,e))) 45 ((v)=cast(t *, luaM_reallocv(L, v, oldn, n, sizeof(t))))
|
D | lfunc.h | 14 #define sizeCclosure(n) (cast(int, sizeof(CClosure)) + \ 15 cast(int, sizeof(TValue)*((n)-1))) 17 #define sizeLclosure(n) (cast(int, sizeof(LClosure)) + \ 18 cast(int, sizeof(TValue *)*((n)-1)))
|
D | llimits.h | 93 #define cast(t, exp) ((t)(exp)) macro 95 #define cast_byte(i) cast(lu_byte, (i)) 96 #define cast_num(i) cast(lua_Number, (i)) 97 #define cast_int(i) cast(int, (i)) 98 #define cast_uchar(i) cast(unsigned char, (i))
|
D | ltable.c | 84 if (cast(unsigned int, i) == 0u - i) /* use unsigned to avoid overflows */ in hashnum() 282 t->node = cast(Node *, dummynode); /* use common `dummynode' */ in setnodevector() 333 luaM_freearray(L, nold, cast(size_t, twoto(oldhsize))); /* free old array */ in luaH_resize() 381 luaM_freearray(L, t->node, cast(size_t, sizenode(t))); in luaH_free() 448 if (cast(unsigned int, key-1) < cast(unsigned int, t->sizearray)) in luaH_getint() 513 return cast(TValue *, p); in luaH_set() 522 cell = cast(TValue *, p); in luaH_setint() 539 if (j > cast(unsigned int, MAX_INT)) { /* overflow? */ in unbound_search()
|
D | lobject.h | 168 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc)) 208 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \ 213 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TUSERDATA)); \ 218 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTHREAD)); \ 223 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \ 228 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \ 233 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \ 422 #define getstr(ts) cast(const char *, (ts) + 1) 578 (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))))
|
D | ltable.h | 22 (gkey(cast(Node *, cast(char *, (v)) - offsetof(Node, i_val))))
|
D | lobject.c | 122 *endptr = cast(char *, s); /* nothing is valid yet */ in lua_strx2number() 136 *endptr = cast(char *, s); /* valid up to here */ in lua_strx2number() 149 *endptr = cast(char *, s); /* valid up to here */ in lua_strx2number() 195 buff = cast(char, va_arg(argp, int)); in luaO_pushvfstring()
|
D | lstate.c | 51 #define luai_makeseed() cast(unsigned int, time(NULL)) 77 #define fromstate(L) (cast(LX *, cast(lu_byte *, (L)) - offsetof(LX, l))) 86 { size_t t = cast(size_t, e); \ 270 LG *l = cast(LG *, (*f)(ud, NULL, LUA_TTHREAD, sizeof(LG))); in lua_newstate()
|
D | ldebug.h | 14 #define pcRel(pc, p) (cast(int, (pc) - (p)->code) - 1)
|
D | lgc.h | 76 #define resetbits(x,m) ((x) &= cast(lu_byte, ~(m))) 119 #define luaC_white(g) cast(lu_byte, (g)->currentwhite & WHITEBITS)
|
D | llex.h | 34 #define NUM_RESERVED (cast(int, TK_WHILE-FIRST_RESERVED+1))
|
D | lstring.c | 52 unsigned int h = seed ^ cast(unsigned int, l); in luaS_hash() 121 if (tb->nuse >= cast(lu_int32, tb->size) && tb->size <= MAX_INT/2) in newshrstr()
|
D | lapi.c | 38 #define NONVALIDVALUE cast(TValue *, luaO_nilobject) 310 luaV_arith(L, o1, o1, o2, cast(TMS, op - LUA_OPADD + TM_ADD)); in lua_arith() 449 case LUA_TLCF: return cast(void *, cast(size_t, fvalue(o))); in lua_topointer() 666 setpvalue(&k, cast(void *, p)); in lua_rawgetp() 804 setpvalue(&k, cast(void *, p)); in lua_rawsetp() 922 struct CallS *c = cast(struct CallS *, ud); in f_call() 1055 lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE; in lua_gc()
|
D | lgc.c | 94 #define gnodelast(h) gnode(h, cast(size_t, sizenode(h))) 215 char *raw = cast(char *, luaM_newobject(L, novariant(tt), sz)); in luaC_newobj() 453 sizeof(Node) * cast(size_t, sizenode(h)); in traversetable() 782 if (g->strt.nuse < cast(lu_int32, hs)) /* using less than that half? */ in checkSizes() 919 debt = -cast(l_mem, threshold - gettotalbytes(g)); in setpause() 1001 l_mem work = -cast(l_mem, g->GCmemtrav); /* start counting work */ in atomic()
|
D | lstate.h | 215 #define obj2gco(v) (cast(GCObject *, (v)))
|
D | llex.c | 61 b->buffer[luaZ_bufflen(b)++] = cast(char, c); in save() 77 lua_assert(token == cast(unsigned char, token)); in luaX_token2str()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/framer/ |
D | slots.py | 4 def __init__(self, name, cast=None, special=None, default="0"): argument 6 self.cast = cast
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
D | microprotocols.c | 55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) in pysqlite_microprotocols_add() argument 67 rc = PyDict_SetItem(psyco_adapters, key, cast); in pysqlite_microprotocols_add()
|
D | microprotocols.h | 46 PyTypeObject *type, PyObject *proto, PyObject *cast);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | Stdio.inf | 147 GCC:*_*_*_CC_FLAGS = -fno-builtin -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-format
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/gdb/ |
D | libpython.py | 124 self._gdbval = gdbval.cast(cast_to) 148 pyo_ptr = self._gdbval.cast(PyObjectPtr.get_gdb_type()) 417 ).cast(_type_size_t) 433 tsize = int_from_int(self._gdbval.cast(type_PyVarObject_ptr)['ob_size']) 441 dictptr = self._gdbval.cast(_type_char_ptr) + dictoffset 443 dictptr = dictptr.cast(PyObjectPtrPtr) 968 char_ptr = field_ob_sval.address.cast(_type_unsigned_char_ptr)
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
D | Install.cmd | 25 copy crypto\cast\cast.h ..\..\..\Include\openssl
|
D | Install.sh | 27 cp crypto/cast/cast.h ../../../Include/openssl
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/ |
D | RegularExpressionDxe.inf | 95 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int'
|