Home
last modified time | relevance | path

Searched refs:Tuple (Results 1 - 25 of 179) sorted by relevance

12345678

/third_party/skia/third_party/externals/abseil-cpp/absl/utility/
H A Dutility.h26 // * apply<Functor, Tuple> == std::apply<Functor, Tuple>
237 template <typename Functor, typename Tuple, std::size_t... Indexes>
238 auto apply_helper(Functor&& functor, Tuple&& t, index_sequence<Indexes...>)
241 std::get<Indexes>(absl::forward<Tuple>(t))...)) { in forward()
244 std::get<Indexes>(absl::forward<Tuple>(t))...); in forward()
288 template <typename Functor, typename Tuple>
289 auto apply(Functor&& functor, Tuple&& t)
291 absl::forward<Functor>(functor), absl::forward<Tuple>(t),
293 typename std::remove_reference<Tuple>
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dversion.py12 from typing import Any, Callable, NamedTuple, Optional, SupportsInt, Tuple, Union namespace
18 LocalType = Tuple[Union[int, str], ...]
20 CmpPrePostDevType = Union[InfinityType, NegativeInfinityType, Tuple[str, int]]
23 Tuple[Union[Tuple[int, str], Tuple[NegativeInfinityType, Union[int, str]]], ...],
25 CmpKey = Tuple[
27 Tuple[int, ...],
38 release: Tuple[int, ...]
39 dev: Optional[Tuple[st
[all...]
H A Dutils.py6 from typing import FrozenSet, NewType, Tuple, Union, cast namespace
11 BuildTag = Union[Tuple[()], Tuple[int, str]]
105 ) -> Tuple[NormalizedName, Version, BuildTag, FrozenSet[Tag]]:
146 def parse_sdist_filename(filename: str) -> Tuple[NormalizedName, Version]:
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DProfileSummary.cpp143 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
144 if (!Tuple || Tuple->getNumOperands() != 8) in getFromMD()
147 auto &FormatMD = Tuple->getOperand(0); in getFromMD()
163 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(1)), "TotalCount", in getFromMD()
166 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD()
168 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(3)), "MaxInternalCount", in getFromMD()
171 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(4)), "MaxFunctionCount", in getFromMD()
174 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(5)), "NumCounts", NumCounts)) in getFromMD()
176 if (!getVal(dyn_cast<MDTuple>(Tuple in getFromMD()
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dpython_generator.py3 from typing import IO, Any, Dict, Optional, Sequence, Set, Text, Tuple namespace
77 def visit_Repeat(self, node: Repeat0) -> Tuple[str, str]:
80 def visit_Gather(self, node: Gather) -> Tuple[str, str]:
98 def visit_NameLeaf(self, node: NameLeaf) -> Tuple[Optional[str], str]:
110 def visit_StringLeaf(self, node: StringLeaf) -> Tuple[str, str]:
113 def visit_Rhs(self, node: Rhs) -> Tuple[Optional[str], str]:
123 def visit_NamedItem(self, node: NamedItem) -> Tuple[Optional[str], str]:
129 def lookahead_call_helper(self, node: Lookahead) -> Tuple[str, str]:
136 def visit_PositiveLookahead(self, node: PositiveLookahead) -> Tuple[None, str]:
140 def visit_NegativeLookahead(self, node: NegativeLookahead) -> Tuple[Non
[all...]
H A Dgrammar.py14 Tuple,
44 def __init__(self, rules: Iterable[Rule], metas: Iterable[Tuple[str, Optional[str]]]):
148 self.memo: Optional[Tuple[Optional[str], str]] = None
276 self.memo: Optional[Tuple[Optional[str], str]] = None
344 def __iter__(self) -> Iterator[Tuple[str, str]]:
359 RuleName = Tuple[str, str]
360 MetaTuple = Tuple[str, Optional[str]]
H A Dbuild.py7 from typing import IO, Dict, List, Optional, Set, Tuple namespace
19 TokenDefinitions = Tuple[Dict[int, str], Dict[str, int], Set[str]]
170 ) -> Tuple[Grammar, Parser, Tokenizer]:
262 ) -> Tuple[Grammar, Parser, Tokenizer, ParserGenerator]:
302 ) -> Tuple[Grammar, Parser, Tokenizer, ParserGenerator]:
/third_party/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h425 template <typename F, typename Tuple, size_t... Idx>
426 auto ApplyImpl(F&& f, Tuple&& args, IndexSequence<Idx...>)
428 std::get<Idx>(std::forward<Tuple>(args))...)) { in forward()
429 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...); in forward()
433 template <typename F, typename Tuple>
434 auto Apply(F&& f, Tuple&& args) -> decltype(ApplyImpl(
435 std::forward<F>(f), std::forward<Tuple>(args),
437 typename std::remove_reference<Tuple>::type>::value>())) { in MakeIndexSequence()
438 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), in MakeIndexSequence()
440 typename std::remove_reference<Tuple> in MakeIndexSequence()
[all...]
/third_party/rust/crates/serde/test_suite/tests/
H A Dtest_self.rs44 struct Tuple( in test_self() structure names
51 impl Tuple { in test_self() impls
58 impl Trait for Tuple { in test_self()
70 Tuple( in test_self()
H A Dtest_roundtrip.rs17 Token::Tuple { len: 4 }, in ip_addr_roundtrip()
33 Token::Tuple { len: 2 }, in socket_addr_roundtrip()
34 Token::Tuple { len: 16 }, in socket_addr_roundtrip()
H A Dtest_gen.rs99 Tuple( in test_gen()
128 struct Tuple<T>( in test_gen() structure names
132 assert::<Tuple<i32>>(); in test_gen()
345 Tuple(),
357 Tuple(),
437 Tuple(String, u8),
492 Tuple(String, u8),
522 Tuple(String, u8),
570 Tuple(&'a str, &'static str),
632 Tuple(),
[all...]
H A Dtest_ser.rs163 assert_ser_tokens(&[0; 0], &[Token::Tuple { len: 0 }, Token::TupleEnd]); in test_array()
167 Token::Tuple { len: 3 }, in test_array()
232 &[Token::Tuple { len: 1 }, Token::I32(1), Token::TupleEnd], in test_tuple()
237 Token::Tuple { len: 3 }, in test_tuple()
421 Token::Tuple { len: 3 }, in test_boxed_slice()
739 Token::Tuple { len: 4 }, in test_net_ipv4addr_compact()
751 Token::Tuple { len: 16 }, in test_net_ipv6addr_compact()
767 Token::Tuple { len: 4 }, in test_net_ipaddr_compact()
783 Token::Tuple { len: 2 }, in test_net_socketaddr_compact()
784 Token::Tuple { le in test_net_socketaddr_compact()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dcontainer_memory.h91 template <class Alloc, class T, class Tuple, size_t... I>
92 void ConstructFromTupleImpl(Alloc* alloc, T* ptr, Tuple&& t, in ConstructFromTupleImpl()
95 *alloc, ptr, std::get<I>(std::forward<Tuple>(t))...); in ConstructFromTupleImpl()
108 template <class T, class Tuple, size_t... Is, class F>
110 Tuple&& t, absl::index_sequence<Is...>, F&& f) { in WithConstructedImpl()
112 std::get<Is>(std::forward<Tuple>(t))...); in WithConstructedImpl()
147 template <class Alloc, class T, class Tuple>
148 void ConstructFromTuple(Alloc* alloc, T* ptr, Tuple&& t) { in ConstructFromTuple()
150 alloc, ptr, std::forward<Tuple>(t), in ConstructFromTuple()
152 std::tuple_size<typename std::decay<Tuple> in ConstructFromTuple()
[all...]
/third_party/python/Lib/test/
H A Dtest_typing.py20 from typing import Tuple, List, Dict, MutableMapping namespace
298 alias_1 = Tuple[Self, Self]
353 alias_1 = Tuple[LiteralString, LiteralString]
631 tuple_types = ['tuple', 'Tuple']
681 tuple_types = ['tuple', 'Tuple']
746 tuple_types = ['tuple', 'Tuple']
777 generics = ['C', 'tuple', 'Tuple']
778 tuple_types = ['tuple', 'Tuple']
878 Unpack[Tuple[int]]
881 dir_items = set(dir(Unpack[Tuple[in
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/
H A DFDRTraceWriter.cpp22 class Tuple,
25 std::tuple_size<typename std::remove_reference<Tuple>::type>::value),
27 static size_t write(support::endian::Writer &OS, Tuple &&T) {
33 class Tuple,
36 std::tuple_size<typename std::remove_reference<Tuple>::type>::value),
38 static size_t write(support::endian::Writer &OS, Tuple &&) { in write()
/third_party/jinja2/
H A Dloaders.py76 ) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]:
193 ) -> t.Tuple[str, str, t.Callable[[], bool]]:
332 ) -> t.Tuple[str, str, t.Optional[t.Callable[[], bool]]]:
418 ) -> t.Tuple[str, None, t.Callable[[], bool]]:
452 str, t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]
461 ) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]:
494 def get_loader(self, template: str) -> t.Tuple[BaseLoader, str]:
504 ) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]:
555 ) -> t.Tuple[str, t.Optional[str], t.Optional[t.Callable[[], bool]]]:
H A Dparser.py72 self._end_token_stack: t.List[t.Tuple[str, ...]] = []
91 end_token_stack: t.List[t.Tuple[str, ...]],
139 end_tokens: t.Optional[t.Tuple[str, ...]] = None,
149 self, extra_end_rules: t.Optional[t.Tuple[str, ...]] = None
195 self, end_tokens: t.Tuple[str, ...], drop_needle: bool = False
468 extra_end_rules: t.Optional[t.Tuple[str, ...]] = None,
470 ) -> t.Union[nodes.NSRef, nodes.Name, nodes.Tuple]:
477 extra_end_rules: t.Optional[t.Tuple[str, ...]] = None,
479 ) -> t.Union[nodes.NSRef, nodes.Name, nodes.Tuple]:
684 extra_end_rules: t.Optional[t.Tuple[st
[all...]
H A Dext.py44 GETTEXT_FUNCTIONS: t.Tuple[str, ...] = (
348 t.Tuple[int, str, t.Union[t.Optional[str], t.Tuple[t.Optional[str], ...]]]
481 ) -> t.Tuple[t.List[str], str]:
659 t.Tuple[int, str, t.Union[t.Optional[str], t.Tuple[t.Optional[str], ...]]]
695 out: t.Union[t.Optional[str], t.Tuple[t.Optional[str], ...]]
741 self, tokens: t.Sequence[t.Tuple[int, str, str]], comment_tags: t.Sequence[str]
779 t.Tuple[
780 int, str, t.Union[t.Optional[str], t.Tuple[
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DFormatVariadic.h148 template <typename Tuple> class formatv_object : public formatv_object_base {
152 Tuple Parameters;
155 formatv_object(StringRef Fmt, Tuple &&Params) in formatv_object()
156 : formatv_object_base(Fmt, std::tuple_size<Tuple>::value), in formatv_object()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DFormatVariadic.h140 template <typename Tuple> class formatv_object : public formatv_object_base {
144 Tuple Parameters;
147 formatv_object(StringRef Fmt, Tuple &&Params) in formatv_object()
148 : formatv_object_base(Fmt, std::tuple_size<Tuple>::value), in formatv_object()
/third_party/python/Lib/tomllib/
H A D_types.py5 from typing import Any, Callable, Tuple namespace
9 Key = Tuple[str, ...]
/third_party/rust/crates/serde/test_suite/no_std/src/
H A Dmain.rs32 struct Tuple(u8, u8); structure names
43 Tuple(u8, u8),
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/internal/
H A Dfront_binder.h34 template <class R, class Tuple, size_t... Idx, class... Args>
35 R Apply(Tuple&& bound, absl::index_sequence<Idx...>, Args&&... free) { in Apply()
37 absl::forward<Tuple>(bound).template get<Idx>()..., in Apply()
/third_party/python/Tools/scripts/
H A Dumarshal.py5 from typing import Any, Tuple namespace
58 co_localsplusnames: Tuple[str]
59 co_localspluskinds: Tuple[int]
61 def get_localsplus_names(self, select_kind: int) -> Tuple[str, ...]:
70 def co_varnames(self) -> Tuple[str, ...]:
74 def co_cellvars(self) -> Tuple[str, ...]:
78 def co_freevars(self) -> Tuple[str, ...]:
/third_party/rust/crates/nom/src/sequence/
H A Dmod.rs192 pub trait Tuple<I, O, E> { traits
198 Tuple<Input, (Output,), Error> for (F,)
224 > Tuple<Input, ( $($ty),+ ), Error> for ( $($name),+ ) {
255 // Special case: implement `Tuple` for `()`, the unit type.
258 impl<I, E: ParseError<I>> Tuple<I, (), E> for () {
275 pub fn tuple<I, O, E: ParseError<I>, List: Tuple<I, O, E>>( in tuple()

Completed in 19 milliseconds

12345678