/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/clang/test/CXX/temp/temp.decls/temp.variadic/ |
p5.cpp | 4 template<typename ...> struct tuple; 25 typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains parameter packs 'Types' and 'OtherTypes' that have different lengths (3 vs. 2)}} 31 tuple<pair<int, unsigned int>, pair<long, unsigned long> >*il_pairs_2 = il_pairs; 159 typedef tuple<typename Meta<T>::type> type; // expected-error{{declaration type contains unexpanded parameter pack 'Meta'}} 390 template<typename...> struct Tuple {}; 395 typedef Tuple<Pair<Args1, Args2> ... > type; // expected-error{{pack expansion contains parameter packs 'Args1' and 'Args2' that have different lengths (1 vs. 2)}} 399 typedef zip<short, int>::with<unsigned short, unsigned>::type T1; // T1 is Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> 400 typedef Tuple<Pair<short, unsigned short>, Pair<int, unsigned>> T1;
|
/external/libmojo/third_party/jinja2/ |
nodes.py | 71 d[attr] = tuple(storage) 185 """Find all the nodes of a given type. If the type is a tuple, 186 the check is performed for any of the tuple items. 230 tuple(self.iter_fields()) == tuple(other.iter_fields()) 277 :class:`Name` or :class:`Tuple`), `iter` the iterable. `body` is a list 466 class Tuple(Literal): 468 for subscripts. Like for :class:`Name` `ctx` specifies if the tuple 475 return tuple(x.as_const(eval_ctx) for x in self.items)
|
/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/swiftshader/third_party/LLVM/utils/TableGen/ |
CodeGenRegisters.cpp | 193 std::vector<Init*> Tuple; 199 Tuple.push_back(DefInit::get(Reg)); 218 // Replace the sub-register list with Tuple. 220 RV.setValue(ListInit::get(Tuple, RegisterRecTy)); 226 // CostPerUse is aggregated from all Tuple members.
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
xla_client.py | 134 xla_data_pb2.TUPLE: np.dtype(np.object), 188 represents an XLA tuple. 192 assert isinstance(dimensions, tuple) 213 return self.element_type() == xla_data_pb2.TUPLE 217 raise ValueError('Tuple shape has no dimensions') 225 raise ValueError('Shape is not a tuple shape') 242 children = tuple(child.map_leaves(f) for child in self.tuple_shapes()) 257 if not isinstance(minor_to_major, tuple): 258 raise TypeError('minor_to_major must be a tuple') 259 updated = Shape(self.np_dtype, tuple(self.dimensions()), minor_to_major [all...] |
/external/v8/src/compiler/ |
types.h | 462 // Tuple types. 538 static Type* Tuple(Type* first, Type* second, Type* third, Zone* zone) { 539 Type* tuple = TupleType::New(3, zone); local 540 tuple->AsTuple()->InitElement(0, first); 541 tuple->AsTuple()->InitElement(1, second); 542 tuple->AsTuple()->InitElement(2, third); 543 return tuple;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/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...] |
/prebuilts/gdb/linux-x86/lib/python2.7/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...] |
/prebuilts/go/darwin-x86/src/go/types/ |
type.go | 167 // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple. 170 type Tuple struct { 174 // NewTuple returns a new tuple for the given variables. 175 func NewTuple(x ...*Var) *Tuple { 177 return &Tuple{x} 182 // Len returns the number variables of tuple t. 183 func (t *Tuple) Len() int { 190 // At returns the i'th variable of tuple t [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
type.go | 167 // A Tuple represents an ordered list of variables; a nil *Tuple is a valid (empty) tuple. 170 type Tuple struct { 174 // NewTuple returns a new tuple for the given variables. 175 func NewTuple(x ...*Var) *Tuple { 177 return &Tuple{x} 182 // Len returns the number variables of tuple t. 183 func (t *Tuple) Len() int { 190 // At returns the i'th variable of tuple t [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/client/ |
computation_builder.cc | 475 ComputationDataHandle ComputationBuilder::Tuple( [all...] |
/external/v8/src/ast/ |
ast-types.h | 638 // Tuple types. 762 static AstType* Tuple(AstType* first, AstType* second, AstType* third, 764 AstType* tuple = AstTupleType::New(3, zone); local 765 tuple->AsTuple()->InitElement(0, first); 766 tuple->AsTuple()->InitElement(1, second); 767 tuple->AsTuple()->InitElement(2, third); 768 return tuple; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
MathTest.java | 1997 Tuple tuple = TUPLES[i]; local 2043 Tuple tuple = TUPLES[i]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
Python-ast.h | 308 } Tuple;
508 #define Tuple(a0, a1, a2, a3, a4) _Py_Tuple(a0, a1, a2, a3, a4)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
Python-ast.h | 308 } Tuple;
508 #define Tuple(a0, a1, a2, a3, a4) _Py_Tuple(a0, a1, a2, a3, a4)
|
/external/llvm/utils/TableGen/ |
CodeGenRegisters.cpp | 572 std::vector<Init*> Tuple; 578 Tuple.push_back(DefInit::get(Reg)); 604 // Replace the sub-register list with Tuple. 606 RV.setValue(ListInit::get(Tuple, RegisterRecTy)); 612 // CostPerUse is aggregated from all Tuple members. [all...] |
/external/python/cpython2/Include/ |
Python-ast.h | 308 } Tuple; 508 #define Tuple(a0, a1, a2, a3, a4) _Py_Tuple(a0, a1, a2, a3, a4)
|
/external/python/cpython3/Lib/ |
typing.py | 29 'Tuple', 171 isinstance(args[1], tuple)): 340 return tuple(tvars) 482 self.__constraints__ = tuple(_type_check(t, msg) for t in constraints) 540 # Special typing constructs Union, Optional, Generic, Callable and Tuple 542 # * __parameters__ is a tuple of unique free type parameters of a generic 546 # * __args__ is a tuple of all arguments used in subscripting, 559 For example: _subs_tree(List[Tuple[int, T]][str]) == [(Tuple, int, str)] 593 elif isinstance(p, tuple) and len(p) > 0 and p[0] is Union [all...] |
/prebuilts/gdb/darwin-x86/include/python2.7/ |
Python-ast.h | 308 } Tuple; 508 #define Tuple(a0, a1, a2, a3, a4) _Py_Tuple(a0, a1, a2, a3, a4)
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
Python-ast.h | 308 } Tuple; 508 #define Tuple(a0, a1, a2, a3, a4) _Py_Tuple(a0, a1, a2, a3, a4)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/types/ |
type.go | 300 type Tuple struct { 303 // Any tuple with a memory type must put that memory type second. 437 t.Extra = new(Tuple) 487 t.Extra.(*Tuple).first = t1 488 t.Extra.(*Tuple).second = t2 1046 xtup := x.Extra.(*Tuple) 1047 ttup := t.Extra.(*Tuple) 1286 return t.Extra.(*Tuple).first 1288 return t.Extra.(*Tuple).second 1290 panic("bad tuple index" [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/types/ |
type.go | 300 type Tuple struct { 303 // Any tuple with a memory type must put that memory type second. 437 t.Extra = new(Tuple) 487 t.Extra.(*Tuple).first = t1 488 t.Extra.(*Tuple).second = t2 1046 xtup := x.Extra.(*Tuple) 1047 ttup := t.Extra.(*Tuple) 1286 return t.Extra.(*Tuple).first 1288 return t.Extra.(*Tuple).second 1290 panic("bad tuple index" [all...] |