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

/art/compiler/dex/quick/
H A Dresource_mask.cc88 // NOTE: arraysize(kNoRegMasks) multiplied by 32 due to the gcc bug workaround, see above.
89 COMPILE_ASSERT(arraysize(kSingleRegMasks) == arraysize(kNoRegMasks) * 32, check_arraysizes); member in namespace:art::__anon17
118 COMPILE_ASSERT(arraysize(kTwoRegsMasks) == 16 * 15 / 2, check_arraysize_kTwoRegsMasks);
158 DCHECK_LT(index, arraysize(kNoRegMasks));
/art/runtime/base/
H A Dmacros.h82 // The arraysize(arr) macro returns the # of elements in an array arr.
84 // used in defining new arrays, for example. If you use arraysize on
87 // One caveat is that arraysize() doesn't accept any array of an
93 // This template function declaration is used in defining arraysize.
99 #define arraysize(array) (sizeof(ArraySizeHelper(array))) macro
101 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
103 // functions. It's less safe than arraysize as it accepts some
104 // (although not all) pointers. Therefore, you should use arraysize

Completed in 852 milliseconds