Home | History | Annotate | Download | only in common

Lines Matching defs:arraysize

66 // The arraysize(arr) macro returns the # of elements in an array arr.
68 // used in defining new arrays, for example. If you use arraysize on
71 // One caveat is that arraysize() doesn't accept any array of an
77 // This template function declaration is used in defining arraysize.
91 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
126 int result = vsnprintf(stack_buf, arraysize(stack_buf), format, ap_copy);
129 if (result >= 0 && result < static_cast<int>(arraysize(stack_buf))) {
136 int mem_length = arraysize(stack_buf);