Searched refs:errorMsg (Results 1 – 3 of 3) sorted by relevance
/system/tools/hidl/ |
D | hidl-gen_y.yy | 62 bool isValidInterfaceField(const std::string& identifier, std::string *errorMsg) { 91 *errorMsg = identifier + " cannot be a name inside an interface"; 97 bool isValidStructField(const std::string& identifier, std::string *errorMsg) { 104 *errorMsg = identifier + " cannot be a name inside an struct or union"; 111 std::string *errorMsg) { 116 return isValidStructField(identifier, errorMsg);; 119 bool isValidIdentifier(const std::string& identifier, std::string *errorMsg) { 155 *errorMsg = identifier + " is a HIDL keyword " 160 *errorMsg = identifier + " is a C++ keyword " 165 *errorMsg = identifier + " is a Java keyword " [all …]
|
D | AST.cpp | 494 std::string errorMsg; in lookupLocalIdentifier() local 495 EnumValue* enumValue = lookupEnumValue(fqName, &errorMsg, scope); in lookupLocalIdentifier() 497 std::cerr << "ERROR: " << errorMsg << " at " << ref.location() << "\n"; in lookupLocalIdentifier() 504 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope) { in lookupEnumValue() argument 512 *errorMsg = "Cannot find type " + enumTypeName.string(); in lookupEnumValue() 517 *errorMsg = "Type " + enumTypeName.string() + " is not an enum type"; in lookupEnumValue() 524 *errorMsg = "Enum type " + enumTypeName.string() + " does not have " + enumValueName; in lookupEnumValue()
|
D | AST.h | 71 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
|