Searched refs:all_fields (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 796 all_fields = [item for item in self._fields.items() if _IsPresent(item)] 797 all_fields.sort(key = lambda item: item[0].number) 798 return all_fields
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | message.cc | 2085 ScopedPyObjectPtr all_fields(PyList_New(fields.size())); in CheckAndGetInteger() local 2086 if (all_fields == NULL) { in CheckAndGetInteger() 2153 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in CheckAndGetInteger() 2157 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in CheckAndGetInteger() 2161 return all_fields.release(); in CheckAndGetInteger()
|