Searched refs:compute_value_size (Results 1 – 2 of 2) sorted by relevance
126 def _SimpleSizer(compute_value_size): argument137 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): argument166 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))429 def _SimpleEncoder(wire_type, encode_value, compute_value_size): argument448 size += compute_value_size(element)[all …]
118 def _SimpleEncoder(wire_type, encode_value, compute_value_size): argument137 size += compute_value_size(element)