Searched refs:cast_charp (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | ldo.h | 36 #define savestack(L,pt) (cast_charp(pt) - cast_charp(L->stack.p)) 37 #define restorestack(L,n) cast(StkId, cast_charp(L->stack.p) + (n))
|
H A D | lobject.c | 173 *endptr = cast_charp(s); /* nothing is valid yet */ in lua_strx2number() 195 *endptr = cast_charp(s); /* valid up to here */ in lua_strx2number() 208 *endptr = cast_charp(s); /* valid up to here */ in lua_strx2number()
|
H A D | lmem.h | 53 cast_charp(luaM_saferealloc_(L, (b), (on)*sizeof(char), (n)*sizeof(char)))
|
H A D | llimits.h | 146 #define cast_charp(i) cast(char *, (i)) macro
|
H A D | ltests.c | 200 lua_assert(*(cast_charp(block + 1) + size + i) == MARK); in freeblock() 256 fillmem(cast_charp(newblock + 1) + commonsize, size - commonsize); in debug_realloc() 259 *(cast_charp(newblock + 1) + size + i) = MARK; in debug_realloc() 1100 char *p = cast_charp(lua_newuserdatauv(L, size, nuv)); in newuserdata() 1139 lua_pushlstring(L, cast_charp(&d), sizeof(d)); in d2s()
|
H A D | lobject.h | 495 #define getudatamem(u) (cast_charp(u) + udatamemoffset((u)->nuvalue))
|
H A D | lgc.c | 260 char *p = cast_charp(luaM_newobject(L, novariant(tt), sz)); in luaC_newobjdt()
|