/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_raise.py | 29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple 53 if is_tuple(exc): 54 while is_tuple(exc): 67 if is_tuple(val):
|
D | fix_throw.py | 14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple 40 if is_tuple(val):
|
D | fix_except.py | 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms 77 if is_tuple(N) or is_list(N):
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_raise.py | 29 from ..fixer_util import Name, Call, Attr, ArgList, is_tuple 53 if is_tuple(exc): 54 while is_tuple(exc): 67 if is_tuple(val):
|
D | fix_throw.py | 14 from ..fixer_util import Name, Call, ArgList, Attr, is_tuple 40 if is_tuple(val):
|
D | fix_except.py | 28 from ..fixer_util import Assign, Attr, Name, is_tuple, is_list, syms 77 if is_tuple(N) or is_list(N):
|
D | fix_print.py | 21 from ..fixer_util import Name, Call, Comma, String, is_tuple
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_util.py | 32 def is_tuple(self, string): member in Test_is_tuple 33 return fixer_util.is_tuple(parse(string, strip_levels=2)) 36 self.assertTrue(self.is_tuple("(a, b)")) 37 self.assertTrue(self.is_tuple("(a, (b, c))")) 38 self.assertTrue(self.is_tuple("((a, (b, c)),)")) 39 self.assertTrue(self.is_tuple("(a,)")) 40 self.assertTrue(self.is_tuple("()")) 43 self.assertFalse(self.is_tuple("(a)")) 44 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_util.py | 29 def is_tuple(self, string): member in Test_is_tuple 30 return fixer_util.is_tuple(parse(string, strip_levels=2)) 33 self.assertTrue(self.is_tuple("(a, b)")) 34 self.assertTrue(self.is_tuple("(a, (b, c))")) 35 self.assertTrue(self.is_tuple("((a, (b, c)),)")) 36 self.assertTrue(self.is_tuple("(a,)")) 37 self.assertTrue(self.is_tuple("()")) 40 self.assertFalse(self.is_tuple("(a)")) 41 self.assertFalse(self.is_tuple("('foo') % (b, c)"))
|
/external/tensorflow/tensorflow/compiler/xla/python_api/ |
D | xla_shape.py | 74 def is_tuple(self): member in Shape 78 if self.is_tuple(): 91 if not self.is_tuple():
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | buffer_assignment.h | 93 return !is_thread_local() && !is_tuple(); in is_reusable() 106 bool is_tuple() const { return is_tuple_; } in is_tuple() function 107 void set_is_tuple(bool is_tuple) { is_tuple_ = is_tuple; } in set_is_tuple() argument
|
D | hlo.proto | 381 bool is_tuple = 11; field
|
/external/python/cpython3/Lib/test/ |
D | test_future.py | 133 self, annotation, expected=None, drop_parens=False, is_tuple=False, argument 137 expected = annotation if not is_tuple else annotation[1:-1]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_transfer_manager.h | 71 absl::Span<const std::pair<void*, int64>> buffer_data, bool is_tuple);
|
D | cpu_transfer_manager.cc | 243 absl::Span<const std::pair<void*, int64>> buffer_data, bool is_tuple) { in TransferBuffersFromOutfeedInternal() argument 279 if (is_tuple) { in TransferBuffersFromOutfeedInternal()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client.py | 530 def is_tuple(self): member in Shape 537 if not self.is_tuple(): 543 if self.is_tuple(): 577 if self.is_tuple(): 586 if self.is_tuple(): 614 if self.is_tuple():
|
/external/libxml2/python/ |
D | libxml.c | 3494 int is_tuple = 0; in PyxmlNodeSet_Convert() local 3497 is_tuple = 1; in PyxmlNodeSet_Convert() 3499 is_tuple = 0; in PyxmlNodeSet_Convert() 3517 nodeSet->nodeMax = (is_tuple in PyxmlNodeSet_Convert() 3535 PyxmlNode_Get (is_tuple in PyxmlNodeSet_Convert() 3553 int is_tuple = 0; in PystringSet_Convert() local 3558 is_tuple = 1; in PystringSet_Convert() 3560 is_tuple = 0; in PystringSet_Convert() 3571 count = (is_tuple in PystringSet_Convert() 3588 (is_tuple in PystringSet_Convert()
|
/external/libchrome/third_party/jinja2/ |
D | parser.py | 614 is_tuple = False 622 is_tuple = True 627 if not is_tuple:
|
/external/python/cpython3/Lib/lib2to3/ |
D | fixer_util.py | 158 def is_tuple(node): function
|
/external/python/cpython2/Lib/lib2to3/ |
D | fixer_util.py | 137 def is_tuple(node): function
|