Home
last modified time | relevance | path

Searched refs:cast_charp (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/lua/src/
H A Dldo.h36 #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 Dlobject.c173 *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 Dlmem.h53 cast_charp(luaM_saferealloc_(L, (b), (on)*sizeof(char), (n)*sizeof(char)))
H A Dllimits.h146 #define cast_charp(i) cast(char *, (i)) macro
H A Dltests.c200 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 Dlobject.h495 #define getudatamem(u) (cast_charp(u) + udatamemoffset((u)->nuvalue))
H A Dlgc.c260 char *p = cast_charp(luaM_newobject(L, novariant(tt), sz)); in luaC_newobjdt()