Home
last modified time | relevance | path

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

/external/python/jinja/src/jinja2/
Dnodes.py395 def as_const(self, eval_ctx=None): member in Expr
420 def as_const(self, eval_ctx=None): member in BinExpr
430 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx))
442 def as_const(self, eval_ctx=None): member in UnaryExpr
452 return f(self.node.as_const(eval_ctx))
500 def as_const(self, eval_ctx=None): member in Const
521 def as_const(self, eval_ctx=None): member in TemplateData
538 def as_const(self, eval_ctx=None): member in Tuple
540 return tuple(x.as_const(eval_ctx) for x in self.items)
554 def as_const(self, eval_ctx=None): member in List
[all …]
Doptimizer.py33 node.as_const(args[0] if args else None),
Dnativetypes.py50 const = node.as_const(frame.eval_ctx)
Dcompiler.py1255 const = node.as_const(frame.eval_ctx)
1438 val = node.as_const(frame.eval_ctx)
1446 self.write(repr(node.as_const(frame.eval_ctx)))
1740 val = keyword.value.as_const(frame.eval_ctx)
/external/libchrome/third_party/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),
Dnativetypes.py80 const = child.as_const(frame.eval_ctx)
Dcompiler.py1255 const = child.as_const(frame.eval_ctx)
1431 val = node.as_const(frame.eval_ctx)
1439 self.write(repr(node.as_const(frame.eval_ctx)))
1707 val = keyword.value.as_const(frame.eval_ctx)
/external/libcxx/test/std/utilities/utility/as_const/
Das_const.pass.cpp25 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const in test()
26 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T… in test()
27 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T… in test()
28 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T… in test()
29 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T… in test()
31 assert(std::as_const(t) == t); in test()
32 assert(std::as_const< T>(t) == t); in test()
33 assert(std::as_const<const T>(t) == t); in test()
34 assert(std::as_const<volatile T>(t) == t); in test()
35 assert(std::as_const<const volatile T>(t) == t); in test()
Das_const.fail.cpp21 std::as_const(S{}); in main()
/external/llvm-project/libcxx/test/std/utilities/utility/as_const/
Das_const.pass.cpp26 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const in test()
27 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T… in test()
28 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T… in test()
29 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T… in test()
30 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T… in test()
32 assert(std::as_const(t) == t); in test()
33 assert(std::as_const< T>(t) == t); in test()
34 assert(std::as_const<const T>(t) == t); in test()
35 assert(std::as_const<volatile T>(t) == t); in test()
36 assert(std::as_const<const volatile T>(t) == t); in test()
Das_const.compile.fail.cpp20 std::as_const(S{}); in main()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.visit/
Dvisit.pass.cpp224 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3)); in test_argument_forwarding()
232 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3), std::move(v4)); in test_argument_forwarding()
240 std::visit(obj, std::as_const(v1), std::as_const(v2), std::move(v3), std::move(v4)); in test_argument_forwarding()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-filter.hpp72 return !this->test(rxu::as_const(v)); in on_next()
/external/libchrome/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));
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/
Drx-util.hpp69 /*constexpr*/ T const &as_const(T & t) /*noexcept*/ in as_const() function
74 void as_const(T const &&) = delete;
/external/libcxx/include/
Dutility57 template <class T> constexpr add_const_t<T>& as_const(T& t) noexcept; // C++17
58 template <class T> void as_const(const T&&) = delete; // C++17
294 template <class _Tp> constexpr add_const_t<_Tp>& as_const(_Tp& __t) noexcept { return __t; }
295 template <class _Tp> void as_const(const _Tp&&) = delete;
/external/llvm-project/libcxx/include/
Dutility56 template <class T> constexpr add_const_t<T>& as_const(T& t) noexcept; // C++17
57 template <class T> void as_const(const T&&) = delete; // C++17
275 template <class _Tp> constexpr add_const_t<_Tp>& as_const(_Tp& __t) noexcept { return __t; }
276 template <class _Tp> void as_const(const _Tp&&) = delete;
/external/llvm-project/libcxx/docs/
DCxx1zStatusPaperStatus.csv23 "`P0007R1 <https://wg21.link/p0007r1>`__","LWG","Constant View: A proposal for a ``std::as_const``\…
/external/llvm-project/clang-tools-extra/clangd/
DStdSymbolMap.inc85 SYMBOL(as_const, std::, <utility>)