Home
last modified time | relevance | path

Searched refs:IsNullableKind (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_js_generator.py361 return ("" if mojom.IsNullableKind(kind) else "!") + self._ClosureType(kind)
413 pointer_type = "NullablePointerTo" if mojom.IsNullableKind(kind) \
419 array_type = ("NullableArrayOf" if mojom.IsNullableKind(kind)
426 "NullableInterface" if mojom.IsNullableKind(kind) else "Interface",
430 "NullableInterfaceRequest" if mojom.IsNullableKind(kind)
434 if mojom.IsNullableKind(kind) else "AssociatedInterfacePtrInfo")
437 if mojom.IsNullableKind(kind) else "AssociatedInterfaceRequest")
441 map_type = "NullableMapOf" if mojom.IsNullableKind(kind) else "MapOf"
502 return "true" if mojom.IsNullableKind(field.kind) else "false"
533 values_nullable = "true" if mojom.IsNullableKind(values_kind) else "false"
Dmojom_cpp_generator.py360 "is_nullable_kind": mojom.IsNullableKind,
475 if mojom.IsNullableKind(kind):
524 if (mojom.IsNullableKind(kind) and
537 if mojom.IsNullableKind(kind):
544 if mojom.IsNullableKind(kind):
569 return (_AddOptional(type_name) if mojom.IsNullableKind(kind)
812 element_is_nullable = mojom.IsNullableKind(kind.kind)
Dmojom_java_generator.py178 if mojom.IsNullableKind(kind):
180 if mojom.IsNullableKind(kind.kind):
197 params.append(GetJavaTrueFalse(mojom.IsNullableKind(kind)))
443 'is_nullable_kind': mojom.IsNullableKind,
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dmodule.py470 if IsNullableKind(key_kind):
850 def IsNullableKind(kind): function