Home
last modified time | relevance | path

Searched refs:is_packed (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dencoder.py121 def SpecificSizer(field_number, is_repeated, is_packed): argument
123 if is_packed:
150 def SpecificSizer(field_number, is_repeated, is_packed): argument
152 if is_packed:
179 def SpecificSizer(field_number, is_repeated, is_packed): argument
181 if is_packed:
221 def StringSizer(field_number, is_repeated, is_packed): argument
227 assert not is_packed
243 def BytesSizer(field_number, is_repeated, is_packed): argument
249 assert not is_packed
[all …]
Ddecoder.py183 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument
184 if is_packed:
304 def StringDecoder(field_number, is_repeated, is_packed, key, new_default): argument
310 assert not is_packed
342 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument
347 assert not is_packed
379 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument
386 assert not is_packed
426 def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): argument
431 assert not is_packed
/external/protobuf/src/google/protobuf/
Dextension_set.h92 inline ExtensionInfo(FieldType type, bool is_repeated, bool is_packed) in ExtensionInfo()
93 : type(type), is_repeated(is_repeated), is_packed(is_packed), in ExtensionInfo()
98 bool is_packed; member
167 bool is_repeated, bool is_packed);
170 bool is_repeated, bool is_packed,
174 bool is_repeated, bool is_packed,
421 bool is_packed; member
571 bool is_packed, Type value, ExtensionSet* set);
593 int number, FieldType field_type, bool is_packed, \
595 set->Add##METHOD(number, field_type, is_packed, value, NULL); \
[all …]
Dextension_set.cc114 bool is_repeated, bool is_packed) { in RegisterExtension() argument
118 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension()
137 bool is_repeated, bool is_packed, in RegisterEnumExtension() argument
140 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension()
149 bool is_repeated, bool is_packed, in RegisterMessageExtension() argument
153 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension()
265 extension->is_packed = packed; \
269 GOOGLE_DCHECK_EQ(extension->is_packed, packed); \
334 extension->is_packed = packed; in AddEnum()
338 GOOGLE_DCHECK_EQ(extension->is_packed, packed); in AddEnum()
[all …]
Dextension_set_heavy.cc132 extension->is_packed = false; in MutableMessage()
188 output->is_packed = extension->options().packed(); in Find()
327 if (is_packed) { in SerializeFieldWithCachedSizesToArray()
Dwire_format.cc759 const bool is_packed = field->options().packed(); in SerializeFieldWithCachedSizes() local
760 if (is_packed && count > 0) { in SerializeFieldWithCachedSizes()
776 if (is_packed) { \ in SerializeFieldWithCachedSizes()
821 if (is_packed) { in SerializeFieldWithCachedSizes()
/external/protobuf/python/google/protobuf/
Dreflection.py260 is_packed = (field_descriptor.has_options and
268 field_descriptor.number, is_repeated, is_packed)
270 field_descriptor.number, is_repeated, is_packed)
277 def AddDecoder(wiretype, is_packed): argument
281 field_descriptor.number, is_repeated, is_packed,