Home
last modified time | relevance | path

Searched refs:underscore (Results 1 – 8 of 8) sorted by relevance

/system/tools/hidl/lint/lints/
DmethodVersions.cpp36 size_t underscore = method.name().find('_'); in getSanitizedMethodName() local
37 return (underscore == std::string::npos) ? method.name() : method.name().substr(0, underscore); in getSanitizedMethodName()
41 size_t underscore = method.name().find('_'); in checkMethodVersion() local
42 CHECK(underscore != std::string::npos); // only called on versionedMethods in checkMethodVersion()
44 std::string version = method.name().substr(underscore + 1); // don't include _ in checkMethodVersion()
45 std::string nameWithoutVersion = method.name().substr(0, underscore); in checkMethodVersion()
46 underscore = version.find('_'); in checkMethodVersion()
60 if (underscore == std::string::npos) { in checkMethodVersion()
66 if (!base::ParseUint(version.substr(0, underscore), &major)) { in checkMethodVersion()
73 if (!base::ParseUint(version.substr(underscore + 1), &minor)) { in checkMethodVersion()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp94 size_t underscore = rawName.find('_'); in getBaseName() local
95 if (underscore != std::string::npos) { in getBaseName()
96 std::string version = rawName.substr(underscore + 1); // don't include _ in getBaseName()
97 std::string baseName = rawName.substr(0, underscore); in getBaseName()
98 underscore = version.find('_'); in getBaseName()
101 if (underscore != std::string::npos && in getBaseName()
102 base::ParseUint(version.substr(0, underscore), &major) && in getBaseName()
103 base::ParseUint(version.substr(underscore + 1), &minor)) { in getBaseName()
/system/chre/host/msm/daemon/idl/
Dchre_slpi.idl22 * generated sources, with an underscore separating them.
/system/update_engine/
Dpylintrc330 # leading underscore is sanctioned for private modules by Google's style
370 # with leading underscore
DREADME.md439 restart update-engine # with a dash not underscore.
/system/bt/gd/docs/architecture/
Dstyle_guide.md94 * Prefer underscore over dashes
/system/chre/doc/
Dframework_build.md69 should be separated by a hyphen and not an underscore.
/system/apex/apexd/
DAndroid.bp24 "google-readability-avoid-underscore-in-googletest-name",