/system/tools/aidl/ |
D | aidl_to_rust.cpp | 111 StorageMode mode) { in GetRustName() 130 if (type_name == "String" && mode == StorageMode::UNSIZED_ARGUMENT) { in GetRustName() 210 StorageMode mode, Lifetime lifetime) { in RustNameOf() 214 StorageMode element_mode; in RustNameOf() 215 if (type.IsFixedSizeArray() && mode == StorageMode::PARCELABLE_FIELD) { in RustNameOf() 217 element_mode = StorageMode::DEFAULT_VALUE; in RustNameOf() 218 } else if (mode == StorageMode::OUT_ARGUMENT || mode == StorageMode::DEFAULT_VALUE) { in RustNameOf() 220 element_mode = StorageMode::DEFAULT_VALUE; in RustNameOf() 222 element_mode = StorageMode::VALUE; in RustNameOf() 232 element_mode == StorageMode::DEFAULT_VALUE && !AutoConstructor(element_type, typenames); in RustNameOf() [all …]
|
D | aidl_to_ndk.cpp | 99 type_params.push_back(NdkNameOf(types, *parameter, StorageMode::STACK)); in GetBaseTypeInfo() 203 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode) { in NdkNameOf() 207 case StorageMode::STACK: in NdkNameOf() 209 case StorageMode::ARGUMENT: in NdkNameOf() 215 case StorageMode::OUT_ARGUMENT: in NdkNameOf() 244 StorageMode mode = a->IsOut() ? StorageMode::OUT_ARGUMENT : StorageMode::ARGUMENT; in NdkArgList() 251 std::string type = NdkNameOf(types, method.GetType(), StorageMode::OUT_ARGUMENT); in NdkArgList()
|
D | aidl_to_rust.h | 27 enum class StorageMode { enum 83 StorageMode mode, Lifetime lifetime); 85 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames);
|
D | aidl_to_ndk.h | 25 enum class StorageMode { enum 43 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode);
|
D | generate_rust.cpp | 140 auto method_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, lifetime); in BuildMethod() 218 auto return_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers() 255 RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers() 418 StorageMode arg_mode; in GenerateServerTransaction() 420 arg_mode = StorageMode::VALUE; in GenerateServerTransaction() 423 arg_mode = StorageMode::DEFAULT_VALUE; in GenerateServerTransaction() 553 const_type = RustNameOf(type, typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateConstantDeclarations() 905 RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD, Lifetime::NONE); in GenerateParcelBody() 1008 RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD, Lifetime::NONE); in GenerateParcelBody() 1073 RustNameOf(variable->GetType(), typenames, StorageMode::PARCELABLE_FIELD, Lifetime::NONE); in GenerateParcelDeserializeBody() [all …]
|
D | generate_ndk.cpp | 163 const auto backing_type = NdkNameOf(types, enum_decl.GetBackingType(), StorageMode::STACK); in GenerateHeaderDefinitions() 429 out << "static constexpr " << NdkNameOf(types, type, StorageMode::STACK) << " "; in GenerateConstantDeclarations() 434 out << "enum : " << NdkNameOf(types, type, StorageMode::STACK) << " { "; in GenerateConstantDeclarations() 619 out << NdkNameOf(types, arg->GetType(), StorageMode::STACK) << " " << cpp::BuildVarName(*arg) in GenerateServerCaseDefinition() 623 out << NdkNameOf(types, method.GetType(), StorageMode::STACK) << " _aidl_return;\n"; in GenerateServerCaseDefinition() 1217 std::string cpp_type = NdkNameOf(types, type, StorageMode::STACK); in GenerateParcelClassDecl() 1350 return NdkNameOf(types, type, StorageMode::STACK); in GenerateParcelClassDecl() 1401 return NdkNameOf(types, type, StorageMode::STACK); in GenerateParcelSource() 1451 NdkNameOf(types, enum_decl.GetBackingType(), StorageMode::STACK), in GenerateEnumClassDecl()
|
/system/tools/hidl/ |
D | DeathRecipientType.h | 29 StorageMode mode,
|
D | EnumType.h | 55 std::string getCppType(StorageMode mode, 65 std::string getBitfieldCppType(StorageMode mode, bool specifyNamespaces = true) const; 192 std::string getCppType(StorageMode mode,
|
D | DeathRecipientType.cpp | 30 std::string DeathRecipientType::getCppType(StorageMode mode, in getCppType()
|
D | PointerType.h | 35 StorageMode mode,
|
D | Type.h | 153 enum StorageMode { enum 161 StorageMode mode, 166 StorageMode mode,
|
D | PointerType.cpp | 34 std::string PointerType::getCppType(StorageMode /*mode*/, in getCppType() argument
|
D | FmqType.h | 37 StorageMode mode,
|
D | StringType.h | 35 StorageMode mode,
|
D | HandleType.h | 33 StorageMode mode,
|
D | MemoryType.h | 31 StorageMode mode,
|
D | ScalarType.h | 53 StorageMode mode,
|
D | FmqType.cpp | 46 StorageMode mode, in getCppType()
|
D | HandleType.cpp | 36 std::string HandleType::getCppType(StorageMode mode, in getCppType()
|
D | ArrayType.h | 52 std::string getCppType(StorageMode mode,
|
D | VectorType.h | 42 StorageMode mode,
|
D | StringType.cpp | 39 std::string StringType::getCppType(StorageMode mode, in getCppType()
|
D | MemoryType.cpp | 28 std::string MemoryType::getCppType(StorageMode mode, in getCppType()
|
D | ScalarType.cpp | 55 std::string ScalarType::getCppType(StorageMode, bool) const { in getCppType() argument
|
D | Interface.h | 96 StorageMode mode,
|