Searched refs:fieldlist (Results 1 – 3 of 3) sorted by relevance
209 PyObject *fieldlist; in MakeFields() local214 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 …]
505 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink() local506 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() local639 assertNotNull(fieldlist); in testComplexNamespacePublicDependency()640 assertTrue(fieldlist.size() == 1); in testComplexNamespacePublicDependency()641 FieldDescriptor field = fieldlist.get(0); in testComplexNamespacePublicDependency()
493 List<FieldDescriptor> fieldlist = desc.getFields(); in testDescriptorComplexCrosslink() local494 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() local692 assertNotNull(fieldlist); in testComplexNamespacePublicDependency()693 assertTrue(fieldlist.size() == 1); in testComplexNamespacePublicDependency()694 FieldDescriptor field = fieldlist.get(0); in testComplexNamespacePublicDependency()