Home
last modified time | relevance | path

Searched refs:IsNullable (Results 1 – 12 of 12) sorted by relevance

/system/tools/aidl/
Daidl_to_rust.cpp51 if (!type.IsMutated() && type.IsNullable()) { in ConstantValueDecoratorInternal()
85 if (type.IsNullable()) { in ConstantValueDecoratorInternal()
234 const bool nullable_option = type.IsNullable() && UsesOptionInNullableVector(type, typenames); in RustNameOf()
260 if (type.IsNullable() || in RustNameOf()
303 if (arg.GetType().IsNullable()) { in ArgumentReferenceMode()
315 if (arg.GetType().IsNullable()) { in ArgumentReferenceMode()
358 if (type.IsNullable()) { in TypeNeedsOption()
Daidl_to_cpp.cpp70 const bool nullable = type.IsNullable(); in RawParcelMethod()
153 if (raw_type.IsNullable() && !AidlTypenames::IsPrimitiveTypename(type.GetName()) && in WrapIfNullable()
236 } else if (type.IsNullable()) { in CppNameOf()
296 if (type.IsNullable()) { in AddHeaders()
Daidl_to_ndk.cpp158 bool is_nullable = aidl.IsNullable(); in GetTypeInfo()
223 if (c.type.IsNullable()) { in WriteToParcelFor()
231 if (c.type.IsNullable()) { in ReadFromParcelFor()
Ddiagnostics.cpp183 if (v.GetType().IsNullable()) return; in CheckExplicitDefault()
253 if (a.IsOut() && a.GetType().IsNullable()) { in Visit()
Daidl_typenames.cpp300 if (type.IsGeneric() || type.IsNullable()) { in CanBeFixedSize()
Dgenerate_rust.cpp205 if (arg->GetType().IsNullable()) { in GenerateClientMethodHelpers()
432 auto resize_name = arg->GetType().IsNullable() ? "resize_nullable_out_vec" : "resize_out_vec"; in GenerateServerTransaction()
942 } else if (variable->GetType().IsFixedSizeArray() && !variable->GetType().IsNullable()) { in GenerateParcelDefault()
Daidl_language.cpp437 bool AidlAnnotatable::IsNullable() const { in IsNullable() function in AidlAnnotatable
797 if (IsArray() || IsNullable() || IsUtf8InCpp()) { in CheckValid()
811 if (IsNullable()) { in CheckValid()
902 if (GetType().IsNullable()) { in HasUsefulDefaultValue()
Daidl_to_cpp_common.cpp764 if (!type.IsMutated() && type.IsNullable()) { in CppConstantValueDecorator()
Dgenerate_ndk.cpp1242 } else if (type.IsFixedSizeArray() && !type.IsNullable()) { in GenerateParcelClassDecl()
Daidl_language.h349 bool IsNullable() const;
Dgenerate_cpp.cpp1189 } else if (type.IsFixedSizeArray() && !type.IsNullable()) { in GenerateParcelFields()
Daidl_unittest.cpp394 EXPECT_FALSE(interface->GetMethods()[0]->GetType().IsNullable()); in TEST_P()
404 EXPECT_TRUE(interface->GetMethods()[0]->GetType().IsNullable()); in TEST_P()