| /external/python/cpython2/Lib/test/ |
| test_deque.py | 253 s = tuple('abcde') 264 self.assertEqual(tuple(d), s) 272 self.assertEqual(tuple(d), tuple(e)) 274 self.assertEqual(tuple(d), s) 276 self.assertEqual(tuple(e), s) 284 self.assertEqual(tuple(d), tuple(e)) 286 self.assertEqual(tuple(d), s) 288 self.assertEqual(tuple(e), s [all...] |
| /external/python/cpython2/Tools/scripts/ |
| reindent.py | 121 if isinstance(newline, tuple): 154 newlines = tuple(sorted(newlines)) 186 if isinstance(self.newlines, tuple):
|
| /external/python/cpython3/Lib/ |
| _osx_support.py | 138 osx_version = tuple(int(i) for i in osx_version.split('.')) 455 macrelease = tuple(int(i) for i in macrelease.split('.')[0:2]) 469 archs = tuple(sorted(set(archs)))
|
| /external/python/cpython3/Lib/email/ |
| headerregistry.py | 125 self._addresses = tuple(addresses) if addresses else tuple() 216 return tuple(self._defects) 364 self._groups = tuple(kw.pop('groups')) 375 self._addresses = tuple(address for group in self._groups
|
| /external/python/cpython3/Lib/test/test_email/ |
| test_headerregistry.py | 111 self.assertIsInstance(h.defects, tuple) 115 self.assertIsInstance(h.defects, tuple) [all...] |
| /external/python/cpython3/Lib/wsgiref/ |
| validate.py | 31 - That wsgi.version is a tuple 73 * That the exc_info argument to start_response is a tuple or None. 330 assert_(type(environ['wsgi.version']) is tuple, 331 "wsgi.version should be a tuple (%r)" % (environ['wsgi.version'],)) 394 assert_(type(item) is tuple, 395 "Individual headers (%r) must be of type tuple: %r" 431 assert_(exc_info is None or type(exc_info) is tuple, 432 "exc_info (%r) is not a tuple: %r" % (exc_info, type(exc_info)))
|
| /external/python/httplib2/tests/ |
| test_other.py | 45 assert tuple(sorted(new_http.__dict__)) == tuple(sorted(http.__dict__)) 58 assert tuple(http.connections) == ("http:random-domain:81",)
|
| /external/scapy/scapy/ |
| data.py | 132 lt = tuple(re.split(spaces, l)) 155 lt = tuple(re.split(spaces, l)) 180 lt = tuple(re.split(spaces, l))
|
| /external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/internal/ |
| gmock-internal-utils.h | 466 // represented as a (pointer, size) tuple. 468 class StlContainerView< ::testing::tuple<ElementPointer, Size> > { 476 const ::testing::tuple<ElementPointer, Size>& array) { 479 static type Copy(const ::testing::tuple<ElementPointer, Size>& array) {
|
| /external/tensorflow/tensorflow/contrib/training/python/training/ |
| bucket_ops.py | 149 A tuple `(bucket, outputs)` where `bucket` is 161 if isinstance(batch_size, (list, tuple)): 255 if isinstance(t, (list, tuple)): 358 A tuple `(sequence_length, outputs)` where `sequence_length` is 369 if not isinstance(bucket_boundaries, (list, tuple)): 371 "bucket_boundaries must be a list or tuple, but received: %s" %
|
| /external/tensorflow/tensorflow/python/autograph/core/ |
| converter.py | 122 """Returns a tuple that enables all options.""" 123 return tuple(cls.__members__.values()) 127 """Returns a tuple that enables all but the excluded options.""" 128 if not isinstance(exclude, (list, tuple, set)): 130 return tuple(set(cls.all()) - set(exclude) - {cls.ALL})
|
| /external/tensorflow/tensorflow/python/autograph/pyct/ |
| templates.py | 38 This transformer can change the ctx fields of a variable, tuple and other 158 elif (repl and isinstance(repl, (list, tuple)) and 225 if isinstance(n, tuple): 226 return tuple(_convert_to_ast(e) for e in n) 233 AST Name and Tuple nodes always receive the context that inferred from
|
| /external/tensorflow/tensorflow/python/framework/ |
| constant_op.py | 260 raise TypeError("Expected Tensor's shape: %s, got %s." % (tuple(shape), 261 tuple(t.shape))) 308 (list, tuple), _constant_tensor_conversion_function, 100)
|
| /external/tensorflow/tensorflow/python/kernel_tests/ |
| atrous_convolution_test.py | 56 tuple(output_spatial_shape) + tuple(filters.shape[-2:]), filters.dtype) 57 output[tuple(np.s_[::rate[i]] for i in range(num_spatial_dims))] = filters
|
| /external/tensorflow/tensorflow/python/ops/ |
| script_ops.py | 45 # Map from EagerPyFunc token to tuple (tape, eager args, eager outputs); 110 if isinstance(ret, (tuple, list)): 214 if isinstance(ret, (tuple, list)): 246 if isinstance(Tout, (list, tuple)): 380 Tout: A list or tuple of tensorflow data types or a single tensorflow data 449 Tout: A list or tuple of tensorflow data types or a single tensorflow data
|
| /art/runtime/verifier/ |
| verifier_deps.h | 157 using ClassResolutionBase = std::tuple<dex::TypeIndex, uint16_t>; 169 using FieldResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>; 182 using MethodResolutionBase = std::tuple<uint32_t, uint16_t, dex::StringIndex>; 197 using TypeAssignabilityBase = std::tuple<dex::StringIndex, dex::StringIndex>;
|
| /cts/tools/utils/ |
| monsoon.py | 381 chan_buffers = tuple([] for _ in range(num_channels)) 383 history_deques = tuple(collections.deque() for _ in range(num_channels)) 418 print fmt % tuple(data_to_print) 424 chan_buffers = tuple(c[need:] for c in chan_buffers)
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
| makechangelog.py | 56 t = time.mktime(tuple(tfields))
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/ |
| misc.py | 5 if isinstance(elt, tuple):
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_contains.py | 69 a = tuple(a)
|
| /external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/ |
| rx_windows_user.h | 69 std::tuple<bool, LRESULT> message(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) {
|
| /external/autotest/client/common_lib/cros/fake_device_server/ |
| common_util_unittest.py | 71 id, api_key, op = common_util.parse_common_args(tuple(), dict())
|
| /external/autotest/client/site_tests/security_SysVIPC/ |
| security_SysVIPC.py | 41 # we ultimately convert to a sorted tuple, we use a set to avoid 46 return tuple(sorted(exes))
|
| /external/autotest/client/tests/reaim/ |
| reaim.py | 95 """ % tuple([max_jobs_per_min] + fields))
|
| /external/autotest/server/site_tests/cheets_GTS/ |
| cheets_GTS.py | 79 args=tuple(command),
|