Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dencoder.py126 def _SimpleSizer(compute_value_size): argument
137 result += compute_value_size(element)
144 result += compute_value_size(element)
149 return tag_size + compute_value_size(value)
155 def _ModifiedSizer(compute_value_size, modify_value): argument
166 result += compute_value_size(modify_value(element))
173 result += compute_value_size(modify_value(element))
178 return tag_size + compute_value_size(modify_value(value))
425 def _SimpleEncoder(wire_type, encode_value, compute_value_size): argument
444 size += compute_value_size(element)
[all …]