Lines Matching defs:ARRAYSIZE_UNSAFE
26 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
32 // The expression ARRAYSIZE_UNSAFE(a) is a compile-time constant of type
35 // ARRAYSIZE_UNSAFE catches a few type errors. If you see a compiler error
39 // when using ARRAYSIZE_UNSAFE, you are (wrongfully) giving it a pointer.
40 // You should only use ARRAYSIZE_UNSAFE on statically allocated arrays.
45 // ARRAYSIZE_UNSAFE(arr) works by inspecting sizeof(arr) (the # of bytes in
62 #define ARRAYSIZE_UNSAFE(a) \
72 #define arraysize ARRAYSIZE_UNSAFE
83 // cases, you have to use the unsafe ARRAYSIZE_UNSAFE() macro below. This is
111 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,