Home
last modified time | relevance | path

Searched refs:Tuple (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-tuple.h799 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>
815 template <class Tuple>
823 template <class Tuple>
827 template <class Tuple>
835 template <class Tuple>
839 template <class Tuple>
847 template <class Tuple>
851 template <class Tuple>
[all …]
H A Dgtest-tuple.h.pump124 template <bool kIndexValid, int kIndex, class Tuple>
208 // 6.1.3.2 Tuple creation functions.
226 // 6.1.3.3 Tuple helper classes.
228 template <typename Tuple> struct tuple_size;
239 template <int k, class Tuple>
242 k < (tuple_size<Tuple>::value), k, Tuple>::type type;
245 #define GTEST_TUPLE_ELEMENT_(k, Tuple) typename tuple_element<k, Tuple >::type
256 template <class Tuple>
258 Field(Tuple& t) { return t.f$(i)_; } // NOLINT
260 template <class Tuple>
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h25 template <class Tuple,
38 template <class Tuple,
41 Tuple>::type>::value,
43 static void serializeTo(char *, Tuple &&) {} in serializeTo()
48 template <class Tuple, size_t Index> struct AggregateSizesImpl {
50 sizeof(typename std::tuple_element<Index, Tuple>::type) +
51 AggregateSizesImpl<Tuple, Index - 1>::value;
54 template <class Tuple> struct AggregateSizesImpl<Tuple, 0> {
56 sizeof(typename std::tuple_element<0, Tuple>::type);
59 template <class Tuple> struct AggregateSizes {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h237 using Tuple = std::tuple<Ts...>;
239 static inline Tuple getEmptyKey() {
240 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...);
243 static inline Tuple getTombstoneKey() {
244 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...);
249 using EltType = typename std::tuple_element<I, Tuple>::type;
257 static unsigned getHashValueImpl(const Tuple &, std::true_type) {
267 static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::false_type) {
268 using EltType = typename std::tuple_element<I, Tuple>::type;
275 static bool isEqualImpl(const Tuple &, const Tuple &, std::true_type) {
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dstl_extras.h23 template <typename F, typename Tuple, std::size_t... I>
24 decltype(auto) apply_tuple_impl(F &&f, Tuple &&t, std::index_sequence<I...>) { in decltype()
25 return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(t))...); in decltype()
35 template <typename F, typename Tuple>
36 decltype(auto) apply_tuple(F &&f, Tuple &&t) { in decltype()
38 std::tuple_size<typename std::decay<Tuple>::type>::value>; in decltype()
40 return detail::apply_tuple_impl(std::forward<F>(f), std::forward<Tuple>(t), in decltype()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp182 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key, in getOptionalVal() argument
184 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) { in getOptionalVal()
189 return Idx < Tuple->getNumOperands(); in getOptionalVal()
196 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD); in getFromMD() local
197 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
201 auto &FormatMD = Tuple->getOperand(I++); in getFromMD()
217 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount", in getFromMD()
222 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD()
228 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumCounts", in getFromMD()
231 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "NumFunctions", in getFromMD()
[all …]
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h977 typedef TupleT Tuple; typedef
986 static_cast<int>(I), Tuple>::type>::type
987 get(const Tuple& tuple) { in get()
998 typedef ::std::tuple<Types...> Tuple;
1006 const Tuple& tuple) {
1026 template <typename Tuple>
1041 template <typename Tuple>
1053 template <typename Tuple>
1056 template <typename Tuple>
1062 template <typename Tuple>
[all …]
/freebsd-13.1/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) { in write()
32 class Tuple,
34 std::tuple_size<std::remove_reference_t<Tuple>>::value),
36 static size_t write(support::endian::Writer &OS, Tuple &&) { in write()
/freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java137 Tuple tuple = getTuple(); in getAggregationRecord()
155 Tuple tuple = new Tuple(v1, v2); in getAggregation()
164 public static Tuple
178 Tuple tuple = new Tuple(r1, r2, r3, r4); in getTuple()
298 Map < Tuple, String > formattedOutput = in getPrintaRecord()
299 new HashMap < Tuple, String > (); in getPrintaRecord()
300 for (Tuple t : a.asMap().keySet()) { in getPrintaRecord()
303 List < Tuple > tuples = new ArrayList < Tuple > (); in getPrintaRecord()
304 for (Tuple t : a.asMap().keySet()) { in getPrintaRecord()
357 Tuple tuple = new Tuple(v1, v2, v3, v4, v5, v6); in getAggregate()
H A DTestFunctionLookup.java62 for (Tuple tuple : agg.asMap().keySet()) { in main()
96 for (Tuple tuple : agg.asMap().keySet()) { in main()
H A DTestGetAggregate.java114 rec = a.getRecord(Tuple.EMPTY); in testCleared()
122 rec = a.getRecord(Tuple.EMPTY); in testCleared()
/freebsd-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h78 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2),
79 GMOCK_FIELD_TYPE_(Tuple, k3), GMOCK_FIELD_TYPE_(Tuple, k4),
80 GMOCK_FIELD_TYPE_(Tuple, k5), GMOCK_FIELD_TYPE_(Tuple, k6),
81 GMOCK_FIELD_TYPE_(Tuple, k7), GMOCK_FIELD_TYPE_(Tuple, k8),
133 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2),
144 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2),
155 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2),
156 GMOCK_FIELD_TYPE_(Tuple, k3), GMOCK_FIELD_TYPE_(Tuple, k4),
168 GMOCK_FIELD_TYPE_(Tuple, k1), GMOCK_FIELD_TYPE_(Tuple, k2),
169 GMOCK_FIELD_TYPE_(Tuple, k3), GMOCK_FIELD_TYPE_(Tuple, k4),
[all …]
H A Dgmock-generated-matchers.h.pump56 // The type of the i-th (0-based) field of Tuple.
57 #define GMOCK_FIELD_TYPE_(Tuple, i) \
58 typename ::testing::tuple_element<i, Tuple>::type
60 // TupleFields<Tuple, k0, ..., kn> is for selecting fields from a
61 // tuple of type Tuple. It has two members:
63 // type: a tuple type whose i-th field is the ki-th field of Tuple.
71 template <class Tuple$for i [[, int k$i = -1]]>
75 template <class Tuple$for i [[, int k$i]]>
79 static type GetSelectedFields(const Tuple& t) {
91 template <class Tuple$for j [[, int k$j]]>
[all …]
/freebsd-13.1/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>::value>());
/freebsd-13.1/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) in formatv_object()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp268 template <typename Tuple, std::size_t... Is>
269 auto tuple_pop_front_impl(const Tuple &tuple, std::index_sequence<Is...>) { in tuple_pop_front_impl()
273 template <typename Tuple> auto tuple_pop_front(const Tuple &tuple) { in tuple_pop_front()
275 tuple, std::make_index_sequence<std::tuple_size<Tuple>::value - 1>()); in tuple_pop_front()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.cpp55 auto Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0)); in readFromIR() local
56 if (!Tuple) in readFromIR()
58 for (unsigned I = 0, E = Tuple->getNumOperands() & -2; I != E; I += 2) { in readFromIR()
59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR()
60 auto Val = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I + 1)); in readFromIR()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp280 for (auto Tuple : zip_first(HdrData->Atoms, Values)) { in lookup() local
281 if (std::get<0>(Tuple).first == Atom) in lookup()
282 return std::get<1>(Tuple); in lookup()
541 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in lookup() local
542 if (std::get<0>(Tuple).Index == Index) in lookup()
543 return std::get<1>(Tuple); in lookup()
575 for (auto Tuple : zip_first(Abbr->Attributes, Values)) { in dump() local
576 W.startLine() << formatv("{0}: ", std::get<0>(Tuple).Index); in dump()
577 std::get<1>(Tuple).dump(W.getOStream()); in dump()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1199 template <class T, class Tuple, std::size_t... I>
1201 return new T(std::get<I>(std::forward<Tuple>(t))...);
1204 template <class T, class Tuple> constexpr T *new_from_tuple(Tuple &&t) {
1206 std::forward<Tuple>(t),
1208 std::tuple_size<std::remove_reference_t<Tuple>>::value>{});
1405 template <typename F, typename Tuple, std::size_t... I>
1406 constexpr auto applyMatcherImpl(F &&f, Tuple &&args,
1408 return std::forward<F>(f)(std::get<I>(std::forward<Tuple>(args))...);
1411 template <typename F, typename Tuple>
1412 constexpr auto applyMatcher(F &&f, Tuple &&args) {
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAsmPrinter.cpp390 const auto *Tuple = dyn_cast<MDTuple>(MD); in emitEndOfAsmFile() local
391 if (!Tuple || Tuple->getNumOperands() != 2) in emitEndOfAsmFile()
393 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in emitEndOfAsmFile()
394 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in emitEndOfAsmFile()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DEHScopeStack.h216 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {}
/freebsd-13.1/sys/contrib/device-tree/Bindings/serial/
H A Dcdns,uart.txt11 - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk"
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp327 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in upgradeTypeRefArray() local
328 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
332 if (!Tuple->isTemporary()) in upgradeTypeRefArray()
333 return resolveTypeRefArray(Tuple); in upgradeTypeRefArray()
338 std::piecewise_construct, std::forward_as_tuple(Tuple), in upgradeTypeRefArray()
344 auto *Tuple = dyn_cast_or_null<MDTuple>(MaybeTuple); in resolveTypeRefArray() local
345 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()
350 Ops.reserve(Tuple->getNumOperands()); in resolveTypeRefArray()
351 for (Metadata *MD : Tuple->operands()) in resolveTypeRefArray()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSections.cpp333 MDTuple *Tuple = cast<MDTuple>(Existing); in hasInstrProfHashMismatch() local
334 for (auto &N : Tuple->operands()) in hasInstrProfHashMismatch()
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Datmel-classd.txt15 Tuple listing input clock names.

123