OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LUA_NBITS
(Results
1 - 3
of
3
) sorted by null
/external/skia/third_party/lua/src/
lbitlib.c
17
#if !defined(
LUA_NBITS
)
18
#define
LUA_NBITS
32
22
#define ALLONES (~(((~(lua_Unsigned)0) << (
LUA_NBITS
- 1)) << 1))
28
/* builds a number with 'n' ones (1 <= n <=
LUA_NBITS
) */
90
if (i >=
LUA_NBITS
) r = 0;
94
if (i >=
LUA_NBITS
) r = 0;
116
if (i < 0 || !(r & ((b_uint)1 << (
LUA_NBITS
- 1))))
119
if (i >=
LUA_NBITS
) r = ALLONES;
130
i &= (
LUA_NBITS
- 1); /* i = i % NBITS */
132
r = (r << i) | (r >> (
LUA_NBITS
- i))
[
all
...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lbitlib.c
17
#if !defined(
LUA_NBITS
)
18
#define
LUA_NBITS
32
22
#define ALLONES (~(((~(lua_Unsigned)0) << (
LUA_NBITS
- 1)) << 1))
28
/* builds a number with 'n' ones (1 <= n <=
LUA_NBITS
) */
90
if (i >=
LUA_NBITS
) r = 0;
94
if (i >=
LUA_NBITS
) r = 0;
116
if (i < 0 || !(r & ((b_uint)1 << (
LUA_NBITS
- 1))))
119
if (i >=
LUA_NBITS
) r = ALLONES;
130
i &= (
LUA_NBITS
- 1); /* i = i % NBITS */
132
if (i != 0) /* avoid undefined shift of
LUA_NBITS
when i == 0 *
[
all
...]
/external/syslinux/com32/lua/src/
lbitlib.c
17
#if !defined(
LUA_NBITS
)
18
#define
LUA_NBITS
32
22
#define ALLONES (~(((~(lua_Unsigned)0) << (
LUA_NBITS
- 1)) << 1))
28
/* builds a number with 'n' ones (1 <= n <=
LUA_NBITS
) */
90
if (i >=
LUA_NBITS
) r = 0;
94
if (i >=
LUA_NBITS
) r = 0;
116
if (i < 0 || !(r & ((b_uint)1 << (
LUA_NBITS
- 1))))
119
if (i >=
LUA_NBITS
) r = ALLONES;
130
i &= (
LUA_NBITS
- 1); /* i = i % NBITS */
132
if (i != 0) /* avoid undefined shift of
LUA_NBITS
when i == 0 *
[
all
...]
Completed in 168 milliseconds