Lines Matching defs:arraysize
26 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
28 // functions. It's less safe than arraysize as it accepts some
29 // (although not all) pointers. Therefore, you should use arraysize
70 // definition of arraysize() below, so we have to use the unsafe version for
72 #define arraysize ARRAYSIZE_UNSAFE
76 // The arraysize(arr) macro returns the # of elements in an array arr.
78 // used in defining new arrays, for example. If you use arraysize on
81 // One caveat is that arraysize() doesn't accept any array of an
86 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
89 // This template function declaration is used in defining arraysize.