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"
115 func (f *fqName) adapterName() string {
116 return f.string() + "-adapter"
118 func (f *fqName) adapterSourcesName() string {
119 return f.string() + "-adapter_genc++"
121 func (f *fqName) adapterHelperName() string {
122 return f.string() + "-adapter-helper"
124 func (f *fqName) adapterHelperSourcesName() string {
125 return f.string() + "-adapter-helper_genc++"
127 func (f *fqName) adapterHelperHeadersName() string {
128 return f.string() + "-adapter-helper_genc++_headers"
131 func (f *fqName) vtsSpecName() string {
132 return f.string() + "-vts.spec"
134 func (f *fqName) vtsDriverSourcesName() string {
135 return f.string() + "-vts.driver_genc++"
137 func (f *fqName) vtsDriverHeadersName() string {
138 return f.string() + "-vts.driver_genc++_headers"
140 func (f *fqName) vtsDriverName() string {
141 return f.string() + "-vts.driver"
143 func (f *fqName) vtsProfilerSourcesName() string {
144 return f.string() + "-vts.profiler_genc++"
146 func (f *fqName) vtsProfilerHeadersName() string {
147 return f.string() + "-vts.profiler_genc++_headers"
149 func (f *fqName) vtsProfilerName() string {
150 return f.string() + "-vts.profiler"
152 func (f *fqName) vtsFuzzerName() string {
153 return f.string() + "-vts.fuzzer"
156 func (f *fqName) lintName() string {
157 return f.string() + "-hidl-lint"
160 func (f *fqName) inheritanceHierarchyName() string {
161 return f.string() + "-inheritance-hierarchy"