Home
last modified time | relevance | path

Searched refs:type_info (Results 1 – 25 of 244) sorted by relevance

12345678910

/third_party/boost/boost/python/
Dtype_id.hpp49 struct type_info : private totally_ordered<type_info> struct
51 inline type_info(std::type_info const& = typeid(void));
53 inline bool operator<(type_info const& rhs) const;
54 inline bool operator==(type_info const& rhs) const;
58 std::ostream&, type_info const&);
64 typedef std::type_info const* base_id_t;
75 inline type_info type_id() in type_id()
77 return type_info( in type_id()
97 inline type_info type_id<T>() \
99 return type_info(typeid(T)); \
[all …]
/third_party/boost/libs/python/doc/reference/
Dtype_id.qbk5 [section Class template `type_info`]
6type_info` instances identify a type. As `std::type_info` is specified to (but unlike its implemen…
10 class type_info : totally_ordered<type_info>
14 type_info(std::type_info const& = typeid(void));
17 bool operator<(type_info const& rhs) const;
18 bool operator==(type_info const& rhs) const;
25 [section Class template `type_info` constructor]
26 ``type_info(std::type_info const& = typeid(void));``
28 [[Effects][constructs a `type_info` object which identifies the same type as its argument.]]
29 [[Rationale][Since it is occasionally necessary to make an array of `type_info` objects a benign de…
[all …]
/third_party/glib/glib/
Dgvariant-serialiser.c142 if (serialised.type_info == NULL) in g_variant_serialised_check()
144 g_variant_type_info_query (serialised.type_info, &alignment, &fixed_size); in g_variant_serialised_check()
257 g_variant_type_info_query_element (value.type_info, NULL, in gvs_fixed_sized_maybe_n_children()
270 value.type_info = g_variant_type_info_element (value.type_info); in gvs_fixed_sized_maybe_get_child()
271 g_variant_type_info_ref (value.type_info); in gvs_fixed_sized_maybe_get_child()
280 gvs_fixed_sized_maybe_needed_size (GVariantTypeInfo *type_info, in gvs_fixed_sized_maybe_needed_size() argument
289 g_variant_type_info_query_element (type_info, NULL, in gvs_fixed_sized_maybe_needed_size()
319 g_variant_type_info_query_element (value.type_info, in gvs_fixed_sized_maybe_is_normal()
326 value.type_info = g_variant_type_info_element (value.type_info); in gvs_fixed_sized_maybe_is_normal()
362 value.type_info = g_variant_type_info_element (value.type_info); in gvs_variable_sized_maybe_get_child()
[all …]
Dgvariant-core.c60 GVariantTypeInfo *type_info; member
385 value->size = g_variant_serialiser_needed_size (value->type_info, in g_variant_ensure_size()
403 value->type_info, in g_variant_to_serialised()
436 serialised.type_info = value->type_info; in g_variant_serialise()
476 if (serialised->type_info == NULL) in g_variant_fill_gvs()
477 serialised->type_info = value->type_info; in g_variant_fill_gvs()
478 g_assert (serialised->type_info == value->type_info); in g_variant_fill_gvs()
564 value->type_info = g_variant_type_info_get (type); in g_variant_alloc()
608 g_variant_type_info_query (value->type_info, in g_variant_new_from_bytes()
617 serialised.type_info = value->type_info; in g_variant_new_from_bytes()
[all …]
/third_party/protobuf/src/google/protobuf/
Ddynamic_message.cc287 DynamicMessage(const TypeInfo* type_info);
290 DynamicMessage(TypeInfo* type_info, bool lock_factory);
317 DynamicMessage(const TypeInfo* type_info, Arena* arena);
343 DynamicMessage::DynamicMessage(const TypeInfo* type_info) in DynamicMessage() argument
344 : type_info_(type_info), cached_byte_size_(0) { in DynamicMessage()
348 DynamicMessage::DynamicMessage(const TypeInfo* type_info, Arena* arena) in DynamicMessage() argument
350 type_info_(type_info), in DynamicMessage()
355 DynamicMessage::DynamicMessage(TypeInfo* type_info, bool lock_factory) in DynamicMessage() argument
356 : type_info_(type_info), cached_byte_size_(0) { in DynamicMessage()
363 type_info->prototype = this; in DynamicMessage()
[all …]
/third_party/boost/boost/python/converter/
Dregistry.hpp21 BOOST_PYTHON_DECL registration const& lookup(type_info);
25 BOOST_PYTHON_DECL registration const& lookup_shared_ptr(type_info);
28 BOOST_PYTHON_DECL registration const* query(type_info);
30 …BOOST_PYTHON_DECL void insert(to_python_function_t, type_info, PyTypeObject const* (*to_python_tar…
33 …BOOST_PYTHON_DECL void insert(convertible_function, type_info, PyTypeObject const* (*expected_pyty…
39 , type_info
48 , type_info
Dpointer_type_id.hpp19 static inline type_info execute(T*(*)() = 0) in execute()
29 static inline type_info execute(T* const volatile&(*)() = 0) in execute()
35 static inline type_info execute(T*volatile&(*)() = 0) in execute()
41 static inline type_info execute(T*const&(*)() = 0) in execute()
47 static inline type_info execute(T*&(*)() = 0) in execute()
59 type_info pointer_type_id(T(*)() = 0) in pointer_type_id()
/third_party/boost/libs/type_index/test/
Dtype_index_test.cpp103 BOOST_TEST(t2 != t1.type_info()); in test_with_modofiers()
104 BOOST_TEST(t2.type_info() != t1); in test_with_modofiers()
108 BOOST_TEST(t1.type_info() < t2 || t2.type_info() < t1); in test_with_modofiers()
109 BOOST_TEST(t1.type_info() > t2 || t2.type_info() > t1); in test_with_modofiers()
110 BOOST_TEST(t1 < t2.type_info() || t2 < t1.type_info()); in test_with_modofiers()
111 BOOST_TEST(t1 > t2.type_info() || t2 > t1.type_info()); in test_with_modofiers()
116 BOOST_TEST(t1.type_info() <= t2 || t2.type_info() <= t1); in test_with_modofiers()
117 BOOST_TEST(t1.type_info() >= t2 || t2.type_info() >= t1); in test_with_modofiers()
118 BOOST_TEST(t1 <= t2.type_info() || t2 <= t1.type_info()); in test_with_modofiers()
119 BOOST_TEST(t1 >= t2.type_info() || t2 >= t1.type_info()); in test_with_modofiers()
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-api-value-type.c23 jerry_type_t type_info; member
81 jerry_type_t type_info = jerry_value_get_type (entries[idx].value); in main() local
83 TEST_ASSERT (type_info != JERRY_TYPE_NONE); in main()
84 TEST_ASSERT (type_info == entries[idx].type_info); in main()
93 jerry_type_t type_info = jerry_value_get_type (symbol_value); in main() local
95 TEST_ASSERT (type_info != JERRY_TYPE_NONE); in main()
96 TEST_ASSERT (type_info == JERRY_TYPE_SYMBOL); in main()
/third_party/boost/boost/poly_collection/
Dexception.hpp25 unregistered_type(const std::type_info& info): in unregistered_type()
30 const std::type_info* pinfo;
35 not_copy_constructible(const std::type_info& info): in not_copy_constructible()
40 const std::type_info* pinfo;
45 not_equality_comparable(const std::type_info& info): in not_equality_comparable()
50 const std::type_info* pinfo;
/third_party/boost/libs/poly_collection/doc/
Dpoly_collection_synopsis.qbk61 bool _is_registered_(const std::type_info& info)const;
73 local_base_iterator _begin_(const std::type_info& info);
74 local_base_iterator _end_(const std::type_info& info);
75 const_local_base_iterator _begin_(const std::type_info& info)const;
76 const_local_base_iterator _end_(const std::type_info& info)const;
77 const_local_base_iterator _cbegin_(const std::type_info& info)const;
78 const_local_base_iterator _cend_(const std::type_info& info)const;
87 base_segment_info _segment_(const std::type_info& info);
88 const_base_segment_info _segment_(const std::type_info& info)const;
98 bool _empty_(const std::type_info& info)const;
[all …]
/third_party/boost/libs/log/test/run/
Dutil_exception_handler.cpp33 std::type_info const*& m_pExceptionType;
35 my_handler1(std::type_info const*& p) : m_pExceptionType(p) {} in my_handler1()
52 std::type_info const*& m_pExceptionType;
54 explicit my_handler2(std::type_info const*& p) : m_pExceptionType(p) {} in my_handler2()
70 std::type_info const*& m_pExceptionType;
72 my_handler1_nothrow(std::type_info const*& p) : m_pExceptionType(p) {} in my_handler1_nothrow()
93 std::type_info const*& m_pExceptionType;
95 explicit my_handler2_nothrow(std::type_info const*& p) : m_pExceptionType(p) {} in my_handler2_nothrow()
152 std::type_info const* pExceptionType = 0; in BOOST_AUTO_TEST_CASE()
215 std::type_info const* pExceptionType = 0; in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/boost/type_erasure/detail/
Ddynamic_vtable.hpp36 const std::type_info * type;
38 constexpr dynamic_binding_impl(const std::type_info * t) : type(t) {} in dynamic_binding_impl()
43 typedef const std::type_info * type;
112 dynamic_vtable_initializer(const std::type_info**& ptr) : types(&ptr) {}
118 const ::std::type_info*** types;
124 const ::std::type_info * types[(::boost::mpl::size<Placeholders>::value)];
127 append_to_key(const std::type_info * const * t, key_type* k) : types(t), key(k) {}
133 const std::type_info * const * types;
152 const std::type_info* ptr = types;
158 converter(const std::type_info**& t, const Src& s) : types(&t), src(&s) {}
[all …]
/third_party/glib/gobject/
Dgtypemodule.c194 ModuleTypeInfo *type_info = tmp_list->data; in g_type_module_find_type_info() local
195 if (type_info->type == type) in g_type_module_find_type_info()
196 return type_info; in g_type_module_find_type_info()
254 ModuleTypeInfo *type_info = tmp_list->data; in g_type_module_use() local
255 if (!type_info->loaded) in g_type_module_use()
259 g_type_name (type_info->type)); in g_type_module_use()
298 ModuleTypeInfo *type_info = tmp_list->data; in g_type_module_unuse() local
299 type_info->loaded = FALSE; in g_type_module_unuse()
375 const GTypeInfo *type_info, in g_type_module_register_type() argument
382 g_return_val_if_fail (type_info != NULL, 0); in g_type_module_register_type()
[all …]
/third_party/boost/boost/python/object/
Dvalue_holder.hpp49 void* holds(type_info, bool null_ptr_only);
52 inline void* holds_wrapped(type_info dst_t, wrapper<T>*,T* p) in holds_wrapped()
57 inline void* holds_wrapped(type_info, ...) in holds_wrapped()
76 void* holds(type_info, bool null_ptr_only);
85 void* value_holder<Value>::holds(type_info dst_t, bool /*null_ptr_only*/) in holds()
90 type_info src_t = python::type_id<Value>(); in holds()
97 type_info dst_t, bool /*null_ptr_only*/) in holds()
99 type_info src_t = python::type_id<Value>(); in holds()
Dinheritance_query.hpp12 BOOST_PYTHON_DECL void* find_static_type(void* p, type_info src, type_info dst);
13 BOOST_PYTHON_DECL void* find_dynamic_type(void* p, type_info src, type_info dst);
Dpointer_holder.hpp65 void* holds(type_info, bool null_ptr_only);
68 inline void* holds_wrapped(type_info dst_t, wrapper<T>*,T* p) in holds_wrapped()
73 inline void* holds_wrapped(type_info, ...) in holds_wrapped()
99 void* holds(type_info, bool null_ptr_only);
128 void* pointer_holder<Pointer, Value>::holds(type_info dst_t, bool null_ptr_only) in holds()
152 type_info src_t = python::type_id<non_const_value>(); in holds()
157 void* pointer_holder_back_reference<Pointer, Value>::holds(type_info dst_t, bool null_ptr_only) in holds()
172 type_info src_t = python::type_id<Value>(); in holds()
/third_party/boost/boost/dll/detail/
Dtype_info.hpp26 const std::type_info& load_type_info(Lib & lib, Storage & storage) in load_type_info()
46 return *reinterpret_cast<const std::type_info*>(nat); in load_type_info()
53 const std::type_info& load_type_info(Lib & lib, Storage & storage)
60 const std::type_info* pTypeDescriptor; //TypeDescriptor of the complete class
77 const std::type_info& load_type_info(Lib & lib, Storage & storage)
79 return lib.template get<const std::type_info>(storage.template get_type_info<Class>());
/third_party/boost/boost/mpi/detail/
Dmpi_datatype_cache.hpp38 bool operator()(std::type_info const* lhs, std::type_info const* rhs) const in operator ()()
71 std::type_info const* t = &typeid(T); in datatype()
86 MPI_Datatype get(const std::type_info* t);
87 void set(const std::type_info* t, MPI_Datatype datatype);
/third_party/boost/boost/poly_collection/detail/
Dsegment_split.hpp39 const std::type_info& type_info()const noexcept{return *pinfo_;} in type_info() function
43 const std::type_info* pinfo_;
68 &it->type_info(), in dereference()
128 f(info{&sfirst->type_info(),lbfirst,sfirst->end()}); in for_each_segment()
133 if(sfirst!=send)f(info{&sfirst->type_info(),sfirst->begin(),lblast}); in for_each_segment()
136 f(info{&sfirst->type_info(),lbfirst,lblast}); in for_each_segment()
Dtype_info_map.hpp43 std::size_t operator()(const std::type_info* p)const noexcept in operator ()()
50 const std::type_info* p,const std::type_info* q)const noexcept in operator ()()
58 const std::type_info*,T,
61 rebind_alloc<std::pair<const std::type_info* const,T>>
65 using key_type=std::type_info;
176 const std::type_info*,iterator,
177 std::hash<const std::type_info*>,std::equal_to<const std::type_info*>,
179 rebind_alloc<std::pair<const std::type_info* const,iterator>>
/third_party/boost/libs/core/test/swap/
Dswap_std_typeinfo_ptr.cpp20 const std::type_info * const initial_value1 = 0; in main()
21 const std::type_info * const initial_value2 = &typeid(double); in main()
23 const std::type_info * ptr1 = initial_value1; in main()
24 const std::type_info * ptr2 = initial_value2; in main()
Dstd_typeinfo_ptr.cpp20 const std::type_info * const initial_value1 = 0; in main()
21 const std::type_info * const initial_value2 = &typeid(double); in main()
23 const std::type_info * ptr1 = initial_value1; in main()
24 const std::type_info * ptr2 = initial_value2; in main()
/third_party/boost/boost/python/detail/
Ddecorated_type_id.hpp18 decorated_type_info(type_info, decoration = decoration());
25 operator type_info const&() const;
27 typedef type_info base_id_t;
49 inline decorated_type_info::decorated_type_info(type_info base_t, decoration decoration) in decorated_type_info()
67 inline decorated_type_info::operator type_info const&() const in operator type_info const&()
/third_party/boost/libs/python/src/converter/
Dregistry.cpp182 entry* get(type_info type, bool is_shared_ptr = false) in get()
205 …void insert(to_python_function_t f, type_info source_t, PyTypeObject const* (*to_python_target_typ… in insert()
231 void insert(convertible_function convert, type_info key, PyTypeObject const* (*exp_pytype)()) in insert()
248 , type_info key in insert()
266 , type_info key in push_back()
284 registration const& lookup(type_info key) in lookup()
289 registration const& lookup_shared_ptr(type_info key) in lookup_shared_ptr()
294 registration const* query(type_info type) in query()

12345678910