Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py465 def __init__(self, key_kind=None, value_kind=None): argument
466 if (key_kind is not None and value_kind is not None):
468 'm[' + key_kind.spec + '][' + value_kind.spec +
470 if IsNullableKind(key_kind):
472 if IsAnyHandleKind(key_kind):
474 if IsAnyInterfaceKind(key_kind):
476 if IsArrayKind(key_kind):
481 self.key_kind = key_kind
488 Repr(self.key_kind), Repr(self.value_kind))
922 if _HasProperty(kind.key_kind) or _HasProperty(kind.value_kind):
[all …]
/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)}};
41 …for (java.util.Map.Entry<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_type(true)}}> e…
46 …{{encode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0…
72 {{kind.key_kind|java_type}}[] keys{{level}};
75 …{{decode('keys'~level, kind.key_kind|array, 'org.chromium.mojo.bindings.DataHeader.HEADER_SIZE', 0…
80 …{{variable}} = new java.util.HashMap<{{kind.key_kind|java_type(true)}}, {{kind.value_kind|java_typ…
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py347 self._ClosureType(kind.key_kind), self._ClosureType(kind.value_kind))
442 key_type = self._ElementCodecType(kind.key_kind)
459 self._ElementCodecType(kind.key_kind),
481 self._ElementCodecType(kind.key_kind),
530 keys_type = self._ElementCodecType(field.kind.key_kind)
Dmojom_cpp_generator.py232 AddKind(kind.key_kind)
548 kind.key_kind,
596 self._IsMoveOnlyKind(kind.key_kind))
643 (self._GetCppFieldType(kind.key_kind),
806 kind=kind.key_kind))
855 self._GetCppDataViewType(kind.key_kind, qualified),
Dmojom_java_generator.py284 GetBoxedJavaType(context, kind.key_kind),
/external/libchrome/mojo/public/tools/bindings/generators/js_templates/
Dfuzzing.tmpl73 return {{generate_or_mutate(obj, operation, kind.key_kind, 'val')|indent(4)}};
81 return {{generate_or_mutate(obj, operation, kind.key_kind)|indent(4)}};