Home
last modified time | relevance | path

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

/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java245 CppType cppType; in printClass() local
255 cppType = new CppComplexType(nameScope + name + "::"+ innerName); in printClass()
257 cppType = parseType(elementValue.getType(), getElementName(elementValue)); in printClass()
259 elementTypes.add(cppType); in printClass()
345 CppType cppType = parseType(elementValue.getType(), elementValue.getName()); in printParser() local
346 allElementTypes.add(cppType); in printParser()
445 CppType cppType = parseType(elementValue.getType(), elementValue.getName()); in printWriter() local
446 allElementTypes.add(cppType); in printWriter()
682 CppType cppType = parseType(element.getType(), element.getName()); in printXmlParser() local
685 String typeName = cppType instanceof CppSimpleType ? cppType.getName() : in printXmlParser()
[all …]
/system/tools/aidl/
Dgenerate_cpp.cpp807 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceSource() local
808 unique_ptr<MethodImpl> getter(new MethodImpl("const " + cppType + "&", in BuildInterfaceSource()
812 StringPrintf("static const %s value(%s)", cppType.c_str(), in BuildInterfaceSource()
975 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceHeader() local
976 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
1103 std::string cppType = CppNameOf(variable->GetType(), typenames); in BuildParcelHeader() local
1104 out << cppType.c_str() << " " << variable->GetName().c_str(); in BuildParcelHeader()
1106 out << " = " << cppType.c_str() << "(" << variable->ValueString(ConstantValueDecorator) in BuildParcelHeader()