Home
last modified time | relevance | path

Searched refs:key_kind (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py421 def __init__(self, key_kind=None, value_kind=None): argument
422 if (key_kind is not None and value_kind is not None):
424 'm[' + key_kind.spec + '][' + value_kind.spec +
426 if IsNullableKind(key_kind):
428 if IsStructKind(key_kind):
433 if IsAnyHandleKind(key_kind):
435 if IsInterfaceKind(key_kind):
437 if IsArrayKind(key_kind):
442 self.key_kind = key_kind
449 Repr(self.key_kind), Repr(self.value_kind))
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/
Ddata_types_definition.tmpl66 {{kind.key_kind|java_type}}[] keys{{level}} = {{kind.key_kind|array|new_array('size'~level)}};
69 …for (java.util.Map.Entry<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_type(true)}}> e…
74 …{{encode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0…
100 {{kind.key_kind|java_type}}[] keys{{level}};
103 …{{decode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0…
108 …{{variable}} = new java.util.HashMap<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_typ…
/external/libmojo/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py135 key_type = ElementCodecType(kind.key_kind)
152 (ElementCodecType(kind.key_kind), ElementCodecType(kind.value_kind))
176 (ElementCodecType(kind.key_kind), ElementCodecType(kind.value_kind))
243 keys_type = ElementCodecType(field.kind.key_kind)
Dmojom_cpp_generator.py184 return pattern % (GetCppWrapperType(kind.key_kind),
249 (GetCppFieldType(kind.key_kind), GetCppFieldType(kind.value_kind)))
285 GetUnmappedTypeForSerializer(kind.key_kind),
370 kind=kind.key_kind))
Dmojom_java_generator.py268 GetBoxedJavaType(context, kind.key_kind),