Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_rust.cpp82 std::string rust_name{"crate::mangled::"}; in GetRawRustName() local
84 rust_name += StringPrintf("_%zd_%s", component.size(), component.c_str()); in GetRawRustName()
86 return rust_name; in GetRawRustName()
155 std::string rust_name; in RustNameOf() local
164 rust_name = GetRustName(type, typenames, element_mode); in RustNameOf()
165 if (type.IsNullable() && rust_name == "String") { in RustNameOf()
169 rust_name = "Option<" + rust_name + ">"; in RustNameOf()
172 rust_name = "[" + rust_name + "]"; in RustNameOf()
174 rust_name = "Vec<" + rust_name + ">"; in RustNameOf()
177 rust_name = GetRustName(type, typenames, mode); in RustNameOf()
[all …]