ctdb: Remove an unnecessary cast
[Samba.git] / coverity / coverity_assert_model.c
blobba5c17d0a5885ee91810e3e4311c2925f7e86c10
1 #define LargestIntegralType unsigned long long
3 void _assert_true(const LargestIntegralType result,
4 const char* const expression,
5 const char * const file, const int line)
7 __coverity_panic__();
10 void _assert_int_equal(
11 const LargestIntegralType a, const LargestIntegralType b,
12 const char * const file, const int line)
14 __coverity_panic__();
17 void _assert_int_not_equal(
18 const LargestIntegralType a, const LargestIntegralType b,
19 const char * const file, const int line)
21 __coverity_panic__();
24 void _assert_return_code(const LargestIntegralType result,
25 size_t rlen,
26 const LargestIntegralType error,
27 const char * const expression,
28 const char * const file,
29 const int line)
31 __coverity_panic__();
34 void _assert_string_equal(const char * const a, const char * const b,
35 const char * const file, const int line)
37 __coverity_panic__();
40 void _assert_string_not_equal(const char * const a, const char * const b,
41 const char *file, const int line)
43 __coverity_panic__();
46 void _assert_memory_equal(const void * const a, const void * const b,
47 const size_t size, const char* const file,
48 const int line)
50 __coverity_panic__();
53 void _assert_memory_not_equal(const void * const a, const void * const b,
54 const size_t size, const char* const file,
55 const int line)
57 __coverity_panic__();
60 void _assert_in_range(
61 const LargestIntegralType value, const LargestIntegralType minimum,
62 const LargestIntegralType maximum, const char* const file, const int line)
64 __coverity_panic__();
67 void _assert_not_in_range(
68 const LargestIntegralType value, const LargestIntegralType minimum,
69 const LargestIntegralType maximum, const char* const file, const int line)
71 __coverity_panic__();
74 void _assert_in_set(
75 const LargestIntegralType value, const LargestIntegralType values[],
76 const size_t number_of_values, const char* const file, const int line)
78 __coverity_panic__();
81 void _assert_not_in_set(
82 const LargestIntegralType value, const LargestIntegralType values[],
83 const size_t number_of_values, const char* const file, const int line)
85 __coverity_panic__();