• Home
  • Raw
  • Download

Lines Matching refs:cppname

202 #define UPB_DECLARE_TYPE(cppname, cname) typedef cppname cname;  argument
204 #define UPB_DECLARE_DERIVED_TYPE(cppname, cppbase, cname, cbase) \ argument
205 UPB_DECLARE_TYPE(cppname, cname) \
209 class Pointer<cppname> : public PointerBase<cppname, cppbase> { \
211 explicit Pointer(cppname* ptr) \
212 : PointerBase<cppname, cppbase>(ptr) {} \
215 class Pointer<const cppname> \
216 : public PointerBase<const cppname, const cppbase> { \
218 explicit Pointer(const cppname* ptr) \
219 : PointerBase<const cppname, const cppbase>(ptr) {} \
223 #define UPB_DECLARE_DERIVED_TYPE2(cppname, cppbase, cppbase2, cname, cbase, \ argument
225 UPB_DECLARE_TYPE(cppname, cname) \
229 class Pointer<cppname> : public PointerBase2<cppname, cppbase, cppbase2> { \
231 explicit Pointer(cppname* ptr) \
232 : PointerBase2<cppname, cppbase, cppbase2>(ptr) {} \
235 class Pointer<const cppname> \
236 : public PointerBase2<const cppname, const cppbase, const cppbase2> { \
238 explicit Pointer(const cppname* ptr) \
239 : PointerBase2<const cppname, const cppbase, const cppbase2>(ptr) {} \
248 #define UPB_DECLARE_TYPE(cppname, cname) \ argument
251 #define UPB_DECLARE_DERIVED_TYPE(cppname, cppbase, cname, cbase) \ argument
252 UPB_DECLARE_TYPE(cppname, cname) \
254 #define UPB_DECLARE_DERIVED_TYPE2(cppname, cppbase, cppbase2, \ argument
256 UPB_DECLARE_TYPE(cppname, cname) \
1822 #define UPB_DEFINE_DEF(cppname, lower, upper, cppmethods, members) \
1823 UPB_DEFINE_CLASS2(cppname, upb::Def, upb::RefCounted, cppmethods, \
1825 UPB_DEF_CASTS(lower, upper, cppname)
1827 #define UPB_DECLARE_DEF_TYPE(cppname, lower, upper) \
1828 UPB_DECLARE_DERIVED_TYPE2(cppname, upb::Def, upb::RefCounted, \
1830 UPB_DEF_CASTS(lower, upper, cppname)