Home
last modified time | relevance | path

Searched refs:toProto (Results 1 – 10 of 10) sorted by relevance

/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java178 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileByFilename()
205 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileByFilenameConsistentForMutableServices()
246 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
247 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
248 ReflectionTestDepthTwoAlternateProto.getDescriptor().toProto().toByteString(), in fileContainingSymbol()
249 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()); in fileContainingSymbol()
282 ReflectionTestDepthThreeProto.getDescriptor().toProto().toByteString()) in fileContainingNestedSymbol()
308 DynamicReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString()) in fileContainingSymbolForMutableServices()
353 ReflectionTestProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
354 ReflectionTestDepthTwoProto.getDescriptor().toProto().toByteString(), in fileContainingExtension()
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DParseExceptionsTest.java67 serializedProto = DescriptorProto.getDescriptor().toProto().toByteArray(); in setup()
73 DescriptorProto.getDescriptor().toProto().writeDelimitedTo(bos); in setupDelimited()
254 DescriptorProto.getDescriptor().toProto(), in verifyExceptions()
DDescriptorsTest.java89 FieldDescriptorProto.Type protoType = type.toProto(); in testFieldTypeEnumMapping()
102 assertEquals("google/protobuf/unittest.proto", file.toProto().getName()); in testFileDescriptor()
157 assertEquals("TestAllTypes", messageType.toProto().getName()); in testDescriptor()
208 assertEquals("optional_int32", primitiveField.toProto().getName()); in testFieldDescriptor()
235 assertEquals("optional_int32_extension", extension.toProto().getName()); in testFieldDescriptor()
415 assertTrue(UnittestEnormousDescriptor.getDescriptor().toProto().getSerializedSize() > 65536); in testEnormousDescriptor()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java90 public FileDescriptorProto toProto() { in toProto() method in Descriptors.FileDescriptor
564 .addMessageType(message.toProto()) in FileDescriptor()
652 public DescriptorProto toProto() { in toProto() method in Descriptors.Descriptor
962 public FieldDescriptorProto toProto() { in toProto() method in Descriptors.FieldDescriptor
1241 public FieldDescriptorProto.Type toProto() { in toProto() method in Descriptors.FieldDescriptor.Type
1360 || proto.getOneofIndex() >= parent.toProto().getOneofDeclCount()) { in FieldDescriptor()
1596 public EnumDescriptorProto toProto() { in toProto() method in Descriptors.EnumDescriptor
1787 public EnumValueDescriptorProto toProto() { in toProto() method in Descriptors.EnumValueDescriptor
1891 public ServiceDescriptorProto toProto() { in toProto() method in Descriptors.ServiceDescriptor
1993 public MethodDescriptorProto toProto() { in toProto() method in Descriptors.MethodDescriptor
[all …]
DDynamicMessage.java79 int oneofDeclCount = type.toProto().getOneofDeclCount(); in getDefaultInstance()
330 this.oneofCases = new FieldDescriptor[type.toProto().getOneofDeclCount()];
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java85 FieldDescriptorProto.Type protoType = type.toProto(); in testFieldTypeEnumMapping()
99 file.toProto().getName()); in testFileDescriptor()
160 assertEquals("TestAllTypes", messageType.toProto().getName()); in testDescriptor()
219 assertEquals("optional_int32", primitiveField.toProto().getName()); in testFieldDescriptor()
251 assertEquals("optional_int32_extension", extension.toProto().getName()); in testFieldDescriptor()
431 .toProto().getSerializedSize() > 65536); in testEnormousDescriptor()
/external/webrtc/test/testsupport/
Dperf_test_histogram_writer.cc80 std::unique_ptr<proto::Histogram> proto = histogram.second->toProto(); in Serialize()
/external/starlark-go/lib/proto/
Dproto.go402 v, err := toProto(fdesc, x)
411 v, err := toProto(fdesc, value)
434 func toProto(fdesc protoreflect.FieldDescriptor, v starlark.Value) (protoreflect.Value, error) { func
875 x, err := toProto(rf.typ, v)
/external/angle/src/tests/test_utils/runner/
DHistogramWriter.cpp89 std::unique_ptr<proto::Histogram> proto = histogram.second->toProto(); in getAsJSON()
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java308 fdRBuilder.addFileDescriptorProto(nextFd.toProto().toByteString()); in createServerReflectionResponse()