Searched refs:JavaType (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/java/
H A Djava_type.cc12 JavaType JavaTypeFromJNIName(const std::string& jni_name) {
13 JavaType result;
17 result.type = JavaType::TypeBoolean;
20 result.type = JavaType::TypeByte;
23 result.type = JavaType::TypeChar;
26 result.type = JavaType::TypeShort;
29 result.type = JavaType::TypeInt;
32 result.type = JavaType::TypeLong;
35 result.type = JavaType::TypeFloat;
38 result.type = JavaType
59 JavaType::JavaType() { function in class:content::JavaType
62 JavaType::JavaType(const JavaType& other) { function in class:content::JavaType
[all...]
H A Djava_type.h16 struct JavaType { struct in namespace:content
17 JavaType();
18 JavaType(const JavaType& other);
19 ~JavaType();
20 JavaType& operator=(const JavaType& other);
24 static JavaType CreateFromBinaryName(const std::string& binary_name);
45 scoped_ptr<JavaType> inner_type; // Used for TypeArray only.
H A Djava_bound_object.cc130 const JavaType& return_type,
138 case JavaType::TypeBoolean:
142 case JavaType::TypeByte:
145 case JavaType::TypeChar:
148 case JavaType::TypeShort:
152 case JavaType::TypeInt:
155 case JavaType::TypeLong:
159 case JavaType::TypeFloat:
163 case JavaType::TypeDouble:
167 case JavaType
[all...]
H A Djava_method.h26 const JavaType& parameter_type(size_t index) const;
27 const JavaType& return_type() const;
38 mutable std::vector<JavaType> parameter_types_;
39 mutable JavaType return_type_;
H A Djava_method.cc54 JavaType* type) {
56 *type = JavaType::CreateFromBinaryName(binary_name);
58 case JavaType::TypeBoolean:
60 case JavaType::TypeByte:
62 case JavaType::TypeChar:
64 case JavaType::TypeShort:
66 case JavaType::TypeInt:
68 case JavaType::TypeLong:
70 case JavaType::TypeFloat:
72 case JavaType
[all...]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
H A DWireFormat.java74 * Lite equivalent to {@link Descriptors.FieldDescriptor.JavaType}. This is
77 public enum JavaType { enum in class:WireFormat
88 JavaType(final Object defaultDefault) { method in class:WireFormat.JavaType
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
[all...]
H A DDescriptors.java686 public JavaType getJavaType() { return type.getJavaType(); }
689 public WireFormat.JavaType getLiteJavaType() {
743 if (getJavaType() == JavaType.MESSAGE) {
795 if (getJavaType() != JavaType.MESSAGE) {
804 if (getJavaType() != JavaType.ENUM) {
845 DOUBLE (JavaType.DOUBLE ),
846 FLOAT (JavaType.FLOAT ),
847 INT64 (JavaType.LONG ),
848 UINT64 (JavaType.LONG ),
849 INT32 (JavaType
889 public enum JavaType { enum in class:Descriptors.FieldDescriptor
900 JavaType(final Object defaultDefault) { method in class:Descriptors.FieldDescriptor.JavaType
[all...]
H A DExtensionRegistry.java159 FieldDescriptor.JavaType.MESSAGE) {
174 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
184 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
H A DGeneratedMessage.java131 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
430 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
622 FieldDescriptor.JavaType.MESSAGE) {
701 WireFormat.JavaType.MESSAGE &&
774 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
933 FieldDescriptor.JavaType.MESSAGE) {
1054 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1325 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1326 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
1378 if (descriptor.getJavaType() == FieldDescriptor.JavaType
[all...]
H A DDynamicMessage.java166 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
378 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
395 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DWireFormat.java74 * Lite equivalent to {@link Descriptors.FieldDescriptor.JavaType}. This is
77 public enum JavaType { enum in class:WireFormat
88 JavaType(final Object defaultDefault) { method in class:WireFormat.JavaType
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
[all...]
H A DDescriptors.java659 public JavaType getJavaType() { return type.getJavaType(); }
662 public WireFormat.JavaType getLiteJavaType() {
716 if (getJavaType() == JavaType.MESSAGE) {
768 if (getJavaType() != JavaType.MESSAGE) {
777 if (getJavaType() != JavaType.ENUM) {
818 DOUBLE (JavaType.DOUBLE ),
819 FLOAT (JavaType.FLOAT ),
820 INT64 (JavaType.LONG ),
821 UINT64 (JavaType.LONG ),
822 INT32 (JavaType
862 public enum JavaType { enum in class:Descriptors.FieldDescriptor
873 JavaType(final Object defaultDefault) { method in class:Descriptors.FieldDescriptor.JavaType
[all...]
H A DExtensionRegistry.java159 FieldDescriptor.JavaType.MESSAGE) {
174 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
184 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
H A DGeneratedMessage.java101 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
358 FieldDescriptor.JavaType.MESSAGE) {
417 WireFormat.JavaType.MESSAGE &&
474 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
838 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
839 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
889 if (descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
982 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
985 } else if (field.getJavaType() == FieldDescriptor.JavaType.ENUM) {
993 if (field.getJavaType() == FieldDescriptor.JavaType
[all...]
H A DDynamicMessage.java163 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
352 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
369 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_helpers.h108 enum JavaType { enum in namespace:google::protobuf::compiler::javamicro
120 JavaType GetJavaType(FieldDescriptor::Type field_type);
122 inline JavaType GetJavaType(const FieldDescriptor* field) {
129 const char* BoxedPrimitiveTypeName(JavaType type);
H A Djavamicro_primitive_field.cc55 const char* PrimitiveTypeName(JavaType type) {
75 bool IsReferenceType(JavaType type) {
158 bool IsVariableLenType(JavaType type) {
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_helpers.h114 enum JavaType { enum in namespace:google::protobuf::compiler::javanano
126 JavaType GetJavaType(FieldDescriptor::Type field_type);
128 inline JavaType GetJavaType(const FieldDescriptor* field) {
135 const char* BoxedPrimitiveTypeName(JavaType type);
H A Djavanano_extension.cc54 JavaType java_type = GetJavaType(descriptor->type());
H A Djavanano_primitive_field.cc57 const char* PrimitiveTypeName(JavaType type) {
77 bool IsReferenceType(JavaType type) {
97 bool IsArrayType(JavaType type) {
212 bool IsVariableLenType(JavaType type) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.h99 enum JavaType { enum in namespace:google::protobuf::compiler::java
111 JavaType GetJavaType(const FieldDescriptor* field);
116 const char* BoxedPrimitiveTypeName(JavaType type);
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.h101 enum JavaType { enum in namespace:google::protobuf::compiler::java
113 JavaType GetJavaType(const FieldDescriptor* field);
118 const char* BoxedPrimitiveTypeName(JavaType type);
H A Djava_extension.cc97 JavaType java_type = GetJavaType(descriptor_);
145 JavaType java_type = GetJavaType(descriptor_);
H A Djava_primitive_field.cc55 const char* PrimitiveTypeName(JavaType type) {
75 bool IsReferenceType(JavaType type) {
221 JavaType type = GetJavaType(descriptor_);
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DDescriptorsTest.java210 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType());
218 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType());
224 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType());
229 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType());
241 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType());
407 * Test that the FieldDescriptor.JavaType enum is the same as the
408 * WireFormat.JavaType enum.
411 FieldDescriptor.JavaType[] values1 = FieldDescriptor.JavaType.values();
412 WireFormat.JavaType[] values
[all...]

Completed in 421 milliseconds

12