Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/internal/
Dencoder.py155 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))
466 def _ModifiedEncoder(wire_type, encode_value, compute_value_size, modify_value): argument
478 size += compute_value_size(modify_value(element))
481 encode_value(write, modify_value(element))
488 encode_value(write, modify_value(element))
494 return encode_value(write, modify_value(value))
Ddecoder.py249 def _ModifiedDecoder(wire_type, decode_value, modify_value): argument
259 return (modify_value(result), new_pos)