Home
last modified time | relevance | path

Searched refs:StorageMode (Results 1 – 25 of 33) sorted by relevance

12

/system/tools/aidl/
Daidl_to_rust.cpp111 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 …]
Daidl_to_ndk.cpp99 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()
Daidl_to_rust.h27 enum class StorageMode { enum
83 StorageMode mode, Lifetime lifetime);
85 StorageMode ArgumentStorageMode(const AidlArgument& arg, const AidlTypenames& typenames);
Daidl_to_ndk.h25 enum class StorageMode { enum
43 std::string NdkNameOf(const AidlTypenames& types, const AidlTypeSpecifier& aidl, StorageMode mode);
Dgenerate_rust.cpp140 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 …]
Dgenerate_ndk.cpp163 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/
DDeathRecipientType.h29 StorageMode mode,
DEnumType.h55 std::string getCppType(StorageMode mode,
65 std::string getBitfieldCppType(StorageMode mode, bool specifyNamespaces = true) const;
192 std::string getCppType(StorageMode mode,
DDeathRecipientType.cpp30 std::string DeathRecipientType::getCppType(StorageMode mode, in getCppType()
DPointerType.h35 StorageMode mode,
DType.h153 enum StorageMode { enum
161 StorageMode mode,
166 StorageMode mode,
DPointerType.cpp34 std::string PointerType::getCppType(StorageMode /*mode*/, in getCppType() argument
DFmqType.h37 StorageMode mode,
DStringType.h35 StorageMode mode,
DHandleType.h33 StorageMode mode,
DMemoryType.h31 StorageMode mode,
DScalarType.h53 StorageMode mode,
DFmqType.cpp46 StorageMode mode, in getCppType()
DHandleType.cpp36 std::string HandleType::getCppType(StorageMode mode, in getCppType()
DArrayType.h52 std::string getCppType(StorageMode mode,
DVectorType.h42 StorageMode mode,
DStringType.cpp39 std::string StringType::getCppType(StorageMode mode, in getCppType()
DMemoryType.cpp28 std::string MemoryType::getCppType(StorageMode mode, in getCppType()
DScalarType.cpp55 std::string ScalarType::getCppType(StorageMode, bool) const { in getCppType() argument
DInterface.h96 StorageMode mode,

12