Lines Matching defs:arraysize
22 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
24 // functions. It's less safe than arraysize as it accepts some
25 // (although not all) pointers. Therefore, you should use arraysize
63 // definition of arraysize() below, so we have to use the unsafe version for
65 #define arraysize ARRAYSIZE_UNSAFE
69 // The arraysize(arr) macro returns the # of elements in an array arr.
71 // used in defining new arrays, for example. If you use arraysize on
74 // One caveat is that arraysize() doesn't accept any array of an
79 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
82 // This template function declaration is used in defining arraysize.