| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
| string_format.h | 1102 PyObject *tuple = NULL; local [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
| exceptions.c | 671 PyObject *tuple;
local 682 tuple = PyTuple_New(3);
683 if (!tuple) {
691 PyTuple_SET_ITEM(tuple, 0, self->myerrno);
695 PyTuple_SET_ITEM(tuple, 0, Py_None);
699 PyTuple_SET_ITEM(tuple, 1, self->strerror);
703 PyTuple_SET_ITEM(tuple, 1, Py_None);
706 PyTuple_SET_ITEM(tuple, 2, repr);
708 rtnval = PyString_Format(fmt, tuple);
711 Py_DECREF(tuple);
715 PyObject *tuple; local 902 PyObject *tuple; local 946 PyObject *tuple; local [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
| string_format.h | 1105 PyObject *tuple = NULL; local [all...] |
| /external/python/cpython2/Objects/ |
| exceptions.c | 665 PyObject *tuple; local 676 tuple = PyTuple_New(3); 677 if (!tuple) { 685 PyTuple_SET_ITEM(tuple, 0, self->myerrno); 689 PyTuple_SET_ITEM(tuple, 0, Py_None); 693 PyTuple_SET_ITEM(tuple, 1, self->strerror); 697 PyTuple_SET_ITEM(tuple, 1, Py_None); 700 PyTuple_SET_ITEM(tuple, 2, repr); 702 rtnval = PyString_Format(fmt, tuple); 705 Py_DECREF(tuple); 709 PyObject *tuple; local 896 PyObject *tuple; local 940 PyObject *tuple; local [all...] |
| /external/python/cpython2/Objects/stringlib/ |
| string_format.h | 1070 /* returns a tuple: 1102 PyObject *tuple = NULL; local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/ |
| literal_util_test.cc | 159 auto tuple = Literal::MakeTuple({scalar.get(), matrix.get()}); local 167 ASSERT_EQ(expected, tuple->ToString()); 291 std::vector<std::tuple<int64, int64, string>> seen; 297 using Elem = std::tuple<int64, int64, string>; 361 // Tuple with the same elements. One element is shared with the original 362 // tuple, the other is a clone of the element in the original tuple. 367 // Tuple with elements reversed. 371 // Tuple with different value. 381 // Tuple with the same elements. One element is shared with the origina 393 auto tuple = Literal::MakeTuple({element1.get(), element1.get()}); local 404 auto tuple = Literal::MakeTuple({scalar.get(), matrix.get()}); local 956 auto tuple = Literal::MakeTuple({Literal::CreateR0<int32>(-5).get(), local 979 auto tuple = Literal::MakeTuple( local 1301 auto tuple = Literal::MakeTuple({scalar.get(), matrix.get()}); local 1323 auto tuple = Literal::MakeTuple({scalar.get(), matrix.get()}); local 1346 auto tuple = Literal::MakeTuple({scalar.get(), matrix.get()}); local 1471 auto tuple = Literal::MakeTuple( local 1499 std::unique_ptr<Literal> tuple = local 1524 auto tuple = Literal::MakeTuple( local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| copy_insertion_test.cc | 87 // Computation is a single parameter passed into a tuple. The parameter should 88 // be copied before entering the tuple. 92 HloInstruction* tuple = local 95 EXPECT_THAT(x->users(), UnorderedElementsAre(tuple)); 103 op::Tuple(op::Copy(x))); 107 // Computation is a single constant passed into a tuple. The parameter should 108 // be copied before entering the tuple. 112 HloInstruction* tuple = local 115 EXPECT_THAT(constant->users(), UnorderedElementsAre(tuple)); 124 op::Tuple(op::Copy(constant))) 734 auto tuple = xla_while->parent()->AddInstruction( local 1319 auto tuple = builder.AddInstruction( local 1384 auto tuple = builder.AddInstruction( local 1442 auto tuple = local [all...] |
| hlo_dataflow_analysis_test.cc | 143 // Verify the dataflow through a Tuple and GetTupleElement instructions. 149 auto tuple = local 152 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 0)); 154 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 162 // The two params, tuple, and add should each define one value. 167 EXPECT_TRUE(analysis.ValueIsDefinedAt(tuple, /*index=*/{})); 168 EXPECT_FALSE(analysis.ValueIsDefinedAt(tuple, /*index=*/{0})); 169 EXPECT_FALSE(analysis.ValueIsDefinedAt(tuple, /*index=*/{1})); 177 UnorderedElementsAre(HloPosition{param0, {}}, HloPosition{tuple, {0}}, 181 UnorderedElementsAre(HloPosition{param1, {}}, HloPosition{tuple, {1}} 204 auto tuple = builder.AddInstruction( local 505 auto tuple = builder.AddInstruction( local 606 auto tuple = builder.AddInstruction( local 697 auto tuple = builder.AddInstruction( local 792 auto tuple = builder.AddInstruction( local 1049 auto tuple = local 1128 auto tuple = local [all...] |
| hlo_instruction_test.cc | 438 // Construct a tuple containing several parameters. Replace one parameter with 439 // another in the tuple. 448 auto tuple = local 456 EXPECT_THAT(foo->users(), UnorderedElementsAre(tuple, add_foobar)); 458 // Replace the use of foo in tuple with bar. 459 ASSERT_IS_OK(foo->ReplaceUseWith(tuple, bar)); 463 // Both uses of foo in tuple should have been replaced with bar. 464 EXPECT_THAT(tuple->operands(), ElementsAre(bar, bar, baz, bar)); 546 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({foo, bar})); local 559 EXPECT_THAT(bar->users(), UnorderedElementsAre(add_foobar, exp, tuple)); 736 auto* tuple = local 814 auto tuple = local [all...] |
| shape_inference_test.cc | 111 Shape tuple = ShapeUtil::MakeTupleShape({s32_, f32_}); local 113 TernaryOperation::TRIOP_SELECT, pred_, tuple, tuple); 115 ASSERT_TRUE(ShapeUtil::Equal(tuple, inferred_status.ValueOrDie())); 153 // Tuples have a TUPLE element type and cannot be the pred of a select. 1312 Shape tuple = ShapeUtil::MakeTupleShape({vector_32_}); local [all...] |
| algebraic_simplifier_test.cc | 582 HloInstruction* tuple = local 585 HloInstruction::CreateGetTupleElement(r0f32, tuple, 1)); [all...] |
| buffer_assignment_test.cc | 121 // param[(s32,f32[4])] --- get-tuple-element[0] --- less-than 142 // /--- get-tuple-elementv[1] --- addv ---\ 143 // param[(s32,f32[4])] ---| tuple 144 // \--- get-tuple-elementc[0] --- addc ---/ 309 // Create a tuple with non-const and const elements and check that 318 auto tuple = builder.AddInstruction( local 326 EXPECT_EQ(buffers->HasTopLevelAllocation(tuple), 327 buffers->HasAllocationAt(tuple, /*index=*/{})); 329 buffers->HasAllocationAt(tuple, /*index=*/{0})); 331 buffers->HasAllocationAt(tuple, /*index=*/{1})) 699 auto tuple = local 906 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({negate})); local 1388 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple({param})); local [all...] |
| /external/tensorflow/tensorflow/python/ops/ |
| control_flow_ops.py | 21 @@tuple 89 # We override the 'tuple' for a control flow op, so we keep python's 90 # existing 'tuple' for later use in this module. 91 _basetuple = tuple 459 A tuple containing the chosen input tensor and its index in `inputs`. 3437 def tuple(tensors, name=None, control_inputs=None): # pylint: disable=redefined-builtin function [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...] |
| /system/extras/simpleperf/ |
| cmd_record.cpp | 1312 auto tuple = SplitUrlInApk(dso->Path()); local [all...] |
| /external/googletest/googlemock/include/gmock/ |
| gmock-matchers.h | 723 // An internal helper class for doing compile-time loop on a tuple's 820 // TransformTupleValues uses to implement a tuple traversal. 821 template <typename Tuple, typename Func, typename OutIter> 824 typedef ::testing::tuple_size<Tuple> TupleSize; 827 // For each member of tuple 't', taken in order, evaluates '*out++ = f(t)'. 829 static OutIter Run(Func f, const Tuple& t, OutIter out) { 830 return IterateOverTuple<Tuple, TupleSize::value>()(f, t, out); 849 // Successively invokes 'f(element)' on each element of the tuple 't', 852 template <typename Tuple, typename Func, typename OutIter> 853 OutIter TransformTupleValues(Func f, const Tuple& t, OutIter out) [all...] |
| /external/v8/testing/gmock/include/gmock/ |
| gmock-matchers.h | 723 // An internal helper class for doing compile-time loop on a tuple's 820 // TransformTupleValues uses to implement a tuple traversal. 821 template <typename Tuple, typename Func, typename OutIter> 824 typedef ::testing::tuple_size<Tuple> TupleSize; 827 // For each member of tuple 't', taken in order, evaluates '*out++ = f(t)'. 829 static OutIter Run(Func f, const Tuple& t, OutIter out) { 830 return IterateOverTuple<Tuple, TupleSize::value>()(f, t, out); 849 // Successively invokes 'f(element)' on each element of the tuple 't', 852 template <typename Tuple, typename Func, typename OutIter> 853 OutIter TransformTupleValues(Func f, const Tuple& t, OutIter out) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
| _testcapimodule.c | 792 PyObject *tuple, *num;
local 795 tuple = PyTuple_New(1);
796 if (tuple == NULL)
803 PyTuple_SET_ITEM(tuple, 0, num);
806 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0)
817 PyTuple_SET_ITEM(tuple, 0, num);
820 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0)
826 Py_DECREF(tuple);
833 /* Test tuple argument processing */
968 PyObject *tuple, *num; local 1028 PyObject *tuple, *obj; local 1112 PyObject *tuple, *dict = NULL; local 1204 PyObject *tuple = PyTuple_Pack(2, o1, o2); local [all...] |
| /external/ImageMagick/MagickWand/ |
| drawing-wand.c | 291 tuple[MagickPathExtent]; 304 GetColorTuple(&pixel,MagickTrue,tuple); 305 (void) MVGPrintf(wand,"%s",tuple); 287 tuple[MagickPathExtent]; local [all...] |
| /external/python/cpython2/Modules/ |
| _testcapimodule.c | 892 PyObject *tuple, *num; local 895 tuple = PyTuple_New(1); 896 if (tuple == NULL) 903 PyTuple_SET_ITEM(tuple, 0, num); 906 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0) 917 PyTuple_SET_ITEM(tuple, 0, num); 920 if (PyArg_ParseTuple(tuple, "L:test_L_code", &value) < 0) 926 Py_DECREF(tuple); 1047 /* Test tuple argument processing */ 1182 PyObject *tuple, *num; local 1562 PyObject *tuple, *obj; local 1681 PyObject *tuple, *dict = NULL; local 1778 PyObject *tuple = PyTuple_Pack(2, o1, o2); local [all...] |
| /external/python/cpython3/Modules/ |
| _testbuffer.c | 32 #v " must be a list or a tuple"); \ 299 For compound types, a single item is a tuple of integers. */ 1834 PyObject *tuple = key; local 1982 PyObject *tuple, *x; local [all...] |
| /external/python/cpython3/Objects/ |
| abstract.c | 2301 PyObject *tuple; local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
| ir_emitter_unnested.cc | 147 // dereferencing a containing tuple. 149 // In particular, when XLA accepts a parameter of tuple type, the caller has the 150 // option of telling XLA what are the values inside of the tuple, or just giving 151 // XLA a pointer to the top-level tuple and letting us chase the pointers on the 172 // to dereference a tuple. 202 // pointers in a tuple). 358 // BatchNormTraining returns a tuple of three elements: data, calculated 388 // BatchNormGrad returns a tuple of three elements: grad_data, grad_scale, 642 std::tuple<bool, Shape, Shape> IsTranspose021(const Shape& a, const Shape& b) { 1935 auto tuple = result.ConsumeValueOrDie(); local [all...] |
| /frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
| BaseRecyclerViewInstrumentationTest.java | 1055 int[] tuple = fromToTuples[i]; local [all...] |