| /external/python/cpython2/Objects/ |
| weakrefobject.c | 944 PyObject *tuple; local 947 tuple = PyTuple_New(count * 2); 948 if (tuple == NULL) { 959 PyTuple_SET_ITEM(tuple, i * 2, (PyObject *) current); 960 PyTuple_SET_ITEM(tuple, i * 2 + 1, current->wr_callback); 970 PyObject *callback = PyTuple_GET_ITEM(tuple, i * 2 + 1); 972 /* The tuple may have slots left to NULL */ 974 PyObject *item = PyTuple_GET_ITEM(tuple, i * 2); 978 Py_DECREF(tuple);
|
| codeobject.c | 32 intern_strings(PyObject *tuple) 36 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) { 37 PyObject *v = PyTuple_GET_ITEM(tuple, i); 41 PyString_InternInPlace(&PyTuple_GET_ITEM(tuple, i)); 47 intern_string_constants(PyObject *tuple) 52 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) { 53 PyObject *v = PyTuple_GET_ITEM(tuple, i); 59 PyTuple_SET_ITEM(tuple, i, v); 80 PyTuple_SET_ITEM(tuple, i, v); 218 /* Helper for code_new: return a shallow copy of a tuple that i 476 PyObject *tuple; local 504 PyObject *tuple, *set; local [all...] |
| /external/python/cpython3/Objects/ |
| weakrefobject.c | 922 PyObject *tuple; local 925 tuple = PyTuple_New(count * 2); 926 if (tuple == NULL) { 937 PyTuple_SET_ITEM(tuple, i * 2, (PyObject *) current); 938 PyTuple_SET_ITEM(tuple, i * 2 + 1, current->wr_callback); 948 PyObject *callback = PyTuple_GET_ITEM(tuple, i * 2 + 1); 950 /* The tuple may have slots left to NULL */ 952 PyObject *item = PyTuple_GET_ITEM(tuple, i * 2); 956 Py_DECREF(tuple);
|
| codeobject.c | 44 intern_strings(PyObject *tuple) 48 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) { 49 PyObject *v = PyTuple_GET_ITEM(tuple, i); 53 PyUnicode_InternInPlace(&PyTuple_GET_ITEM(tuple, i)); 59 intern_string_constants(PyObject *tuple) 64 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) { 65 PyObject *v = PyTuple_GET_ITEM(tuple, i); 71 PyTuple_SET_ITEM(tuple, i, v); 92 PyTuple_SET_ITEM(tuple, i, v); 276 /* Helper for code_new: return a shallow copy of a tuple that i 528 PyObject *tuple; local 556 PyObject *tuple, *set; local [all...] |
| /external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/ |
| ParserImpl.java | 222 VersionTagsTuple tuple = processDirectives(); local 229 event = new DocumentStartEvent(startMark, endMark, true, tuple.getVersion(), 230 tuple.getTags()); [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| batchnorm_expander.cc | 219 auto tuple = add(HloInstruction::CreateTuple({sum, squared_sum})); local 222 {tuple, sum, squared_sum, operand_squared}, 283 auto tuple = HloInstruction::CreateTuple({shifted_normalized, mean, var}); local 298 tuple->set_sharding(batch_norm->sharding()); 300 TF_CHECK_OK(ReplaceWithNewInstruction(batch_norm, std::move(tuple))); 515 auto tuple = add(HloInstruction::CreateTuple( local 519 {tuple, sum_grad_output_times_activiation_minus_mean, grad_beta}, 577 auto tuple = local 592 tuple->set_sharding(batch_norm->sharding()); 595 TF_CHECK_OK(ReplaceWithNewInstruction(batch_norm, std::move(tuple))); [all...] |
| heap_simulator_test.cc | 384 auto tuple = local 387 // The buffers for dot0, dot1 and tuple are the output. No buffers can be 392 {paramA, paramX, mul, paramY, dot0, dot1, tuple}); 401 {kAlloc, tracker.BufferAt(tuple, {})}, 408 {kFree, tracker.BufferAt(tuple, {})}, 466 // the param elements, so the param tuple can immediately be freed. [all...] |
| layout_assignment_test.cc | 183 // Verify the layouts of a tuple are assigned properly (the element layouts 192 auto tuple = builder.AddInstruction( local 195 // To avoid having to construct a tuple layout in the ComputationLayout below, 198 HloInstruction::CreateGetTupleElement(constant0->shape(), tuple, 0)); 213 EXPECT_TRUE(LayoutUtil::HasLayout(tuple->shape())); 217 ShapeUtil::GetTupleElementShape(tuple->shape(), 1), constant1->shape())); 221 // Verify layouts of a select with tuple operands is assigned properly. 257 // elements of a tuple which share the same source logicalb buffer: 260 // %inner_tuple = Tuple(%constant) 261 // %nested_tuple = Tuple(%inner_tuple, %inner_tuple 459 auto tuple = builder.AddInstruction( local 674 auto tuple = local [all...] |
| tuple_points_to_analysis_test.cc | 130 auto tuple = builder.AddInstruction( local 139 EXPECT_TRUE(points_to_analysis_->GetPointsToSet(tuple).IsDistinct()); 147 EXPECT_EQ(3, points_to_analysis_->GetPointsToSet(tuple).size()); 148 EXPECT_FALSE(points_to_analysis_->GetPointsToSet(tuple).IsAmbiguous()); 149 EXPECT_THAT(points_to_analysis_->GetPointsToSet(tuple).tuple_sources({}), 150 UnorderedElementsAre(tuple)); 153 points_to_analysis_->GetPointsToSet(tuple).CreateFlattenedSet(), 154 {constant1, constant2, tuple}); 156 points_to_analysis_->GetPointsToSet(tuple).element({}), {tuple}); 188 auto tuple = builder.AddInstruction( local 249 auto tuple = builder.AddInstruction( local 274 auto tuple = builder.AddInstruction( local 297 auto tuple = builder.AddInstruction( local 527 auto tuple = local 585 auto tuple = builder.AddInstruction( local [all...] |
| hlo_alias_analysis_test.cc | 144 // Verify the analysis for a Tuple and GetTupleElement instructions. 150 auto tuple = local 153 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 0)); 155 HloInstruction::CreateGetTupleElement(scalar_shape_, tuple, 1)); 164 // Verify the expected aliasing of the tuple elements. 165 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{}).GetUniqueValue(), 166 GetValueDefinedAt(tuple, /*index=*/{})); 167 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{0}).GetUniqueValue(), 169 EXPECT_EQ(analysis.GetUniqueBufferAt(tuple, /*index=*/{1}).GetUniqueValue(), 172 // The tuple operand, tuple element, and result of the GTE instruction shoul 199 auto tuple = builder.AddInstruction( local 358 auto tuple = builder.AddInstruction( local 451 auto tuple = builder.AddInstruction( local 549 auto tuple = builder.AddInstruction( local 622 auto tuple = builder.AddInstruction( local [all...] |
| hlo_evaluator_test.cc | 20 #include <tuple> 1575 auto tuple = local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/tests/ |
| conditional_test.cc | 28 builder.Parameter(0, empty_tuple_, "tuple"); 80 auto tuple = builder.Parameter(0, tuple_shape, "tuple"); local 81 auto x = builder.GetTupleElement(tuple, 0); 82 auto y = builder.GetTupleElement(tuple, 1); 85 builder.Tuple({x_ceil, y_ceil}); 102 auto tuple = builder.Parameter(0, tuple_shape, "tuple"); local 103 auto x = builder.GetTupleElement(tuple, 0); 104 auto y = builder.GetTupleElement(tuple, 1) 124 auto tuple = builder.Parameter(0, tuple_shape, "tuple"); local 144 auto tuple = builder.Parameter(0, tuple_shape, "tuple"); local [all...] |
| batch_normalization_test.cc | 231 auto tuple = builder.BatchNormTraining(operand, scale, offset, local 255 auto tuple = builder.BatchNormTraining(operand, scale, offset, local 286 auto tuple = builder.BatchNormTraining(h0, h1, h2, local 319 auto tuple = builder.BatchNormTraining(h0, h1, h2, local [all...] |
| while_test.cc | 297 // of the result tuple. 304 // tuple = tuple { while } 348 builder.Tuple({result}); 388 auto result = builder.Tuple( 395 auto init = builder.Tuple( 441 auto result = builder.Tuple( 448 auto init = builder.Tuple( 463 // Tests a while node when the result type T is a Tuple. 465 // tuple<int32, vector<float>> result(0, vector<float>(10, 0.0f)) 1035 auto tuple = local 1076 auto tuple = body.Tuple( local [all...] |
| /system/extras/simpleperf/ |
| dso.cpp | 165 std::tuple<bool, std::string, std::string> tuple = local 168 std::get<0>(tuple) ? std::get<1>(tuple) : path_in_symfs; 479 auto tuple = SplitUrlInApk(GetDebugFilePath()); local 480 CHECK(std::get<0>(tuple)); 482 std::get<1>(tuple), std::get<2>(tuple), build_id,
|
| /art/runtime/verifier/ |
| verifier_deps.cc | 598 static inline void EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2>& t) { 604 static inline void DecodeTuple(const uint8_t** in, const uint8_t* end, std::tuple<T1, T2>* t) { 611 static inline void EncodeTuple(std::vector<uint8_t>* out, const std::tuple<T1, T2, T3>& t) { 618 static inline void DecodeTuple(const uint8_t** in, const uint8_t* end, std::tuple<T1, T2, T3>* t) { 647 T tuple; local 648 DecodeTuple(in, end, &tuple); 649 set->emplace(tuple); [all...] |
| /external/ImageMagick/MagickCore/ |
| compress.c | 237 tuple[6]; 251 tuple[0]='z'; 252 tuple[1]='\0'; 253 return(tuple); 260 tuple[i]=(char) (x+(int) '!'); 263 tuple[4]=(char) ((code % 85L)+(int) '!'); 264 tuple[5]='\0'; 265 return(tuple); 285 *tuple; 297 tuple=Ascii85Tuple(image->ascii85->buffer) 233 tuple[6]; local 281 *tuple; local [all...] |
| /external/iptables/extensions/ |
| libxt_conntrack.c | 44 struct ip_conntrack_old_tuple tuple[IP_CT_DIR_MAX]; member in struct:xt_conntrack_info 349 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum = cb->val.protocol; 352 if (sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum == 0 362 sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip = cb->val.haddr.ip; 368 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.ip = cb->val.haddr.ip; 374 sinfo->tuple[IP_CT_DIR_REPLY].src.ip = cb->val.haddr.ip; 380 sinfo->tuple[IP_CT_DIR_REPLY].dst.ip = cb->val.haddr.ip; 709 printf(" %u", sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum); 718 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_ORIGINAL].src.ip, 730 (struct in_addr *)&sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.ip [all...] |
| /external/python/cpython3/Modules/ |
| parsermodule.c | 18 * produced by Python code as a tuple to the compiler is enabled by 219 PyDoc_STR("Creates a tuple-tree representation of this ST.")}, 407 * This provides conversion from a node* to a tuple object that can be 431 * Convert ST into a tuple representation. Use Guido's function, 466 * Convert ST into a tuple representation. Use Guido's function, 655 /* This is the messy part of the code. Conversion from a tuple to an ST 656 * object requires that the input tuple be valid without having to rely on 664 * the tuple passed in, and verifying that it is indeed valid. It may be 672 static node* build_node_tree(PyObject *tuple); 746 * single tuple object from the caller, and creates an ST object if th 761 PyObject *tuple; local 1066 PyObject *tuple; local [all...] |
| /external/python/cpython3/Objects/stringlib/ |
| unicode_format.h | 982 /* returns a tuple: 1014 PyObject *tuple = NULL; local 1045 tuple = PyTuple_Pack(4, literal_str, field_name_str, format_spec_str [all...] |
| /external/v8/src/compiler/ |
| types.h | 462 // Tuple types. 538 static Type* Tuple(Type* first, Type* second, Type* third, Zone* zone) { 539 Type* tuple = TupleType::New(3, zone); local 540 tuple->AsTuple()->InitElement(0, first); 541 tuple->AsTuple()->InitElement(1, second); 542 tuple->AsTuple()->InitElement(2, third); 543 return tuple;
|
| /external/protobuf/gtest/fused-src/gtest/ |
| gtest.h | 155 // GTEST_HAS_TR1_TUPLE - Define it to 1/0 to indicate tr1::tuple 161 // Test's own tr1 tuple implementation should be 477 // Determines whether Google Test can use tr1/tuple. You can define 478 // this macro to 0 to prevent Google Test from using tuple (any 479 // feature depending on tuple with be disabled in this mode). 485 // Determines whether Google Test's own tr1 tuple implementation 490 // We use our own TR1 tuple if we aren't sure the user has an 492 // 2010 are the only mainstream compilers that come with a TR1 tuple 494 // defining __GNUC__ and friends, but cannot compile GCC's tuple 495 // implementation. MSVC 2008 (9.0) provides TR1 tuple in a 323 M 686 class tuple<> { class in namespace:std::tr1 688 tuple() {} function in class:std::tr1::tuple 689 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 698 tuple() : f0_() {} function 702 tuple(const tuple& t) : f0_(t.f0_) {} function 730 tuple() : f0_(), f1_() {} function 735 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 740 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 773 tuple() : f0_(), f1_(), f2_() {} function 778 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 810 tuple() : f0_(), f1_(), f2_(), f3_() {} function 816 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 851 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 857 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 895 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 902 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 942 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 949 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 991 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 999 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1043 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function 1051 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1093 class tuple { class in namespace:std::tr1 1097 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 1106 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
| /external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/ |
| gtest.h | 162 // GTEST_HAS_TR1_TUPLE - Define it to 1/0 to indicate tr1::tuple 172 // Test's own tr1 tuple implementation should be 588 // Determines whether Google Test can use tr1/tuple. You can define 589 // this macro to 0 to prevent Google Test from using tuple (any 590 // feature depending on tuple with be disabled in this mode). 593 // STLport, provided with the Android NDK, has neither <tr1/tuple> or <tuple>. 601 // Determines whether Google Test's own tr1 tuple implementation 606 // We use our own TR1 tuple if we aren't sure the user has an 609 // with a TR1 tuple implementation. NVIDIA's CUDA NVCC compile 838 class tuple<> { class in namespace:std::tr1 840 tuple() {} function in class:std::tr1::tuple 841 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 850 tuple() : f0_() {} function 854 tuple(const tuple& t) : f0_(t.f0_) {} function 882 tuple() : f0_(), f1_() {} function 887 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 892 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 925 tuple() : f0_(), f1_(), f2_() {} function 930 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 962 tuple() : f0_(), f1_(), f2_(), f3_() {} function 968 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 1003 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 1009 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1047 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 1054 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1094 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 1101 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1143 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 1151 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1195 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function 1203 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1245 class tuple { class in namespace:std::tr1 1249 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 1258 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
| /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/fused-src/gtest/ |
| gtest.h | 162 // GTEST_HAS_TR1_TUPLE - Define it to 1/0 to indicate tr1::tuple 172 // Test's own tr1 tuple implementation should be 588 // Determines whether Google Test can use tr1/tuple. You can define 589 // this macro to 0 to prevent Google Test from using tuple (any 590 // feature depending on tuple with be disabled in this mode). 593 // STLport, provided with the Android NDK, has neither <tr1/tuple> or <tuple>. 601 // Determines whether Google Test's own tr1 tuple implementation 606 // We use our own TR1 tuple if we aren't sure the user has an 609 // with a TR1 tuple implementation. NVIDIA's CUDA NVCC compile 838 class tuple<> { class in namespace:std::tr1 840 tuple() {} function in class:std::tr1::tuple 841 tuple(const tuple& \/* t *\/) {} function in class:std::tr1::tuple 850 tuple() : f0_() {} function 854 tuple(const tuple& t) : f0_(t.f0_) {} function 882 tuple() : f0_(), f1_() {} function 887 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_) {} function 892 tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} function 925 tuple() : f0_(), f1_(), f2_() {} function 930 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_) {} function 962 tuple() : f0_(), f1_(), f2_(), f3_() {} function 968 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_) {} function 1003 tuple() : f0_(), f1_(), f2_(), f3_(), f4_() {} function 1009 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1047 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_() {} function 1054 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1094 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_() {} function 1101 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1143 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_() {} function 1151 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1195 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_() {} function 1203 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function 1245 class tuple { class in namespace:std::tr1 1249 tuple() : f0_(), f1_(), f2_(), f3_(), f4_(), f5_(), f6_(), f7_(), f8_(), function in class:std::tr1::tuple 1258 tuple(const tuple& t) : f0_(t.f0_), f1_(t.f1_), f2_(t.f2_), f3_(t.f3_), function in class:std::tr1::tuple [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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 903 PyObject *tuple; local 947 PyObject *tuple; local [all...] |