/external/tensorflow/tensorflow/python/ops/ragged/ |
ragged_functional_ops.py | 111 elif isinstance(value, tuple): 112 return tuple(recurse(v) for v in value)
|
ragged_test_util.py | 54 if not (isinstance(a, (list, tuple)) or isinstance(b, (list, tuple))): 64 if not (isinstance(a, (list, tuple)) or isinstance(b, (list, tuple))): 71 if isinstance(a, (list, tuple)):
|
/external/ImageMagick/coders/ |
debug.c | 175 tuple[MagickPathExtent]; 237 (void) FormatLocaleString(tuple,MagickPathExtent,"%.20g,%.20g,%.20g ", 246 (void) ConcatenateMagickString(tuple,black,MagickPathExtent); 255 (void) ConcatenateMagickString(tuple,alpha,MagickPathExtent); 257 (void) WriteBlobString(image,tuple); 170 tuple[MagickPathExtent]; local
|
txt.c | 730 tuple[MagickPathExtent]; 820 GetColorTuple(&pixel,MagickFalse,tuple); 824 (void) WriteBlobString(image,tuple); 833 (void) CopyMagickString(tuple,"(",MagickPathExtent); 836 ConcatenateColorComponent(&pixel,GrayPixelChannel,compliance,tuple); 839 ConcatenateColorComponent(&pixel,RedPixelChannel,compliance,tuple); 840 (void) ConcatenateMagickString(tuple,",",MagickPathExtent); 842 tuple); 843 (void) ConcatenateMagickString(tuple,",",MagickPathExtent); 845 tuple); 722 tuple[MagickPathExtent]; local [all...] |
/external/libvpx/libvpx/test/ |
codec_factory.h | 13 #include <tuple> 58 std::tuple<const libvpx_test::CodecFactory *, T1> > {}; 63 std::tuple<const libvpx_test::CodecFactory *, T1, T2> > {}; 68 std::tuple<const libvpx_test::CodecFactory *, T1, T2, T3> > {}; 73 std::tuple<const libvpx_test::CodecFactory *, T1, T2, T3, T4> > {};
|
/external/snakeyaml/src/test/java/examples/staticstate/ |
StaticFieldsTest.java | 100 for (NodeTuple tuple : value) { 101 ScalarNode keyNode = (ScalarNode) tuple.getKeyNode(); 103 ScalarNode valueNode = (ScalarNode) tuple.getValueNode(); 106 ScalarNode valueNode = (ScalarNode) tuple.getValueNode(); 109 removed.add(tuple);
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
tuple_ops.cc | 49 VLOG(2) << "HandleSelect for tuple:"; 72 void EmitTuple(const IrArray& tuple, absl::Span<llvm::Value* const> operands, 77 b->CreatePointerCast(operands[i], PrimitiveTypeToIrType(TUPLE, module)), 78 b->CreateInBoundsGEP(tuple.GetBasePointer(), 80 tuple.AnnotateLoadStoreInstructionWithMetadata(store); 84 void EmitTuple(const IrArray& tuple, absl::Span<const IrArray> buffers, 91 llvm_ir::EmitTuple(tuple, buffer_ptrs, b);
|
/external/python/httplib2/tests/ |
test_auth.py | 10 assert tuple(c.iter("bitworking.org"))[0] == ("joe", "password") 11 assert tuple(c.iter(""))[0] == ("joe", "password") 13 assert tuple(c.iter("bitworking.org"))[0] == ("joe", "password") 14 assert len(tuple(c.iter("bitworking.org"))) == 1 15 assert len(tuple(c.iter("wellformedweb.org"))) == 2 16 assert ("fred", "password2") in tuple(c.iter("wellformedweb.org")) 18 assert len(tuple(c.iter("bitworking.org"))) == 0 20 assert ("fred", "password2") in tuple(c.iter("wellformedweb.org")) 21 assert len(tuple(c.iter("bitworking.org"))) == 0 22 assert len(tuple(c.iter(""))) == [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
ast.py | 11 if t is tuple or t is list:
74 return tuple(flatten(self.nodes))
79 return tuple(nodelist)
106 return tuple(flatten(self.nodes))
111 return tuple(nodelist)
137 return tuple(flatten(self.nodes))
142 return tuple(nodelist)
157 return tuple(children)
164 return tuple(nodelist)
179 return tuple(children) [all...] |
/external/python/cpython2/Lib/compiler/ |
ast.py | 11 if t is tuple or t is list: 74 return tuple(flatten(self.nodes)) 79 return tuple(nodelist) 106 return tuple(flatten(self.nodes)) 111 return tuple(nodelist) 137 return tuple(flatten(self.nodes)) 142 return tuple(nodelist) 157 return tuple(children) 164 return tuple(nodelist) 179 return tuple(children [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_alias_analysis_test.cc | 147 // Verify the analysis for a Tuple and GetTupleElement instructions. 153 auto tuple = local 156 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 0)); 158 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 168 // Verify the expected aliasing of the tuple elements. 169 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{}).GetUniqueValue(), 170 GetValueDefinedAt(tuple, /*index=*/{})); 171 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{0}).GetUniqueValue(), 173 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{1}).GetUniqueValue(), 176 // The tuple operand, tuple element, and result of the GTE instruction shoul 203 auto tuple = builder.AddInstruction( local 238 auto tuple = local 284 auto tuple = local 375 auto tuple = local 554 auto tuple = builder.AddInstruction( local 648 auto tuple = builder.AddInstruction( local 747 auto tuple = builder.AddInstruction( local 821 auto tuple = builder.AddInstruction( local [all...] |
tuple_simplifier_test.cc | 59 // A Tuple constructed of a bunch of parameters should not be changed. 75 // A GTE of a tuple parameter should not be changed. 88 // A GTE of a Tuple should be short-circuited. 96 HloInstruction* tuple = builder.AddInstruction( local 99 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 112 // Verify a chain of GTE/Tuple instructions is collapsed. 120 HloInstruction* tuple = builder.AddInstruction( local 123 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 132 op::Negate(op::GetTupleElement(op::Tuple()))); 140 // Verify a nesting of GTE/Tuple instructions is collapsed. Tuples are neste 182 HloInstruction* tuple = local 207 HloInstruction* tuple = local [all...] |
/external/libnetfilter_conntrack/src/conntrack/ |
parse.c | 17 struct __nfct_tuple *tuple, 26 tuple->src.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_SRC-1]); 41 tuple->dst.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_DST-1]); 56 memcpy(&tuple->src.v6, NFA_DATA(tb[CTA_IP_V6_SRC-1]), 72 memcpy(&tuple->dst.v6, NFA_DATA(tb[CTA_IP_V6_DST-1]), 89 struct __nfct_tuple *tuple, 98 tuple->protonum = *(uint8_t *)NFA_DATA(tb[CTA_PROTO_NUM-1]); 113 tuple->l4src.tcp.port = 129 tuple->l4dst.tcp.port = 145 tuple->l4dst.icmp.type [all...] |
snprintf_xml.c | 68 const struct __nfct_tuple *tuple, 72 .s_addr = (type == __ADDR_SRC) ? tuple->src.v4 : tuple->dst.v4, 80 const struct __nfct_tuple *tuple, 85 const void *p = (type == __ADDR_SRC) ? &tuple->src.v6 : &tuple->dst.v6; 96 const struct __nfct_tuple *tuple, 106 switch (tuple->l3protonum) { 108 ret = __snprintf_ipv4_xml(buf+offset, len, tuple, type); 112 ret = __snprintf_ipv6_xml(buf+offset, len, tuple, type) 291 const struct __nfct_tuple *tuple = NULL; local [all...] |
/external/libnl/lib/netfilter/ |
exp.c | 77 static int exp_parse_ip(struct nfnl_exp *exp, int tuple, struct nlattr *attr) 91 err = nfnl_exp_set_src(exp, tuple, addr); 100 err = nfnl_exp_set_dst(exp, tuple, addr); 109 err = nfnl_exp_set_src(exp, tuple, addr); 118 err = nfnl_exp_set_dst(exp, tuple, addr); 132 static int exp_parse_proto(struct nfnl_exp *exp, int tuple, struct nlattr *attr) 144 nfnl_exp_set_l4protonum(exp, tuple, nla_get_u8(tb[CTA_PROTO_NUM])); 151 nfnl_exp_set_ports(exp, tuple, srcport, dstport); 160 nfnl_exp_set_icmp(exp, tuple, icmpid, icmptype, icmpcode); 164 static int exp_parse_tuple(struct nfnl_exp *exp, int tuple, struct nlattr *attr 345 struct nlattr *tuple, *ip, *proto; local [all...] |
/external/libxml2/python/ |
types.c | 486 PyObject *tuple; local 491 tuple = PyTuple_New(2); 492 PyTuple_SetItem(tuple, 0, node); 493 PyTuple_SetItem(tuple, 1, indexIntoNode); 495 ret = tuple; 507 PyObject *tuple; local 515 tuple = PyTuple_New(2); 516 PyTuple_SetItem(tuple, 0, node); 517 PyTuple_SetItem(tuple, 1, indexIntoNode); 519 PyList_SetItem(list, 0, tuple); 525 PyObject *tuple; local [all...] |
/external/autotest/server/cros/network/rf_switch/ |
rf_switch.py | 95 @returns tuple of relay status, status is true if a relay is closed. 101 return tuple(bool(int(x)) for x in status) 136 @returns tuple of verify mode for relays 141 return tuple(bool(int(x)) for x in status) 158 @returns tuple of status where 1 in inverted and 0 for value as-is 163 return tuple(bool(int(x)) for x in status) 170 @returns tuple of verify status for given relays 175 return tuple(bool(int(x)) for x in status) 220 @returns tuple of attenuation value for each enclosure 226 return tuple(attenuations [all...] |
/external/python/cpython3/Modules/ |
parsermodule.c | 18 * produced by Python code as a tuple to the compiler is enabled by 218 PyDoc_STR("Creates a tuple-tree representation of this ST.")}, 376 * This provides conversion from a node* to a tuple object that can be 400 * Convert ST into a tuple representation. Use Guido's function, 435 * Convert ST into a tuple representation. Use Guido's function, 624 /* This is the messy part of the code. Conversion from a tuple to an ST 625 * object requires that the input tuple be valid without having to rely on 633 * the tuple passed in, and verifying that it is indeed valid. It may be 641 static node* build_node_tree(PyObject *tuple); 715 * single tuple object from the caller, and creates an ST object if th 730 PyObject *tuple; local 1063 PyObject *tuple; local [all...] |
/external/tensorflow/tensorflow/core/util/ |
cuda_launch_config.h | 305 std::tuple<Ts...>* tuple, absl::index_sequence<Is...>) { 306 return {{&std::get<Is>(*tuple)...}}; 308 // Returns an array of void pointers to the elements of the given tuple. 311 std::tuple<Ts...>* tuple) { 312 return GetArrayOfElementPointersImpl(tuple, 337 auto args_tuple = std::tuple<Ts...>(arguments...);
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
inspect_utils.py | 44 'tuple': tuple, 63 if not (tf_inspect.isclass(f) and issubclass(f, tuple)): 68 if not isinstance(fields, tuple): 283 owner_types = tuple(o if tf_inspect.isclass(o) else type(o) for o in owners) 285 if tf_inspect.isclass(o) and issubclass(o, tuple(owner_types)): 299 A tuple of future strings 302 return tuple() 303 return tuple(sorted(name for name, value in entity.__globals__.items()
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/ |
apply.pass.cpp | 12 // <tuple> 18 #include <tuple> 49 using Tup = std::tuple<>; 56 using Tup = std::tuple<int>; 63 using Tup = std::tuple<int, long>; 77 using Tup = std::tuple<int, long, int>; 101 template <class Tuple> 105 Tuple args; 136 template <class ...ExpectArgs, class Tuple> 137 void check_apply_quals_and_types(Tuple&& t) [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
range.hpp | 256 return { f, tuple::map(begins(), os) }; 261 return { f, tuple::map(advances_by(size()), 262 tuple::map(begins(), os)) }; 267 return { f, tuple::map(begins(), os) }; 272 return { f, tuple::map(advances_by(size()), 273 tuple::map(begins(), os)) }; 278 return tuple::apply(minimum(), tuple::map(sizes(), os)); 283 std::tuple<Os...> os;
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
p1-0x.cpp | 82 template<typename ...Types> struct tuple { }; struct 85 void pack_not_at_end(tuple<Types...>, Types... values, int); 87 void test_pack_not_at_end(tuple<int*, double*> t2) {
|
/external/libaom/libaom/test/ |
filterintra_test.cc | 25 using ::testing::tuple; 34 typedef tuple<Predictor, Predictor, int> PredFuncMode; 35 typedef tuple<PredFuncMode, TX_SIZE> PredParams;
|
/external/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
assign_tuple_like.pass.cpp | 16 // template<class U, class V> pair& operator=(tuple<U, V>&& p); 19 #include <tuple> 36 using T = std::tuple<int, C>; 50 using T = std::tuple<int, C>;
|