/external/protobuf/java/src/main/java/com/google/protobuf/ |
WireFormat.java | 74 * Lite equivalent to {@link Descriptors.FieldDescriptor.JavaType}. This is 77 public enum JavaType { 88 JavaType(final Object defaultDefault) { 108 DOUBLE (JavaType.DOUBLE , WIRETYPE_FIXED64 ), 109 FLOAT (JavaType.FLOAT , WIRETYPE_FIXED32 ), 110 INT64 (JavaType.LONG , WIRETYPE_VARINT ), 111 UINT64 (JavaType.LONG , WIRETYPE_VARINT ), 112 INT32 (JavaType.INT , WIRETYPE_VARINT ), 113 FIXED64 (JavaType.LONG , WIRETYPE_FIXED64 ), 114 FIXED32 (JavaType.INT , WIRETYPE_FIXED32 ) [all...] |
Descriptors.java | [all...] |
ExtensionRegistry.java | 248 FieldDescriptor.JavaType.MESSAGE) { 263 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { 275 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
|
GeneratedMessageLite.java | 291 WireFormat.JavaType.MESSAGE && 701 public WireFormat.JavaType getLiteJavaType() { 845 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { 860 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { 870 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { 885 if (descriptor.getLiteJavaType() == WireFormat.JavaType.ENUM) { [all...] |
GeneratedMessage.java | 133 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { 459 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { 654 FieldDescriptor.JavaType.MESSAGE) { 734 WireFormat.JavaType.MESSAGE && 807 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { [all...] |
DynamicMessage.java | 196 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { 433 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { 475 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
|
FieldSet.java | 60 WireFormat.JavaType getLiteJavaType(); 436 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { 519 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { 627 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE && 786 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE [all...] |
AbstractMessage.java | 294 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
javamicro_helpers.h | 108 enum JavaType { 120 JavaType GetJavaType(FieldDescriptor::Type field_type); 122 inline JavaType GetJavaType(const FieldDescriptor* field) { 129 const char* BoxedPrimitiveTypeName(JavaType type);
|
javamicro_primitive_field.cc | 55 const char* PrimitiveTypeName(JavaType type) { 75 bool IsReferenceType(JavaType type) { 158 bool IsVariableLenType(JavaType type) {
|
javamicro_helpers.cc | 200 JavaType GetJavaType(FieldDescriptor::Type field_type) { 246 const char* BoxedPrimitiveTypeName(JavaType type) {
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
javanano_helpers.h | 118 enum JavaType { 130 JavaType GetJavaType(FieldDescriptor::Type field_type); 132 inline JavaType GetJavaType(const FieldDescriptor* field) { 136 string PrimitiveTypeName(JavaType type); 141 string BoxedPrimitiveTypeName(JavaType type);
|
javanano_primitive_field.cc | 57 bool IsReferenceType(JavaType type) { 77 bool IsArrayType(JavaType type) { 160 bool IsVariableLenType(JavaType type) { 291 JavaType java_type = GetJavaType(descriptor_); 310 JavaType java_type = GetJavaType(descriptor_); 329 JavaType java_type = GetJavaType(descriptor_); 363 JavaType java_type = GetJavaType(descriptor_); 403 JavaType java_type = GetJavaType(descriptor_); 429 JavaType java_type = GetJavaType(descriptor_); 455 JavaType java_type = GetJavaType(descriptor_) [all...] |
javanano_field.cc | 96 JavaType java_type = GetJavaType(field);
|
javanano_extension.cc | 87 JavaType java_type = GetJavaType(descriptor->type());
|
javanano_helpers.cc | 283 JavaType GetJavaType(FieldDescriptor::Type field_type) { 329 string PrimitiveTypeName(JavaType type) { 349 string BoxedPrimitiveTypeName(JavaType type) {
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_helpers.h | 138 enum JavaType { 150 JavaType GetJavaType(const FieldDescriptor* field); 155 const char* BoxedPrimitiveTypeName(JavaType type); 275 // Returns whether the JavaType is a reference type. 276 bool IsReferenceType(JavaType type);
|
java_extension.cc | 84 JavaType java_type = GetJavaType(descriptor);
|
java_helpers.cc | 263 JavaType GetJavaType(const FieldDescriptor* field) { 309 const char* BoxedPrimitiveTypeName(JavaType type) { 582 bool IsReferenceType(JavaType type) {
|
java_primitive_field.cc | 58 const char* PrimitiveTypeName(JavaType type) { 257 JavaType type = GetJavaType(descriptor_);
|
/system/tools/aidl/ |
ast_java.cpp | 74 to->Write("%s %s", this->variable->type->JavaType().c_str(), 105 to->Write("%s%s %s", this->type->JavaType().c_str(), dim.c_str(), 121 to->Write("%s", this->clazz->JavaType().c_str()); 160 to->Write("(%s)", this->cast->JavaType().c_str()); 206 to->Write("%s.", this->clazz->JavaType().c_str()); 250 to->Write("new %s[", this->type->JavaType().c_str()); 271 to->Write("((%s)", this->type->JavaType().c_str()); 287 to->Write("(%s)", this->cast->JavaType().c_str()); 387 to->Write("%s%s ", this->returnType->JavaType().c_str(), dim.c_str()); 409 to->Write("%s", this->exceptions[i]->JavaType().c_str()) [all...] |
type_java.h | 50 virtual std::string JavaType() const { return m_javaType; } 207 std::string JavaType() const override { return "java.lang.String"; } 419 std::string JavaType() const override { 420 return "java.util.List<" + m_contained_type->JavaType() + ">";
|
type_java.cpp | 59 string Type::InstantiableName() const { return JavaType(); } 588 return JavaType() + ".CREATOR"; 657 return JavaType() + ".CREATOR"; 668 string creator = v->type->JavaType() + ".CREATOR"; 675 string creator = v->type->JavaType() + ".CREATOR"; 726 return "java.util.ArrayList<" + m_contained_type->JavaType() + ">"; [all...] |
generate_java_binder.cpp | 68 descriptor->value = "\"" + interfaceType->JavaType() + "\""; 128 m->comment += interfaceType->JavaType(); 161 new LiteralExpression(interfaceType->JavaType()));
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 218 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); 226 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); 232 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); 237 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); 249 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); 419 * Test that the FieldDescriptor.JavaType enum is the same as the 420 * WireFormat.JavaType enum. 423 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values(); 424 WireFormat.JavaType[] values2 = WireFormat.JavaType.values() [all...] |