Home
last modified time | relevance | path

Searched refs:typeName (Results 1 – 25 of 47) sorted by relevance

12

/system/tools/hidl/
DType.cpp241 std::cerr << " '" << nextType->typeName() << "' in '" << typeName() << "'"; in topologicalOrder()
261 std::cerr << " '" << nextType->typeName() << "' in '" << typeName() << "' at " in topologicalOrder()
318 std::cerr << "ERROR: Forward reference of '" << refType->typeName() << "' at " << ref.location() in checkForwardReferenceRestrictions()
383 CHECK(!"Should not be here") << typeName(); in getCppType()
393 CHECK(!"Should not be here") << typeName(); in getJavaType()
406 CHECK(!"Should not be here") << typeName(); in getJavaSuffix()
411 CHECK(!"Should not be here") << typeName(); in getVtsType()
416 CHECK(!"Should not be here") << typeName(); in getVtsValueName()
427 CHECK(!"Should not be here") << typeName(); in emitReaderWriter()
469 CHECK(!"Should not be here") << typeName(); in emitReaderWriterEmbedded()
[all …]
DScalarType.cpp51 std::string ScalarType::typeName() const { in typeName() function in android::ScalarType
150 const std::string typeName = getJavaType(false /* forInitializer */); in emitJavaFieldInitializer() local
151 const std::string fieldDeclaration = typeName + " " + fieldName; in emitJavaFieldInitializer()
DArrayType.cpp55 std::string ArrayType::typeName() const { in typeName() function in android::ArrayType
57 return "array of " + mElementType->typeName(); in typeName()
60 return std::to_string(dimension()) + "d array of " + mElementType->typeName(); in typeName()
345 const std::string typeName = getJavaType(false /* forInitializer */); in emitJavaFieldInitializer() local
346 const std::string fieldDeclaration = typeName + " " + fieldName; in emitJavaFieldInitializer()
DDeathRecipientType.h35 std::string typeName() const override;
DTypeDef.h33 std::string typeName() const override;
DDeathRecipientType.cpp26 std::string DeathRecipientType::typeName() const { in typeName() function in android::DeathRecipientType
DEnumType.cpp103 std::cerr << "ERROR: Invalid enum storage type (" << (mStorageType)->typeName() in validate()
122 std::cerr << "WARNING: Unrecognized annotation '" << name << "' for " << typeName() in validateAnnotations()
171 std::string EnumType::typeName() const { in typeName() function in android::EnumType
280 out << typeName() << " : " << mStorageType.localName() << " {\n"; in emitHidlDefinition()
520 const std::string typeName = in emitJavaTypeDeclarations() local
532 << typeName in emitJavaTypeDeclarations()
545 << typeName << " o) "; in emitJavaTypeDeclarations()
731 const std::string typeName = in emitExportedHeader() local
739 << typeName in emitExportedHeader()
DTypeDef.cpp50 std::string TypeDef::typeName() const { in typeName() function in android::TypeDef
DPointerType.h32 std::string typeName() const override;
DPointerType.cpp39 std::string PointerType::typeName() const { in typeName() function in android::PointerType
DType.h135 virtual std::string typeName() const = 0;
333 const std::string &typeName,
366 std::string typeName() const override;
DHandleType.h30 std::string typeName() const override;
DStringType.h32 std::string typeName() const override;
DMemoryType.h28 std::string typeName() const override;
DScalarType.h49 std::string typeName() const override;
/system/tools/hidl/lint/lints/
DemptyStructs.cpp47 << compoundType->typeName() << " contains no elements.\n" in checkSmallStructs()
51 << compoundType->typeName() << " only contains 1 element.\n" in checkSmallStructs()
Dsafeunion.cpp55 << compoundType->typeName() << " is defined as a Union type.\n" in lintUnionRecursively()
77 << "Reference to union type: " << compoundType->typeName() in lintUnionRecursively()
103 << "Reference to struct: " << compoundType->typeName() in lintUnionRecursively()
Doneway.cpp93 << iface->typeName() << " has both oneway and non-oneway methods. " in onewayLint()
109 << iface->typeName() << " should only have " in onewayLint()
/system/tools/hidl/hidl2aidl/
DAidlHelper.cpp188 if (field->get()->typeName() == compoundType.typeName()) { in processCompoundType()
212 << "Keeping " << field->get()->typeName() << " from " << version.first in processCompoundType()
214 << (it->field)->get()->typeName() << " from " << it->version.first in processCompoundType()
221 << "Keeping " << (it->field)->get()->typeName() << " from " in processCompoundType()
223 << field->get()->typeName() << " from " << version.first << "." in processCompoundType()
DAidlInterface.cpp144 static bool shouldWarnStatusType(const std::string& typeName) { in shouldWarnStatusType() argument
147 const std::string uppercase = StringHelper::Uppercase(typeName); in shouldWarnStatusType()
154 static bool shouldWarnOutParam(const std::string& typeName) { in shouldWarnOutParam() argument
169 return std::find(kNoOutParamTypes.begin(), kNoOutParamTypes.end(), typeName) != in shouldWarnOutParam()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java379 String typeName = Utils.elementTypeName(type.getName(), in printClass() local
381 parserHeaderFile.printf("const %s %s_;\n", typeName, in printClass()
622 String typeName = isMultiple ? String.format("std::vector<%s>", in printGetter() local
625 parserHeaderFile.printf("const %s& %s%s() const;\n", typeName, getterName(typeName), in printGetter()
631 typeName, name, getterName(typeName), Utils.capitalize(variableName), in printGetter()
799 String typeName = cppType instanceof CppSimpleType ? cppType.getName() : in printXmlParser() local
803 typeName, isMultiRootElement ? Utils.capitalize(typeName) : ""); in printXmlParser()
805 typeName, isMultiRootElement ? Utils.capitalize(typeName) : ""); in printXmlParser()
838 String typeName = cppType instanceof CppSimpleType ? cppType.getName() : in printXmlWriter() local
841 typeName, VariableName); in printXmlWriter()
[all …]
DUtils.java90 static String toAssignmentName(String typeName, String variableName, boolean isMultipleType) { in toAssignmentName() argument
91 if (isMultipleType || typeName.equals("std::string")) { in toAssignmentName()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java246 String typeName = element.isMultiple() ? String.format("java.util.List<%s>", in printClass() local
249 typeName, Utils.toVariableName(getElementName(elementValue))); in printClass()
458 String typeName = isMultiple ? String.format("java.util.List<%s>", type.getNullableName()) in printGetterAndSetter() local
468 getNullabilityString(nullability), typeName, getterName(typeName), in printGetterAndSetter()
476 if (typeName.equals("boolean")) { in printGetterAndSetter()
479 out.printf("return (%s)0;\n}\n", typeName); in printGetterAndSetter()
501 getNullabilityString(nullability), typeName, variableName, in printGetterAndSetter()
628 String typeName = javaType instanceof JavaSimpleType ? javaType.getName() : in printXmlWriter() local
632 getDefaultNullability(Nullability.NON_NULL), typeName, VariableName); in printXmlWriter()
817 String typeName = typeRef.getLocalPart(); in parseSimpleTypeReference() local
[all …]
/system/tools/aidl/
Daidl_to_rust.cpp207 const auto typeName = arg.GetType().GetName(); in ArgumentStorageMode() local
208 const auto definedType = typenames.TryGetDefinedType(typeName); in ArgumentStorageMode()
211 const bool isPrimitive = AidlTypenames::IsPrimitiveTypename(typeName); in ArgumentStorageMode()
212 if (typeName == "String" || arg.GetType().IsArray() || typenames.IsList(arg.GetType())) { in ArgumentStorageMode()
/system/tools/aidl/build/
Daidl_gen_rule.go207 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl")
209 baseName := typeName
215 baseName = strings.TrimPrefix(typeName, "I")
224 typeName+".h"))

12