Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc270 JavaType java_type = GetJavaType(descriptor_); in GenerateMembers() local
271 if (java_type == JAVATYPE_BYTES && params_.bytes_offset_length()) { in GenerateMembers()
289 JavaType java_type = GetJavaType(descriptor_); in GenerateClearCode() local
290 if (java_type == JAVATYPE_BYTES && params_.bytes_offset_length()) { in GenerateClearCode()
308 JavaType java_type = GetJavaType(descriptor_); in GenerateMergingCode() local
309 if (java_type == JAVATYPE_BYTES && params_.bytes_offset_length()) { in GenerateMergingCode()
342 JavaType java_type = GetJavaType(descriptor_); in GenerateSerializationConditional() local
343 if (java_type == JAVATYPE_BYTES && params_.bytes_offset_length()) { in GenerateSerializationConditional()
346 } else if (IsArrayType(java_type)) { in GenerateSerializationConditional()
349 } else if (IsReferenceType(java_type)) { in GenerateSerializationConditional()
[all …]
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_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()