Searched refs:Lifetime (Results 1 – 4 of 4) sorted by relevance
/system/tools/aidl/ |
D | aidl_to_rust.h | 45 enum class Lifetime { enum 73 std::string RustLifetimeName(Lifetime lifetime); 76 std::string RustLifetimeGeneric(Lifetime lifetime); 83 StorageMode mode, Lifetime lifetime);
|
D | aidl_to_rust.cpp | 203 std::string RustLifetimeName(Lifetime lifetime) { in RustLifetimeName() 205 case Lifetime::NONE: in RustLifetimeName() 207 case Lifetime::A: in RustLifetimeName() 212 std::string RustLifetimeGeneric(Lifetime lifetime) { in RustLifetimeGeneric() 214 case Lifetime::NONE: in RustLifetimeGeneric() 216 case Lifetime::A: in RustLifetimeGeneric() 222 StorageMode mode, Lifetime lifetime) { in RustNameOf()
|
D | generate_rust.cpp | 103 string BuildArg(const AidlArgument& arg, const AidlTypenames& typenames, Lifetime lifetime) { in BuildArg() 129 Lifetime lifetime; in BuildMethod() 134 lifetime = Lifetime::NONE; in BuildMethod() 137 lifetime = Lifetime::A; in BuildMethod() 178 parameters += BuildArg(*arg, typenames, Lifetime::NONE); in GenerateClientMethodHelpers() 219 auto return_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers() 256 RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers() 463 auto arg_type = RustNameOf(arg->GetType(), typenames, arg_mode, Lifetime::NONE); in GenerateServerTransaction() 596 const_type = RustNameOf(type, typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateConstantDeclarations() 991 RustNameOf(var_type, typenames, StorageMode::PARCELABLE_FIELD, Lifetime::NONE); in GenerateParcelBody() [all …]
|
D | aidl_unittest.cpp | 5629 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::PARCELABLE_FIELD, rust::Lifetime::NONE), in TEST_F() 5632 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::DEFAULT_VALUE, rust::Lifetime::NONE), in TEST_F() 5635 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::IN_ARGUMENT, rust::Lifetime::NONE), in TEST_F() 5637 EXPECT_EQ(rust::RustNameOf(*pfd, typenames_, rust::StorageMode::VALUE, rust::Lifetime::NONE), in TEST_F() 5644 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::PARCELABLE_FIELD, rust::Lifetime::NONE), in TEST_F() 5647 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::DEFAULT_VALUE, rust::Lifetime::NONE), in TEST_F() 5651 rust::RustNameOf(*pfd, typenames_, rust::StorageMode::UNSIZED_ARGUMENT, rust::Lifetime::NONE), in TEST_F() 5653 EXPECT_EQ(rust::RustNameOf(*pfd, typenames_, rust::StorageMode::VALUE, rust::Lifetime::NONE), in TEST_F()
|