/build/soong/tradefed/ |
D | autogen.go | 28 func getTestConfigTemplate(ctx android.ModuleContext, prop *string) android.OptionalPath { 32 func getTestConfig(ctx android.ModuleContext, prop *string) android.Path { 46 func testConfigPath(ctx android.ModuleContext, prop *string, testSuites []string) (path android.Pat… 60 …x android.ModuleContext, output android.WritablePath, template string, optionsMap map[string]strin… 84 func AutoGenNativeTestConfig(ctx android.ModuleContext, testConfigProp *string, 85 testConfigTemplateProp *string, testSuites []string, 86 optionsMap map[string]string) android.Path { 106 func AutoGenNativeBenchmarkTestConfig(ctx android.ModuleContext, testConfigProp *string, 107 testConfigTemplateProp *string, testSuites []string) android.Path { 121 …aTestConfig(ctx android.ModuleContext, testConfigProp *string, testConfigTemplateProp *string, tes… [all …]
|
/build/soong/android/ |
D | util.go | 26 func CopyOf(s []string) []string { 30 func JoinWithPrefix(strs []string, prefix string) string { 55 func sortedKeys(m map[string][]string) []string { 64 func IndexList(s string, list []string) int { 74 func InList(s string, list []string) bool { 78 func PrefixInList(s string, list []string) bool { 87 func FilterList(list []string, filter []string) (remainder []string, filtered []string) { 99 func RemoveListFromList(list []string, filter_out []string) (result []string) { 109 func RemoveFromList(s string, list []string) (bool, []string) { 127 func FirstUniqueStrings(list []string) []string { [all …]
|
D | paths.go | 33 AddNinjaFileDeps(deps ...string) 37 GlobWithDeps(globPattern string, excludes []string) ([]string, error) 58 Errorf(format string, args ...interface{}) 66 ModuleErrorf(format string, args ...interface{}) 81 func reportPathErrorf(ctx PathContext, format string, args ...interface{}) { 117 genPathWithExt(ctx ModuleContext, subdir, ext string) ModuleGenPath 120 objPathWithExt(ctx ModuleContext, subdir, ext string) ModuleObjPath 123 resPathWithName(ctx ModuleContext, name string) ModuleResPath 128 func GenPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleGenPath { 138 func ObjPathWithExt(ctx ModuleContext, subdir string, p Path, ext string) ModuleObjPath { [all …]
|
D | expand.go | 26 func Expand(s string, mapping func(string) (string, error)) (string, error) { 48 func getMapping(s string, mapping func(string) (string, error)) (string, int, error) {
|
/build/blueprint/pathtools/ |
D | glob.go | 42 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, deps []string, … 46 func startGlob(fs FileSystem, pattern string, excludes []string, 104 func glob(fs FileSystem, pattern string, hasRecursive bool, 184 func saneSplit(path string) (dir, file string) { 200 func isWild(pattern string) bool { 206 func filterExcludes(matches []string, excludes []string) ([]string, error) { 230 func filterDotFiles(matches []string) []string { 246 func Match(pattern, name string) (bool, error) { 288 func matchPrefix(pattern, name string) (bool, error) { 327 func saneSplitFirst(path string) (string, string) { [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/cc/ |
D | check.go | 29 func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) { 67 func CheckBadLinkerFlags(ctx BaseModuleContext, prop string, flags []string) { 99 func CheckBadHostLdlibs(ctx ModuleContext, prop string, flags []string) { 119 func CheckBadTidyFlags(ctx ModuleContext, prop string, flags []string) { 136 func CheckBadTidyChecks(ctx ModuleContext, prop string, checks []string) {
|
D | util.go | 36 func ldDirsToFlags(dirs []string) string { 40 func libNamesToFlags(names []string) string { 52 func moduleToLibName(module string) (string, error) { 93 func addPrefix(list []string, prefix string) []string { 100 func addSuffix(list []string, suffix string) []string { 113 func splitFileExt(name string) (string, string, string) { 134 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 { 190 func cleanExecutableName(s string) string { 211 func buildCMakePath(p string) string { 218 func writeAllIncludeDirectories(includes []string, f *os.File, isSystem bool) { 249 …llRelativeFilePathFlags(relativeFilePathFlags []relativeFilePathFlagType, f *os.File, tag string) { 255 func writeAllFlags(flags []string, f *os.File, tag string) { 287 func categorizeParameter(parameter string) parameterType { 309 func parseCompilerParameters(params []string, ctx android.SingletonContext, f *os.File) compilerPar… [all …]
|
/build/soong/ui/build/ |
D | util.go | 23 func absPath(ctx Context, p string) string { 32 func indexList(s string, list []string) int { 43 func inList(s string, list []string) bool { 48 func ensureDirectoriesExist(ctx Context, dirs ...string) { 58 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) { 87 func ensureEmptyFileExists(ctx Context, file string) { 101 func singleUnquote(str string) (string, bool) { 109 func decodeKeyValue(str string) (string, string, bool) {
|
D | environment.go | 38 func (e *Environment) Get(key string) (string, bool) { 49 func (e *Environment) Set(key, value string) { 55 func (e *Environment) Unset(keys ...string) { 67 func (e *Environment) UnsetWithPrefix(prefix string) { 79 func (e *Environment) Allow(keys ...string) { 104 func (e *Environment) IsEnvTrue(key string) bool { 112 func (e *Environment) IsFalse(key string) bool { 121 func (e *Environment) AppendFromKati(filename string) error {
|
/build/soong/java/ |
D | prebuilt_apis.go | 47 func parseJarPath(ctx android.BaseModuleContext, path string) (module string, apiver string, scope … 57 func parseApiFilePath(ctx android.BaseModuleContext, path string) (module string, apiver string, sc… 72 …createImport(mctx android.TopDownMutatorContext, module string, scope string, apiver string, path … 88 …ateFilegroup(mctx android.TopDownMutatorContext, module string, scope string, apiver string, path … 99 func getPrebuiltFiles(mctx android.TopDownMutatorContext, name string) []string {
|
/build/soong/cmd/soong_ui/ |
D | main.go | 35 func indexList(s string, list []string) int { 45 func inList(s string, list []string) bool { 168 func fixBadDanglingLink(ctx build.Context, name string) { 182 func dumpVar(ctx build.Context, config build.Config, args []string) { 232 func dumpVars(ctx build.Context, config build.Config, args []string) {
|
/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 {
|
D | proptools.go | 22 func PropertyNameForField(fieldName string) string { 31 func FieldNameForProperty(propertyName string) string { 52 func StringPtr(s string) *string { 73 func StringDefault(s *string, def string) string { 82 func String(s *string) string {
|
/build/kati/testcase/ |
D | parse_benchcmp.go | 29 func run(prog string, args ...string) { 39 func output(prog string, args ...string) string { 48 func runBenchtest(fname 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 | 194 func ClangFilterUnknownCflags(cflags []string) []string { 205 func ClangFilterUnknownLldflags(lldflags []string) []string { 216 func inListSorted(s string, list []string) bool { 227 func sorted(list []string) []string {
|
/build/soong/dexpreopt/ |
D | dexpreopt.go | 530 func OdexOnSystemOtherByName(name string, dexLocation string, global GlobalConfig) bool { 565 func pathForLibrary(module ModuleConfig, lib string) android.Path { 573 func makefileMatch(pattern, s string) bool { 585 func contains(l []string, s string) bool { 595 func filterOut(a []string, b []string) []string { 605 func replace(l []string, from, to string) { 615 func anyHavePrefix(l []string, prefix string) bool {
|
/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/soong/bpfix/bpfix/ |
D | bpfix_test.go | 31 func printListOfStrings(items []string) (text string) { 39 func buildTree(local_include_dirs []string, export_include_dirs []string) (file *parser.File, errs … 55 …c implFilterListTest(t *testing.T, local_include_dirs []string, export_include_dirs []string, expe… 128 func runPass(t *testing.T, in, out string, innerTest func(*Fixer) error) {
|
/build/soong/androidmk/cmd/androidmk/ |
D | android.go | 84 func addStandardProperties(propertyType bpparser.Type, properties map[string]string) { 334 func sortedMapKeys(inputMap map[string]string) (sortedKeys []string) { 345 …(ctx variableAssignmentContext, splitFunc listSplitFunc, namesByClassification map[string]string) … 396 func localizePathList(attribute string) func(ctx variableAssignmentContext) error { 406 func localizePath(attribute string) func(ctx variableAssignmentContext) error { 509 func sanitize(sub string) func(ctx variableAssignmentContext) error { 589 func makeBlueprintStringAssignment(file *bpFile, prefix string, suffix string, value string) error { 760 func invert(name string) func(ctx variableAssignmentContext) error { 807 func valueDumpEquals(textToMatch string) func(ctx variableAssignmentContext) bool { 878 func mydir(args []string) []string { [all …]
|
/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) { 264 func formatText(text string) template.HTML {
|
/build/soong/apex/ |
D | apex_test.go | 32 func testApex(t *testing.T, bp string) *android.TestContext { 209 func teardown(buildDir string) { 214 func ensureContains(t *testing.T, result string, expected string) { 221 func ensureNotContains(t *testing.T, result string, notExpected string) { 227 func ensureListContains(t *testing.T, result []string, expected string) { 233 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
|