/system/tools/hidl/ |
D | Type.cpp | 241 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 …]
|
D | ScalarType.cpp | 51 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()
|
D | ArrayType.cpp | 55 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()
|
D | DeathRecipientType.h | 35 std::string typeName() const override;
|
D | TypeDef.h | 33 std::string typeName() const override;
|
D | DeathRecipientType.cpp | 26 std::string DeathRecipientType::typeName() const { in typeName() function in android::DeathRecipientType
|
D | EnumType.cpp | 103 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()
|
D | TypeDef.cpp | 50 std::string TypeDef::typeName() const { in typeName() function in android::TypeDef
|
D | PointerType.h | 32 std::string typeName() const override;
|
D | PointerType.cpp | 39 std::string PointerType::typeName() const { in typeName() function in android::PointerType
|
D | Type.h | 135 virtual std::string typeName() const = 0; 333 const std::string &typeName, 366 std::string typeName() const override;
|
D | HandleType.h | 30 std::string typeName() const override;
|
D | StringType.h | 32 std::string typeName() const override;
|
D | MemoryType.h | 28 std::string typeName() const override;
|
D | ScalarType.h | 49 std::string typeName() const override;
|
/system/tools/hidl/lint/lints/ |
D | emptyStructs.cpp | 47 << compoundType->typeName() << " contains no elements.\n" in checkSmallStructs() 51 << compoundType->typeName() << " only contains 1 element.\n" in checkSmallStructs()
|
D | safeunion.cpp | 55 << 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()
|
D | oneway.cpp | 93 << iface->typeName() << " has both oneway and non-oneway methods. " in onewayLint() 109 << iface->typeName() << " should only have " in onewayLint()
|
/system/tools/hidl/hidl2aidl/ |
D | AidlHelper.cpp | 188 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()
|
D | AidlInterface.cpp | 144 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/ |
D | CppCodeGenerator.java | 379 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 …]
|
D | Utils.java | 90 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/ |
D | JavaCodeGenerator.java | 246 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/ |
D | aidl_to_rust.cpp | 207 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/ |
D | aidl_gen_rule.go | 207 typeName := strings.TrimSuffix(filepath.Base(relPath), ".aidl") 209 baseName := typeName 215 baseName = strings.TrimPrefix(typeName, "I") 224 typeName+".h"))
|