| /external/python/cpython3/Lib/test/ |
| test_copy.py | 751 class C(tuple): 754 self.assertEqual(tuple(x), (1, 2, 3)) 756 self.assertEqual(tuple(y), (1, 2, 3)) 759 class C(tuple): 762 self.assertEqual(tuple(x), ([1, 2], 3)) 764 self.assertEqual(tuple(y), ([1, 2], 3))
|
| /external/python/cpython3/Lib/xmlrpc/ |
| client.py | 25 # 2001-03-28 fl Make sure response tuple is a singleton 107 DateTime dateTime wrapper for an ISO 8601 string or time tuple or 125 dumps Convert an argument tuple or a Fault instance to an XML-RPC 257 # format "yyyymmddThh:mm:ss", as a 9-item time tuple (as returned by 260 # tuple. 263 # a time tuple, or an integer time value. 284 if not isinstance(value, (tuple, time.struct_time)): 292 """DateTime wrapper for an ISO 8601 string or time tuple or 464 the "dumps" method to convert your data (represented as a tuple) 580 dispatch[tuple] = dump_arra [all...] |
| /external/selinux/python/sepolgen/src/sepolgen/ |
| lex.py | 44 # This tuple contains known string types 182 tf.write('_lextokens = set(%s)\n' % repr(tuple(sorted(self.lextokens)))) 529 # state names, this function returns a tuple (states,tokenname) where states 530 # is a tuple of state names and tokenname is the name of the token. For example, 540 states = tuple(parts[1:i]) 545 states = tuple(names) 590 if not isinstance(tokens, (list, tuple)): 591 self.log.error('tokens must be a list or tuple') 635 if not isinstance(self.states, (tuple, list)): 636 self.log.error('states must be defined as a tuple or list' [all...] |
| /external/tensorflow/tensorflow/python/ops/ |
| check_ops.py | [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_marshal.py | 181 t = tuple(self.d.keys())
254 for typ in (int, long, float, complex, tuple, list, dict, set, frozenset):
|
| /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/ |
| rx-combine_latest.hpp | 92 typedef std::tuple<ObservableN...> tuple_source_type; 93 typedef std::tuple<rxu::detail::maybe<typename ObservableN::value_type>...> tuple_source_value_type;
|
| rx-with_latest_from.hpp | 92 typedef std::tuple<ObservableN...> tuple_source_type; 93 typedef std::tuple<rxu::detail::maybe<typename ObservableN::value_type>...> tuple_source_value_type;
|
| rx-zip.hpp | 126 typedef std::tuple<rxu::decay_t<ObservableN>...> tuple_source_type; 127 typedef std::tuple<zip_source_state<ObservableN>...> tuple_source_values_type;
|
| /external/Reactive-Extensions/RxCpp/Rx/v2/test/subscriptions/ |
| subscription.cpp | 131 auto completionstate = std::make_shared<std::tuple<bool, long, rx::subscriber<int>>>(false, 0, std::move(dest)); 240 auto completionstate = std::make_shared<std::tuple<bool, long, rx::subscriber<int>>>(false, 0, std::move(dest));
|
| /external/autotest/client/site_tests/firmware_TouchMTB/ |
| firmware_summary.py | 191 print statistics_format.format(*tuple(stat_scores_data)) 341 '{}' if isinstance(value, tuple) else '{:.2f}')
|
| /external/deqp-deps/SPIRV-Tools/source/val/ |
| validation_state.h | 21 #include <tuple> 550 // Returns tuple <is_int32, is_const_int32, value>. 553 std::tuple<bool, bool, uint32_t> EvalInt32IfConst(uint32_t id);
|
| /external/deqp-deps/SPIRV-Tools/test/ |
| binary_to_text_test.cpp | 17 #include <tuple> 229 ::testing::TestWithParam<std::tuple<spv_target_env, std::string>>>;
|
| /external/deqp-deps/SPIRV-Tools/test/val/ |
| val_version_test.cpp | 16 #include <tuple> 28 std::tuple<spv_target_env, spv_target_env, std::string, bool>>;
|
| /external/fonttools/Lib/fontTools/ttLib/tables/ |
| _g_l_y_f.py | 199 if not isinstance(element, tuple): 446 if not isinstance(element, tuple): 477 if not isinstance(element, tuple): [all...] |
| _p_o_s_t.py | 239 if not isinstance(element, tuple): 247 if not isinstance(element, tuple):
|
| _t_r_a_k.py | 118 if not isinstance(element, tuple): 276 if not isinstance(element, tuple):
|
| /external/fonttools/Lib/fontTools/varLib/ |
| featureVars.py | 110 key = tuple(sorted(hashdict(cleanupBox(k)) for k in key)) 363 subst = tuple(sorted(substitutionMap.items()))
|
| /external/fonttools/Lib/fontTools/voltLib/ |
| ast.py | 106 return tuple(glyphs) 136 return tuple(self.parser.glyph_range(self.start, self.end))
|
| /external/gemmlowp/test/ |
| benchmark_all_sizes.cc | 125 typedef std::tuple<OutputStageQuantizeDownInt32ToUint8ScaleByFixedPoint, 177 typedef std::tuple<> EmptyPipeline;
|
| /external/google-benchmark/ |
| mingw.py | 72 version = tuple([int(n) for n in value[0].strip().split('.')]) 250 Converts a version string into a tuple 253 version = tuple(int(v) for v in string.split('.'))
|
| /external/grpc-grpc/tools/codegen/core/ |
| gen_static_metadata.py | 29 # A 2-tuple represents a static grpc_mdelem (and appropriate grpc_mdstrs will 31 # A 3-tuple represents a static grpc_mdelem (and appropriate grpc_mdstrs will 231 if isinstance(elem, tuple): 262 if isinstance(elem, tuple):
|
| /external/libaom/libaom/test/ |
| av1_inv_txfm2d_test.cc | 43 typedef ::testing::tuple<TX_TYPE, TX_SIZE, int, double> AV1InvTxfm2dParam; 242 typedef ::testing::tuple<const LbdInvTxfm2dFunc> AV1LbdInvTxfm2dParam;
|
| cdef_test.cc | 31 typedef ::testing::tuple<cdef_filter_block_func, cdef_filter_block_func, 188 typedef ::testing::tuple<find_dir_t, find_dir_t> find_dir_param_t;
|
| masked_sad_test.cc | 36 typedef ::testing::tuple<MaskedSADFunc, MaskedSADFunc> MaskedSADParam; 123 typedef ::testing::tuple<HighbdMaskedSADFunc, HighbdMaskedSADFunc>
|
| masked_variance_test.cc | 40 typedef ::testing::tuple<MaskedSubPixelVarianceFunc, MaskedSubPixelVarianceFunc> 173 typedef ::testing::tuple<MaskedSubPixelVarianceFunc, MaskedSubPixelVarianceFunc,
|