/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 33 import com.google.protobuf.Descriptors.FieldDescriptor; 65 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in writeMessageTo() 67 final Descriptors.FieldDescriptor field = entry.getKey(); in writeMessageTo() 70 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in writeMessageTo() 93 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in getSerializedSize() 95 final Descriptors.FieldDescriptor field = entry.getKey(); in getSerializedSize() 98 field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in getSerializedSize() 130 for (final Descriptors.FieldDescriptor field : message in isInitialized() 141 for (final Map.Entry<Descriptors.FieldDescriptor, Object> entry : in isInitialized() 143 final Descriptors.FieldDescriptor field = entry.getKey(); in isInitialized() [all …]
|
D | MessageOrBuilder.java | 73 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()
|
D | Message.java | 160 Descriptors.Descriptor getDescriptorForType(); in getDescriptorForType() 167 Builder newBuilderForField(Descriptors.FieldDescriptor field); in newBuilderForField() 185 Builder getFieldBuilder(Descriptors.FieldDescriptor field); in getFieldBuilder() 203 Builder getRepeatedFieldBuilder(Descriptors.FieldDescriptor field, in getRepeatedFieldBuilder() 211 Builder setField(Descriptors.FieldDescriptor field, Object value); in setField() 217 Builder clearField(Descriptors.FieldDescriptor field); in clearField() 223 Builder clearOneof(Descriptors.OneofDescriptor oneof); in clearOneof() 233 Builder setRepeatedField(Descriptors.FieldDescriptor field, in setRepeatedField() 241 Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value); in addRepeatedField()
|
D | BlockingService.java | 43 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()
|
D | Service.java | 52 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()
|
D | ProtocolMessageEnum.java | 33 import com.google.protobuf.Descriptors.EnumDescriptor; 34 import com.google.protobuf.Descriptors.EnumValueDescriptor;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 48 public RubyMessage(Ruby ruby, RubyClass klazz, Descriptors.Descriptor descriptor) { in RubyMessage() 71 this.repeatedFields = new HashMap<Descriptors.FieldDescriptor, RubyRepeatedField>(); in initialize() 72 this.maps = new HashMap<Descriptors.FieldDescriptor, RubyMap>(); in initialize() 73 this.fields = new HashMap<Descriptors.FieldDescriptor, IRubyObject>(); in initialize() 74 this.oneofCases = new HashMap<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor>(); in initialize() 85 final Descriptors.FieldDescriptor fieldDescriptor = findField(context, key); in initialize() 100 Descriptors.OneofDescriptor oneof = fieldDescriptor.getContainingOneof(); in initialize() 122 Descriptors.FieldDescriptor fieldDescriptor = findField(context, fieldName); in indexSet() 135 Descriptors.FieldDescriptor fieldDescriptor = findField(context, fieldName); in index() 190 for (Descriptors.FieldDescriptor fdef : descriptor.getFields()) { in eq() [all …]
|
D | Utils.java | 37 import com.google.protobuf.Descriptors; 50 public static Descriptors.FieldDescriptor.Type rubyToFieldType(IRubyObject typeClass) { in rubyToFieldType() 51 return Descriptors.FieldDescriptor.Type.valueOf(typeClass.asJavaString().toUpperCase()); in rubyToFieldType() 54 …public static IRubyObject fieldTypeToRuby(ThreadContext context, Descriptors.FieldDescriptor.Type … in fieldTypeToRuby() 67 …public static IRubyObject checkType(ThreadContext context, Descriptors.FieldDescriptor.Type fieldT… in checkType() 118 Descriptors.EnumDescriptor enumDescriptor = in checkType() 133 …public static IRubyObject wrapPrimaryValue(ThreadContext context, Descriptors.FieldDescriptor.Type… in wrapPrimaryValue() 190 …public static IRubyObject validateStringEncoding(ThreadContext context, Descriptors.FieldDescripto… in validateStringEncoding() 230 public static boolean isMapEntry(Descriptors.FieldDescriptor fieldDescriptor) { in isMapEntry() 231 return fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE && in isMapEntry() [all …]
|
D | RubyDescriptorPool.java | 36 import com.google.protobuf.Descriptors; 125 final Descriptors.FileDescriptor fileDescriptor = Descriptors.FileDescriptor.buildFrom( in buildFileDescriptor() 126 this.builder.build(), new Descriptors.FileDescriptor[]{}); in buildFileDescriptor() 128 for (Descriptors.EnumDescriptor enumDescriptor : fileDescriptor.getEnumTypes()) { in buildFileDescriptor() 137 for (Descriptors.Descriptor descriptor : fileDescriptor.getMessageTypes()) { in buildFileDescriptor() 140 for (Descriptors.FieldDescriptor fieldDescriptor : descriptor.getFields()) { in buildFileDescriptor() 146 if (fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) { in buildFileDescriptor() 151 if (fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.ENUM) { in buildFileDescriptor() 159 } catch (Descriptors.DescriptorValidationException e) { in buildFileDescriptor()
|
D | RubyEnum.java | 35 import com.google.protobuf.Descriptors; 53 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in lookup() 54 … Descriptors.EnumValueDescriptor value = descriptor.findValueByNumber(RubyNumeric.num2int(number)); in lookup() 69 Descriptors.EnumDescriptor descriptor = rubyEnumDescriptorescriptor.getDescriptor(); in resolve() 70 Descriptors.EnumValueDescriptor value = descriptor.findValueByName(name.asJavaString()); in resolve()
|
D | RubyEnumDescriptor.java | 36 import com.google.protobuf.Descriptors; 133 for (Descriptors.EnumValueDescriptor enumValueDescriptor : descriptor.getValues()) { in each() 155 public void setDescriptor(Descriptors.EnumDescriptor descriptor) { in setDescriptor() 159 public Descriptors.EnumDescriptor getDescriptor() { in getDescriptor() 172 for (Descriptors.EnumValueDescriptor value : descriptor.getValues()) { in buildModuleFromDescriptor() 183 private Descriptors.EnumDescriptor descriptor;
|
D | SentinelOuterClass.java | 125 public static final com.google.protobuf.Descriptors.Descriptor 342 public static final com.google.protobuf.Descriptors.Descriptor 391 public com.google.protobuf.Descriptors.Descriptor 733 private static final com.google.protobuf.Descriptors.Descriptor 739 public static com.google.protobuf.Descriptors.FileDescriptor 743 private static com.google.protobuf.Descriptors.FileDescriptor 755 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = 756 new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { 758 com.google.protobuf.Descriptors.FileDescriptor root) { 763 com.google.protobuf.Descriptors.FileDescriptor [all …]
|
D | RubyMap.java | 35 import com.google.protobuf.Descriptors; 154 if (valueType == Descriptors.FieldDescriptor.Type.ENUM && in indexSet() 367 Descriptors.FieldDescriptor keyField = descriptor.lookup("key").getFieldDef(); in build() 368 Descriptors.FieldDescriptor valueField = descriptor.lookup("value").getFieldDef(); in build() 420 private boolean needTypeclass(Descriptors.FieldDescriptor.Type type) { in needTypeclass() 430 private Descriptors.FieldDescriptor.Type keyType; 431 private Descriptors.FieldDescriptor.Type valueType;
|
D | RubyRepeatedField.java | 35 import com.google.protobuf.Descriptors; 64 …public RubyRepeatedField(Ruby runtime, RubyClass klazz, Descriptors.FieldDescriptor.Type fieldType… in RubyRepeatedField() 80 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE in initialize() 81 || fieldType == Descriptors.FieldDescriptor.Type.ENUM) { in initialize() 167 if (!(fieldType == Descriptors.FieldDescriptor.Type.MESSAGE && in push() 338 if (fieldType == Descriptors.FieldDescriptor.Type.MESSAGE) { in deepCopy() 407 private Descriptors.FieldDescriptor.Type fieldType;
|
D | RubyFieldDescriptor.java | 36 import com.google.protobuf.Descriptors; 241 protected void setFieldDef(Descriptors.FieldDescriptor fieldDescriptor) { in setFieldDef() 258 protected Descriptors.FieldDescriptor getFieldDef() { in getFieldDef() 274 private Descriptors.FieldDescriptor fieldDef;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | AbstractMessageTest.java | 34 import com.google.protobuf.Descriptors.FieldDescriptor; 69 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() 76 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() 79 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() 82 public Object getField(Descriptors.FieldDescriptor field) { in getField() 85 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() 89 Descriptors.FieldDescriptor field, int index) { in getRepeatedField() 121 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() 128 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() 131 public Builder newBuilderForField(Descriptors.FieldDescriptor field) { in newBuilderForField() [all …]
|
D | DescriptorsTest.java | 39 import com.google.protobuf.Descriptors.DescriptorValidationException; 40 import com.google.protobuf.Descriptors.FileDescriptor; 41 import com.google.protobuf.Descriptors.Descriptor; 42 import com.google.protobuf.Descriptors.FieldDescriptor; 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; 452 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException() 493 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorComplexCrosslink() [all …]
|
D | TestBadIdentifiers.java | 52 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor() 56 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor() 60 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
|
D | MessageTest.java | 169 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testRequiredDynamic() 182 Descriptors.Descriptor descriptor = TestRequiredForeign.getDescriptor(); in testRequiredDynamicForeign() 309 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicParseUnititialized() 319 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNull() 343 Descriptors.Descriptor descriptor = TestRequired.getDescriptor(); in testDynamicRepeatedMessageNotNull()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | AbstractMessageTest.java | 33 import com.google.protobuf.Descriptors.FieldDescriptor; 68 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() 77 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() 81 public boolean hasField(Descriptors.FieldDescriptor field) { in hasField() 85 public Object getField(Descriptors.FieldDescriptor field) { in getField() 89 public int getRepeatedFieldCount(Descriptors.FieldDescriptor field) { in getRepeatedFieldCount() 93 public Object getRepeatedField(Descriptors.FieldDescriptor field, int index) { in getRepeatedField() 133 public Descriptors.Descriptor getDescriptorForType() { in getDescriptorForType() 142 public Map<Descriptors.FieldDescriptor, Object> getAllFields() { in getAllFields() 146 public Builder newBuilderForField(Descriptors.FieldDescriptor field) { in newBuilderForField() [all …]
|
D | WellKnownTypesTest.java | 33 import com.google.protobuf.Descriptors.Descriptor; 34 import com.google.protobuf.Descriptors.EnumDescriptor; 35 import com.google.protobuf.Descriptors.EnumValueDescriptor; 36 import com.google.protobuf.Descriptors.FieldDescriptor;
|
D | DescriptorsTest.java | 38 import com.google.protobuf.Descriptors.Descriptor; 39 import com.google.protobuf.Descriptors.DescriptorValidationException; 40 import com.google.protobuf.Descriptors.EnumDescriptor; 41 import com.google.protobuf.Descriptors.EnumValueDescriptor; 42 import com.google.protobuf.Descriptors.FieldDescriptor; 43 import com.google.protobuf.Descriptors.FileDescriptor; 44 import com.google.protobuf.Descriptors.MethodDescriptor; 45 import com.google.protobuf.Descriptors.OneofDescriptor; 46 import com.google.protobuf.Descriptors.ServiceDescriptor; 474 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException() [all …]
|
D | TestBadIdentifiers.java | 51 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor() 55 Descriptors.Descriptor protoDescriptor = TestBadIdentifiersProto.Descriptor in testGetDescriptor() 59 Descriptors.Descriptor nestedProtoDescriptor = TestBadIdentifiersProto in testGetDescriptor()
|
D | MessageTest.java | 168 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()
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/ |
D | ProtoCompilerHelper.java | 22 import com.google.protobuf.Descriptors.Descriptor; 23 import com.google.protobuf.Descriptors.FileDescriptor;
|