Home
last modified time | relevance | path

Searched refs:cpptype (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/mlir/include/mlir/CAPI/
DWrap.h25 #define DEFINE_C_API_PTR_METHODS(name, cpptype) \ argument
26 static inline name wrap(cpptype *cpp) { return name{cpp}; } \
27 static inline cpptype *unwrap(name c) { \
28 return static_cast<cpptype *>(c.ptr); \
31 #define DEFINE_C_API_METHODS(name, cpptype) \ argument
32 static inline name wrap(cpptype cpp) { \
35 static inline cpptype unwrap(name c) { \
36 return cpptype::getFromOpaquePointer(c.ptr); \
/external/python/pybind11/include/pybind11/
Dcast.h490 : typeinfo(get_type_info(type_info)), cpptype(&type_info) { } in type_caster_generic()
493 : typeinfo(typeinfo), cpptype(typeinfo ? typeinfo->cpptype : nullptr) { } in type_caster_generic()
514 if (instance_type && same_type(*instance_type->cpptype, *tinfo->cpptype))
545 std::string type_name(tinfo->cpptype->name());
565 std::string type_name(tinfo->cpptype->name());
646 || (cpptype && !same_type(*cpptype, *foreign_typeinfo->cpptype))) in try_load_foreign_module_local()
730 if (auto gtype = get_global_type_info(*typeinfo->cpptype)) { in load_impl()
758 const std::type_info *cpptype = nullptr; variable
Dpybind11.h1097 tinfo->cpptype = rec.type; in PYBIND11_NAMESPACE_BEGIN()
/external/llvm-project/polly/lib/External/isl/interface/
Dcpp.cc595 string classname, callback_name, cpptype; in print_persistent_callback_setter_prototype() local
601 cpptype = type2cpp(param->getOriginalType()); in print_persistent_callback_setter_prototype()
604 classname.c_str(), callback_name.c_str(), cpptype.c_str(), in print_persistent_callback_setter_prototype()
1212 string cpptype = type2cpp(type); in print_method() local
1214 cpptype.c_str(), name.c_str()); in print_method()
2048 string cpptype = type2cpp(type); in print_method_header() local
2054 osprintf(os, "const %s &%s", cpptype.c_str(), in print_method_header()
2057 osprintf(os, "%s %s", cpptype.c_str(), name.c_str()); in print_method_header()
/external/python/pybind11/include/pybind11/detail/
Dclass.h210 auto tindex = std::type_index(*tinfo->cpptype); in pybind11_meta_dealloc()
285 if (c.first == tinfo->cpptype) { in traverse_offset_bases()
Dinternals.h130 const std::type_info *cpptype; member
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.cc1700 FieldDescriptor::CppType cpptype, in MutableRawRepeatedField() argument
1704 if (field->cpp_type() != cpptype) in MutableRawRepeatedField()
1706 "MutableRawRepeatedField", cpptype); in MutableRawRepeatedField()
1724 FieldDescriptor::CppType cpptype, in GetRawRepeatedField() argument
1728 if (field->cpp_type() != cpptype) in GetRawRepeatedField()
1730 cpptype); in GetRawRepeatedField()
Dextension_set_unittest.cc809 #define TEST_REPEATED_EXTENSIONS_SPACE_USED(type, cpptype, value) \ in TEST() argument
813 int min_expected_size = sizeof(RepeatedField<cpptype>) + base_size; \ in TEST()
830 sizeof(cpptype) * \ in TEST()
Dmessage.h852 FieldDescriptor::CppType cpptype, int ctype,
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h1883 #define UPB_CPP_CASTS(cname, cpptype) \
1886 inline cpptype *down_cast<cpptype *, Def>(Def * def) { \
1890 inline cpptype *dyn_cast<cpptype *, Def>(Def * def) { \
1894 inline const cpptype *down_cast<const cpptype *, const Def>( \
1899 inline const cpptype *dyn_cast<const cpptype *, const Def>(const Def *def) { \
1903 inline const cpptype *down_cast<const cpptype *, Def>(Def * def) { \
1907 inline const cpptype *dyn_cast<const cpptype *, Def>(Def * def) { \
1912 #define UPB_CPP_CASTS(cname, cpptype)
1918 #define UPB_DEF_CASTS(lower, upper, cpptype) \
1933 UPB_CPP_CASTS(lower, cpptype)