/src/dovecot/src/lib/crc32.h
Line | Count | Source |
1 | | #ifndef CRC32_H |
2 | | #define CRC32_H |
3 | | |
4 | 0 | #define CRC32_INIT 0 |
5 | | |
6 | | uint32_t crc32_data(const void *data, size_t size) ATTR_PURE; |
7 | | uint32_t crc32_data_more(uint32_t crc, const void *data, size_t size) ATTR_PURE; |
8 | | |
9 | | static inline uint32_t crc32_str(const char *str) |
10 | 0 | { |
11 | 0 | return crc32_data_more(CRC32_INIT, str, strlen(str)); |
12 | 0 | } Unexecuted instantiation: index-storage.c:crc32_str Unexecuted instantiation: index-thread.c:crc32_str Unexecuted instantiation: mail-index-strmap.c:crc32_str Unexecuted instantiation: mail.c:crc32_str Unexecuted instantiation: index-thread-finish.c:crc32_str Unexecuted instantiation: index-thread-links.c:crc32_str Unexecuted instantiation: dbox-storage.c:crc32_str Unexecuted instantiation: settings-parser.c:crc32_str Unexecuted instantiation: crc32.c:crc32_str |
13 | | static inline uint32_t crc32_str_more(uint32_t crc, const char *str) |
14 | 0 | { |
15 | 0 | return crc32_data_more(crc, str, strlen(str)); |
16 | 0 | } Unexecuted instantiation: index-storage.c:crc32_str_more Unexecuted instantiation: index-thread.c:crc32_str_more Unexecuted instantiation: mail-index-strmap.c:crc32_str_more Unexecuted instantiation: mail.c:crc32_str_more Unexecuted instantiation: index-thread-finish.c:crc32_str_more Unexecuted instantiation: index-thread-links.c:crc32_str_more Unexecuted instantiation: dbox-storage.c:crc32_str_more Unexecuted instantiation: settings-parser.c:crc32_str_more Unexecuted instantiation: crc32.c:crc32_str_more |
17 | | |
18 | | #endif |