Home
last modified time | relevance | path

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

/system/tools/hidl/lint/lints/
DmethodDocComment.cpp97 std::string returnName; in methodDocComments() local
99 if (bool foundPrefix = getFirstWordAfterPrefix(line, "@return", &returnName); in methodDocComments()
101 if (returnName.empty()) { in methodDocComments()
108 if (!isNameInList(returnName, method->results())) { in methodDocComments()
110 << "@return " << returnName in methodDocComments()
114 if (std::find(dcReturns.begin(), dcReturns.end(), returnName) != in methodDocComments()
118 << "@return " << returnName in methodDocComments()
121 dcReturns.push_back(returnName); in methodDocComments()
128 if (bool foundPrefix = getFirstWordAfterPrefix(line, "@param", &returnName); in methodDocComments()
130 if (returnName.empty()) { in methodDocComments()
[all …]
/system/tools/hidl/
DgenerateJava.cpp409 const std::string returnName = method->results()[0]->name(); in generateJava() local
410 out << "return _hidl_out_" << returnName << ";\n"; in generateJava()