/third_party/boost/libs/math/test/ |
D | test_carlson.hpp | 25 void do_test_ellint_rf(T& data, const char* type_name, const char* test) in do_test_ellint_rf() argument 46 type_name, "ellint_rf", test); in do_test_ellint_rf() 53 void do_test_ellint_rc(T& data, const char* type_name, const char* test) in do_test_ellint_rc() argument 74 type_name, "ellint_rc", test); in do_test_ellint_rc() 81 void do_test_ellint_rj(T& data, const char* type_name, const char* test) in do_test_ellint_rj() argument 102 type_name, "ellint_rj", test); in do_test_ellint_rj() 109 void do_test_ellint_rd(T& data, const char* type_name, const char* test) in do_test_ellint_rd() argument 130 type_name, "ellint_rd", test); in do_test_ellint_rd() 137 void do_test_ellint_rg(T& data, const char* type_name, const char* test) in do_test_ellint_rg() argument 158 type_name, "ellint_rg", test); in do_test_ellint_rg() [all …]
|
D | test_2F0.hpp | 28 void do_test_2F0(const T& data, const char* type_name, const char* test_name) in do_test_2F0() argument 41 std::cout << "Testing " << test_name << " with type " << type_name in do_test_2F0() 51 …handle_test_result(result, data[result.worst()], result.worst(), type_name, "hypergeometric_0F1", … in do_test_2F0() 60 void test_spots1(T, const char* type_name) in test_spots1() argument 64 do_test_2F0<T>(hypergeometric_2F0, type_name, "Random non-integer a2, |z| < 1"); in test_spots1() 68 do_test_2F0<T>(hypergeometric_2F0_large_z, type_name, "Random non-integer a2, |z| > 1"); in test_spots1() 72 void test_spots2(T, const char* type_name) in test_spots2() argument 76 do_test_2F0<T>(hypergeometric_2F0_integer_a2, type_name, "Integer a2, |z| > 1"); in test_spots2() 80 do_test_2F0<T>(hypergeometric_2F0_half, type_name, "a1 = a2 + 0.5"); in test_spots2() 84 void test_spots(T z, const char* type_name) in test_spots() argument [all …]
|
D | test_1F1_log.hpp | 33 void do_test_1F1(const T& data, const char* type_name, const char* test_name) in do_test_1F1() argument 46 std::cout << "Testing " << test_name << " with type " << type_name in do_test_1F1() 56 …handle_test_result(result, data[result.worst()], result.worst(), type_name, "log_hypergeometric_1F… in do_test_1F1() 65 void test_spots1(T, const char* type_name) in test_spots1() argument 69 do_test_1F1<T>(hypergeometric_1f1_log_large, type_name, "Large random values - log"); in test_spots1() 73 void test_spots2(T, const char* type_name) in test_spots2() argument 77 …do_test_1F1<T>(hypergeometric_1f1_log_large_unsolved, type_name, "Large random values - log - unso… in test_spots2() 81 void test_spots(T z, const char* type_name) in test_spots() argument 83 test_spots1(z, type_name); in test_spots() 85 test_spots2(z, type_name); in test_spots()
|
D | test_1F1_regularized.hpp | 33 void do_test_1F1(const T& data, const char* type_name, const char* test_name) in do_test_1F1() argument 46 std::cout << "Testing " << test_name << " with type " << type_name in do_test_1F1() 56 …handle_test_result(result, data[result.worst()], result.worst(), type_name, "hypergeometric_1F1_re… in do_test_1F1() 65 void test_spots1(T, const char* type_name) in test_spots1() argument 69 …do_test_1F1<T>(hypergeometric_1f1_large_regularized, type_name, "Large random values - regularized… in test_spots1() 73 void test_spots(T z, const char* type_name) in test_spots() argument 75 test_spots1(z, type_name); in test_spots()
|
D | test_1F1.hpp | 33 void do_test_1F1(const T& data, const char* type_name, const char* test_name) in do_test_1F1() argument 46 std::cout << "Testing " << test_name << " with type " << type_name in do_test_1F1() 56 …handle_test_result(result, data[result.worst()], result.worst(), type_name, "hypergeometric_1F1", … in do_test_1F1() 65 void test_spots1(T, const char* type_name) in test_spots1() argument 69 do_test_1F1<T>(hypergeometric_1F1, type_name, "Integer a values"); in test_spots1() 73 do_test_1F1<T>(hypergeometric_1F1_small_random, type_name, "Small random values"); in test_spots1() 77 void test_spots2(T, const char* type_name) in test_spots2() argument 81 do_test_1F1<T>(hypergeometric_1F1_big, type_name, "Large random values"); in test_spots2() 85 void test_spots3(T, const char* type_name) in test_spots3() argument 89 …do_test_1F1<T>(hypergeometric_1F1_big_double_limited, type_name, "Large random values - double lim… in test_spots3() [all …]
|
D | test_ellint_d.hpp | 27 void do_test_ellint_d2(const T& data, const char* type_name, const char* test) in do_test_ellint_d2() argument 48 type_name, "ellint_d", test); in do_test_ellint_d2() 55 void do_test_ellint_d1(T& data, const char* type_name, const char* test) in do_test_ellint_d1() argument 75 type_name, "ellint_d (complete)", test); in do_test_ellint_d1() 82 void test_spots(T, const char* type_name) in test_spots() argument 99 do_test_ellint_d2<T>(data1, type_name, "Elliptic Integral E: Mathworld Data"); in test_spots() 103 do_test_ellint_d2<T>(ellint_d2_data, type_name, "Elliptic Integral D: Random Data"); in test_spots() 113 do_test_ellint_d1<T>(data2, type_name, "Elliptic Integral E: Mathworld Data"); in test_spots() 117 do_test_ellint_d1<T>(ellint_d_data, type_name, "Elliptic Integral D: Random Data"); in test_spots()
|
D | test_ellint_1.hpp | 28 void do_test_ellint_f(T& data, const char* type_name, const char* test) in do_test_ellint_f() argument 49 type_name, "ellint_1", test); in do_test_ellint_f() 56 void do_test_ellint_k(T& data, const char* type_name, const char* test) in do_test_ellint_k() argument 76 type_name, "ellint_1 (complete)", test); in do_test_ellint_k() 83 void test_spots(T, const char* type_name) in test_spots() argument 113 do_test_ellint_f<T>(data1, type_name, "Elliptic Integral F: Mathworld Data"); in test_spots() 117 do_test_ellint_f<T>(ellint_f_data, type_name, "Elliptic Integral F: Random Data"); in test_spots() 133 do_test_ellint_k<T>(data2, type_name, "Elliptic Integral K: Mathworld Data"); in test_spots() 137 do_test_ellint_k<T>(ellint_k_data, type_name, "Elliptic Integral K: Random Data"); in test_spots()
|
/third_party/mindspore/mindspore/core/ir/ |
D | dtype_extends.cc | 87 TypePtr StringToNumberType(const std::string &type_name, const std::string &num_type_name) { in StringToNumberType() argument 89 if (type_name == num_type_name) { in StringToNumberType() 92 if (num_type_name.size() >= type_name.size()) { in StringToNumberType() 93 …MS_LOG(EXCEPTION) << "Convert type is error, type_name(" << type_name << "), num_type_name(" << nu… in StringToNumberType() 96 auto bits = std::stoi(type_name.substr(num_type_name.size())); in StringToNumberType() 122 TypePtr TensorStrToType(const std::string &type_name) { in TensorStrToType() argument 124 if (type_name == "Tensor") { in TensorStrToType() 127 auto start = type_name.find_first_of('[') + 1; in TensorStrToType() 128 auto end = type_name.find_last_of(']'); in TensorStrToType() 129 if (start >= type_name.size()) { in TensorStrToType() [all …]
|
/third_party/glib/gobject/ |
D | gtypemodule.h | 177 #define G_DEFINE_DYNAMIC_TYPE_EXTENDED(TypeName, type_name, TYPE_PARENT, flags, CODE) \ argument 178 static void type_name##_init (TypeName *self); \ 179 static void type_name##_class_init (TypeName##Class *klass); \ 180 static void type_name##_class_finalize (TypeName##Class *klass); \ 181 static gpointer type_name##_parent_class = NULL; \ 182 static GType type_name##_type_id = 0; \ 185 _G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \ 189 type_name##_get_instance_private (TypeName *self) \ 195 type_name##_get_type (void) \ 197 return type_name##_type_id; \ [all …]
|
D | gtype.h | 447 const gchar *type_name; member 1266 const gchar *type_name, 1271 const gchar *type_name, 1280 const gchar *type_name, 1285 const gchar *type_name, 1959 #define _G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \ argument 1960 static void type_name##_class_intern_init (gpointer klass) \ 1962 type_name##_parent_class = g_type_class_peek_parent (klass); \ 1965 type_name##_class_init ((TypeName##Class*) klass); \ 1969 #define _G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \ argument [all …]
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | storage_class_layout_validation_test.cc | 42 Global(Source{{78, 90}}, "a", ty.type_name("S"), ast::StorageClass::kStorage, in TEST_F() 73 Global(Source{{78, 90}}, "a", ty.type_name("S"), ast::StorageClass::kStorage, in TEST_F() 100 Member(Source{{56, 78}}, "inner", ty.type_name("Inner")), in TEST_F() 104 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 143 Member(Source{{56, 78}}, "inner", ty.type_name("Inner"), in TEST_F() 148 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 172 Member(Source{{56, 78}}, "inner", ty.type_name("Inner")), in TEST_F() 176 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() 208 Member(Source{{34, 56}}, "inner", ty.type_name("Inner"), in TEST_F() 213 Global(Source{{78, 90}}, "a", ty.type_name("Outer"), in TEST_F() [all …]
|
/third_party/boost/libs/compute/test/ |
D | test_type_traits.cpp | 75 BOOST_AUTO_TEST_CASE(type_name) in BOOST_AUTO_TEST_CASE() argument 78 BOOST_CHECK(std::strcmp(bc::type_name<bc::char_>(), "char") == 0); in BOOST_AUTO_TEST_CASE() 79 BOOST_CHECK(std::strcmp(bc::type_name<bc::uchar_>(), "uchar") == 0); in BOOST_AUTO_TEST_CASE() 80 BOOST_CHECK(std::strcmp(bc::type_name<bc::short_>(), "short") == 0); in BOOST_AUTO_TEST_CASE() 81 BOOST_CHECK(std::strcmp(bc::type_name<bc::ushort_>(), "ushort") == 0); in BOOST_AUTO_TEST_CASE() 82 BOOST_CHECK(std::strcmp(bc::type_name<bc::int_>(), "int") == 0); in BOOST_AUTO_TEST_CASE() 83 BOOST_CHECK(std::strcmp(bc::type_name<bc::uint_>(), "uint") == 0); in BOOST_AUTO_TEST_CASE() 84 BOOST_CHECK(std::strcmp(bc::type_name<bc::long_>(), "long") == 0); in BOOST_AUTO_TEST_CASE() 85 BOOST_CHECK(std::strcmp(bc::type_name<bc::ulong_>(), "ulong") == 0); in BOOST_AUTO_TEST_CASE() 86 BOOST_CHECK(std::strcmp(bc::type_name<bc::float_>(), "float") == 0); in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/json/doc/examples/ |
D | type_name.cpp | 19 std::cout << j_null << " is a " << j_null.type_name() << '\n'; in main() 20 std::cout << j_boolean << " is a " << j_boolean.type_name() << '\n'; in main() 21 std::cout << j_number_integer << " is a " << j_number_integer.type_name() << '\n'; in main() 22 std::cout << j_number_unsigned << " is a " << j_number_unsigned.type_name() << '\n'; in main() 23 std::cout << j_number_float << " is a " << j_number_float.type_name() << '\n'; in main() 24 std::cout << j_object << " is an " << j_object.type_name() << '\n'; in main() 25 std::cout << j_array << " is an " << j_array.type_name() << '\n'; in main() 26 std::cout << j_string << " is a " << j_string.type_name() << '\n'; in main()
|
/third_party/json/test/src/ |
D | unit-convenience.cpp | 55 CHECK(std::string(json(json::value_t::null).type_name()) == "null"); 56 CHECK(std::string(json(json::value_t::object).type_name()) == "object"); 57 CHECK(std::string(json(json::value_t::array).type_name()) == "array"); 58 CHECK(std::string(json(json::value_t::number_integer).type_name()) == "number"); 59 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number"); 60 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number"); 61 CHECK(std::string(json(json::value_t::binary).type_name()) == "binary"); 62 CHECK(std::string(json(json::value_t::boolean).type_name()) == "boolean"); 63 CHECK(std::string(json(json::value_t::string).type_name()) == "string"); 64 CHECK(std::string(json(json::value_t::discarded).type_name()) == "discarded");
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | array.cc | 47 std::string Array::type_name() const { in type_name() function in tint::sem::Array 48 std::string type_name = "__array" + element_->type_name(); in type_name() local 49 type_name += "_count_" + std::to_string(count_); in type_name() 50 type_name += "_align_" + std::to_string(align_); in type_name() 51 type_name += "_size_" + std::to_string(size_); in type_name() 52 type_name += "_stride_" + std::to_string(stride_); in type_name() 55 return type_name; in type_name()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
D | MessageBuilderContext.php | 55 $number, $type_name = null) argument 71 $field->setMessageType($type_name); 74 $field->setEnumType($type_name); 83 public function optional($name, $type, $number, $type_name = null) argument 90 $type_name)); 94 public function repeated($name, $type, $number, $type_name = null) argument 101 $type_name)); 105 public function required($name, $type, $number, $type_name = null) argument 112 $type_name));
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | tensor_data.h | 244 void SetType(std::string type_name) { ConvertStringToDbgType(type_name); } in SetType() argument 317 bool ConvertNpyStringToDbgType(const std::string &type_name) { in ConvertNpyStringToDbgType() argument 318 if (type_name == "b1") { in ConvertNpyStringToDbgType() 322 } else if (type_name == "i1") { in ConvertNpyStringToDbgType() 326 } else if (type_name == "i2") { in ConvertNpyStringToDbgType() 330 } else if (type_name == "i4") { in ConvertNpyStringToDbgType() 334 } else if (type_name == "i8") { in ConvertNpyStringToDbgType() 338 } else if (type_name == "u1") { in ConvertNpyStringToDbgType() 342 } else if (type_name == "u2") { in ConvertNpyStringToDbgType() 346 } else if (type_name == "u4") { in ConvertNpyStringToDbgType() [all …]
|
/third_party/protobuf/src/google/protobuf/ |
D | any_lite.cc | 61 StringPiece type_name) { in InternalPackFrom() argument 63 GetTypeUrl(type_name, type_url_prefix)); in InternalPackFrom() 68 bool AnyMetadata::InternalUnpackTo(StringPiece type_name, in InternalUnpackTo() argument 70 if (!InternalIs(type_name)) { in InternalUnpackTo() 96 bool AnyMetadata::InternalIs(StringPiece type_name) const { in InternalIs() 98 return type_url.size() >= type_name.size() + 1 && in InternalIs() 99 type_url[type_url.size() - type_name.size() - 1] == '/' && in InternalIs() 100 HasSuffixString(type_url, type_name); in InternalIs()
|
/third_party/libsnd/tests/ |
D | write_read_test.def | 4 type_name = char ; 14 type_name = short ; 24 type_name = "20bit" ; 34 type_name = "24bit" ; 44 type_name = int ; 56 type_name = float ; 66 type_name = double ;
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvktrash.c | 167 #define FREE_DESTROY_FUNC(func, type, type_name) \ argument 169 G_PASTE(_free_,type_name) (GstVulkanDevice * device, gpointer resource_handle) \ 178 G_PASTE(gst_vulkan_trash_new_free_,type_name) (GstVulkanFence * fence, \ 179 type type_name) \ 183 PUSH_NON_DISPATCHABLE_HANDLE_TO_GPOINTER(handle_data, type_name); \ 184 g_return_val_if_fail (type_name != VK_NULL_HANDLE, VK_NULL_HANDLE); \ 186 (GstVulkanTrashNotify) G_PASTE(_free_,type_name), handle_data); \ 201 #define FREE_WITH_VK_PARENT(func, type, type_name, parent_type) \ argument 202 struct G_PASTE(free_parent_info_,type_name) \ 208 G_PASTE(_free_,type_name) (GstVulkanDevice * device, struct G_PASTE(free_parent_info_,type_name) *i… [all …]
|
/third_party/boost/libs/compute/include/boost/compute/functional/ |
D | popcount.hpp | 31 s << "inline " << type_name<T>() << " boost_popcount" in popcount() 32 << "(const " << type_name<T>() << " x)\n" in popcount() 39 << " " << type_name<T>() << " count = 0;\n" in popcount() 40 << " for(" << type_name<T>() << " i = 0; i < sizeof(i) * CHAR_BIT; i++){\n" in popcount() 41 << " if(x & (" << type_name<T>() << ") 1 << i){\n" in popcount()
|
/third_party/boost/boost/compute/functional/ |
D | popcount.hpp | 31 s << "inline " << type_name<T>() << " boost_popcount" in popcount() 32 << "(const " << type_name<T>() << " x)\n" in popcount() 39 << " " << type_name<T>() << " count = 0;\n" in popcount() 40 << " for(" << type_name<T>() << " i = 0; i < sizeof(i) * CHAR_BIT; i++){\n" in popcount() 41 << " if(x & (" << type_name<T>() << ") 1 << i){\n" in popcount()
|
/third_party/boost/boost/test/ |
D | unit_test_suite.hpp | 230 #define BOOST_FIXTURE_TEST_CASE_TEMPLATE( test_name, type_name, TL, F ) \ argument 231 template<typename type_name> \ 257 template<typename type_name> \ 258 void test_name<type_name>::test_method() \ 265 #define BOOST_AUTO_TEST_CASE_TEMPLATE( test_name, type_name, TL ) \ argument 266 BOOST_FIXTURE_TEST_CASE_TEMPLATE( test_name, type_name, TL, \ 283 #define BOOST_TEST_CASE_TEMPLATE_FUNCTION( name, type_name ) \ argument 284 template<typename type_name> \ 285 void BOOST_JOIN( name, _impl )( boost::type<type_name>* ); \ 295 template<typename type_name> \ [all …]
|
/third_party/boost/libs/compute/include/boost/compute/types/ |
D | pair.hpp | 31 kernel << "(" << type_name<std::pair<T1, T2> >() << ")" in operator <<() 88 type_name<T1>() + "_" + type_name<T2>() + in value() 105 << " " << type_name<T1>() << " first;\n" in value() 106 << " " << type_name<T2>() << " second;\n" in value() 107 << "} " << type_name<pair_type>() << ";\n"; in value()
|
/third_party/boost/boost/compute/types/ |
D | pair.hpp | 31 kernel << "(" << type_name<std::pair<T1, T2> >() << ")" in operator <<() 88 type_name<T1>() + "_" + type_name<T2>() + in value() 105 << " " << type_name<T1>() << " first;\n" in value() 106 << " " << type_name<T2>() << " second;\n" in value() 107 << "} " << type_name<pair_type>() << ";\n"; in value()
|