| /external/python/cpython2/Lib/lib-tk/ |
| tkFont.py | 30 font -- font specifier (name, system font, or (family, size, style)-tuple) 54 return tuple(options) 60 return tuple(options) 169 "Get font families (as a tuple)" 175 "Get names of defined fonts (as a tuple)"
|
| /external/python/cpython2/Lib/test/ |
| test_pep352.py | 119 args = tuple(range(arg_count)) 132 results = ([len(exc.args), 0], [exc.args, tuple()], 178 "tuple" % type(object_)) 224 # Make sure that even if the string exception is listed in a tuple
|
| /external/python/cpython2/Objects/ |
| weakrefobject.c | 946 PyObject *tuple; local 949 tuple = PyTuple_New(count * 2); 950 if (tuple == NULL) { 961 PyTuple_SET_ITEM(tuple, i * 2, (PyObject *) current); 962 PyTuple_SET_ITEM(tuple, i * 2 + 1, current->wr_callback); 972 PyObject *callback = PyTuple_GET_ITEM(tuple, i * 2 + 1); 974 /* The tuple may have slots left to NULL */ 976 PyObject *item = PyTuple_GET_ITEM(tuple, i * 2); 980 Py_DECREF(tuple);
|
| /external/python/cpython3/Lib/distutils/ |
| ccompiler.py | 95 # macro definition is a 2-tuple (name, value), where the value is 97 # undefinition is a 1-tuple (name,). 169 definition, ie. either (name,value) 2-tuple or a (name,) tuple. Do 173 if not (isinstance(defn, tuple) and 178 "must be tuple (string,), (string, string), or " + \ 327 elif isinstance(incdirs, (list, tuple)): 386 elif isinstance(include_dirs, (list, tuple)): 416 if not isinstance(objects, (list, tuple)): 417 raise TypeError("'objects' must be a list or tuple of strings" [all...] |
| /external/python/cpython3/Lib/distutils/tests/ |
| support.py | 85 if isinstance(path, (list, tuple)): 133 for key in tuple(os.environ.keys()):
|
| /external/python/cpython3/Lib/test/ |
| test_baseexception.py | 101 args = tuple(range(arg_count)) 111 results = ([len(exc.args), 0], [exc.args, tuple()], 149 "tuple" % type(object_))
|
| /external/python/cpython3/Lib/tkinter/ |
| font.py | 30 font -- font specifier (name, system font, or (family, size, style)-tuple) 54 return tuple(options) 60 return tuple(options) 178 "Get font families (as a tuple)" 188 "Get names of defined fonts (as a tuple)"
|
| /external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
| test_font.py | 88 self.assertIsInstance(families, tuple) 96 self.assertIsInstance(names, tuple)
|
| /external/skia/modules/skottie/src/ |
| SkottieTest.cpp | 15 #include <tuple> 200 std::vector<std::tuple<std::string, float, float>> fMarkers;
|
| /external/skqp/modules/skottie/src/ |
| SkottieTest.cpp | 15 #include <tuple> 200 std::vector<std::tuple<std::string, float, float>> fMarkers;
|
| /external/snakeyaml/src/main/java/org/yaml/snakeyaml/extensions/compactnotation/ |
| CompactConstructor.java | 140 NodeTuple tuple = list.get(0); local 141 Node key = tuple.getKeyNode();
|
| /external/swiftshader/third_party/SPIRV-Tools/test/ |
| text_to_binary.control_flow_test.cpp | 20 #include <tuple> 80 TestWithParam<std::tuple<spv_target_env, EnumCase<int>>>>;
|
| text_to_binary.mode_setting_test.cpp | 19 #include <tuple> 139 TestWithParam<std::tuple<spv_target_env, EnumCase<SpvExecutionMode>>>>;
|
| /external/swiftshader/third_party/SPIRV-Tools/test/val/ |
| val_non_uniform_test.cpp | 17 #include <tuple> 104 std::tuple<std::string, std::string, SpvScope, std::string, std::string>>;
|
| /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/ |
| RPCSerialization.h | 171 class RPCTypeName<std::tuple<ArgTs...>> { 176 raw_string_ostream(Name) << "std::tuple<" 186 std::mutex RPCTypeName<std::tuple<ArgTs...>>::NameMutex; 188 std::string RPCTypeName<std::tuple<ArgTs...>>::Name; 586 /// SerializationTraits default specialization for std::tuple. 588 class SerializationTraits<ChannelT, std::tuple<ArgTs...>> { 591 /// RPC channel serialization for std::tuple. 592 static Error serialize(ChannelT &C, const std::tuple<ArgTs...> &V) { 596 /// RPC channel deserialization for std::tuple. 597 static Error deserialize(ChannelT &C, std::tuple<ArgTs...> &V) [all...] |
| /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
| Format.h | 32 #include <tuple> 91 std::tuple<Ts...> Vals;
|
| /external/tensorflow/tensorflow/compiler/tests/ |
| gather_nd_op_test.py | 132 expected = params[tuple(indices.T)] 142 expected = params[tuple(indices.T)]
|
| /external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
| cpu_runtime_test.cc | 20 #include <tuple> 134 using MatMulTestParam = std::tuple<MatMulShape, bool, bool, bool>;
|
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| dfs_hlo_visitor_with_default.h | 158 Status HandleTuple(HloInstructionPtr tuple) override { 159 return DefaultAction(tuple);
|
| tuple_points_to_analysis.h | 48 // nested tuple). Each node in this tree corresponds to a single buffer in the 89 // which may produce the tuple subshape at that index. For example, given: 91 // %tuple1 = tuple(...) 92 // %tuple2 = tuple(...) 94 // %nested_tuple = tuple(%select, %tuple1) 103 // tuple_sources() at the index of an array shape (not a tuple) returns the 105 // necessarily are either Tuple instructions, constants, or parameters. 109 // Add a tuple source instruction for the given index. 110 void add_tuple_source(const ShapeIndex& index, HloInstruction* tuple); 181 // DFS visitor that performs tuple points-to analysis. This analysis determine [all...] |
| /external/tensorflow/tensorflow/compiler/xla/tests/ |
| constants_test.cc | 161 // TODO(b/29263943): Support tuple constants. 180 Tuple(&builder, {}); 194 auto tuple = Tuple(&b, {Iota(&b, F32, 3), Iota(&b, F32, 1)}); local 195 FullLike(tuple, 10); // Illegal; can't do FullLike on a tuple.
|
| conv_depthwise_test.cc | 48 ::testing::tuple<DepthwiseConvolution2DSpec, bool>> {}; 113 ::testing::tuple<DepthwiseConvolution2DSpec, bool>>& data) {
|
| grouped_convolution_test.cc | 49 ::testing::tuple<GroupedConvolution2DSpec, bool>> {}; 122 ::testing::tuple<GroupedConvolution2DSpec, bool>>& data) {
|
| /external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
| weighted_quantiles_stream.h | 206 // number of levels and block size and returns them in the tuple. 207 static std::tuple<int64, int64> GetQuantileSpecs(double eps, 292 inline std::tuple<int64, int64>
|
| /external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/ |
| core.py | 49 LabelsLike = tc.Union(np.ndarray, range, list, tuple) 67 or a tuple of tick labels for the axis. 93 labels = tuple(value) 109 self._labels = labels # type: Optional[tuple] 153 @tc.returns(tc.Union(tuple, tensor_shape.Dimension)) 155 """Returns the tf.Dimension or tuple specifying axis ticks.""" 162 @tc.returns(tc.Optional(tuple)) 164 """Returns the tuple containing coordinate labels, else None.""" 176 AxisLike = tc.Union(Axis, tc.Tuple(string_types, AxisValue)) 186 axis_data: Axis object or tuple (axis_name, axis_value) describing an axis [all...] |