Lines Matching defs:string
37 AddNinjaFileDeps(deps ...string)
42 GlobWithDeps(globPattern string, excludes []string) ([]string, error)
62 ModuleErrorf(fmt string, args ...interface{})
63 OtherModulePropertyErrorf(module Module, property, fmt string, args ...interface{})
70 func Glob(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
80 func GlobFiles(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
97 HasMutatorFinished(mutatorName string) bool
105 AddMissingDependencies(missingDeps []string)
199 Errorf(format string, args ...interface{})
207 ModuleErrorf(format string, args ...interface{})
222 func ReportPathErrorf(ctx PathContext, format string, args ...interface{}) {
299 ReplaceExtension(ctx PathContext, ext string) OutputPath
303 genPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleGenPath
304 …genPathWithExtAndTrimExt(ctx ModuleOutPathContext, subdir, ext string, trimExt string) ModuleGenPa…
307 objPathWithExt(ctx ModuleOutPathContext, subdir, ext string) ModuleObjPath
310 resPathWithName(ctx ModuleOutPathContext, name string) ModuleResPath
315 func GenPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleGenPath {
325 … GenPathWithExtAndTrimExt(ctx ModuleOutPathContext, subdir string, p Path, ext string, trimExt str…
335 func ObjPathWithExt(ctx ModuleOutPathContext, subdir string, p Path, ext string) ModuleObjPath {
346 func ResPathWithName(ctx ModuleOutPathContext, p Path, name string) ModuleResPath {
371 func InvalidOptionalPath(reason string) OptionalPath {
483 func PathsForSource(ctx PathContext, paths []string) Paths {
494 func ExistentPathsForSources(ctx PathGlobContext, paths []string) Paths {
521 func PathsForModuleSrc(ctx ModuleMissingDepsPathContext, paths []string) Paths {
550 func PathsForModuleSrcExcludes(ctx ModuleMissingDepsPathContext, paths, excludes []string) Paths {
598 func DirectoryPathsForModuleSrc(ctx ModuleMissingDepsPathContext, paths []string) DirectoryPaths {
673 func getPathsFromModuleDep(ctx ModuleWithDepsPathContext, path, moduleName, tag string) (Paths, err…
700 func GetModuleProxyFromPathDep(ctx ModuleWithDepsPathContext, moduleName, tag string) *ModuleProxy {
721 func GetModuleFromPathDep(ctx ModuleWithDepsPathContext, moduleName, tag string) blueprint.Module {
758 …ngDepsForModuleSrcExcludes(ctx ModuleMissingDepsPathContext, paths, excludes []string) (Paths, []s…
886 func pathsForModuleSrcFromFullPath(ctx EarlyModulePathContext, paths []string, incDirs bool) Paths {
917 …thOptionalDefaultForModuleSrc(ctx ModuleMissingDepsPathContext, input []string, def string) Paths {
1092 func (p Paths) HasExt(ext string) bool {
1103 func (p Paths) FilterByExt(ext string) Paths {
1114 func (p Paths) FilterOutByExt(ext string) Paths {
1139 func (p DirectorySortedPaths) PathsInDirectory(dir string) Paths {
1276 func safePathForSource(ctx PathContext, pathComponents ...string) (SourcePath, error) {
1293 func pathForSource(ctx PathContext, pathComponents ...string) (SourcePath, error) {
1328 func PathForSource(ctx PathContext, pathComponents ...string) SourcePath {
1356 func PathForArbitraryOutput(ctx PathContext, pathComponents ...string) Path {
1369 func MaybeExistentPathForSource(ctx PathContext, pathComponents ...string) SourcePath {
1385 func ExistentPathForSource(ctx PathGlobContext, pathComponents ...string) OptionalPath {
1565 func pathForBuildToolDep(ctx PathContext, path string) toolDepPath {
1572 func PathForOutput(ctx PathContext, pathComponents ...string) OutputPath {
1583 func PathsForOutput(ctx PathContext, paths []string) WritablePaths {
1631 func PathForIntermediates(ctx PathContext, paths ...string) OutputPath {
1645 func PathForModuleSrc(ctx ModuleMissingDepsPathContext, pathComponents ...string) Path {
1672 func pathForModuleSrc(ctx EarlyModulePathContext, paths ...string) SourcePath {
1691 func PathsWithModuleSrcSubDir(ctx EarlyModulePathContext, paths Paths, subDir string) Paths {
1703 func PathWithModuleSrcSubDir(ctx EarlyModulePathContext, path Path, subDir string) Path {
1711 func OptionalPathForModuleSrc(ctx ModuleMissingDepsPathContext, p *string) OptionalPath {
1774 func PathForModuleOut(ctx ModuleOutPathContext, paths ...string) ModuleOutPath {
1802 func PathForModuleGen(ctx ModuleOutPathContext, paths ...string) ModuleGenPath {
1850 func PathForModuleObj(ctx ModuleOutPathContext, pathComponents ...string) ModuleObjPath {
1874 func PathForModuleRes(ctx ModuleOutPathContext, pathComponents ...string) ModuleResPath {
2020 func PathForModuleInstall(ctx ModuleInstallPathContext, pathComponents ...string) InstallPath {
2028 func PathForHostDexInstall(ctx ModuleInstallPathContext, pathComponents ...string) InstallPath {
2033 …ModuleInPartitionInstall(ctx ModuleInstallPathContext, partition string, pathComponents ...string)…
2051 func pathForPartitionInstallDir(ctx PathContext, partition, partitionPath string, makePath bool) In…
2070 func pathForInstall(ctx PathContext, os OsType, arch ArchType, partition string,
2071 pathComponents ...string) InstallPath {
2110 func PathForNdkInstall(ctx PathContext, paths ...string) OutputPath {
2114 func PathForMainlineSdksInstall(ctx PathContext, paths ...string) InstallPath {
2119 func PathForSuiteInstall(ctx PathContext, suite string, pathComponents ...string) InstallPath {
2221 func validatePathInternal(allowNinjaVariables bool, pathComponents ...string) (string, error) {
2257 func validateSafePath(pathComponents ...string) (string, error) {
2264 func validatePath(pathComponents ...string) (string, error) {
2268 func PathForPhony(ctx PathContext, phony string) WritablePath {
2327 func PathForTesting(paths ...string) Path {
2335 func PathForTestingWithRel(path, rel string) Path {
2348 func PathsForTesting(strs ...string) Paths {
2471 func Rel(ctx PathContext, basePath string, targetPath string) string {
2482 func MaybeRel(ctx PathContext, basePath string, targetPath string) (string, bool) {
2490 func maybeRelErr(basePath string, targetPath string) (string, bool, error) {
2527 func createDirIfNonexistent(dir string, perm os.FileMode) error {
2538 func absolutePath(path string) string {
2603 func IsThirdPartyPath(path string) bool {
2621 func ToRelativeSourcePath(ctx PathContext, path string) string {