Home
last modified time | relevance | path

Searched refs:length_delimited (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/protobuf/src/
Dunknown.rs93 pub length_delimited: Vec<Vec<u8>>, field
103 UnknownValue::LengthDelimited(length_delimited) => { in add_value()
104 self.length_delimited.push(length_delimited) in add_value()
115 length_delimited: self.length_delimited.iter(), in iter()
134 length_delimited: slice::Iter<'o, Vec<u8>>, field
153 let length_delimited = self.length_delimited.next(); in next() localVariable
154 if length_delimited.is_some() { in next()
155 return Some(UnknownValueRef::LengthDelimited(&length_delimited.unwrap())); in next()
235 pub fn add_length_delimited(&mut self, number: u32, length_delimited: Vec<u8>) { in add_length_delimited()
237 .length_delimited in add_length_delimited()
[all …]
Dtypes.rs541 unknown_values.length_delimited.iter().cloned().rev().next() in get_from_unknown()
659 .length_delimited in get_from_unknown()
Drt.rs251 r += tag_size(number) * values.length_delimited.len() as u32; in unknown_fields_size()
252 for bytes in &values.length_delimited { in unknown_fields_size()
/external/protobuf/src/google/protobuf/
Dunknown_field_set.h245 inline const std::string& length_delimited() const;
346 inline const std::string& UnknownField::length_delimited() const { in length_delimited() function
Dwire_format.cc214 output->WriteVarint32(field.length_delimited().size()); in SerializeUnknownFields()
215 output->WriteRawMaybeAliased(field.length_delimited().data(), in SerializeUnknownFields()
216 field.length_delimited().size()); in SerializeUnknownFields()
249 field.number(), field.length_delimited(), target); in SerializeUnknownFieldsToArray()
345 field.length_delimited().size()); in ComputeUnknownFieldsSize()
346 size += field.length_delimited().size(); in ComputeUnknownFieldsSize()
Dunknown_field_set_unittest.cc171 EXPECT_EQ(all_fields_.optional_string(), field->length_delimited()); in TEST_F()
Dwire_format_unittest.cc572 EXPECT_EQ("bar", message_set.unknown_fields().field(0).length_delimited()); in TEST()
Dtext_format.cc2462 const std::string& value = field.length_delimited(); in PrintUnknownFields()
Ddescriptor.cc6696 unknown_field->length_delimited()) && in ExamineIfOptionIsSet()
/external/protobuf/python/google/protobuf/pyext/
Dunknown_fields.cc289 data = PyBytes_FromStringAndSize(field->length_delimited().data(), in GetData()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc1348 match = fields1[index1].second->length_delimited() == in CompareUnknownFields()
1349 fields2[index2].second->length_delimited(); in CompareUnknownFields()
1846 "\"%s\"", CEscape(unknown_field->length_delimited()).c_str()); in PrintUnknownFieldValue()
/external/rust/crates/tokio/
DCHANGELOG.md1284 - Move `length_delimited` into `tokio` ([#575]).