Lines Matching defs:ARRAYSIZE_UNSAFE
123 // cases, you have to use the unsafe ARRAYSIZE_UNSAFE() macro below. This is
145 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
151 // The expression ARRAYSIZE_UNSAFE(a) is a compile-time constant of type
154 // ARRAYSIZE_UNSAFE catches a few type errors. If you see a compiler error
158 // when using ARRAYSIZE_UNSAFE, you are (wrongfully) giving it a pointer.
159 // You should only use ARRAYSIZE_UNSAFE on statically allocated arrays.
164 // ARRAYSIZE_UNSAFE(arr) works by inspecting sizeof(arr) (the # of bytes in
182 #if !defined(ARRAYSIZE_UNSAFE)
183 #define ARRAYSIZE_UNSAFE(a) \
192 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,