| /external/tensorflow/tensorflow/core/kernels/ |
| adjust_hsv_gpu.cu.h | 41 HsvTuple tuple; local 66 tuple.h = h; 67 tuple.s = s; 68 tuple.v = M; 69 return tuple; 74 RgbTuple tuple; local 85 tuple.r = chroma * (between_0_and_1 || between_5_and_6) + 87 tuple.g = chroma * (between_1_and_2 || between_2_and_3) + 89 tuple.b = chroma * (between_3_and_4 || between_4_and_5) + 91 return tuple; [all...] |
| queue_base.cc | 63 Status QueueBase::ValidateTupleCommon(const Tuple& tuple) const { 64 if (tuple.size() != static_cast<size_t>(num_components())) { 66 "Wrong number of components in tuple. Expected ", num_components(), 67 ", got ", tuple.size()); 69 for (size_t i = 0; i < tuple.size(); ++i) { 70 if (tuple[i].dtype() != component_dtypes_[i]) { 72 "Type mismatch in tuple component ", i, ". Expected ", 74 DataTypeString(tuple[i].dtype())); 144 Status QueueBase::ValidateTuple(const Tuple& tuple) [all...] |
| /external/fonttools/Lib/fontTools/pens/ |
| reverseContourPen.py | 49 firstPts = ((firstPts[0],) + tuple(reversed(firstPts[1:-1])) + 69 tuple(lastPts[:-1]) + (firstOnCurve,)) 84 tuple(lastPts[:-1]) + secondPts) 88 contour[-1] = (lastType, tuple(lastPts[:-1]) + (firstOnCurve,)) 95 yield curType, tuple(reversed(curPts[:-1])) + (nextPts[-1],)
|
| /external/icu/icu4c/source/test/intltest/ |
| datadrivennumberformattestsuite.cpp | 210 const NumberFormatTestTuple &tuple, 217 if (tuple.formatFlag && tuple.outputFlag) { 220 tuple, 226 else if (tuple.toPatternFlag || tuple.toLocalizedPatternFlag) { 227 result = isToPatternPass(tuple, appendErrorMessage, status); 228 } else if (tuple.parseFlag && tuple.outputFlag && tuple.outputCurrencyFlag) [all...] |
| /external/python/cpython3/Lib/test/ |
| test_tuple.py | 8 type2test = tuple 11 msg = "tuple indices must be integers or slices" 18 self.assertEqual(tuple(), ()) 20 t0_3_bis = tuple(t0_3) 22 self.assertEqual(tuple([]), ()) 23 self.assertEqual(tuple([0, 1, 2, 3]), (0, 1, 2, 3)) 24 self.assertEqual(tuple(''), ()) 25 self.assertEqual(tuple('spam'), ('s', 'p', 'a', 'm')) 26 self.assertEqual(tuple(x for x in range(10) if x % 2), 31 tuple(sequence=() [all...] |
| /external/libnl/lib/netfilter/ |
| exp_obj.c | 172 static void dump_icmp(struct nl_dump_params *p, struct nfnl_exp *exp, int tuple) 174 if (nfnl_exp_test_icmp(exp, tuple)) { 176 nl_dump(p, "icmp type %d ", nfnl_exp_get_icmp_type(exp, tuple)); 178 nl_dump(p, "code %d ", nfnl_exp_get_icmp_code(exp, tuple)); 180 nl_dump(p, "id %d ", nfnl_exp_get_icmp_id(exp, tuple)); 616 static int exp_get_src_attr(int tuple) 620 switch (tuple) { 638 static int exp_get_dst_attr(int tuple) 642 switch (tuple) { 680 int nfnl_exp_set_src(struct nfnl_exp *exp, int tuple, struct nl_addr *addr [all...] |
| /external/libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
| construct_piecewise_pair.pass.cpp | 18 // tuple<Args1...> x, tuple<Args2...>) 41 // 'tuple<Args1...>' and 'tuple<Args2...>'. 46 #include <tuple> 114 std::tuple<T> t1; 115 std::tuple<U> t2; 129 std::tuple<T> t1; 130 std::tuple<U> t2; 145 std::tuple<T> t1 [all...] |
| /external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
| construct_piecewise_pair.pass.cpp | 19 // tuple<Args1...>, tuple<Args2...>) 24 #include <tuple> 38 std::tuple<TTuple...> ttuple, std::tuple<UTuple...> utuple) 58 void test_pmr_uses_allocator(std::tuple<TTypes...> ttuple, std::tuple<UTypes...> utuple) 87 void test_pmr_not_uses_allocator(std::tuple<TTypes...> ttuple, std::tuple<UTypes...> utuple) 121 std::tuple<> t1 [all...] |
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/ |
| get_const_rv.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // const typename tuple_element<I, tuple<Types...> >::type&& 16 // get(const tuple<Types...>&& t); 20 #include <tuple> 31 typedef std::tuple<int> T; 40 typedef std::tuple<std::string, int> T; 55 std::tuple<int&, int const&> const p(x, y); 65 std::tuple<int&&, int const&&> const p(std::move(x), std::move(y)); 74 typedef std::tuple<double, int> T [all...] |
| /external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/ |
| xray-color-helper.cpp | 24 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialMaps[][9] = { 45 static const std::tuple<uint8_t, uint8_t, uint8_t> SequentialBounds[][2] = { 61 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingCoeffs[][11] = { 72 static const std::tuple<uint8_t, uint8_t, uint8_t> DivergingBounds[][2] = { 81 // Takes a tuple of uint8_ts representing a color in RGB and converts them to 82 // HSV represented by a tuple of doubles 83 static std::tuple<double, double, double> 84 convertToHSV(const std::tuple<uint8_t, uint8_t, uint8_t> &Color) { 119 // RGB represented as a tuple of uint8_ts 120 static std::tuple<uint8_t, uint8_t, uint8_t [all...] |
| /external/google-breakpad/src/testing/include/gmock/internal/ |
| gmock-generated-internal-utils.h | 66 // MatcherTuple<T>::type is a tuple type where each field is a Matcher 67 // for the corresponding field in tuple type T. 68 template <typename Tuple> 72 struct MatcherTuple< ::std::tr1::tuple<> > { 73 typedef ::std::tr1::tuple< > type; 77 struct MatcherTuple< ::std::tr1::tuple<A1> > { 78 typedef ::std::tr1::tuple<Matcher<A1> > type; 82 struct MatcherTuple< ::std::tr1::tuple<A1, A2> > { 83 typedef ::std::tr1::tuple<Matcher<A1>, Matcher<A2> > type; 87 struct MatcherTuple< ::std::tr1::tuple<A1, A2, A3> > [all...] |
| /external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/ |
| gmock-generated-internal-utils.h | 66 // MatcherTuple<T>::type is a tuple type where each field is a Matcher 67 // for the corresponding field in tuple type T. 68 template <typename Tuple> 72 struct MatcherTuple< ::testing::tuple<> > { 73 typedef ::testing::tuple< > type; 77 struct MatcherTuple< ::testing::tuple<A1> > { 78 typedef ::testing::tuple<Matcher<A1> > type; 82 struct MatcherTuple< ::testing::tuple<A1, A2> > { 83 typedef ::testing::tuple<Matcher<A1>, Matcher<A2> > type; 87 struct MatcherTuple< ::testing::tuple<A1, A2, A3> > [all...] |
| /external/grpc-grpc/src/python/grpcio/grpc/beta/ |
| _metadata.py | 43 return tuple(_beta_metadatum(key, value) for key, value in metadata) 50 return tuple(
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| alloc_move_pair.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple(allocator_arg_t, const Alloc& a, pair<U1, U2>&&); 19 #include <tuple> 47 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1;
|
| /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
| make_tuple.pass.cpp | 10 // <tuple> 12 // template <class... Types> class tuple; 15 // tuple<VTypes...> make_tuple(Types&&... t); 19 #include <tuple> 30 std::tuple<int, int&, float&> t = std::make_tuple(1, std::ref(i),
|
| /external/perfetto/include/perfetto/tracing/core/ |
| trace_packet.h | 23 #include <tuple> 88 std::tuple<char*, size_t> GetProtoPreamble();
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/nodes/ |
| NodeTupleTest.java | 45 NodeTuple tuple = new NodeTuple(key, value); local 48 tuple.toString());
|
| /external/tensorflow/tensorflow/python/autograph/utils/ |
| context_managers.py | 46 if not isinstance(return_value, (list, tuple)): 48 return_value = tuple(control_dependency_handle(t) for t in return_value)
|
| /external/v8/src/builtins/ |
| builtins-arguments-gen.h | 29 // argument adapter frames into account. The tuple is of the form: 31 std::tuple<Node*, Node*, Node*> GetArgumentsFrameAndCount(Node* function, 36 // arguments only). A tuple is returned with pointers to the arguments object, 39 std::tuple<Node*, Node*, Node*> AllocateArgumentsObject(
|
| /external/libaom/libaom/test/ |
| warp_filter_test_util.h | 44 typedef ::testing::tuple<int, int, int, warp_affine_func> WarpTestParam; 45 typedef ::testing::tuple<WarpTestParam, int, int, int, int> WarpTestParams; 76 typedef ::testing::tuple<int, int, int, int, highbd_warp_affine_func> 78 typedef ::testing::tuple<HighbdWarpTestParam, int, int, int, int>
|
| /external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
| jit_pch.hpp | 131 #include <tuple>
|
| /external/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/ |
| p9-0x.cpp | 48 struct tuple { }; struct 51 void accept_tuple(tuple<Types...>); 53 void test_explicit_spec_extension_targs(tuple<int, float, double> t3) {
|
| /external/clang/test/CodeGenCXX/ |
| mangle-variadic-templates.cpp | 8 template<typename ...Types> struct tuple { }; struct 50 template<typename ...Types> tuple<Types...> f4() {} 52 template tuple<int, float, double> f4();
|
| /external/clang/test/SemaTemplate/ |
| default-arguments-cxx0x.cpp | 30 template <typename T1, typename T2> class tuple { class in namespace:PR16689 33 constexpr tuple() {} function in class:PR16689::tuple 38 auto x = a<tuple<int, int> >();
|
| /external/elfutils/backends/ |
| sparc_initreg.c | 107 Dwarf_Word tuple = ptrace (PTRACE_PEEKDATA, tid, 113 locals_outs[2*i] = (tuple >> 32) & 0xffffffff; 114 locals_outs[2*i+1] = tuple & 0xffffffff;
|