• Home
  • Raw
  • Download

Lines Matching refs:f

36 func parseFqName(f string) (*fqName, error) {
37 matches := re_package.FindAllStringSubmatch(f, 3)
40 …return nil, errors.New("Poorly formed hal interface name: '" + f + "' must match '" + re_package.S…
52 func (f *fqName) inPackage(pkg string) bool {
55 if len(components) > len(f.packageComponents) {
60 if f.packageComponents[i] != v {
68 func (f *fqName) pkg() string {
69 return strings.Join(f.packageComponents, ".")
71 func (f *fqName) version() string {
72 return f.major + "." + f.minor
74 func (f *fqName) sanitizedVersion() string {
75 return "V" + f.major + "_" + f.minor
77 func (f *fqName) string() string {
78 return f.pkg() + "@" + f.version()
80 func (f *fqName) sanitizedString() string {
81 return f.pkg() + "-V" + f.version() // NOT sanitizedVersion
84 func (f *fqName) dir() string {
85 return filepath.Join(filepath.Join(f.packageComponents...), f.version()) + "/"
87 func (f *fqName) sanitizedDir() string {
88 return filepath.Join(filepath.Join(f.packageComponents...), f.sanitizedVersion()) + "/"
91 func (f *fqName) fileGroupName() string {
92 return f.string() + "_hal"
94 func (f *fqName) sourcesName() string {
95 return f.string() + "_genc++"
97 func (f *fqName) headersName() string {
98 return f.string() + "_genc++_headers"
100 func (f *fqName) javaName() string {
101 return f.sanitizedString() + "-java"
103 func (f *fqName) javaSharedName() string {
104 return f.sanitizedString() + "-java-shallow"
106 func (f *fqName) javaSourcesName() string {
107 return f.sanitizedString() + "-java_gen_java"
109 func (f *fqName) javaConstantsName() string {
110 return f.sanitizedString() + "-java-constants"
112 func (f *fqName) javaConstantsSourcesName() string {
113 return f.sanitizedString() + "-java-constants_gen_java"
116 func (f *fqName) lintName() string {
117 return f.string() + "-hidl-lint"
120 func (f *fqName) inheritanceHierarchyName() string {
121 return f.string() + "-inheritance-hierarchy"