Home
last modified time | relevance | path

Searched refs:fieldlist (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Modules/_ctypes/
Dstgdict.c209 PyObject *fieldlist; in MakeFields() local
214 fieldlist = PySequence_Fast(fields, "_fields_ must be a sequence"); in MakeFields()
216 if (fieldlist == NULL) in MakeFields()
219 for (i = 0; i < PySequence_Fast_GET_SIZE(fieldlist); ++i) { in MakeFields()
220 PyObject *pair = PySequence_Fast_GET_ITEM(fieldlist, i); /* borrowed */ in MakeFields()
226 Py_DECREF(fieldlist); in MakeFields()
231 Py_DECREF(fieldlist); in MakeFields()
237 Py_DECREF(fieldlist); in MakeFields()
246 Py_DECREF(fieldlist); in MakeFields()
254 Py_DECREF(fieldlist); in MakeFields()
[all …]
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java505 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink() local
506 assertNotNull(fieldlist); in testDescriptorComplexCrosslink()
507 assertTrue(fieldlist.size() == 1); in testDescriptorComplexCrosslink()
508 assertTrue(fieldlist.get(0).getType() == FieldDescriptor.Type.MESSAGE); in testDescriptorComplexCrosslink()
509 assertTrue(fieldlist.get(0).getMessageType().getName().equals("Foo")); in testDescriptorComplexCrosslink()
638 List<FieldDescriptor> fieldlist = desc.getFields(); in testComplexNamespacePublicDependency() local
639 assertNotNull(fieldlist); in testComplexNamespacePublicDependency()
640 assertTrue(fieldlist.size() == 1); in testComplexNamespacePublicDependency()
641 FieldDescriptor field = fieldlist.get(0); in testComplexNamespacePublicDependency()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java493 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink() local
494 assertNotNull(fieldlist); in testDescriptorComplexCrosslink()
495 assertTrue(fieldlist.size() == 1); in testDescriptorComplexCrosslink()
496 assertTrue(fieldlist.get(0).getType() == FieldDescriptor.Type.MESSAGE); in testDescriptorComplexCrosslink()
497 assertTrue(fieldlist.get(0).getMessageType().getName().equals("Foo")); in testDescriptorComplexCrosslink()
691 List<FieldDescriptor> fieldlist = desc.getFields(); in testComplexNamespacePublicDependency() local
692 assertNotNull(fieldlist); in testComplexNamespacePublicDependency()
693 assertTrue(fieldlist.size() == 1); in testComplexNamespacePublicDependency()
694 FieldDescriptor field = fieldlist.get(0); in testComplexNamespacePublicDependency()