Home
last modified time | relevance | path

Searched refs:composite_field (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py304 composite_field = getattr(proto, composite_field_name)
305 original_scalar_value = getattr(composite_field, scalar_field_name)
308 self.assertTrue(not composite_field.HasField(scalar_field_name))
316 setattr(composite_field, scalar_field_name, new_val)
317 self.assertEqual(new_val, getattr(composite_field, scalar_field_name))
319 old_composite_field = composite_field
321 self.assertTrue(composite_field.HasField(scalar_field_name))
328 composite_field = getattr(proto, composite_field_name)
329 self.assertTrue(not composite_field.HasField(scalar_field_name))
332 self.assertEqual(0, getattr(composite_field, scalar_field_name))
[all …]
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc414 PyObject* composite_field);
1621 PyObject* composite_field) { in CheckAndGetInteger() argument
1624 composite_field, in CheckAndGetInteger()
1671 PyObject* composite_field = self->composite_fields ? in CheckAndGetInteger() local
1676 if (composite_field != NULL) { in CheckAndGetInteger()
1678 composite_field) < 0) { in CheckAndGetInteger()