Searched refs:StringHelper (Results 1 – 14 of 14) sorted by relevance
/system/tools/hidl/utils/ |
D | StringHelper.cpp | 35 std::string StringHelper::Uppercase(const std::string &in) { in Uppercase() 46 std::string StringHelper::Lowercase(const std::string &in) { in Lowercase() 57 std::string StringHelper::Capitalize(const std::string &in) { in Capitalize() 68 void StringHelper::Tokenize(const std::string &in, in Tokenize() 106 std::string StringHelper::ToCamelCase(const std::string &in) { in ToCamelCase() 122 std::string StringHelper::ToPascalCase(const std::string &in) { in ToPascalCase() 132 std::string StringHelper::ToUpperSnakeCase(const std::string &in) { in ToUpperSnakeCase() 142 std::string StringHelper::ToLowerSnakeCase(const std::string &in) { in ToLowerSnakeCase() 152 std::string StringHelper::ToCase(StringHelper::Case c, const std::string &in) { in ToCase() 170 bool StringHelper::EndsWith(const std::string &in, const std::string &suffix) { in EndsWith() [all …]
|
D | FQName.cpp | 97 setTo(StringHelper::JoinStrings(names, ".")); in FQName() 373 StringHelper::SplitString(mName, '.', &nameComponents); in tokenName() 378 return StringHelper::JoinStrings(components, "_"); in tokenName() 386 out += StringHelper::JoinStrings(components, "::"); in cppNamespace() 393 StringHelper::SplitString(mName, '.', &components); in cppLocalName() 395 return StringHelper::JoinStrings(components, "::") in cppLocalName() 403 StringHelper::SplitString(name(), '.', &components); in cppName() 405 out += StringHelper::JoinStrings(components, "::"); in cppName() 417 return StringHelper::JoinStrings(components, "."); in javaPackage() 426 StringHelper::SplitString(package(), '.', components); in getPackageComponents() [all …]
|
D | Android.bp | 23 "StringHelper.cpp",
|
/system/tools/hidl/c2hal/ |
D | Declaration.cpp | 40 mName = StringHelper::RTrim(mName, "_t"); in forceCamelCase() 41 mName = StringHelper::ToCamelCase(mName); in forceCamelCase() 45 mName = StringHelper::RTrim(mName, "_t"); in forcePascalCase() 46 mName = StringHelper::ToPascalCase(mName); in forcePascalCase() 50 mName = StringHelper::RTrim(mName, "_t"); in forceUpperSnakeCase() 51 mName = StringHelper::ToUpperSnakeCase(mName); in forceUpperSnakeCase()
|
D | Expression.cpp | 94 virtual std::string toString(StringHelper::Case atomCase) { in toString() 122 virtual std::string toString(StringHelper::Case atomCase) { in toString() 124 return mIsId ? StringHelper::ToCase(atomCase, mValue) : mValue; in toString() 146 virtual std::string toString(StringHelper::Case atomCase) { in toString() 169 virtual std::string toString(StringHelper::Case atomCase) { in toString() 194 virtual std::string toString(StringHelper::Case atomCase) { in toString() 217 virtual std::string toString(StringHelper::Case atomCase) { in toString() 244 virtual std::string toString(StringHelper::Case atomCase) { in toString()
|
D | Expression.h | 82 virtual std::string toString(StringHelper::Case atomCase = StringHelper::kNoCase) = 0;
|
D | EnumVarDeclaration.cpp | 47 out << " = " << mExpression->toString(StringHelper::kUpperSnakeCase); in generateSource()
|
D | Type.cpp | 150 std::string baseName = StringHelper::RTrim(id, "_t"); in getHidlType() 151 ss << StringHelper::ToPascalCase(baseName); in getHidlType()
|
/system/tools/hidl/utils/include/hidl-util/ |
D | StringHelper.h | 27 struct StringHelper { struct 83 StringHelper() {} in StringHelper() argument 88 DISALLOW_COPY_AND_ASSIGN(StringHelper);
|
/system/tools/hidl/ |
D | Annotation.cpp | 124 out << StringHelper::JoinStrings(*values, ", "); in dump()
|
D | hidl-gen_y.yy | 35 #include <hidl-util/StringHelper.h> 150 if (StringHelper::StartsWith(idstr, "_hidl_")) { 155 if (StringHelper::EndsWith(idstr, "_cb")) {
|
D | Interface.cpp | 643 if (StringHelper::EndsWith(localName(), "Callback")) { in getVtsType()
|
D | generateCpp.cpp | 86 guard += StringHelper::Uppercase(mPackage.tokenName()); in makeHeaderGuard() 88 guard += StringHelper::Uppercase(baseName); in makeHeaderGuard()
|
D | main.cpp | 1107 guard += StringHelper::Uppercase(packageFQName.tokenName()); in generateExportHeaderForPackage()
|