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

12

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h25 template <class Tuple,
28 typename std::remove_reference<Tuple>::type>::value,
30 Tuple &&T) {
35 std::forward<Tuple>(T));
38 template <class Tuple,
41 Tuple>::type>::value,
43 static void serializeTo(char *, Tuple &&) {}
48 template <class Tuple, size_t Index> struct AggregateSizesImpl {
50 sizeof(typename std::tuple_element<Index, Tuple>::type) +
51 AggregateSizesImpl<Tuple, Inde
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp182 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, argument
184 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) {
187 // of Tuple operand array. Since (non-optional) DetailedSummary always comes
189 return Idx < Tuple->getNumOperands();
196 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); local
197 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10)
201 auto &FormatMD = Tuple->getOperand(I++);
217 if (!getVal(dyn_cast<MDTuple>(Tuple
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h239 using Tuple = std::tuple<Ts...>;
241 static inline Tuple getEmptyKey() {
242 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
245 static inline Tuple getTombstoneKey() {
246 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
250 static unsigned getHashValueImpl(const Tuple &values, std::false_type) {
251 using EltType = typename std::tuple_element<I, Tuple>::type;
259 static unsigned getHashValueImpl(const Tuple &values, std::true_type) {
269 static bool isEqualImpl(const Tuple &lhs, const Tuple
[all...]
H A DSTLExtras.h1892 template <typename F, typename Tuple, std::size_t... I>
1893 decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) {
1894 return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...);
1902 template <typename F, typename Tuple>
1903 decltype(auto) apply_tuple(F &&f, Tuple &&t) {
1905 std::tuple_size<typename std::decay<Tuple>::type>::value>;
1907 return detail::apply_tuple_impl(std::forward<F>(f), std::forward<Tuple>(t),
/freebsd-13-stable/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-tuple.h150 template <bool kIndexValid, int kIndex, class Tuple>
670 // 6.1.3.2 Tuple creation functions.
737 // 6.1.3.3 Tuple helper classes.
739 template <typename Tuple> struct tuple_size;
796 template <int k, class Tuple>
799 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
802 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
811 template <class Tuple>
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatVariadic.h127 template <typename Tuple> class formatv_object : public formatv_object_base {
131 Tuple Parameters;
132 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
144 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
151 formatv_object(StringRef Fmt, Tuple &&Params)
/freebsd-13-stable/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h80 // // element for each field. Tuple support must be enabled in
83 // const Tuple& value);
977 typedef TupleT Tuple; typedef in struct:testing::internal::TuplePolicy
978 static const size_t tuple_size = ::std::tr1::tuple_size<Tuple>::value;
981 struct tuple_element : ::std::tr1::tuple_element<static_cast<int>(I), Tuple> {
986 static_cast<int>(I), Tuple>::type>::type
987 get(const Tuple& tuple) {
998 typedef ::std::tuple<Types...> Tuple; typedef in struct:testing::internal::TuplePolicy
999 static const size_t tuple_size = ::std::tuple_size<Tuple>::value;
1002 struct tuple_element : ::std::tuple_element<I, Tuple> {};
1054 PrintPrefixTo(const Tuple&, ::std::ostream*) argument
1057 TersePrintPrefixToStrings(const Tuple&, Strings*) argument
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestFunctionLookup.java62 for (Tuple tuple : agg.asMap().keySet()) {
96 for (Tuple tuple : agg.asMap().keySet()) {
H A DTestBean.java48 "Tuple",
137 Tuple tuple = getTuple();
155 Tuple tuple = new Tuple(v1, v2);
164 public static Tuple
178 Tuple tuple = new Tuple(r1, r2, r3, r4);
298 Map < Tuple, String > formattedOutput =
299 new HashMap < Tuple, String > ();
300 for (Tuple
[all...]
H A DTestGetAggregate.java114 rec = a.getRecord(Tuple.EMPTY);
122 rec = a.getRecord(Tuple.EMPTY);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/
H A DFDRTraceWriter.cpp22 class Tuple,
24 std::tuple_size<std::remove_reference_t<Tuple>>::value),
26 static size_t write(support::endian::Writer &OS, Tuple &&T) {
32 class Tuple,
34 std::tuple_size<std::remove_reference_t<Tuple>>::value),
36 static size_t write(support::endian::Writer &OS, Tuple &&) {
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h554 template <typename F, typename Tuple, size_t... Idx>
555 auto ApplyImpl(F&& f, Tuple&& args, int_pack<Idx...>) -> decltype(
556 std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) {
557 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...);
561 template <typename F, typename Tuple>
562 auto Apply(F&& f, Tuple&& args)
563 -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
564 make_int_pack<std::tuple_size<Tuple>::value>())) {
565 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args),
566 make_int_pack<std::tuple_size<Tuple>
[all...]
H A Dgmock-generated-internal-utils.h69 template <typename Tuple>
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h52 // The type of the i-th (0-based) field of Tuple.
53 #define GMOCK_FIELD_TYPE_(Tuple, i) \
54 typename ::testing::tuple_element<i, Tuple>::type
56 // TupleFields<Tuple, k0, ..., kn> is for selecting fields from a
57 // tuple of type Tuple. It has two members:
59 // type: a tuple type whose i-th field is the ki-th field of Tuple.
67 template <class Tuple, int k0 = -1, int k1 = -1, int k2 = -1, int k3 = -1,
73 template <class Tuple, int k0, int k1, int k2, int k3, int k4, int k5, int k6,
77 typedef ::testing::tuple<GMOCK_FIELD_TYPE_(Tuple, k0),
78 GMOCK_FIELD_TYPE_(Tuple, k
[all...]
H A Dgmock-matchers.h994 template <typename Tuple, typename Func, typename OutIter>
997 typedef ::testing::tuple_size<Tuple> TupleSize;
1002 static OutIter Run(Func f, const Tuple& t, OutIter out) {
1003 return IterateOverTuple<Tuple, TupleSize::value>()(f, t, out);
1025 template <typename Tuple, typename Func, typename OutIter>
1026 OutIter TransformTupleValues(Func f, const Tuple& t, OutIter out) {
1027 return TransformTupleValuesHelper<Tuple, Func, OutIter>::Run(f, t, out);
1631 template <typename Tuple>
1632 class Impl : public MatcherInterface<Tuple> {
1635 Tuple arg
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp157 const auto *Tuple = dyn_cast<MDTuple>(MD); local
158 if (!Tuple || Tuple->getNumOperands() != 2)
160 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0));
161 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp280 for (auto Tuple : zip_first(HdrData->Atoms, Values)) {
281 if (std::get<0>(Tuple).first == Atom)
282 return std::get<1>(Tuple);
541 for (auto Tuple : zip_first(Abbr->Attributes, Values)) {
542 if (std::get<0>(Tuple).Index == Index)
543 return std::get<1>(Tuple);
575 for (auto Tuple : zip_first(Abbr->Attributes, Values)) {
576 W.startLine() << formatv("{0}: ", std::get<0>(Tuple).Index);
577 std::get<1>(Tuple).dump(W.getOStream());
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DEHScopeStack.h214 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {} argument
278 /// Push a lazily-created cleanup on the stack. Tuple version.
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp54 auto Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0));
55 if (!Tuple)
57 for (unsigned I = 0, E = Tuple->getNumOperands() & -2; I != E; I += 2) {
58 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I));
59 auto Val = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I + 1));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp330 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); local
331 if (!Tuple || Tuple->isDistinct())
335 if (!Tuple->isTemporary())
336 return resolveTypeRefArray(Tuple);
341 std::piecewise_construct, std::forward_as_tuple(Tuple),
347 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); local
348 if (!Tuple || Tuple->isDistinct())
353 Ops.reserve(Tuple
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java270 List <Tuple> tuples = printa.getTuples();
274 for (Tuple t : tuples) {
455 Tuple tuple;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp789 for (const auto &Tuple : R) {
790 NodeId Src = Tuple.first;
791 NodeId Dst = Tuple.second;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h110 Tuple, member in class:lldb_private::python::PyObjectType
H A DPythonDataObjects.cpp156 return PyObjectType::Tuple;
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp649 std::vector<Init*> Tuple; variable
655 Tuple.push_back(DefInit::get(Reg));
692 // Replace the sub-register list with Tuple.
694 RV.setValue(ListInit::get(Tuple, RegisterRecTy));
699 // CostPerUse is aggregated from all Tuple members.

Completed in 366 milliseconds

12