Searched defs:arraysize (Results 1 - 2 of 2) sorted by relevance

/system/core/base/include/android-base/
H A Dmacros.h58 // The arraysize(arr) macro returns the # of elements in an array arr.
60 // used in defining new arrays, for example. If you use arraysize on
63 // One caveat is that arraysize() doesn't accept any array of an
69 // This template function declaration is used in defining arraysize.
75 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
77 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
79 // functions. It's less safe than arraysize as it accepts some
80 // (although not all) pointers. Therefore, you should use arraysize
/system/extras/perfprofd/quipper/base/
H A Dmacros.h49 // The arraysize(arr) macro returns the # of elements in an array arr.
51 // used in defining new arrays, for example. If you use arraysize on
54 // One caveat is that arraysize() doesn't accept any array of an
60 // This template function declaration is used in defining arraysize.
74 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
76 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
78 // functions. It's less safe than arraysize as it accepts some
79 // (although not all) pointers. Therefore, you should use arraysize

Completed in 2799 milliseconds