Searched refs:all_fields (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 63 self.all_fields = unittest_pb2.TestAllTypes() 64 test_util.SetAllFields(self.all_fields) 65 self.all_fields_data = self.all_fields.SerializeToString() 83 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.ByteSize()) 118 self.all_fields.ClearField('optional_string') 119 message.ParseFromString(self.all_fields.SerializeToString()) 147 self.all_fields = unittest_pb2.TestAllTypes() 148 test_util.SetAllFields(self.all_fields) 149 self.all_fields_data = self.all_fields.SerializeToString() 169 decoder(value, 0, len(value), self.all_fields, result_dict) [all …]
|
D | python_message.py | 801 all_fields = [item for item in self._fields.items() if _IsPresent(item)] 802 all_fields.sort(key = lambda item: item[0].number) 803 return all_fields
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | python_message.py | 578 all_fields = [item for item in self._fields.iteritems() if _IsPresent(item)] 579 all_fields.sort(key = lambda item: item[0].number) 580 return all_fields
|
/external/protobuf/python/google/protobuf/pyext/ |
D | message.cc | 2088 ScopedPyObjectPtr all_fields(PyList_New(fields.size())); in CheckAndGetInteger() local 2089 if (all_fields == NULL) { in CheckAndGetInteger() 2156 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in CheckAndGetInteger() 2160 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in CheckAndGetInteger() 2164 return all_fields.release(); in CheckAndGetInteger()
|