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.py146 def _ModifiedSizer(compute_value_size, modify_value): argument
157 result += compute_value_size(modify_value(element))
164 result += compute_value_size(modify_value(element))
169 return tag_size + compute_value_size(modify_value(value))
433 def _ModifiedEncoder(wire_type, encode_value, compute_value_size, modify_value): argument
445 size += compute_value_size(modify_value(element))
448 encode_value(write, modify_value(element))
455 encode_value(write, modify_value(element))
461 return encode_value(write, modify_value(value))
Ddecoder.py233 def _ModifiedDecoder(wire_type, decode_value, modify_value): argument
243 return (modify_value(result), new_pos)