| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
| H A D | xray_fdr_log_writer.h | 26 template <class Tuple, 29 typename std::remove_reference<Tuple>::type>::value, 31 Tuple &&T) { 36 std::forward<Tuple>(T)); 39 template <class Tuple, 42 Tuple>::type>::value, 44 static void serializeTo(char *, Tuple &&) {} in serializeTo() 49 template <class Tuple, size_t Index> struct AggregateSizesImpl { 51 sizeof(typename std::tuple_element<Index, Tuple>::type) + 52 AggregateSizesImpl<Tuple, Index - 1>::value; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 182 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() 220 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD() 222 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxInternalCount", in getFromMD() 225 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxFunctionCount", in getFromMD() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| H A D | DenseMapInfo.h | 241 using Tuple = std::tuple<Ts...>; 243 static inline Tuple getEmptyKey() { 244 return Tuple(DenseMapInfo<Ts>::getEmptyKey()...); 247 static inline Tuple getTombstoneKey() { 248 return Tuple(DenseMapInfo<Ts>::getTombstoneKey()...); 252 static unsigned getHashValueImpl(const Tuple &values, std::false_type) { 253 using EltType = typename std::tuple_element<I, Tuple>::type; 261 static unsigned getHashValueImpl(const Tuple &, std::true_type) { 271 static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs, std::false_type) { 272 using EltType = typename std::tuple_element<I, Tuple>::type; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-jitlistener/ |
| H A D | llvm-jitlistener.cpp | 165 Triple Tuple(TheModule->getTargetTriple()); in InitEE() local 166 if (Tuple.getTriple().empty()) in InitEE() 167 Tuple.setTriple(sys::getProcessTriple()); in InitEE() 169 if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) { in InitEE() 170 Tuple.setObjectFormat(Triple::ELF); in InitEE() 171 TheModule->setTargetTriple(Tuple.getTriple()); in InitEE()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/ |
| H A D | gmock-internal-utils.h | 461 template <typename F, typename Tuple, size_t... Idx> 462 auto ApplyImpl(F&& f, Tuple&& args, IndexSequence<Idx...>) -> decltype( 463 std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...)) { 464 return std::forward<F>(f)(std::get<Idx>(std::forward<Tuple>(args))...); 468 template <typename F, typename Tuple> 469 auto Apply(F&& f, Tuple&& args) 470 -> decltype(ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), 471 MakeIndexSequence<std::tuple_size<Tuple>::value>())) { 472 return ApplyImpl(std::forward<F>(f), std::forward<Tuple>(args), 473 MakeIndexSequence<std::tuple_size<Tuple>::value>());
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/XRay/ |
| H A D | FDRTraceWriter.cpp | 22 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()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| H A D | typecons.d | 79 alias Coord = Tuple!(int, "x", int, "y", int, "z"); 86 alias DicEntry = Tuple!(string, string); 468 template Tuple(Specs...) in Tuple() function 587 struct Tuple in Tuple() struct 597 alias Fields = Tuple!(int, "id", string, float); in Tuple() argument 609 alias Fields = Tuple!(int, "id", string, float); in Tuple() argument 626 assert(t1.toString() == `Tuple!(int, string, double)(1, " hello ", 2.3)`); in Tuple() 646 ref inout(Tuple!Types) _Tuple_super() inout @trusted in Tuple() argument 683 alias ISD = Tuple!(int, string, double); in Tuple() argument 685 assert(tup.toString() == `Tuple!(int, string, double)(1, "test", 3.2)`); in Tuple() [all …]
|
| H A D | concurrency.d | 105 import std.typecons : Tuple; 108 data = Tuple!(T)(vals); 120 import std.typecons : Tuple; in convertsTo() 121 return data.convertsTo!(Tuple!(T)); in convertsTo() 136 import std.typecons : Tuple; in get() 137 return data.get!(Tuple!(T)); in get() 154 import std.typecons : Tuple; in map() 155 return op(data.get!(Tuple!(Args)).expand); in map() 702 import std.typecons : Tuple; in receiveOnlyRet() 703 alias receiveOnlyRet = Tuple!(T); in receiveOnlyRet() [all …]
|
| H A D | functional.d | 831 import std.functional, std.typecons : Tuple; 835 assert(is(typeof(x) == Tuple!(bool, int))); 841 import std.typecons : Tuple; 846 assert(is(typeof(x2) == Tuple!(bool, int))); 849 assert(is(typeof(x3) == Tuple!(bool, int, int))); 868 import std.typecons : Tuple, tuple; 876 Tuple!(IC, IC, IC, IC) ret1 = adjoin!(foo, foo, foo, foo)(); 881 enum Tuple!(IS, IS, IS, IS) ret2 = adjoin!(bar, bar, bar, bar)(); 1001 import std.typecons : Tuple; in memoize() 1003 static ReturnType!fun[Tuple!Args] memo; in memoize() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | FormatVariadic.h | 127 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()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/ |
| H A D | typecons.d | 82 alias Coord = Tuple!(int, "x", int, "y", int, "z"); 89 alias DictEntry = Tuple!(string, int); 554 template Tuple(Specs...) 587 struct Tuple struct 600 alias Fields = Tuple!(int, "id", string, float); argument 613 alias Fields = Tuple!(int, "id", string, float); argument 630 assert(t1.toString() == `Tuple!(int, string, char)(1, " hello ", 'a')`); argument 650 ref inout(Tuple!Types) _Tuple_super() inout @trusted in _Tuple_super() argument 687 alias ISD = Tuple!(int, string, double); argument 689 assert(tup.toString() == `Tuple!(int, string, double)(1, "test", 3.2)`); argument [all …]
|
| H A D | concurrency.d | 175 import std.typecons : Tuple; 178 data = Tuple!(T)(vals); 190 import std.typecons : Tuple; in convertsTo() 191 return data.convertsTo!(Tuple!(T)); in convertsTo() 206 import std.typecons : Tuple; in get() 207 return data.get!(Tuple!(T)); in get() 224 import std.typecons : Tuple; in map() 225 return op(data.get!(Tuple!(Args)).expand); in map() 828 import std.typecons : Tuple; in receiveOnlyRet() 829 alias receiveOnlyRet = Tuple!(T); in receiveOnlyRet() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/ |
| H A D | setops.d | 480 import std.typecons : tuple, Tuple; 486 assert(is(ElementType!(typeof(N3)) == Tuple!(size_t,size_t,size_t))); 497 import std.typecons : tuple, Tuple; 503 assert(is(ElementType!(typeof(N4)) == Tuple!(size_t,size_t,size_t,size_t))); 608 import std.typecons : tuple, Tuple; 620 auto b = new Tuple!(double, uint)[1]; 629 auto c = new Tuple!(double, uint)[2]; 643 auto y = new Tuple!(double, uint)[2]; 691 import std.typecons : tuple, Tuple; 703 auto b = new Tuple!(double, uint)[1]; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/algorithm/ |
| H A D | setops.d | 480 import std.typecons : tuple, Tuple; 486 assert(is(ElementType!(typeof(N3)) == Tuple!(size_t,size_t,size_t))); 497 import std.typecons : tuple, Tuple; 503 assert(is(ElementType!(typeof(N4)) == Tuple!(size_t,size_t,size_t,size_t))); 642 import std.typecons : tuple, Tuple; 654 auto b = new Tuple!(double, uint)[1]; 663 auto c = new Tuple!(double, uint)[2]; 677 auto y = new Tuple!(double, uint)[2]; 725 import std.typecons : tuple, Tuple; 737 auto b = new Tuple!(double, uint)[1]; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/analyzer/ |
| H A D | entrypoint.py | 7 from typing import List, Tuple 28 def parse_arguments() -> Tuple[argparse.Namespace, List[str]]:
|
| H A D | SATestUtils.py | 6 from typing import List, IO, Optional, Tuple 74 def check_and_measure_call(*popenargs, **kwargs) -> Tuple[float, int]:
|
| H A D | SATestBenchmark.py | 19 from typing import List, Tuple 106 new: pd.DataFrame) -> Tuple[pd.DataFrame, pd.DataFrame]:
|
| H A D | ProjectMap.py | 5 from typing import Any, Dict, List, NamedTuple, Optional, Tuple 175 def _get_git_params(raw_project: JSON) -> Tuple[str, str]:
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 268 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()
|
| /netbsd-src/external/mpl/bind/dist/doc/arm/ |
| H A D | conf.py | 18 from typing import List, Tuple 53 def run(self) -> Tuple[List[Node], List[system_message]]: 89 def run(self) -> Tuple[List[Node], List[system_message]]:
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/ |
| H A D | gtest-printers.h | 877 template <typename Tuple> 878 void TersePrintPrefixToStrings(const Tuple&, std::integral_constant<size_t, 0>, in TersePrintPrefixToStrings() argument 880 template <typename Tuple, size_t I> 881 void TersePrintPrefixToStrings(const Tuple& t, in TersePrintPrefixToStrings() 894 template <typename Tuple> 895 Strings UniversalTersePrintTupleFieldsToStrings(const Tuple& value) { in UniversalTersePrintTupleFieldsToStrings() 898 value, std::integral_constant<size_t, std::tuple_size<Tuple>::value>(), in UniversalTersePrintTupleFieldsToStrings()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUPALMetadata.cpp | 55 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFAcceleratorTable.cpp | 280 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyAsmPrinter.cpp | 317 const auto *Tuple = dyn_cast<MDTuple>(MD); in emitEndOfAsmFile() local 318 if (!Tuple || Tuple->getNumOperands() != 2) in emitEndOfAsmFile() 320 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0)); in emitEndOfAsmFile() 321 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1)); in emitEndOfAsmFile()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 1199 template <class T, class Tuple, std::size_t... I> 1200 constexpr T *new_from_tuple_impl(Tuple &&t, std::index_sequence<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> [all …]
|