Home
last modified time | relevance | path

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

/system/tools/aidl/
Daidl_to_cpp.cpp197 auto cpp_name = GetRawCppName(type); in GetCppName() local
203 cpp_name += "<" + base::Join(type_params, ", ") + ">"; in GetCppName()
205 return WrapIfNullable(cpp_name, raw_type, typenames); in GetCppName()
220 std::string cpp_name = GetCppName(type, typenames); in CppNameOf() local
226 cpp_name = "std::array<" + cpp_name + ", " + std::to_string(*it) + ">"; in CppNameOf()
229 cpp_name = "::std::vector<" + cpp_name + ">"; in CppNameOf()
235 cpp_name = "::std::unique_ptr<" + cpp_name + ">"; in CppNameOf()
237 cpp_name = "::std::optional<" + cpp_name + ">"; in CppNameOf()
240 return cpp_name; in CppNameOf()
248 const std::string cpp_name = GetCppName(type, typenames); in IsNonCopyableType() local
[all …]
Daidl_to_ndk.cpp51 std::string cpp_name; member
115 info.cpp_name = "std::unique_ptr<" + info.cpp_name + ">"; in WrapNullableType()
117 info.cpp_name = "std::optional<" + info.cpp_name + ">"; in WrapNullableType()
126 if (info.cpp_name == "int8_t") { in WrapArrayType()
127 info.cpp_name = "uint8_t"; in WrapArrayType()
130 info.cpp_name = "std::vector<" + info.cpp_name + ">"; in WrapArrayType()
134 info.cpp_name = "std::array<" + info.cpp_name + ", " + std::to_string(*it) + ">"; in WrapArrayType()
208 return aspect.cpp_name; in NdkNameOf()
211 return aspect.cpp_name; in NdkNameOf()
213 return "const " + aspect.cpp_name + "&"; in NdkNameOf()
[all …]