HomeSort by: relevance | last modified time | path
    Searched refs:Tuple (Results 1 - 25 of 79) sorted by relevancy

1 2 3 4

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_fdr_log_writer.h 19 #include <tuple>
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 &&) {}
49 template <class Tuple, size_t Index> struct AggregateSizesImpl {
51 sizeof(typename std::tuple_element<Index, Tuple>::type)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ProfileSummary.cpp 51 // This returns an MDTuple representing the detiled summary. The tuple has two
53 // of the detailed summary. Each element of this tuple is again an MDTuple whose
73 // entry of this tuple is another MDTuple of two elements: a string
182 static bool getOptionalVal(MDTuple *Tuple, unsigned &Idx, const char *Key,
184 if (getVal(dyn_cast<MDTuple>(Tuple->getOperand(Idx)), Key, Value)) {
187 // of Tuple operand array. Since (non-optional) DetailedSummary always comes
188 // last, the next entry in the tuple operand array must exist.
189 return Idx < Tuple->getNumOperands();
196 MDTuple *Tuple = dyn_cast_or_null<MDTuple>(MD);
197 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
DenseMapInfo.h 240 template <typename... Ts> struct DenseMapInfo<std::tuple<Ts...>> {
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)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-jitlistener/
llvm-jitlistener.cpp 165 Triple Tuple(TheModule->getTargetTriple());
166 if (Tuple.getTriple().empty())
167 Tuple.setTriple(sys::getProcessTriple());
169 if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) {
170 Tuple.setObjectFormat(Triple::ELF);
171 TheModule->setTargetTriple(Tuple.getTriple());
  /src/external/apache2/llvm/dist/clang/utils/analyzer/
entrypoint.py 7 from typing import List, Tuple
28 def parse_arguments() -> Tuple[argparse.Namespace, List[str]]:
SATestBenchmark.py 19 from typing import List, Tuple
106 new: pd.DataFrame) -> Tuple[pd.DataFrame, pd.DataFrame]:
SATestUtils.py 6 from typing import List, IO, Optional, Tuple
74 def check_and_measure_call(*popenargs, **kwargs) -> Tuple[float, int]:
84 Return a tuple of execution time and peak memory.
ProjectMap.py 5 from typing import Any, Dict, List, NamedTuple, Optional, Tuple
175 def _get_git_params(raw_project: JSON) -> Tuple[str, str]:
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
FormatVariadic.h 39 #include <tuple>
127 template <typename Tuple> class formatv_object : public formatv_object_base {
130 // have the base class store type-erased pointers into this tuple.
131 Tuple Parameters;
132 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
135 // The parameters are stored in a std::tuple, which does not provide runtime
140 // Essentially, we are converting a std::tuple<Derived<Ts...>> to a
144 std::array<detail::format_adapter *, std::tuple_size<Tuple>::value>
151 formatv_object(StringRef Fmt, Tuple &&Params)
  /src/external/gpl3/gdb.old/dist/gdb/
gdbarch_types.py 20 from typing import List, Optional, Tuple, Union
31 def join_params(params: List[Tuple[str, str]]):
50 params: Optional[List[Tuple[str, str]]] = None,
123 params: List[Tuple[str, str]],
  /src/external/gpl3/gdb/dist/gdb/
gdbarch_types.py 20 from typing import List, Optional, Tuple, Union
31 def join_params(params: List[Tuple[str, str]]):
50 params: Optional[List[Tuple[str, str]]] = None,
123 params: List[Tuple[str, str]],
  /src/external/apache2/llvm/dist/llvm/lib/XRay/
FDRTraceWriter.cpp 13 #include <tuple>
22 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 &&) {
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/
gmock-internal-utils.h 66 // Joins a vector of strings as if they are fields of a tuple; returns
420 // represented as a (pointer, size) tuple.
422 class StlContainerView< ::std::tuple<ElementPointer, Size> > {
430 const ::std::tuple<ElementPointer, Size>& array) {
434 static type Copy(const ::std::tuple<ElementPointer, Size>& array) {
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))...);
467 // Apply the function to a tuple of arguments
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
typecons.d 11 $(TR $(TD Tuple) $(TD
13 $(LREF Tuple)
14 $(LREF tuple)
82 alias Coord = Tuple!(int, "x", int, "y", int, "z");
89 alias DictEntry = Tuple!(string, int);
93 assert(tuple(2, 3, 4)[1] == 3);
95 auto tup = tuple!("x", "y", "z")(2, 3, 4);
428 // Used in Tuple.toString
483 static assert(0, "Attempted to instantiate Tuple with an "
542 _Tuple of values, for example $(D Tuple!(int, string)) is a record tha
    [all...]
concurrency.d 175 import std.typecons : Tuple;
178 data = Tuple!(T)(vals);
190 import std.typecons : Tuple;
191 return data.convertsTo!(Tuple!(T));
206 import std.typecons : Tuple;
207 return data.get!(Tuple!(T));
224 import std.typecons : Tuple;
225 return op(data.get!(Tuple!(Args)).expand);
730 * the `Variant` will contain a $(REF Tuple, std,typecons) of all values
828 import std.typecons : Tuple;
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
setops.d 85 A forward range of $(REF Tuple, std,typecons) representing elements of the
136 import std.typecons : tuple;
142 assert(canFind(N2, tuple(0, 0)));
143 assert(canFind(N2, tuple(123, 321)));
144 assert(canFind(N2, tuple(11, 35)));
145 assert(canFind(N2, tuple(279, 172)));
152 import std.typecons : tuple;
161 assert(canFind(BC, tuple(n[0], n[1])));
170 import std.typecons : tuple;
179 assert(canFind(EvenOdd, tuple(pair[0], pair[1])))
    [all...]
  /src/external/mpl/bind/dist/doc/arm/
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]]:
  /src/external/apache2/llvm/dist/clang/lib/AST/
ParentMapContext.cpp 53 std::tuple<bool, DynTypedNodeList, const T *, const U *...>
268 template <typename Tuple, std::size_t... Is>
269 auto tuple_pop_front_impl(const Tuple &tuple, std::index_sequence<Is...>) {
270 return std::make_tuple(std::get<1 + Is>(tuple)...);
273 template <typename Tuple> auto tuple_pop_front(const Tuple &tuple) {
275 tuple, std::make_index_sequence<std::tuple_size<Tuple>::value - 1>())
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/
gtest-printers.h 79 // // Prints the fields of a tuple tersely to a string vector, one
80 // // element for each field. Tuple support must be enabled in
83 // const Tuple& value);
107 #include <tuple>
621 // Helper function for printing a tuple. T must be instantiated with
622 // a tuple type.
641 void PrintTo(const ::std::tuple<Types...>& t, ::std::ostream* os) {
875 // Tersely prints the first N fields of a tuple to a string vector,
877 template <typename Tuple>
878 void TersePrintPrefixToStrings(const Tuple&, std::integral_constant<size_t, 0>
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFAcceleratorTable.cpp 280 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());
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
typed.d 44 Tuple!(int, float)). The implicit conservative assumption is that the type
46 collected. Example of types with pointers: `int*[]`, $(D Tuple!(int,
81 of types fitting this description: `int`, `double`, $(D Tuple!(int, long)), but
82 not $(D Tuple!(int, string)), which contains an indirection.)
86 description are `int[]`, `double[]`, $(D Tuple!(int, long)[]), but not
87 $(D Tuple!(int, string)[]), which contains an indirection.)
91 description are `int*[]`, `Object[]`, $(D Tuple!(int, string)[]).)
130 import std.typecons : Tuple;
150 private Tuple!(Stride2!(Policies[1 .. $])) extras;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
EHScopeStack.h 198 typedef std::tuple<typename DominatingValue<As>::saved_type...> SavedTuple;
216 ConditionalCleanup(SavedTuple Tuple) : Saved(std::move(Tuple)) {}
284 /// Push a lazily-created cleanup on the stack. Tuple version.
286 void pushCleanupTuple(CleanupKind Kind, std::tuple<As...> A) {
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
template.h 31 class Tuple : public RootObject
313 Tuple *isTuple(RootObject *o);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/Utils/
AMDGPUPALMetadata.cpp 55 auto Tuple = dyn_cast<MDTuple>(NamedMD->getOperand(0));
56 if (!Tuple)
58 for (unsigned I = 0, E = Tuple->getNumOperands() & -2; I != E; I += 2) {
59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I));
60 auto Val = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I + 1));
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyAsmPrinter.cpp 317 const auto *Tuple = dyn_cast<MDTuple>(MD);
318 if (!Tuple || Tuple->getNumOperands() != 2)
320 const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0));
321 const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1));

Completed in 59 milliseconds

1 2 3 4