Home
last modified time | relevance | path

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

/system/tools/aidl/
Dtype_cpp.cpp104 class PrimitiveType : public Type { class
106 PrimitiveType(const std::string& aidl_type, in PrimitiveType() function in android::aidl::cpp::__anon9051069a0111::PrimitiveType
120 ~PrimitiveType() override = default;
124 DISALLOW_COPY_AND_ASSIGN(PrimitiveType);
369 Add(std::make_unique<PrimitiveType>("int", "cstdint", "int32_t", "readInt32", "writeInt32", in Init()
371 Add(std::make_unique<PrimitiveType>("long", "cstdint", "int64_t", "readInt64", "writeInt64", in Init()
373 Add(std::make_unique<PrimitiveType>("float", kNoHeader, "float", "readFloat", "writeFloat", in Init()
375 Add(std::make_unique<PrimitiveType>("double", kNoHeader, "double", "readDouble", "writeDouble", in Init()
377 Add(std::make_unique<PrimitiveType>("boolean", kNoHeader, "bool", "readBool", "writeBool", in Init()
380 Add(std::make_unique<PrimitiveType>("char", kNoHeader, "char16_t", "readChar", "writeChar", in Init()
Daidl_to_ndk.cpp82 TypeInfo PrimitiveType(const std::string& cpp_name, const std::string& pretty_name) { in PrimitiveType() function
161 {"boolean", PrimitiveType("bool", "Bool")},
162 {"byte", PrimitiveType("int8_t", "Byte")},
163 {"char", PrimitiveType("char16_t", "Char")},
164 {"int", PrimitiveType("int32_t", "Int32")},
165 {"long", PrimitiveType("int64_t", "Int64")},
166 {"float", PrimitiveType("float", "Float")},
167 {"double", PrimitiveType("double", "Double")},