/third_party/mindspore/mindspore/lite/micro/coder/utils/ |
D | type_cast.h | 49 std::map<std::type_index, std::string> types_name = {{std::type_index(typeid(int)), "int"}, in GetVariableTypeName() 50 … {std::type_index(typeid(int32_t)), "int32_t"}, in GetVariableTypeName() 51 … {std::type_index(typeid(int16_t)), "int16_t"}, in GetVariableTypeName() 52 {std::type_index(typeid(int8_t)), "int8_t"}, in GetVariableTypeName() 53 … {std::type_index(typeid(uint8_t)), "uint8_t"}, in GetVariableTypeName() 54 {std::type_index(typeid(float)), "float"}, in GetVariableTypeName() 55 {std::type_index(typeid(double)), "double"}, in GetVariableTypeName() 56 … {std::type_index(typeid(::QuantArg)), "QuantArg"}, in GetVariableTypeName() 57 {std::type_index(typeid(void *)), "void *"}, in GetVariableTypeName() 58 … {std::type_index(typeid(std::string)), "float *"}, in GetVariableTypeName() [all …]
|
/third_party/boost/boost/ |
D | type_index.hpp | 128 typedef platform_specific type_index; typedef 132 typedef boost::typeindex::stl_type_index type_index; 134 typedef boost::typeindex::ctti_type_index type_index; 144 typedef type_index::type_info_t type_info; 154 #define BOOST_TYPE_INDEX_USER_TYPEINDEX <full/absolute/path/to/header/with/type_index.hpp> 211 inline type_index type_id() BOOST_NOEXCEPT { in type_id() 212 return type_index::type_id<T>(); in type_id() 231 inline type_index type_id_with_cvr() BOOST_NOEXCEPT { in type_id_with_cvr() 232 return type_index::type_id_with_cvr<T>(); in type_id_with_cvr() 256 inline type_index type_id_runtime(const T& runtime_val) BOOST_NOEXCEPT { in type_id_runtime() [all …]
|
/third_party/boost/libs/type_index/ |
D | README.md | 1 # [Boost.TypeIndex](http://boost.org/libs/type_index) 8 …type_index.svg?branch=develop)](https://travis-ci.org/apolukhin/type_index) [![Build status](https… 9 …type_index.svg?branch=master)](https://travis-ci.org/apolukhin/type_index) [![Build status](https:… 12 [Open Issues](https://svn.boost.org/trac/boost/query?status=!closed&component=type_index) 14 [Latest developer documentation](http://boostorg.github.com/type_index/index.html)
|
/third_party/mindspore/mindspore/core/utils/ |
D | any.cc | 26 static const std::type_index typeid_int = std::type_index(typeid(int)); in AnyIsLiteral() 27 static const std::type_index typeid_float = std::type_index(typeid(float)); in AnyIsLiteral() 28 static const std::type_index typeid_bool = std::type_index(typeid(bool)); in AnyIsLiteral() 30 auto typeid_any = std::type_index(any.type()); in AnyIsLiteral()
|
/third_party/boost/libs/type_index/doc/ |
D | Jamfile.v2 | 12 [ glob ../../../boost/type_index.hpp ] 13 [ glob ../../../boost/type_index/*.hpp ] 14 [ glob ../../../boost/type_index/runtime_cast/*.hpp ] 29 xml type_index : type_index.qbk : <dependency>autodoc ; 32 type_index 41 : type_index
|
D | type_index.qbk | 14 …. For such cases a construction like `&typeid(T)` or C++11 class `std::type_index` is usually used… 16 * `typeid(T)` and `std::type_index` require Run Time Type Info (RTTI) 19 * only a few implementations of Standard Library currently provide `std::type_index` 33 [classref boost::typeindex::type_index boost::typeindex::type_index] 34 is a drop-in replacement for `std::type_index`. Unlike Standard Library versions those classes can … 36 `type_index` provides the full set of comparison operators, hashing functions and ostream 49 #include <boost/type_index.hpp> 51 [headerref boost/type_index.hpp more... ] 55 std::type_index 57 boost::typeindex::type_index [all …]
|
/third_party/boost/libs/type_index/test/ |
D | test_lib.hpp | 28 TEST_LIB_DECL boost::typeindex::type_index get_integer(); 29 TEST_LIB_DECL boost::typeindex::type_index get_user_defined_class(); 31 TEST_LIB_DECL boost::typeindex::type_index get_const_integer(); 32 TEST_LIB_DECL boost::typeindex::type_index get_const_user_defined_class(); 36 TEST_LIB_DECL void accept_typeindex(const boost::typeindex::type_index&);
|
D | test_lib.cpp | 18 boost::typeindex::type_index get_integer() { in get_integer() 22 boost::typeindex::type_index get_user_defined_class() { in get_user_defined_class() 26 boost::typeindex::type_index get_const_integer() { in get_const_integer() 30 boost::typeindex::type_index get_const_user_defined_class() { in get_const_user_defined_class() 36 void accept_typeindex(const boost::typeindex::type_index&) {} in accept_typeindex() argument
|
D | type_index_test.cpp | 39 type_index ti1, ti2; in default_construction() 51 type_index ti1, ti2 = type_id<int>(); in copy_construction() 56 const type_index ti3(ti1); in copy_construction() 63 type_index t_int = type_id<int>(); in comparators_type_id() 64 type_index t_double = type_id<double>(); in comparators_type_id() 99 type_index t1 = type_id_with_cvr<T1>(); in test_with_modofiers() 100 type_index t2 = type_id_with_cvr<T2>(); in test_with_modofiers() 187 type_index t1 = type_id_with_cvr<T>(); in test_storing_nonstoring_modifiers_templ() 188 type_index t2 = type_id<T>(); in test_storing_nonstoring_modifiers_templ() 206 boost::typeindex::type_index t1 = boost::typeindex::type_id_with_cvr<const int>(); in type_id_storing_modifiers_vs_nonstoring() [all …]
|
D | testing_crossmodule.cpp | 19 boost::typeindex::type_index t_const_int = boost::typeindex::type_id_with_cvr<const int>(); in comparing_types_between_modules() 20 boost::typeindex::type_index t_int = boost::typeindex::type_id<int>(); in comparing_types_between_modules() 28 boost::typeindex::type_index t_const_userdef in comparing_types_between_modules() 30 boost::typeindex::type_index t_userdef in comparing_types_between_modules()
|
D | test_lib_anonymous.cpp | 18 boost::typeindex::type_index get_anonymous_user_defined_class() { in get_anonymous_user_defined_class() 22 boost::typeindex::type_index get_const_anonymous_user_defined_class() { in get_const_anonymous_user_defined_class()
|
D | test_lib_anonymous.hpp | 28 TEST_LIB_DECL boost::typeindex::type_index get_anonymous_user_defined_class(); 29 TEST_LIB_DECL boost::typeindex::type_index get_const_anonymous_user_defined_class();
|
/third_party/boost/boost/log/utility/type_dispatch/ |
D | static_type_dispatcher.hpp | 52 typedef std::pair< typeindex::type_index, void* > first_argument_type, second_argument_type; 64 …static BOOST_FORCEINLINE void init(IteratorT*, IteratorT*, std::pair< typeindex::type_index, void*… in init() 69 …EINLINE void init(BeginIteratorT*, EndIteratorT* end, std::pair< typeindex::type_index, void* >* p) in init() 80 static BOOST_FORCEINLINE void do_init(T*, std::pair< typeindex::type_index, void* >* p) in do_init() 103 typedef std::pair< typeindex::type_index, void* > dispatching_map_element_type; 125 static callback_base get_callback(type_dispatcher* p, typeindex::type_index type) in get_callback() 161 std::pair< typeindex::type_index, void* >, 211 typeindex::type_index m_type; 217 … single_type_dispatcher_base(typeindex::type_index type, callback_base const& cb) BOOST_NOEXCEPT : in single_type_dispatcher_base() 226 static callback_base get_callback(type_dispatcher* p, typeindex::type_index type) in get_callback()
|
D | dynamic_type_dispatcher.hpp | 80 typedef std::map< typeindex::type_index, shared_ptr< callback_base > > dispatching_map; 120 typeindex::type_index wrapper(typeindex::type_id< T >()); in register_type() 134 static callback_base get_callback(type_dispatcher* p, typeindex::type_index type) in get_callback()
|
/third_party/boost/boost/log/detail/ |
D | value_ref_visitation.hpp | 47 …static BOOST_FORCEINLINE result_type call(const void* p, unsigned int type_index, VisitorT& visito… in call() 51 if (type_index < (SizeV / 2u)) in call() 55 return new_dispatch::call(p, type_index, visitor); in call() 61 return new_dispatch::call(p, type_index - (SizeV / 2u), visitor); in call() 94 …static BOOST_FORCEINLINE result_type call(const void* p, unsigned int type_index, VisitorT& visito… in call() 96 switch (type_index) in call()
|
/third_party/boost/libs/config/test/ |
D | boost_no_cxx11_hdr_typeindex.ipp | 20 std::type_index * p1; 21 std::hash<std::type_index> h; 26 std::type_index t1 = typeid(int); 27 std::type_index t2 = typeid(double); 28 std::hash<std::type_index> h;
|
/third_party/boost/boost/log/sources/ |
D | global_logger_storage.hpp | 47 const typeindex::type_index m_LoggerType; 49 …logger_holder_base(const char* file, unsigned int line, typeindex::type_index logger_type) BOOST_N… in logger_holder_base() 86 …BOOST_LOG_API static shared_ptr< logger_holder_base > get_or_init(typeindex::type_index key, initi… 96 typeindex::type_index tag_type, 97 typeindex::type_index logger_type, 126 const typeindex::type_index tag_type_index = typeindex::type_id< TagT >(); in init_instance() 128 const typeindex::type_index logger_type_index = typeindex::type_id< logger_type >(); in init_instance()
|
/third_party/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 232 tr.type_index = 0; in ResetToBuiltinUTC() 299 std::size_t type_index = 0; in GetTransitionType() local 301 for (; type_index != transition_types_.size(); ++type_index) { in GetTransitionType() 302 const TransitionType& tt(transition_types_[type_index]); in GetTransitionType() 309 if (type_index > 255 || abbr_index > 255) { in GetTransitionType() 313 if (type_index == transition_types_.size()) { in GetTransitionType() 323 *index = static_cast<std::uint_least8_t>(type_index); in GetTransitionType() 344 return EquivTransitions(transitions_.back().type_index, std_ti); in ExtendTransitions() 361 const TransitionType& last_tt(transition_types_[last.type_index]); in ExtendTransitions() 441 transitions_[i].type_index = Decode8(bp++); in Load() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_info.cc | 233 tr.type_index = 0; in ResetToBuiltinUTC() 300 std::size_t type_index = 0; in GetTransitionType() local 302 for (; type_index != transition_types_.size(); ++type_index) { in GetTransitionType() 303 const TransitionType& tt(transition_types_[type_index]); in GetTransitionType() 310 if (type_index > 255 || abbr_index > 255) { in GetTransitionType() 314 if (type_index == transition_types_.size()) { in GetTransitionType() 324 *index = static_cast<std::uint_least8_t>(type_index); in GetTransitionType() 345 return EquivTransitions(transitions_.back().type_index, std_ti); in ExtendTransitions() 362 const TransitionType& last_tt(transition_types_[last.type_index]); in ExtendTransitions() 442 transitions_[i].type_index = Decode8(bp++); in Load() [all …]
|
/third_party/boost/libs/container_hash/test/ |
D | hash_type_index_test.cpp | 21 BOOST_HASH_TEST_NAMESPACE::hash<std::type_index> hasher; in test_type_index() 27 std::type_index int_index = typeid(int); in test_type_index() 28 std::type_index int2_index = typeid(int); in test_type_index() 29 std::type_index char_index = typeid(char); in test_type_index()
|
/third_party/boost/libs/log/src/ |
D | global_logger_storage.cpp | 46 typedef std::map< typeindex::type_index, shared_ptr< logger_holder_base > > loggers_map_t; 59 BOOST_LOG_API shared_ptr< logger_holder_base > global_storage::get_or_init(typeindex::type_index ke… 82 typeindex::type_index tag_type, in throw_odr_violation() 83 typeindex::type_index logger_type, in throw_odr_violation()
|
/third_party/boost/boost/log/attributes/ |
D | fallback_policy.hpp | 62 static void on_invalid_type(typeindex::type_index const&) in on_invalid_type() 102 static void on_invalid_type(typeindex::type_index const& t) in on_invalid_type() 164 static void on_invalid_type(typeindex::type_index const&) in on_invalid_type()
|
D | attribute_value.hpp | 106 virtual typeindex::type_index get_type() const { return typeindex::type_index(); } in get_type() 169 typeindex::type_index get_type() const in get_type() 174 return typeindex::type_index(); in get_type()
|
/third_party/boost/libs/python/src/object/ |
D | inheritance.cpp | 167 type_index_t& type_index() in type_index() function 190 type_index().begin(), type_index().end() in type_position() 200 if (p == type_index().end() || tuples::get<ksrc_static_t>(*p) != type) in seek_type() 211 if (p != type_index().end() && tuples::get<ksrc_static_t>(*p) == type) in demand_type() 218 return type_index().insert(p, boost::make_tuple(type, v, dynamic_id_function(0))); in demand_type() 229 type_index().reserve(type_index().size() + 2); in demand_types()
|
/third_party/boost/boost/type_index/runtime_cast/ |
D | register_runtime_class.hpp | 27 inline type_index runtime_class_construct_type_id(T const*) { in runtime_class_construct_type_id() 126 …virtual void const* boost_type_index_find_instance_(boost::typeindex::type_index const& idx) const…
|