Home
last modified time | relevance | path

Searched refs:ReferenceMode (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/
Daidl_to_rust.h37 enum class ReferenceMode { enum
45 inline bool IsReference(ReferenceMode ref_mode) { in IsReference()
47 case ReferenceMode::REF: in IsReference()
48 case ReferenceMode::MUT_REF: in IsReference()
67 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames);
69 std::string TakeReference(ReferenceMode ref_mode, const std::string& name);
Daidl_to_rust.cpp221 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentReferenceMode()
227 return ReferenceMode::AS_REF; in ArgumentReferenceMode()
229 return ReferenceMode::REF; in ArgumentReferenceMode()
234 return ReferenceMode::MUT_REF; in ArgumentReferenceMode()
240 return ReferenceMode::AS_DEREF; in ArgumentReferenceMode()
242 return ReferenceMode::REF; in ArgumentReferenceMode()
246 return ReferenceMode::VALUE; in ArgumentReferenceMode()
250 std::string TakeReference(ReferenceMode ref_mode, const std::string& name) { in TakeReference()
252 case ReferenceMode::REF: in TakeReference()
255 case ReferenceMode::MUT_REF: in TakeReference()
[all …]