Home
last modified time | relevance | path

Searched refs:TypeCF (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/base/mac/
Dfoundation_util.h113 #define TYPE_NAME_FOR_CF_TYPE_DECL(TypeCF) \ argument
114 BASE_EXPORT std::string TypeNameForCFType(TypeCF##Ref);
190 #define CF_TO_NS_CAST_DECL(TypeCF, TypeNS) \ argument
195 BASE_EXPORT TypeNS* CFToNSCast(TypeCF##Ref cf_val); \
196 BASE_EXPORT TypeCF##Ref NSToCFCast(TypeNS* ns_val); \
267 #define CF_CAST_DECL(TypeCF) \ argument
268 template<> BASE_EXPORT TypeCF##Ref \
269 CFCast<TypeCF##Ref>(const CFTypeRef& cf_val);\
271 template<> BASE_EXPORT TypeCF##Ref \
272 CFCastStrict<TypeCF##Ref>(const CFTypeRef& cf_val);
Dfoundation_util.mm176 #define TYPE_NAME_FOR_CF_TYPE_DEFN(TypeCF) \
177 std::string TypeNameForCFType(TypeCF##Ref) { \
178 return #TypeCF; \
245 #define CF_TO_NS_CAST_DEFN(TypeCF, TypeNS) \
247 TypeNS* CFToNSCast(TypeCF##Ref cf_val) { \
248 DCHECK(!cf_val || TypeCF##GetTypeID() == CFGetTypeID(cf_val)); \
254 TypeCF##Ref NSToCFCast(TypeNS* ns_val) { \
255 TypeCF##Ref cf_val = reinterpret_cast<TypeCF##Ref>(ns_val); \
256 DCHECK(!cf_val || TypeCF##GetTypeID() == CFGetTypeID(cf_val)); \
322 #define CF_CAST_DEFN(TypeCF) \
[all …]