Home
last modified time | relevance | path

Searched refs:as_const (Results 1 – 25 of 30) sorted by relevance

12

/third_party/jinja2/
Dnodes.py407 def as_const(self, eval_ctx=None): member in Expr
432 def as_const(self, eval_ctx=None): member in BinExpr
442 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx))
454 def as_const(self, eval_ctx=None): member in UnaryExpr
464 return f(self.node.as_const(eval_ctx))
512 def as_const(self, eval_ctx=None): member in Const
543 def as_const(self, eval_ctx=None): member in TemplateData
560 def as_const(self, eval_ctx=None): member in Tuple
562 return tuple(x.as_const(eval_ctx) for x in self.items)
576 def as_const(self, eval_ctx=None): member in List
[all …]
Doptimizer.py34 node.as_const(args[0] if args else None),
Dnativetypes.py51 const = node.as_const(frame.eval_ctx)
/third_party/node/tools/inspector_protocol/jinja2/
Dnodes.py397 def as_const(self, eval_ctx=None): member in Expr
421 def as_const(self, eval_ctx=None): member in BinExpr
429 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx))
440 def as_const(self, eval_ctx=None): member in UnaryExpr
448 return f(self.node.as_const(eval_ctx))
493 def as_const(self, eval_ctx=None): member in Const
519 def as_const(self, eval_ctx=None): member in TemplateData
535 def as_const(self, eval_ctx=None): member in Tuple
537 return tuple(x.as_const(eval_ctx) for x in self.items)
550 def as_const(self, eval_ctx=None): member in List
[all …]
Doptimizer.py39 return nodes.Const.from_untrusted(node.as_const(eval_ctx),
/third_party/skia/third_party/externals/jinja2/
Dnodes.py407 def as_const(self, eval_ctx=None): member in Expr
432 def as_const(self, eval_ctx=None): member in BinExpr
442 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx))
454 def as_const(self, eval_ctx=None): member in UnaryExpr
464 return f(self.node.as_const(eval_ctx))
512 def as_const(self, eval_ctx=None): member in Const
543 def as_const(self, eval_ctx=None): member in TemplateData
560 def as_const(self, eval_ctx=None): member in Tuple
562 return tuple(x.as_const(eval_ctx) for x in self.items)
576 def as_const(self, eval_ctx=None): member in List
[all …]
Doptimizer.py34 node.as_const(args[0] if args else None),
Dnativetypes.py51 const = node.as_const(frame.eval_ctx)
/third_party/boost/libs/range/test/
Dconst_ranges.cpp25 const T& as_const( const T& r ) in as_const() function
35 BOOST_CHECK( boost::const_begin( foo ) == boost::begin( as_const( foo ) ) ); in check_const_ranges()
36 BOOST_CHECK( boost::const_end( foo ) == boost::end( as_const( foo ) ) ); in check_const_ranges()
37 BOOST_CHECK( boost::const_rbegin( foo ) == boost::rbegin( as_const( foo ) ) ); in check_const_ranges()
38 BOOST_CHECK( boost::const_rend( foo ) == boost::rend( as_const( foo ) ) ); in check_const_ranges()
40 BOOST_CHECK( boost::const_begin( bar ) == boost::begin( as_const( bar ) ) ); in check_const_ranges()
41 BOOST_CHECK( boost::const_end( bar ) == boost::end( as_const( bar ) ) ); in check_const_ranges()
42 BOOST_CHECK( boost::const_rbegin( bar ) == boost::rbegin( as_const( bar ) ) ); in check_const_ranges()
43 BOOST_CHECK( boost::const_rend( bar ) == boost::rend( as_const( bar ) ) ); in check_const_ranges()
/third_party/boost/libs/container/test/
Dcontainer_common_tests.hpp22 const Container &as_const(Container &c) in as_const() function
35 cit = (as_const)(c).nth(0); in test_nth_index_of()
36 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
51 cit = (as_const)(c).nth(sz_div_2); in test_nth_index_of()
52 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
66 cit = (as_const)(c).nth(c.size()); in test_nth_index_of()
67 csz = (as_const)(c).index_of(cit); in test_nth_index_of()
/third_party/boost/libs/type_erasure/test/
Dtest_construct_cref.cpp32 const T& as_const(const T& arg) { return arg; } in as_const() function
58 any<test_concept, const _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
73 any<dst_concept, const _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
88 any<dst_concept, const _a&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
103 any<dst_concept, const _a&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
124 any<dst_concept, const _a&> cy(as_const(x), make_binding<map>()); in BOOST_AUTO_TEST_CASE()
126 any<dst_concept, const _a&> cz(as_const(x), table); in BOOST_AUTO_TEST_CASE()
140 any<test_concept, const _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
155 any<dst_concept, const _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
170 any<dst_concept, const _a&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_construct.cpp674 const T& as_const(const T& arg) { return arg; } in as_const() function
687 any<test_concept> x3(value, as_const(binding)); in BOOST_AUTO_TEST_CASE()
694 any<test_concept> y3(as_rvalue(value), as_const(binding)); in BOOST_AUTO_TEST_CASE()
697 any<test_concept> z1(as_const(value), binding); in BOOST_AUTO_TEST_CASE()
699 any<test_concept> z2(as_const(value), as_rvalue(binding)); in BOOST_AUTO_TEST_CASE()
701 any<test_concept> z3(as_const(value), as_const(binding)); in BOOST_AUTO_TEST_CASE()
714 any<test_concept> w(as_const(x)); in BOOST_AUTO_TEST_CASE()
728 any<test_concept> w = as_const(x); in BOOST_AUTO_TEST_CASE()
742 any<dst_concept> w = as_const(x); in BOOST_AUTO_TEST_CASE()
756 any<dst_concept, _a> w = as_const(x); in BOOST_AUTO_TEST_CASE()
[all …]
Dtest_dynamic_any_cast.cpp147 const T& as_const(const T& arg) { return arg; } in as_const() function
157 any<common<> > y3 = dynamic_any_cast<any<common<> > >(as_const(x)); in BOOST_AUTO_TEST_CASE()
166 any<common<> > z3 = dynamic_any_cast<any<common<> > >(as_const(r)); in BOOST_AUTO_TEST_CASE()
175 any<common<> > w3 = dynamic_any_cast<any<common<> > >(as_const(cr)); in BOOST_AUTO_TEST_CASE()
185 any<common<> > v3 = dynamic_any_cast<any<common<> > >(as_const(rr)); in BOOST_AUTO_TEST_CASE()
201 any<common<>, _self&> v = dynamic_any_cast<any<common<>, _self&> >(as_const(y)); in BOOST_AUTO_TEST_CASE()
215 dest_type y3 = dynamic_any_cast<dest_type>(as_const(x)); in BOOST_AUTO_TEST_CASE()
224 dest_type z3 = dynamic_any_cast<dest_type>(as_const(r)); in BOOST_AUTO_TEST_CASE()
233 dest_type w3 = dynamic_any_cast<dest_type>(as_const(cr)); in BOOST_AUTO_TEST_CASE()
243 dest_type v3 = dynamic_any_cast<dest_type>(as_const(rr)); in BOOST_AUTO_TEST_CASE()
Dtest_construct_ref.cpp32 const T& as_const(const T& arg) { return arg; } in as_const() function
58 any<test_concept, _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
73 any<dst_concept, _self&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
88 any<dst_concept, _a&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
103 any<dst_concept, _a&> w = as_const(x); in BOOST_AUTO_TEST_CASE()
124 any<dst_concept, _a&> cy(as_const(x), make_binding<map>()); in BOOST_AUTO_TEST_CASE()
126 any<dst_concept, _a&> cz(as_const(x), table); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/fusion/sequence/comparison/detail/
Dgreater_equal.hpp39 return extension::as_const(*a) >= extension::as_const(*b) in call()
40 && (!(extension::as_const(*b) >= extension::as_const(*a)) || in call()
Dless.hpp39 return extension::as_const(*a) < extension::as_const(*b) || in call()
40 (!(extension::as_const(*b) < extension::as_const(*a)) && in call()
Dless_equal.hpp39 return extension::as_const(*a) <= extension::as_const(*b) in call()
40 && (!(extension::as_const(*b) <= extension::as_const(*a)) || in call()
Dgreater.hpp39 return extension::as_const(*a) > extension::as_const(*b) || in call()
40 (!(extension::as_const(*b) > extension::as_const(*a)) && in call()
Dequal_to.hpp39 return extension::as_const(*a) == extension::as_const(*b) in call()
Dnot_equal_to.hpp39 return extension::as_const(*a) != extension::as_const(*b) in call()
/third_party/boost/libs/ptr_container/test/
Dserialization.cpp37 inline T const& as_const( T const& r ) in as_const() function
154 oa << boost::serialization::make_nvp( "container", as_const(vec) ); in test_serialization_helper()
192 oa << boost::serialization::make_nvp( "container", as_const(vec) ); in test_serialization_unordered_set_helper()
224 oa << boost::serialization::make_nvp( "container", as_const(m) ); in test_serialization_map_helper()
258 oa << as_const(p); in test_hierarchy()
/third_party/boost/libs/graph/test/
Dtest_properties.hpp12 template < typename T > T const& as_const(T& x) { return x; } in as_const() function
25 GraphBundle const& cb1 = ::as_const(g)[graph_bundle]; in test_graph_bundle()
/third_party/boost/boost/fusion/support/
Das_const.hpp23 inline const T& as_const(const T& obj) BOOST_NOEXCEPT in as_const() function
/third_party/boost/boost/fusion/adapted/adt/detail/
Dextension.hpp34 …typename adt_attribute_proxy<T, N, Const>::type as_const(const adt_attribute_proxy<T, N, Const>& p… in as_const() function
/third_party/gn/src/base/containers/
Dflat_tree.h379 const flat_tree& as_const() { return *this; }
854 return const_cast_it(as_const().find(key));
869 auto res = as_const().equal_range(key);
890 return const_cast_it(as_const().lower_bound(key));
911 return const_cast_it(as_const().upper_bound(key));

12