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
50 inline bool IsReference(ReferenceMode ref_mode) { in IsReference()
52 case ReferenceMode::REF: in IsReference()
53 case ReferenceMode::MUT_REF: in IsReference()
87 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames);
89 std::string TakeReference(ReferenceMode ref_mode, const std::string& name);
Daidl_to_rust.cpp299 ReferenceMode ArgumentReferenceMode(const AidlArgument& arg, const AidlTypenames& typenames) { in ArgumentReferenceMode()
305 return ReferenceMode::AS_REF; in ArgumentReferenceMode()
307 return ReferenceMode::REF; in ArgumentReferenceMode()
312 return ReferenceMode::MUT_REF; in ArgumentReferenceMode()
318 return ReferenceMode::AS_DEREF; in ArgumentReferenceMode()
320 return ReferenceMode::REF; in ArgumentReferenceMode()
324 return ReferenceMode::VALUE; in ArgumentReferenceMode()
328 std::string TakeReference(ReferenceMode ref_mode, const std::string& name) { in TakeReference()
330 case ReferenceMode::REF: in TakeReference()
333 case ReferenceMode::MUT_REF: in TakeReference()
[all …]