MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / lower_4bytes

Function lower_4bytes

parser/parse_sst.c:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36static inline unsigned lower_byte( char b ) { return b | 0x20; }
37static inline unsigned lower_4bytes( unsigned d ) { return d | 0x20202020; }
38static inline unsigned lower_3bytes( unsigned d ) { return d | 0x202020; }
39static inline unsigned read_4bytes( char *val ) {
40 return (*(val + 0) + (*(val + 1) << 8)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected