Searched refs:composite_field (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 294 composite_field = getattr(proto, composite_field_name) 295 original_scalar_value = getattr(composite_field, scalar_field_name) 298 self.assertTrue(not composite_field.HasField(scalar_field_name)) 306 setattr(composite_field, scalar_field_name, new_val) 307 self.assertEqual(new_val, getattr(composite_field, scalar_field_name)) 309 old_composite_field = composite_field 311 self.assertTrue(composite_field.HasField(scalar_field_name)) 318 composite_field = getattr(proto, composite_field_name) 319 self.assertTrue(not composite_field.HasField(scalar_field_name)) 322 self.assertEqual(0, getattr(composite_field, scalar_field_name)) [all …]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 88 PyObject* composite_field, 1083 PyObject* composite_field, in CheckAndGetInteger() argument 1087 composite_field, in CheckAndGetInteger() 1091 int InternalReleaseField(CMessage* self, PyObject* composite_field, in CheckAndGetInteger() argument 1098 descriptor, composite_field, self->message); in CheckAndGetInteger() 1150 PyObject* composite_field = PyDict_GetItem(self->composite_fields, in CheckAndGetInteger() local 1155 if (composite_field != NULL) { in CheckAndGetInteger() 1156 if (InternalReleaseField(self, composite_field, arg) < 0) { in CheckAndGetInteger()
|