/build/soong/android/ |
D | util.go | 28 func CopyOf(s []string) []string { 32 func JoinWithPrefix(strs []string, prefix string) string { 57 func JoinWithSuffix(strs []string, suffix string, separator string) string { 110 func IndexList(s string, list []string) int { 120 func InList(s string, list []string) bool { 125 func HasAnyPrefix(s string, prefixList []string) bool { 135 func PrefixInList(list []string, prefix string) bool { 145 func SuffixInList(list []string, suffix string) bool { 155 func IndexListPred(pred func(s string) bool, list []string) int { 165 func FilterList(list []string, filter []string) (remainder []string, filtered []string) { [all …]
|
D | expand.go | 30 func ExpandNinjaEscaped(s string, mapping func(string) (string, bool, error)) (string, error) { 37 func Expand(s string, mapping func(string) (string, error)) (string, error) { 44 func expand(s string, ninjaEscape bool, mapping func(string) (string, bool, error)) (string, error)… 69 func getMapping(s string, mapping func(string) (string, bool, error)) (string, bool, int, error) {
|
D | paths.go | 36 AddNinjaFileDeps(deps ...string) 40 GlobWithDeps(globPattern string, excludes []string) ([]string, error) 72 Errorf(format string, args ...interface{}) 80 ModuleErrorf(format string, args ...interface{}) 95 func reportPathErrorf(ctx PathContext, format string, args ...interface{}) { 143 genPathWithExt(ctx ModuleContext, subdir, ext string) ModuleGenPath 146 objPathWithExt(ctx ModuleContext, subdir, ext string) ModuleObjPath 149 resPathWithName(ctx ModuleContext, name string) ModuleResPath 154 func GenPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleGenPath { 164 func ObjPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleObjPath { [all …]
|
D | visibility.go | 81 func newVisibilityProperty(name string, stringsProperty *[]string) visibilityProperty { 156 func isAncestor(p1 string, p2 string) bool { 238 func checkRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) { 316 func parseRules(ctx BaseModuleContext, currentPkg, property string, visibility []string) compositeR… 380 func isAllowedFromOutsideVendor(pkg string, name string) bool { 391 func splitRule(ctx BaseModuleContext, ruleExpression string, currentPkg, property string) (bool, st… 527 func AddVisibilityProperty(module Module, name string, stringsProperty *[]string) { 531 func addVisibilityProperty(module Module, name string, stringsProperty *[]string) visibilityPropert… 541 func setPrimaryVisibilityProperty(module Module, name string, stringsProperty *[]string) {
|
/build/soong/tradefed/ |
D | autogen.go | 29 func getTestConfigTemplate(ctx android.ModuleContext, prop *string) android.OptionalPath { 33 func getTestConfig(ctx android.ModuleContext, prop *string) android.Path { 47 …gPath(ctx android.ModuleContext, prop *string, testSuites []string, autoGenConfig *bool, testConfi… 110 func autogenTemplate(ctx android.ModuleContext, output android.WritablePath, template string, confi… 114 …ogenTemplateWithName(ctx android.ModuleContext, name string, output android.WritablePath, template… 118 …ctx android.ModuleContext, name string, output android.WritablePath, template string, configs []Co… 139 func AutoGenNativeTestConfig(ctx android.ModuleContext, testConfigProp *string, 140 …testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool) android… 158 func AutoGenShellTestConfig(ctx android.ModuleContext, testConfigProp *string, 159 …testConfigTemplateProp *string, testSuites []string, config []Config, autoGenConfig *bool, outputF… [all …]
|
/build/blueprint/pathtools/ |
D | glob.go | 43 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, deps []string, … 47 func startGlob(fs FileSystem, pattern string, excludes []string, 105 func glob(fs FileSystem, pattern string, hasRecursive bool, 187 func saneSplit(path string) (dir, file string) { 203 func isWild(pattern string) bool { 209 func filterExcludes(matches []string, excludes []string) ([]string, error) { 233 func filterDotFiles(matches []string) []string { 249 func Match(pattern, name string) (bool, error) { 307 func GlobPatternList(patterns []string, prefix string) (globedList []string, depDirs []string, err … 332 func IsGlob(pattern string) bool { [all …]
|
D | lists.go | 25 func PrefixPaths(paths []string, prefix string) []string { 33 func ReplaceExtensions(paths []string, extension string) []string { 41 func ReplaceExtension(path string, extension string) string {
|
/build/soong/ui/build/ |
D | util.go | 26 func absPath(ctx Context, p string) string { 35 func indexList(s string, list []string) int { 46 func inList(s string, list []string) bool { 51 func removeFromList(s string, list []string) []string { 62 func ensureDirectoriesExist(ctx Context, dirs ...string) { 72 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) { 101 func ensureEmptyFileExists(ctx Context, file string) { 115 func singleUnquote(str string) (string, bool) { 123 func decodeKeyValue(str string) (string, string, bool) { 132 func copyFile(src, dst string) (int64, error) { [all …]
|
D | environment.go | 39 func (e *Environment) Get(key string) (string, bool) { 50 func (e *Environment) GetInt(key string) (int, bool) { 61 func (e *Environment) Set(key, value string) { 67 func (e *Environment) Unset(keys ...string) { 79 func (e *Environment) UnsetWithPrefix(prefix string) { 91 func (e *Environment) Allow(keys ...string) { 116 func (e *Environment) IsEnvTrue(key string) bool { 124 func (e *Environment) IsFalse(key string) bool { 133 func (e *Environment) AppendFromKati(filename string) error {
|
/build/soong/finder/fs/ |
D | test.go | 26 func Write(t *testing.T, path string, content string, filesystem *MockFs) { 35 func Create(t *testing.T, path string, filesystem *MockFs) { 39 func Delete(t *testing.T, path string, filesystem *MockFs) { 46 func RemoveAll(t *testing.T, path string, filesystem *MockFs) { 53 func Move(t *testing.T, oldPath string, newPath string, filesystem *MockFs) { 60 func Link(t *testing.T, newPath string, oldPath string, filesystem *MockFs) { 72 func Read(t *testing.T, path string, filesystem *MockFs) string { 84 func ModTime(t *testing.T, path string, filesystem *MockFs) time.Time { 92 func SetReadable(t *testing.T, path string, readable bool, filesystem *MockFs) { 99 func SetReadErr(t *testing.T, path string, readErr error, filesystem *MockFs) { [all …]
|
/build/soong/cc/ |
D | check.go | 29 func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) { 72 func CheckBadLinkerFlags(ctx BaseModuleContext, prop string, flags []string) { 104 func CheckBadHostLdlibs(ctx ModuleContext, prop string, flags []string) { 124 func CheckBadTidyFlags(ctx ModuleContext, prop string, flags []string) { 141 func CheckBadTidyChecks(ctx ModuleContext, prop string, checks []string) {
|
D | util.go | 32 func ldDirsToFlags(dirs []string) string { 36 func libNamesToFlags(names []string) string { 48 func moduleToLibName(module string) (string, error) { 103 func addPrefix(list []string, prefix string) []string { 110 func addSuffix(list []string, suffix string) []string { 118 func makeSymlinkCmd(linkDirOnDevice string, linkName string, target string) string {
|
D | cmakelists.go | 85 func getEnvVariable(name string, ctx android.SingletonContext) string { 91 func exists(path string) bool { 102 func linkAggregateCMakeListsFiles(path string, info os.FileInfo, err error) error { 206 func cleanExecutableName(s string) string { 227 func buildCMakePath(p string) string { 234 func writeAllIncludeDirectories(includes []string, f *os.File, isSystem bool) { 265 …llRelativeFilePathFlags(relativeFilePathFlags []relativeFilePathFlagType, f *os.File, tag string) { 271 func writeAllFlags(flags []string, f *os.File, tag string) { 303 func categorizeParameter(parameter string) parameterType { 327 func normalizeParameters(params []string) []string { [all …]
|
D | cc_test.go | 68 func testCc(t *testing.T, bp string) *android.TestContext { 77 func testCcNoVndk(t *testing.T, bp string) *android.TestContext { 85 func testCcErrorWithConfig(t *testing.T, pattern string, config android.Config) { 106 func testCcError(t *testing.T, pattern string, bp string) { 114 func testCcErrorProductVndk(t *testing.T, pattern string, bp string) { 220 func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string, 221 isVndkSp bool, extends string, variant string) { 261 …ontext, singleton android.TestingSingleton, moduleName, snapshotFilename, subDir, variant string) { 280 func checkWriteFileOutput(t *testing.T, params android.TestingBuildParams, expected []string) { 287 func checkVndkOutput(t *testing.T, ctx *android.TestContext, output string, expected []string) { [all …]
|
/build/soong/java/ |
D | prebuilt_apis.go | 48 func parseJarPath(path string) (module string, apiver string, scope string) { 58 func parseApiFilePath(ctx android.LoadHookContext, path string) (module string, apiver string, scop… 73 func prebuiltApiModuleName(mctx android.LoadHookContext, module string, scope string, apiver string… 77 func createImport(mctx android.LoadHookContext, module string, scope string, apiver string, path st… 92 …nc createFilegroup(mctx android.LoadHookContext, module string, scope string, apiver string, path … 103 func getPrebuiltFiles(mctx android.LoadHookContext, name string) []string { 131 func createSystemModules(mctx android.LoadHookContext, apiver string) {
|
D | testing.go | 30 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) android.Co… 230 …duleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected []string) {
|
/build/soong/cmd/soong_ui/ |
D | main.go | 99 func indexList(s string, list []string) int { 109 func inList(s string, list []string) bool { 219 func fixBadDanglingLink(ctx build.Context, name string) { 233 func dumpVar(ctx build.Context, config build.Config, args []string, _ string) { 283 func dumpVars(ctx build.Context, config build.Config, args []string, _ string) { 360 func dumpVarConfig(ctx build.Context, args ...string) build.Config { 364 func buildActionConfig(ctx build.Context, args ...string) build.Config { 444 func make(ctx build.Context, config build.Config, _ []string, logsDir string) { 481 func getCommand(args []string) (*command, []string) {
|
/build/soong/android/soongconfig/ |
D | config.go | 23 Bool(name string) bool 27 String(name string) string 30 IsSet(name string) bool 33 func Config(vars map[string]string) SoongConfig { 39 func (c soongConfig) Bool(name string) bool { 44 func (c soongConfig) String(name string) string { 48 func (c soongConfig) IsSet(name string) bool {
|
/build/blueprint/proptools/ |
D | escape.go | 24 func NinjaEscapeList(slice []string) []string { 37 func NinjaEscape(s string) string { 49 func ShellEscapeList(slice []string) []string { 63 func ShellEscape(s string) string { 91 func NinjaAndShellEscapeList(slice []string) []string { 95 func NinjaAndShellEscape(s string) string {
|
/build/blueprint/ |
D | glob.go | 34 func verifyGlob(fileName, pattern string, excludes []string, g GlobPath) { 49 func (c *Context) glob(pattern string, excludes []string) ([]string, error) { 100 func globToString(pattern string) string { 117 func globToFileName(pattern string, excludes []string) string {
|
/build/blueprint/bootstrap/ |
D | cleanup.go | 35 srcDir string, under, exempt []string) error { 83 func parseNinjaLog(ninjaBuildDir string, under []string) ([]string, error) { 137 func removeFileAndEmptyDirs(path string) error {
|
/build/soong/cc/config/ |
D | clang.go | 204 func ClangFilterUnknownCflags(cflags []string) []string { 215 func ClangFilterUnknownLldflags(lldflags []string) []string { 226 func inListSorted(s string, list []string) bool { 237 func sorted(list []string) []string {
|
/build/soong/ui/build/paths/ |
D | logs.go | 46 func procFallback(name string) (string, func(), error) { 57 func tmpFallback(name string) (addr string, cleanup func(), err error) { 84 func getSocketAddr(name string) (string, func(), error) { 112 func dial(name string, lookup socketAddrFunc, timeout time.Duration) (net.Conn, error) { 125 func listen(name string, lookup socketAddrFunc) (net.Listener, error) { 135 func SendLog(logSocket string, entry *LogEntry, done chan interface{}) { 139 func sendLog(logSocket string, lookup socketAddrFunc, timeout time.Duration, entry *LogEntry, done … 156 func LogListener(ctx context.Context, logSocket string) (chan *LogEntry, error) { 160 func logListener(ctx context.Context, logSocket string, lookup socketAddrFunc) (chan *LogEntry, err…
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 99 func stringArrayEqual(a, b []string) bool { 141 func (ps *PropertyStruct) GetByName(name string) *Property { 145 func getByName(name string, prefix string, props *[]Property) *Property { 240 func (ps *PropertyStruct) ExcludeByTag(key, value string) { 244 func (ps *PropertyStruct) IncludeByTag(key, value string) { 248 func filterPropsByTag(props *[]Property, key, value string, exclude bool) { 261 func hasTag(tag reflect.StructTag, key, value string) bool { 270 func formatText(text string) template.HTML {
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 114 args []string, excludes, includes multiFlag, uncompresses []string) error { 252 func includeSplit(s string) (string, string) { 267 func (m *multiFlag) Set(s string) error { 272 func (m *multiFlag) Match(s string) (bool, error) { 286 func constantPartOfPattern(pattern string) string { 299 func splitFirst(path string) (string, string) {
|