Home
last modified time | relevance | path

Searched refs:real_ (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore/core/base/
Dcomplex_storage.h25 T real_; member
37 inline constexpr ComplexStorage(const T &real, const T &imag = T()) : real_(real), imag_(imag) {} in real_() function
39 …inline explicit constexpr ComplexStorage(const float16 &real) : real_(static_cast<T>(real)), imag_… in ComplexStorage()
43 : real_(other.real_), imag_(other.imag_) {} in ComplexStorage()
47 : real_(other.real_), imag_(other.imag_) {} in ComplexStorage()
49 …inline explicit operator bool() const { return static_cast<bool>(real_) || static_cast<bool>(imag_…
50 inline explicit operator signed char() const { return static_cast<signed char>(real_); }
51 inline explicit operator unsigned char() const { return static_cast<unsigned char>(real_); }
52 inline explicit operator double() const { return static_cast<double>(real_); }
53 inline explicit operator float() const { return static_cast<float>(real_); }
[all …]
/third_party/mindspore/mindspore/ccsrc/utils/
Dcomplex.h46 …HOST_DEVICE inline constexpr Complex(const T &real, const T &imag = T()) : real_(real), imag_(imag… in real_() function
55 …HOST_DEVICE inline explicit constexpr Complex(const float16 &real) : real_(static_cast<T>(real)), … in Complex()
58 …HOST_DEVICE inline explicit Complex(const thrust::complex<U> &other) : real_(other.real()), imag_(… in Complex()
67 : real_(static_cast<T>(other.real())), imag_(static_cast<T>(other.imag())) {} in Complex()
69 …HOST_DEVICE inline explicit operator bool() const { return static_cast<bool>(real_) || static_cast…
70 …HOST_DEVICE inline explicit operator signed char() const { return static_cast<signed char>(real_);…
71 …DEVICE inline explicit operator unsigned char() const { return static_cast<unsigned char>(real_); }
72 HOST_DEVICE inline explicit operator double() const { return static_cast<double>(real_); }
73 HOST_DEVICE inline explicit operator float() const { return static_cast<float>(real_); }
74 HOST_DEVICE inline explicit operator int16_t() const { return static_cast<int16_t>(real_); } in int16_t()
[all …]
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp352 value_.real_ = 0.0; in Value()
392 value_.real_ = value; in Value()
498 return value_.real_ < other.value_.real_; in operator <()
554 return value_.real_ == other.value_.real_; in operator ==()
646 return valueToString(value_.real_); in asString()
661 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
663 return Int(value_.real_); in asInt()
683 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
685 return UInt(value_.real_); in asUInt()
706 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
[all …]
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2703 value_.real_ = 0.0; in Value()
2742 value_.real_ = value; in Value()
2891 return value_.real_ < other.value_.real_; in operator <()
2947 return value_.real_ == other.value_.real_; in operator ==()
3015 return valueToString(value_.real_); in asString()
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3042 return Int(value_.real_); in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3064 return UInt(value_.real_); in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2703 value_.real_ = 0.0; in Value()
2742 value_.real_ = value; in Value()
2891 return value_.real_ < other.value_.real_; in operator <()
2947 return value_.real_ == other.value_.real_; in operator ==()
3015 return valueToString(value_.real_); in asString()
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3042 return Int(value_.real_); in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3064 return UInt(value_.real_); in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2703 value_.real_ = 0.0; in Value()
2742 value_.real_ = value; in Value()
2891 return value_.real_ < other.value_.real_; in operator <()
2947 return value_.real_ == other.value_.real_; in operator ==()
3015 return valueToString(value_.real_); in asString()
3040 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3042 return Int(value_.real_); in asInt()
3062 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3064 return UInt(value_.real_); in asUInt()
3085 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
[all …]
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2727 value_.real_ = 0.0; in Value()
2766 value_.real_ = value; in Value()
2923 return value_.real_ < other.value_.real_; in operator <()
2979 return value_.real_ == other.value_.real_; in operator ==()
3047 return valueToString(value_.real_); in asString()
3072 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt, maxInt), in asInt()
3074 return Int(value_.real_); in asInt()
3094 JSON_ASSERT_MESSAGE(InRange(value_.real_, 0, maxUInt), in asUInt()
3096 return UInt(value_.real_); in asUInt()
3117 JSON_ASSERT_MESSAGE(InRange(value_.real_, minInt64, maxInt64), in asInt64()
[all …]
Djson.h974 double real_; member
/third_party/boost/libs/log/src/setup/
Ddefault_filter_factory.cpp305 const qi::real_parser< double, qi::strict_real_policies< double > > real_; in parse_argument() local
306 if (qi::parse(begin, end, real_, real_val) && begin == end) in parse_argument()
/third_party/mesa3d/src/drm-shim/
Ddrm_shim.c55 #define REAL_FUNCTION_POINTER(x) typeof(x) *real_##x
157 #define GET_FUNCTION_POINTER(x) real_##x = get_function_pointer(#x)
/third_party/jsoncpp/include/json/
Dvalue.h636 double real_; member
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h924 double real_; member
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h924 double real_; member
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h924 double real_; member
/third_party/jsoncpp/src/test_lib_json/
Dmain.cpp73 Json::Value real_; member
87 real_(1234.56789), float_(0.00390625f), emptyString_(""), string1_("a"), in ValueTest()
182 JSONTEST_ASSERT_PRED(checkMemberCount(real_, 0)); in JSONTEST_FIXTURE_LOCAL()
/third_party/googletest/docs/
Dgmock_cook_book.md763 return real_.DoThis(n);
766 real_.DoThat(s, p);
774 Foo real_;