Searched refs:SIGN_BIT (Results 1 – 4 of 4) sorted by relevance
2 #define SIGN_BIT(T) (1ULL << (BITS(T) - 1)) macro3 #define SMASK(T) (SIGN_BIT(T) - 1)4 #define UMASK(T) (SIGN_BIT(T) | SMASK(T))
31 #define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */ macro58 return (a_val & SIGN_BIT) ? t : -t; in alaw2linear()75 return (u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS); in ulaw2linear()
46 #define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */ macro156 return ((a_val & SIGN_BIT) ? t : -t); in st_alaw2linear16()259 return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); in st_ulaw2linear16()
54 #define SIGN_BIT (0x80) /* Sign bit for an A-law byte. */ macro