/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
get_const.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // typename tuple_element<I, tuple<Types...> >::type const& 16 // get(const tuple<Types...>& t); 20 #include <tuple> 27 typedef std::tuple<double&, std::string, int> T;
|
tuple.by.type.pass.cpp | 12 #include <tuple> 25 auto t1 = std::tuple<int, std::string, cf> { 42, "Hi", { 1,2 }}; 33 auto t2 = std::tuple<int, std::string, int, cf> { 42, "Hi", 23, { 1,2 }}; 40 constexpr std::tuple<int, const int, double, double> p5 { 1, 2, 3.4, 5.6 }; 46 const std::tuple<int, const int, double, double> p5 { 1, 2, 3.4, 5.6 }; 55 std::tuple<upint> t(upint(new int(4))); 63 const std::tuple<upint> t(upint(new int(4))); 72 std::tuple<int&, int const&> const t(x, y); 82 std::tuple<int&&, int const&&> const t(std::move(x), std::move(y)); 90 constexpr const std::tuple<int, const int, double, double> t { 1, 2, 3.4, 5.6 } [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
adaptor.hpp | 28 #include "util/tuple.hpp" 56 iterator_adaptor(F f, std::tuple<Is...> &&its) : 62 return tuple::apply(f, tuple::map(derefs(), its)); 67 tuple::map(preincs(), its); 95 tuple::map(predecs(), its); 108 tuple::map(advances_by(n), its); 114 tuple::map(advances_by(-n), its); 164 std::tuple<Is...> its;
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
stream_executor_util.h | 35 StatusOr<std::tuple<Layout, Layout, Layout>> 43 std::tuple<se::dnn::DataLayout, se::dnn::FilterLayout, se::dnn::DataLayout>>
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
tuple_ops.h | 30 // Selection among tuples is special in how it's lowered, because a tuple is not 66 // A tuple is an array of pointers, one for each operand. Each pointer points to 68 void EmitTuple(const IrArray& tuple, absl::Span<llvm::Value* const> operands, 73 void EmitTuple(const IrArray& tuple, absl::Span<const IrArray> buffers, 76 // A tuple is an array of pointers, one for each operand. Each pointer points to 78 // forwards the pointer to underlying tuple element buffer at the given index. 79 // Returns an llvm value representing a pointer to the tuple element buffer.
|
/external/tensorflow/tensorflow/core/kernels/ |
padding_fifo_queue.cc | 59 const PaddingFIFOQueue::Tuple& tuple, int component, OpKernelContext* ctx, 61 TensorShape element_shape(tuple[component].shape()); 64 tuple[component].dtype(), element_shape, out_tensor, &element_access)); 65 *element_access = tuple[component]; 73 Tuple tuple; local 74 tuple.reserve(num_components()); 83 tuple.emplace_back(element); 85 callback(tuple); [all...] |
random_shuffle_queue_op.cc | 52 void TryEnqueue(const Tuple& tuple, OpKernelContext* ctx, 54 void TryEnqueueMany(const Tuple& tuple, OpKernelContext* ctx, 71 void DequeueLocked(OpKernelContext* ctx, Tuple* tuple) 74 static Status GetElementComponentFromBatch(const Tuple& tuple, int64 index, 116 void RandomShuffleQueue::DequeueLocked(OpKernelContext* ctx, Tuple* tuple) { 285 Tuple tuple; local [all...] |
fifo_queue.h | 42 void TryEnqueue(const Tuple& tuple, OpKernelContext* ctx, 44 void TryEnqueueMany(const Tuple& tuple, OpKernelContext* ctx, 61 void DequeueLocked(OpKernelContext* ctx, Tuple* tuple) 64 static Status GetElementComponentFromBatch(const Tuple& tuple, int64 index,
|
priority_queue.h | 59 void TryEnqueue(const Tuple& tuple, OpKernelContext* ctx, 61 void TryEnqueueMany(const Tuple& tuple, OpKernelContext* ctx, 80 void DequeueLocked(OpKernelContext* ctx, Tuple* tuple) 83 static Status GetElementComponentFromBatch(const Tuple& tuple, int index,
|
/external/libcxx/benchmarks/ |
CartesianBenchmarks.hpp | 12 #include <tuple> 52 void makeBenchmarkFromValues(const std::vector<std::tuple<Args...> >& A) { 57 void makeBenchmarkImpl(const Args& A, std::tuple<U...> t) { 63 void makeBenchmarkImpl(const Args& A, std::tuple<U...>, std::tuple<T...>, 65 (internal::makeBenchmarkImpl<B>(A, std::tuple<U..., T>(), rest...), ...); 113 std::vector<std::tuple<typename Args::value_type...> > V; 114 internal::allValueCombinations(V, std::tuple<>(), A...); 115 internal::makeBenchmarkImpl<B>(V, std::tuple<>(), Tuples()...); 121 std::vector<std::tuple<typename Args::value_type...> > V [all...] |
/external/libchrome/ipc/ |
ipc_message_templates.h | 10 #include <tuple> 16 #include "base/tuple.h" 23 template <typename Tuple, size_t... Ns> 24 auto TupleForwardImpl(Tuple&& tuple, std::index_sequence<Ns...>) -> decltype( 25 std::forward_as_tuple(std::get<Ns>(std::forward<Tuple>(tuple))...)) { 26 return std::forward_as_tuple(std::get<Ns>(std::forward<Tuple>(tuple))...); 29 // Transforms std::tuple contents to the forwarding form [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_tuple.py | 6 type2test = tuple
11 self.assertEqual(tuple(), ())
13 t0_3_bis = tuple(t0_3)
15 self.assertEqual(tuple([]), ())
16 self.assertEqual(tuple([0, 1, 2, 3]), (0, 1, 2, 3))
17 self.assertEqual(tuple(''), ())
18 self.assertEqual(tuple('spam'), ('s', 'p', 'a', 'm'))
50 self.assertEqual(list(tuple(f())), range(1000))
53 # See SF bug 942952: Weakness in tuple hash
77 l0 = tuple()
[all...] |
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
slots_metaclass.py | 13 __slots__ must be a tuple containing string names of all properties that the 25 assert isinstance(attrs['__slots__'], tuple), '__slots__ must be a tuple'
|
/external/drm_hwcomposer/ |
drmproperty.h | 43 std::tuple<uint64_t, int> GetEnumValueWithName(std::string name) const; 48 std::tuple<int, uint64_t> value() const; 52 std::tuple<int, uint64_t> range_min() const; 53 std::tuple<int, uint64_t> range_max() const;
|
/external/google-fruit/include/fruit/impl/util/ |
call_with_tuple.h | 29 struct CallWithTupleHelper<fruit::impl::meta::Vector<Ints...>, Result, std::tuple<Args...>> { 30 Result operator()(Result (*fun)(Args...), std::tuple<Args...> args) { 31 // This parameter *is* used, but when the tuple is empty some compilers report is as unused. 38 inline Result callWithTuple(Result (*fun)(Args...), std::tuple<Args...> args) { 41 return CallWithTupleHelper<IntVector, Result, std::tuple<Args...>>()(fun, args);
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
alloc_const_pair.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, const pair<U1, U2>&); 19 #include <tuple> 31 typedef std::tuple<long long, double> T1; 39 typedef std::tuple<alloc_first, double> T1; 49 typedef std::tuple<alloc_first, alloc_last> T1;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_incomplete.fail.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // struct tuple_size<tuple<Types...>> 20 #include <tuple>
|
/external/python/cpython2/Demo/tkinter/guido/ |
optionmenu.py | 24 menu2 = apply(OptionMenu, (root, var2) + tuple(CHOICES))
|
/external/python/cpython2/Lib/test/ |
test_tuple.py | 6 type2test = tuple 11 self.assertEqual(tuple(), ()) 13 t0_3_bis = tuple(t0_3) 15 self.assertEqual(tuple([]), ()) 16 self.assertEqual(tuple([0, 1, 2, 3]), (0, 1, 2, 3)) 17 self.assertEqual(tuple(''), ()) 18 self.assertEqual(tuple('spam'), ('s', 'p', 'a', 'm')) 50 self.assertEqual(list(tuple(f())), range(1000)) 53 # See SF bug 942952: Weakness in tuple hash 77 l0 = tuple() [all...] |
/external/python/uritemplates/uritemplate/ |
__init__.py | 20 __version_info__ = tuple(int(i) for i in __version__.split('.') if i.isdigit())
|
/external/skia/tools/skpbench/ |
_hardware_pixel2.py | 42 done''' % tuple(CPU_CLOCK_RATE for _ in range(3)), 62 tuple(MEM_CLOCK_RATE for _ in range(8)), 69 tuple(GPU_CLOCK_RATE for _ in range(2)), 75 tuple(GPU_POWER_LEVEL for _ in range(2))]))
|
/external/skqp/tools/skpbench/ |
_hardware_pixel2.py | 42 done''' % tuple(CPU_CLOCK_RATE for _ in range(3)), 62 tuple(MEM_CLOCK_RATE for _ in range(8)), 69 tuple(GPU_CLOCK_RATE for _ in range(2)), 75 tuple(GPU_POWER_LEVEL for _ in range(2))]))
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
cpu_options.h | 31 absl::optional<std::tuple<int64, int64, int64>> LlvmIrGemmTileSize(
|
/external/v8/src/wasm/ |
wasm-text.h | 10 #include <tuple>
|
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/ |
disable_reduced_arity_initialization_extension.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // explicit tuple(UTypes&&... u); 19 #include <tuple> 45 typedef std::tuple<MO, ND> Tuple; 46 static_assert(!std::is_constructible<Tuple, MO>::value, ""); 47 static_assert(std::is_constructible<Tuple, MO, ND>::value, ""); 48 static_assert(test_convertible<Tuple, MO, ND>(), ""); 51 typedef std::tuple<MO, MO, ND> Tuple [all...] |