Home
last modified time | relevance | path

Searched refs:all_fields (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py61 self.all_fields = unittest_pb2.TestAllTypes()
62 test_util.SetAllFields(self.all_fields)
63 self.all_fields_data = self.all_fields.SerializeToString()
81 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.ByteSize())
116 self.all_fields.ClearField('optional_string')
117 message.ParseFromString(self.all_fields.SerializeToString())
158 self.all_fields = unittest_pb2.TestAllTypes()
159 test_util.SetAllFields(self.all_fields)
160 self.all_fields_data = self.all_fields.SerializeToString()
180 decoder(memoryview(value), 0, len(value), self.all_fields, result_dict)
[all …]
Dpython_message.py815 all_fields = [item for item in self._fields.items() if _IsPresent(item)]
816 all_fields.sort(key = lambda item: item[0].number)
817 return all_fields
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dsystem_sampler.py150 all_fields = dict([l.strip().split(' ') for l in lines])
152 *[int(all_fields.get(f, 0)) for f in cls.VMStat._fields])
/external/python/apitools/apitools/base/py/
Dencoding_helper.py213 names = sorted([field.name for field in msg.all_fields()])
421 all_field_names = [x.name for x in message.all_fields()]
532 for field in message.all_fields():
560 message_fields = [x.name for x in message.all_fields()] + list(
788 for field in message.all_fields():
Dextra_types.py79 for f in json_value.all_fields()]
94 for f in json_value.all_fields()]
Dbase_api.py516 for field in result.all_fields():
553 [x.name for x in self.__client.params_type.all_fields()],
/external/rust/crates/serde_derive/src/internals/
Dast.rs124 pub fn all_fields(&'a self) -> Box<Iterator<Item = &'a Field<'a>> + 'a> { in all_fields() method
134 self.all_fields().any(|f| f.attrs.getter().is_some()) in has_getter()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader_unittest.cc1089 EXPECT_EQ(event->all_fields().field_uint32(), 1003u); in TEST_F()
1090 EXPECT_EQ(event->all_fields().field_pid(), 97); in TEST_F()
1091 EXPECT_EQ(event->all_fields().field_dev_32(), in TEST_F()
1093 EXPECT_EQ(event->all_fields().field_inode_32(), 98u); in TEST_F()
1096 EXPECT_EQ(event->all_fields().field_dev_64(), k64BitUserspaceBlockDeviceId); in TEST_F()
1098 EXPECT_EQ(event->all_fields().field_inode_64(), 99u); in TEST_F()
1099 EXPECT_EQ(event->all_fields().field_char_16(), "Hello"); in TEST_F()
1100 EXPECT_EQ(event->all_fields().field_char(), "Goodbye"); in TEST_F()
1101 EXPECT_EQ(event->all_fields().field_data_loc(), "Hello"); in TEST_F()
1102 EXPECT_EQ(event->all_fields().field_char_star(), "my_printk_format_string"); in TEST_F()
/external/perfetto/src/traced/probes/ftrace/test/
Dtest_messages.proto22 oneof event { FakeAllFieldsFtraceEvent all_fields = 42; } field
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py686 for field in cls.all_fields():
795 for field in self.all_fields():
845 def all_fields(cls): member in Message
1001 for field in sorted(self.all_fields(),
Dprotojson.py118 for field in value.all_fields():
Ddescriptor.py354 fields = sorted(message_definition.all_fields(),
Dmessages_test.py1388 fields = list(ComplexMessage.all_fields())
/external/mesa3d/src/panfrost/lib/
Dgen_pack.py402 def collect_fields(self, fields, offset, path, all_fields): argument
409 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
414 all_fields.append(self.FieldRef(field, field_path, start, end))
/external/python/apitools/apitools/gen/
Dservice_registry.py115 x.name for x in upload_config.all_fields())
157 x.name for x in method_info.all_fields())
/external/python/apitools/apitools/base/py/testing/
Dmock.py64 for field in msg1.all_fields():
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2038 ScopedPyObjectPtr all_fields(PyList_New(fields.size())); in ListFields() local
2039 if (all_fields == NULL) { in ListFields()
2099 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in ListFields()
2103 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in ListFields()
2107 return all_fields.release(); in ListFields()
/external/rust/crates/serde_derive/src/
Dbound.rs51 .all_fields() in with_where_predicates_from_fields()
Dde.rs262 for field in cont.data.all_fields() { in borrowed_lifetimes()
312 .all_fields() in deserialize_in_place_body()