Searched refs:ARRAYSIZE_UNSAFE (Results 1 - 2 of 2) sorted by relevance

/system/core/base/include/base/
H A Dmacros.h74 // cases, you have to use the unsafe ARRAYSIZE_UNSAFE() macro below. This is
86 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
92 // The expression ARRAYSIZE_UNSAFE(a) is a compile-time constant of type
95 // ARRAYSIZE_UNSAFE catches a few type errors. If you see a compiler error
99 // when using ARRAYSIZE_UNSAFE, you are (wrongfully) giving it a pointer.
100 // You should only use ARRAYSIZE_UNSAFE on statically allocated arrays.
105 // ARRAYSIZE_UNSAFE(arr) works by inspecting sizeof(arr) (the # of bytes in
122 #define ARRAYSIZE_UNSAFE(a) \ macro
/system/extras/perfprofd/quipper/base/
H A Dmacros.h56 // cases, you have to use the unsafe ARRAYSIZE_UNSAFE() macro below. This is
76 // ARRAYSIZE_UNSAFE performs essentially the same calculation as arraysize,
82 // The expression ARRAYSIZE_UNSAFE(a) is a compile-time constant of type
85 // ARRAYSIZE_UNSAFE catches a few type errors. If you see a compiler error
89 // when using ARRAYSIZE_UNSAFE, you are (wrongfully) giving it a pointer.
90 // You should only use ARRAYSIZE_UNSAFE on statically allocated arrays.
95 // ARRAYSIZE_UNSAFE(arr) works by inspecting sizeof(arr) (the # of bytes in
113 #define ARRAYSIZE_UNSAFE(a) \ macro
144 // COMPILE_ASSERT(ARRAYSIZE_UNSAFE(content_type_names) == CONTENT_NUM_TYPES,

Completed in 102 milliseconds