Home
last modified time | relevance | path

Searched refs:Descriptors (Results 1 – 25 of 45) sorted by relevance

12

/external/protobuf/java/src/main/java/com/google/protobuf/
DMessageReflection.java33 import com.google.protobuf.Descriptors.FieldDescriptor;
64 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in writeMessageTo()
66 final Descriptors.FieldDescriptor field = entry.getKey(); in writeMessageTo()
69 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in writeMessageTo()
90 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in getSerializedSize()
92 final Descriptors.FieldDescriptor field = entry.getKey(); in getSerializedSize()
95 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in getSerializedSize()
127 for (final Descriptors.FieldDescriptor field : message in isInitialized()
138 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in isInitialized()
140 final Descriptors.FieldDescriptor field = entry.getKey(); in isInitialized()
[all …]
DMessageOrBuilder.java73 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType()
89 Map<Descriptors.FieldDescriptor, Object> getAllFields(); in getAllFields()
96 boolean hasOneof(Descriptors.OneofDescriptor oneof); in hasOneof()
102 Descriptors.FieldDescriptor getOneofFieldDescriptor( in getOneofFieldDescriptor()
103 Descriptors.OneofDescriptor oneof); in getOneofFieldDescriptor()
111 boolean hasField(Descriptors.FieldDescriptor field); in hasField()
120 Object getField(Descriptors.FieldDescriptor field); in getField()
129 int getRepeatedFieldCount(Descriptors.FieldDescriptor field); in getRepeatedFieldCount()
139 Object getRepeatedField(Descriptors.FieldDescriptor field, int index); in getRepeatedField()
DMessage.java143 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType()
150 Builder newBuilderForField(Descriptors.FieldDescriptor field); in newBuilderForField()
168 Builder getFieldBuilder(Descriptors.FieldDescriptor field); in getFieldBuilder()
175 Builder setField(Descriptors.FieldDescriptor field, Object value); in setField()
181 Builder clearField(Descriptors.FieldDescriptor field); in clearField()
187 Builder clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof()
197 Builder setRepeatedField(Descriptors.FieldDescriptor field, in setRepeatedField()
205 Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value); in addRepeatedField()
DBlockingService.java43 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType()
51 Message callBlockingMethod(Descriptors.MethodDescriptor method, in callBlockingMethod()
58 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype()
63 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
DService.java52 Descriptors.ServiceDescriptor getDescriptorForType(); in getDescriptorForType()
84 void callMethod(Descriptors.MethodDescriptor method, in callMethod()
107 Message getRequestPrototype(Descriptors.MethodDescriptor method); in getRequestPrototype()
116 Message getResponsePrototype(Descriptors.MethodDescriptor method); in getResponsePrototype()
DProtocolMessageEnum.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
34 import com.google.protobuf.Descriptors.EnumValueDescriptor;
DBlockingRpcChannel.java47 Descriptors.MethodDescriptor method, in callBlockingMethod()
DRpcChannel.java66 void callMethod(Descriptors.MethodDescriptor method, in callMethod()
DDynamicMessage.java33 import com.google.protobuf.Descriptors.Descriptor;
34 import com.google.protobuf.Descriptors.EnumValueDescriptor;
35 import com.google.protobuf.Descriptors.FieldDescriptor;
36 import com.google.protobuf.Descriptors.OneofDescriptor;
DExtension.java49 public abstract Descriptors.FieldDescriptor getDescriptor(); in getDescriptor()
/external/protobuf/java/src/test/java/com/google/protobuf/
DAbstractMessageTest.java33 import com.google.protobuf.Descriptors.FieldDescriptor;
68 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType()
75 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields()
78 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField()
81 public Object getField(Descriptors.FieldDescriptor field) { in getField()
84 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount()
88 Descriptors.FieldDescriptor field, int index) { in getRepeatedField()
120 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType()
127 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields()
130 public Builder newBuilderForField(Descriptors.FieldDescriptor field) { in newBuilderForField()
[all …]
DDescriptorsTest.java38 import com.google.protobuf.Descriptors.DescriptorValidationException;
39 import com.google.protobuf.Descriptors.FileDescriptor;
40 import com.google.protobuf.Descriptors.Descriptor;
41 import com.google.protobuf.Descriptors.FieldDescriptor;
42 import com.google.protobuf.Descriptors.OneofDescriptor;
43 import com.google.protobuf.Descriptors.EnumDescriptor;
44 import com.google.protobuf.Descriptors.EnumValueDescriptor;
45 import com.google.protobuf.Descriptors.ServiceDescriptor;
46 import com.google.protobuf.Descriptors.MethodDescriptor;
459 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException()
[all …]
DTestBadIdentifiers.java51 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor()
55 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor()
59 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
DMessageTest.java168 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic()
181 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign()
308 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized()
318 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull()
342 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull()
DUnknownFieldSetTest.java62 Descriptors.FieldDescriptor field = descriptor.findFieldByName(name); in getField()
92 Descriptors.Descriptor descriptor;
132 Descriptors.FieldDescriptor nestedFieldDescriptor = in testGroup()
280 Descriptors.FieldDescriptor singularField = in testParseUnknownEnumValue()
282 Descriptors.FieldDescriptor repeatedField = in testParseUnknownEnumValue()
578 Descriptors.FieldDescriptor singularField = in testParseUnknownEnumValueLite()
580 Descriptors.FieldDescriptor repeatedField = in testParseUnknownEnumValueLite()
DServiceTest.java33 import com.google.protobuf.Descriptors.FileDescriptor;
34 import com.google.protobuf.Descriptors.MethodDescriptor;
63 private final Descriptors.MethodDescriptor fooDescriptor =
65 private final Descriptors.MethodDescriptor barDescriptor =
DDynamicMessageTest.java33 import com.google.protobuf.Descriptors.EnumDescriptor;
34 import com.google.protobuf.Descriptors.FieldDescriptor;
35 import com.google.protobuf.Descriptors.OneofDescriptor;
/external/emma/core/java12/com/vladium/emma/report/
DReportDataModel.java15 import com.vladium.util.Descriptors;
63 …tring packageName = packageVMName.length () == 0 ? "default package" : Descriptors.vmNameToJavaNam… in getView()
76 … final String fullSrcFileName = Descriptors.combineVMName (packageVMName, srcFileName); in getView()
96 … new Object [] { Descriptors.vmNameToJavaName (cls.getClassVMName ()) }); in getView()
DMethodItem.java11 import com.vladium.util.Descriptors;
40 …m_userName = Descriptors.methodVMNameToJavaName (m_parent.getName (), m_name, m_descriptor, true, … in getName()
/external/emma/tools/java/com/vladium/tools/
DClassDep.java32 import com.vladium.util.Descriptors;
128 queue.add (Descriptors.javaNameToVMName (m_rootSet [i])); in getDependencies()
148 …throw new IllegalArgumentException ("class [" + Descriptors.vmNameToJavaName (classVMName) + "] no… in getDependencies()
171 if (_result.add (Descriptors.vmNameToJavaName (classDepVMName))) in getDependencies()
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/emma/core/java12/com/vladium/emma/rt/
DInstrClassLoadHook.java17 import com.vladium.util.Descriptors;
69 final String classVMName = Descriptors.javaNameToVMName (className); in processClassDef()
/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp509 SymbolRewriter::RewriteDescriptorList Descriptors; member in __anon60696fda0211::RewriteSymbols
521 Descriptors.splice(Descriptors.begin(), DL); in RewriteSymbols()
528 for (auto &Descriptor : Descriptors) in runOnModule()
539 parser.parse(MapFile, &Descriptors); in loadAndParseMapFiles()
/external/emma/core/java12/com/vladium/util/
DDescriptors.java18 abstract class Descriptors class
231 private Descriptors () {} // prevent subclassing in Descriptors() method in Descriptors
/external/emma/core/java12/com/vladium/emma/report/lcov/
DReportGenerator.java27 import com.vladium.util.Descriptors;
192 + Descriptors.combineVMName(packageVMName, fileName) in emitFileCoverage()
307 + Descriptors.combineVMName(packageVMName, fileName) in emitFileCoverage()

12