Home
last modified time | relevance | path

Searched refs:BIT2MASK (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Include/
Dbitset.h16 #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
26 #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) macro
/external/python/cpython3/Include/
Dbitset.h16 #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0)
26 #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) macro
/external/python/cpython2/Parser/
Dbitset.c32 BYTE mask = BIT2MASK(ibit); in addbit()
44 return (ss[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0;
/external/python/cpython3/Parser/
Dbitset.c32 BYTE mask = BIT2MASK(ibit); in addbit()
44 return (ss[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0;