Home
last modified time | relevance | path

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

/third_party/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py62 self.all_fields = unittest_pb2.TestAllTypes()
63 test_util.SetAllFields(self.all_fields)
64 self.all_fields_data = self.all_fields.SerializeToString()
82 self.assertEqual(self.all_fields.ByteSize(), self.empty_message.ByteSize())
129 self.all_fields.ClearField('optional_string')
130 message.ParseFromString(self.all_fields.SerializeToString())
171 self.all_fields = unittest_pb2.TestAllTypes()
172 test_util.SetAllFields(self.all_fields)
173 self.all_fields_data = self.all_fields.SerializeToString()
193 decoder(memoryview(value), 0, len(value), self.all_fields, result_dict)
[all …]
Dpython_message.py833 all_fields = [item for item in self._fields.items() if _IsPresent(item)]
834 all_fields.sort(key = lambda item: item[0].number)
835 return all_fields
/third_party/node/deps/v8/src/torque/
Dcc-generator.cc478 std::vector<std::string>& all_fields) { in CollectAllFields() argument
480 all_fields.push_back(result.constexpr_value()); in CollectAllFields()
484 values, all_fields); in CollectAllFields()
488 all_fields.push_back(values.Peek(result.stack_range().begin())); in CollectAllFields()
498 std::vector<std::string> all_fields; in EmitCCValue() local
499 CollectAllFields(result, values, all_fields); in EmitCCValue()
500 if (all_fields.size() == 1) { in EmitCCValue()
501 out << all_fields[0]; in EmitCCValue()
504 PrintCommaSeparatedList(out, all_fields); in EmitCCValue()
Dtypes.cc551 std::vector<Field> all_fields; in ComputeAllFields() local
554 all_fields = super_class->ComputeAllFields(); in ComputeAllFields()
557 all_fields.insert(all_fields.end(), fields.begin(), fields.end()); in ComputeAllFields()
558 return all_fields; in ComputeAllFields()
Dimplementation-visitor.cc5458 std::vector<std::string> all_fields; in GenerateCSATypes() local
5460 CollectAllFields("", field, all_fields); in GenerateCSATypes()
5464 PrintCommaSeparatedList(h_contents, all_fields); in GenerateCSATypes()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dast.rs125 pub fn all_fields(&'a self) -> Box<dyn Iterator<Item = &'a Field<'a>> + 'a> { in all_fields() method
135 self.all_fields().any(|f| f.attrs.getter().is_some()) in has_getter()
/third_party/mesa3d/src/asahi/lib/
Dgen_pack.py349 def collect_fields(self, fields, offset, path, all_fields): argument
356 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
361 all_fields.append(self.FieldRef(field, field_path, start, end))
/third_party/mesa3d/src/panfrost/lib/genxml/
Dgen_pack.py450 def collect_fields(self, fields, offset, path, all_fields): argument
457 self.collect_fields(sub_struct.fields, field_offset, field_path + '.', all_fields)
462 all_fields.append(self.FieldRef(field, field_path, start, end))
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc2062 ScopedPyObjectPtr all_fields(PyList_New(fields.size())); in ListFields() local
2063 if (all_fields == NULL) { in ListFields()
2123 PyList_SET_ITEM(all_fields.get(), actual_size, t.release()); in ListFields()
2127 (PyList_SetSlice(all_fields.get(), actual_size, fields.size(), NULL) < in ListFields()
2131 return all_fields.release(); in ListFields()
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs48 .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()