Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/
Ddescriptor.py193 proto.ParseFromString(self.file.serialized_pb[
798 def __new__(cls, name, package, options=None, serialized_pb=None, argument
803 if serialized_pb:
806 return _message.default_pool.AddSerializedFile(serialized_pb)
810 def __init__(self, name, package, options=None, serialized_pb=None, argument
824 self.serialized_pb = serialized_pb
832 self.serialized_pb is not None):
833 _message.default_pool.AddSerializedFile(self.serialized_pb)
841 proto.ParseFromString(self.serialized_pb)
Ddescriptor_pool.py330 serialized_pb=file_proto.SerializeToString(),
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc83 ScopedPyObjectPtr serialized_pb( in GetFileDescriptorProto() local
85 if (serialized_pb == NULL) { in GetFileDescriptorProto()
93 if (PyBytes_AsStringAndSize(serialized_pb.get(), &str, &len) < 0) { in GetFileDescriptorProto()
Ddescriptor_pool.cc410 PyObject* AddSerializedFile(PyDescriptorPool* self, PyObject* serialized_pb) { in AddSerializedFile() argument
422 if (PyBytes_AsStringAndSize(serialized_pb, &message_type, &message_len) < 0) { in AddSerializedFile()
440 generated_file, serialized_pb); in AddSerializedFile()
455 descriptor, serialized_pb); in AddSerializedFile()
459 ScopedPyObjectPtr serialized_pb( in Add() local
461 if (serialized_pb == NULL) { in Add()
464 return AddSerializedFile(self, serialized_pb.get()); in Add()
Ddescriptor.cc297 PyObject *serialized_pb; member
1228 Py_XDECREF(self->serialized_pb); in Dealloc()
1248 PyObject *serialized_pb = self->serialized_pb; in GetSerializedPb() local
1249 if (serialized_pb != NULL) { in GetSerializedPb()
1250 Py_INCREF(serialized_pb); in GetSerializedPb()
1251 return serialized_pb; in GetSerializedPb()
1257 self->serialized_pb = PyBytes_FromStringAndSize( in GetSerializedPb()
1259 if (self->serialized_pb == NULL) { in GetSerializedPb()
1262 Py_INCREF(self->serialized_pb); in GetSerializedPb()
1263 return self->serialized_pb; in GetSerializedPb()
[all …]
Ddescriptor.h68 const FileDescriptor* file_descriptor, PyObject* serialized_pb);
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py67 factory_test1_pb2.DESCRIPTOR.serialized_pb)
69 factory_test2_pb2.DESCRIPTOR.serialized_pb)
277 more_messages_pb2.DESCRIPTOR.serialized_pb)
279 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
281 descriptor_pool_test2_pb2.DESCRIPTOR.serialized_pb)
308 descriptor_pool_test1_pb2.DESCRIPTOR.serialized_pb)
343 unittest_import_public_pb2.DESCRIPTOR.serialized_pb))
345 unittest_import_pb2.DESCRIPTOR.serialized_pb))
347 unittest_pb2.DESCRIPTOR.serialized_pb))
Dmessage_factory_test.py54 factory_test1_pb2.DESCRIPTOR.serialized_pb)
56 factory_test2_pb2.DESCRIPTOR.serialized_pb)
Ddescriptor_database_test.py52 factory_test2_pb2.DESCRIPTOR.serialized_pb)
Dgenerator_test.py225 self.assertFalse(unittest_pb2.DESCRIPTOR.serialized_pb is None)
Dreflection_test.py1651 serialized_pb=file_descriptor_proto.SerializeToString())
1661 serialized_pb=file_descriptor_proto.SerializeToString())
/external/grpc-grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2.py22serialized_pb=_b('\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name…
/external/grpc-grpc/examples/python/helloworld/
Dhelloworld_pb2.py22serialized_pb=_b('\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name…
/external/grpc-grpc/examples/python/multiplex/
Dhelloworld_pb2.py22serialized_pb=_b('\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name…
Droute_guide_pb2.py22serialized_pb=_b('\n\x11route_guide.proto\x12\nrouteguide\",\n\x05Point\x12\x10\n\x08latitude\x18\…
/external/grpc-grpc/examples/python/interceptors/headers/
Dhelloworld_pb2.py22serialized_pb=_b('\n\x10helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name…
/external/perfetto/test/trace_processor/
Dsynth_common.py131 serialized_pb=f_desc_pb2_encode)
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_pb2.py22serialized_pb=_b('\n\x11route_guide.proto\x12\nrouteguide\",\n\x05Point\x12\x10\n\x08latitude\x18\…
/external/grpc-grpc/test/http2_test/
Dmessages_pb2.py23serialized_pb=_b('\n\x0emessages.proto\x12\x0cgrpc.testing\"\x1a\n\tBoolValue\x12\r\n\x05value\x18…