Lines Matching defs:BASE
25 // FIXME: remove this header, it's for legacy use. native_window is pulled from frameworks/base/native/include/android/
71 typedef EGLNativeBase<NATIVE_TYPE, TYPE, REF> BASE;
82 static inline TYPE* getSelf(android_native_base_t* base) {
83 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base));
85 static inline TYPE const * getSelf(android_native_base_t const* base) {
86 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base));
88 static void incRef(android_native_base_t* base) {
89 EGLNativeBase* self = getSelf(base);
92 static void decRef(android_native_base_t* base) {
93 EGLNativeBase* self = getSelf(base);