| 75 | } |
| 76 | |
| 77 | static inline void ScanSetSetChar(char (*cs)[32], char c, bool value) |
| 78 | { |
| 79 | int index = static_cast<unsigned char>(c); |
| 80 | int offset = index / CHAR_BIT; |
| 81 | int mask = (1 << (index % CHAR_BIT)); |
| 82 | if (value) |
| 83 | (*cs)[offset] |= mask; |
| 84 | else |
| 85 | (*cs)[offset] &= ~mask; |
| 86 | } |
| 87 | |
| 88 | static void ScanSetSetCharRange(char (*cs)[32], char first, char last, bool value) |
| 89 | { |
no outgoing calls
no test coverage detected