Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_field.cc97 JavaType java_type = GetJavaType(field); in MakeGenerator() local
99 switch (java_type) { in MakeGenerator()
112 switch (java_type) { in MakeGenerator()
120 && java_type != JAVATYPE_MESSAGE) { in MakeGenerator()
125 switch (java_type) { in MakeGenerator()
134 switch (java_type) { in MakeGenerator()
Djavanano_primitive_field.cc317 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional() local
318 if (IsArrayType(java_type)) { in GenerateSerializationConditional()
321 } else if (IsReferenceType(java_type)) { in GenerateSerializationConditional()
324 } else if (java_type == JAVATYPE_FLOAT) { in GenerateSerializationConditional()
328 } else if (java_type == JAVATYPE_DOUBLE) { in GenerateSerializationConditional()
381 JavaType java_type = GetJavaType(descriptor_); in GenerateEqualsCode() local
382 if (java_type == JAVATYPE_BYTES) { in GenerateEqualsCode()
394 } else if (java_type == JAVATYPE_STRING in GenerateEqualsCode()
411 } else if (java_type == JAVATYPE_FLOAT) { in GenerateEqualsCode()
426 } else if (java_type == JAVATYPE_DOUBLE) { in GenerateEqualsCode()
[all …]
Djavanano_extension.cc87 JavaType java_type = GetJavaType(descriptor->type()); in SetVariables() local
89 if (java_type == JAVATYPE_MESSAGE) { in SetVariables()
102 (*variables)["class"] = BoxedPrimitiveTypeName(java_type); in SetVariables()
105 (*variables)["class"] = PrimitiveTypeName(java_type) + "[]"; in SetVariables()
Djavanano_map_field.cc47 JavaType java_type = GetJavaType(field); in TypeName() local
48 switch (java_type) { in TypeName()
60 return BoxedPrimitiveTypeName(java_type); in TypeName()
62 return PrimitiveTypeName(java_type); in TypeName()
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Ddata_types_definition.tmpl38 {{kind.key_kind|java_type}}[] keys{{level}} = {{kind.key_kind|array|new_array('size'~level)}};
39 …{{kind.value_kind|java_type}}[] values{{level}} = {{kind.value_kind|array|new_array('size'~level)}…
41 …for (java.util.Map.Entry<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_type(true)}}> e…
61 {{variable}} = {{kind|java_type}}.decode(decoder{{level+1}});
72 {{kind.key_kind|java_type}}[] keys{{level}};
73 {{kind.value_kind|java_type}}[] values{{level}};
80 …{{variable}} = new java.util.HashMap<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_typ…
94 {{variable}} = {{kind|java_type}}.decode(decoder{{level}}, {{offset}});
134 public {{field.kind|java_type}} {{field|name}};
234 private {{field.kind|java_type}} m{{field|ucc}};
[all …]
Dconstant_definition.tmpl2 public static final {{constant.kind|java_type}} {{constant|name}} = {{constant|constant_value}};
Dinterface_definition.tmpl7 {{param.kind|java_type(boxed)}} {{param|name}}
24 {{param.kind|java_type(True)}}
/external/libchrome/base/android/jni_generator/
Djni_generator.py129 def JavaDataTypeToC(java_type): argument
151 java_type = _StripGenerics(java_type)
152 if java_type in java_pod_type_map:
153 return java_pod_type_map[java_type]
154 elif java_type in java_type_map:
155 return java_type_map[java_type]
156 elif java_type.endswith('[]'):
157 if java_type[:-2] in java_pod_type_map:
158 return java_pod_type_map[java_type[:-2]] + 'Array'
172 def _JavaDataTypeToCForDeclaration(java_type): argument
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_extension.cc84 JavaType java_type = GetJavaType(descriptor); in InitTemplateVars() local
86 switch (java_type) { in InitTemplateVars()
104 singular_type = BoxedPrimitiveTypeName(java_type); in InitTemplateVars()
/external/libchrome/build/android/gyp/util/
Dresource_utils.py84 java_type, resource_type, name, value = m.groups()
87 ret.append(_TextSymbolEntry(java_type, resource_type, name, value))
178 if entry.resource_type == 'styleable' and entry.java_type != 'int[]':