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

/system/core/base/include/android-base/
H A Dmacros.h67 // The arraysize(arr) macro returns the # of elements in an array arr.
69 // used in defining new arrays, for example. If you use arraysize on
72 // One caveat is that arraysize() doesn't accept any array of an
78 // This template function declaration is used in defining arraysize.
84 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
86 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
88 // functions. It's less safe than arraysize as it accepts some
89 // (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 85 milliseconds