Home
last modified time | relevance | path

Searched refs:is_number (Results 1 – 25 of 41) sorted by relevance

12

/third_party/json/doc/examples/
Dis_number.cpp21 std::cout << j_null.is_number() << '\n'; in main()
22 std::cout << j_boolean.is_number() << '\n'; in main()
23 std::cout << j_number_integer.is_number() << '\n'; in main()
24 std::cout << j_number_unsigned_integer.is_number() << '\n'; in main()
25 std::cout << j_number_float.is_number() << '\n'; in main()
26 std::cout << j_object.is_number() << '\n'; in main()
27 std::cout << j_array.is_number() << '\n'; in main()
28 std::cout << j_string.is_number() << '\n'; in main()
29 std::cout << j_binary.is_number() << '\n'; in main()
/third_party/grpc/src/core/lib/json/
Djson.h80 Json(const std::string& string, bool is_number = false)
81 : type_(is_number ? Type::NUMBER : Type::STRING), string_value_(string) {}
90 Json(const char* string, bool is_number = false)
91 : Json(std::string(string), is_number) {} in Json() argument
97 Json(char* string, bool is_number = false)
98 : Json(std::string(string), is_number) {} in Json() argument
/third_party/json/test/src/
Dunit-inspection.cpp48 CHECK(!j.is_number());
66 CHECK(!j.is_number());
84 CHECK(!j.is_number());
102 CHECK(!j.is_number());
120 CHECK(!j.is_number());
138 CHECK(j.is_number());
156 CHECK(j.is_number());
174 CHECK(j.is_number());
192 CHECK(!j.is_number());
210 CHECK(!j.is_number());
Dunit-algorithms.cpp86 if (value.is_number()) in __anon97af920b0702()
120 return (value.is_number()); in __anon97af920b0902()
179 return value.is_number(); in __anon97af920b0d02()
/third_party/openssl/crypto/conf/
Dconf_lib.c293 int (*is_number)(const CONF *, char) = &default_is_number; in NCONF_get_number_e() local
307 if (conf->meth->is_number != NULL) in NCONF_get_number_e()
308 is_number = conf->meth->is_number; in NCONF_get_number_e()
312 for (res = 0; is_number(conf, *str); str++) { in NCONF_get_number_e()
/third_party/boost/libs/multiprecision/test/
Dtest_rational_io.cpp97 struct is_number : public boost::mpl::false_ struct
100 struct is_number<boost::multiprecision::number<T> > : public boost::mpl::true_ struct
106 do_round_trip(val, f, is_number<T>()); in do_round_trip()
/third_party/boost/boost/multiprecision/traits/
Dexplicit_conversion.hpp29 is_number<S>::value && is_number<T>::value,
/third_party/mesa3d/src/compiler/glsl/
Ds_expression.h69 virtual bool is_number() const { return false; } in is_number() function
81 bool is_number() const { return true; } in is_number() function
Ds_expression.cpp186 case NUMBER: if (expr->is_number()) *p_number = (s_number *) expr; break; in match()
/third_party/boost/boost/multiprecision/detail/
Dnumber_base.hpp160 struct is_number : public mpl::false_ struct
164 struct is_number<number<Backend, ExpressionTemplates> > : public mpl::true_ struct
656 …ame boost::disable_if_c<is_same<T, bool>::value || is_void<T>::value || is_number<T>::value, int>:…
665 …typename boost::disable_if_c<is_number<T>::value || is_constructible<T const&, result_type>::value…
840 …ame boost::disable_if_c<is_same<T, bool>::value || is_void<T>::value || is_number<T>::value, int>:…
849 …typename boost::disable_if_c<is_number<T>::value || is_constructible<T const&, result_type>::value…
1028 …ame boost::disable_if_c<is_same<T, bool>::value || is_void<T>::value || is_number<T>::value, int>:…
1037 …typename boost::disable_if_c<is_number<T>::value || is_constructible<T const&, result_type>::value…
1227 …ame boost::disable_if_c<is_same<T, bool>::value || is_void<T>::value || is_number<T>::value, int>:…
1236 …typename boost::disable_if_c<is_number<T>::value || is_constructible<T const&, result_type>::value…
[all …]
Dgeneric_interconvert.hpp275 inline typename disable_if_c<is_number<To>::value || is_floating_point<To>::value>::type
288 inline typename enable_if_c<is_number<To>::value || is_floating_point<To>::value>::type
302 typename enable_if_c<is_number<To>::value || is_floating_point<To>::value>::type
363 inline typename disable_if_c<is_number<To>::value || is_floating_point<To>::value>::type
381 …typedef typename mpl::if_c<is_number<From>::value, From, number<From> >::type … in generic_convert_rational_to_float()
382 …typedef typename mpl::if_c<is_number<To>::value || is_floating_point<To>::value, To, number<To> >:… in generic_convert_rational_to_float()
Dinteger_ops.hpp456 is_number<T>,
459 is_number<U>,
463 is_number<V>,
/third_party/python/Modules/_io/
D_iomodule.c244 int line_buffering, is_number; in _io_open_impl() local
254 is_number = PyNumber_Check(file); in _io_open_impl()
256 if (is_number) { in _io_open_impl()
266 if (!is_number && in _io_open_impl()
/third_party/boost/libs/math/test/
Dtest_autodiff.hpp61 mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>>;
75 …static constexpr auto n_samples = if_t<mp11::mp_or<bmp::is_number<T>, bmp::is_number_expression<T>…
Dtest_autodiff_4.cpp34 if constexpr (!bmp::is_number<T>::value && in BOOST_AUTO_TEST_CASE_TEMPLATE()
/third_party/boost/libs/vmd/doc/
Dvmd_number.qbk67 #include <boost/vmd/is_number.hpp>
92 #include <boost/vmd/is_number.hpp>
Dindex.idx25 !scan boost/vmd/is_number.hpp
/third_party/cef/tools/yapf/yapf/yapflib/
Dunwrapped_line.py181 return tok.is_keyword or tok.is_name or tok.is_number or tok.is_string
259 (right.is_name or right.is_number or rval == '(')):
Dformat_token.py256 def is_number(self): member in FormatToken
/third_party/gettext/gettext-tools/src/
Dx-scheme.c496 is_number (const struct token *tp) in is_number() function
974 if (is_number (&token)) in read_object()
1354 else if (is_number (op->token)) in read_object()
Dx-lisp.c604 is_number (const struct token *tp, int *basep) in is_number() function
987 if (is_number (op->token, &base) != n_none) in read_object()
/third_party/openssl/include/openssl/
Dconf.h45 int (*is_number) (const CONF *conf, char c); member
/third_party/boost/boost/random/
Duniform_01.hpp188 template<class UniformRandomNumberGenerator, bool is_number = std::numeric_limits<UniformRandomNumb…
/third_party/grpc/third_party/upb/third_party/lunit/
Dlunit.lua147 local is_number = is_number
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_column.cc137 json_column_value.is_string() || json_column_value.is_number(), in GetColumnFromJson()
177 if (json_column_value.is_number()) { in GetFloat()

12