Home
last modified time | relevance | path

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

/external/pigweed/pw_protobuf_compiler/py/
Dpython_protos_test.py22 from pw_protobuf_compiler.python_protos import bytes_repr, proto_repr
286 self.assertEqual('pw.test3.Nested()', proto_repr(self.nested()))
287 self.assertEqual('pw.test3.Message()', proto_repr(self.message()))
295 proto_repr(
306 proto_repr(
319 proto_repr(
328 proto_repr(self.nested(an_enum=1)))
330 proto_repr(self.message(optional_enum=self.enum.ONE)))
334 proto_repr(self.message(repeated_enum=[1, 1, 0])))
339 proto_repr(self.message(message=self.nested(value=[123]))))
[all …]
/external/pigweed/pw_rpc/py/pw_rpc/console_tools/
Dconsole.py170 message_type.__repr__ = python_protos.proto_repr
208 method.request_type.__repr__ = python_protos.proto_repr
209 method.response_type.__repr__ = python_protos.proto_repr
/external/pigweed/pw_protobuf_compiler/py/pw_protobuf_compiler/
Dpython_protos.py357 return proto_repr(value)
396 def proto_repr(message) -> str: function
/external/pigweed/pw_rpc/py/pw_rpc/
Dcallback_client.py51 from pw_protobuf_compiler.python_protos import proto_repr