Home
last modified time | relevance | path

Searched refs:is_tuple (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/boost/test/data/monomorphic/
Dsample_merge.hpp33 struct is_tuple : std::false_type {}; struct
36 struct is_tuple<std::tuple<T...>> : std::true_type {}; struct
39 struct is_tuple<T&&> : is_tuple<typename std::decay<T>::type> {}; struct
42 struct is_tuple<T&> : is_tuple<typename std::decay<T>::type> {}; struct
77 typename ds_detail::is_tuple<T>::type()) ) { in as_tuple()
79 typename ds_detail::is_tuple<T>::type()); in as_tuple()
/third_party/python/Lib/lib2to3/fixes/
Dfix_raise.py29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple
53 if is_tuple(exc):
54 while is_tuple(exc):
67 if is_tuple(val):
Dfix_throw.py14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple
40 if is_tuple(val):
Dfix_except.py28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms
77 if is_tuple(N) or is_list(N):
/third_party/python/Lib/lib2to3/tests/
Dtest_util.py29 def is_tuple(self, string): member in Test_is_tuple
30 return fixer_util.is_tuple(parse(string, strip_levels=2))
33 self.assertTrue(self.is_tuple("(a, b)"))
34 self.assertTrue(self.is_tuple("(a, (b, c))"))
35 self.assertTrue(self.is_tuple("((a, (b, c)),)"))
36 self.assertTrue(self.is_tuple("(a,)"))
37 self.assertTrue(self.is_tuple("()"))
40 self.assertFalse(self.is_tuple("(a)"))
41 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
/third_party/boost/boost/histogram/detail/
Dcommon_type.hpp23 is_tuple<T>, T,
24 is_tuple<U>, U,
Ddetect.hpp129 using is_tuple = typename is_tuple_impl<T>::type; typedef
/third_party/skia/src/core/
DSkEnumerate.h20 template <typename> struct is_tuple : std::false_type {}; struct
21 template <typename... T> struct is_tuple<std::tuple<T...>> : std::true_type {};
25 if constexpr (is_tuple<Captured>::value) {
/third_party/boost/libs/vmd/doc/
Dvmd_pp_data_types.qbk34 #include <boost/vmd/is_tuple.hpp>
66 #include <boost/vmd/is_tuple.hpp>
75 #include <boost/vmd/is_tuple.hpp>
95 #include <boost/vmd/is_tuple.hpp>
121 #include <boost/vmd/is_tuple.hpp>
199 #include <boost/vmd/is_tuple.hpp>
248 #include <boost/vmd/is_tuple.hpp> // for the BOOST_VMD_IS_TUPLE macro.
Dindex.idx28 !scan boost/vmd/is_tuple.hpp
Djamfile.v259 $(here)/../../../boost/vmd/is_tuple.hpp
Dvmd_whyhow.qbk27 #include <boost/vmd/is_tuple.hpp>
/third_party/boost/boost/test/data/
Dfor_each_sample.hpp92 typename monomorphic::ds_detail::is_tuple<decltype(*it)>::type()); in for_each_sample()
/third_party/python/Objects/
Dgenericaliasobject.c306 int is_tuple = PyTuple_Check(item); in _Py_subs_parameters() local
307 Py_ssize_t nitems = is_tuple ? PyTuple_GET_SIZE(item) : 1; in _Py_subs_parameters()
308 PyObject **argitems = is_tuple ? &PyTuple_GET_ITEM(item, 0) : &item; in _Py_subs_parameters()
/third_party/python/Lib/test/
Dtest_future.py163 self, annotation, expected=None, drop_parens=False, is_tuple=False, argument
167 expected = annotation if not is_tuple else annotation[1:-1]
/third_party/libsoup/libsoup/
Dsoup-xmlrpc.c618 gboolean is_tuple = FALSE; in parse_array() local
643 is_tuple = TRUE; in parse_array()
676 if (is_tuple && child_signature[0] == ')') { in parse_array()
687 if (is_tuple) { in parse_array()
695 if (is_tuple && child_signature[0] != ')') { in parse_array()
/third_party/boost/boost/histogram/algorithm/
Dproject.hpp43 auto axes = detail::static_if<detail::is_tuple<A>>( in project()
/third_party/mindspore/mindspore/ccsrc/debug/
Danf_ir_utils.cc300 bool is_tuple = value->isa<ValueTuple>(); in GetSequenceText() local
301 oss << (is_tuple ? "(" : "["); in GetSequenceText()
311 oss << (is_tuple ? ")" : "]"); in GetSequenceText()
/third_party/libxml2/python/
Dlibxml.c3496 int is_tuple = 0; in PyxmlNodeSet_Convert() local
3499 is_tuple = 1; in PyxmlNodeSet_Convert()
3501 is_tuple = 0; in PyxmlNodeSet_Convert()
3519 nodeSet->nodeMax = (is_tuple in PyxmlNodeSet_Convert()
3537 PyxmlNode_Get (is_tuple in PyxmlNodeSet_Convert()
3555 int is_tuple = 0; in PystringSet_Convert() local
3560 is_tuple = 1; in PystringSet_Convert()
3562 is_tuple = 0; in PystringSet_Convert()
3573 count = (is_tuple in PystringSet_Convert()
3590 (is_tuple in PystringSet_Convert()
/third_party/mindspore/mindspore/nn/optim/
Dadafactor.py151 def trans_to_tensor(paras, is_tuple=False, fp32=True): argument
155 if is_tuple:
/third_party/jinja2/
Dparser.py638 is_tuple = False
646 is_tuple = True
651 if not is_tuple:
/third_party/skia/third_party/externals/jinja2/
Dparser.py638 is_tuple = False
646 is_tuple = True
651 if not is_tuple:
/third_party/node/tools/inspector_protocol/jinja2/
Dparser.py614 is_tuple = False
622 is_tuple = True
627 if not is_tuple:
/third_party/boost/boost/histogram/axis/
Dtraits.hpp415 return mp11::mp_eval_if_not<detail::is_tuple<T>, mp11::mp_size_t<1>, mp11::mp_size, in rank()
/third_party/python/Lib/lib2to3/
Dfixer_util.py158 def is_tuple(node): function

12