Lines Matching defs:string
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 {
149 func ResPathWithName(ctx ModuleContext, p Path, name string) ModuleResPath {
198 func PathsForSource(ctx PathContext, paths []string) Paths {
209 func ExistentPathsForSources(ctx PathContext, paths []string) Paths {
225 func PathsForModuleSrc(ctx ModuleContext, paths []string) Paths {
235 func PathsForModuleSrcExcludes(ctx ModuleContext, paths, excludes []string) Paths {
254 func PathsAndMissingDepsForModuleSrcExcludes(ctx ModuleContext, paths, excludes []string) (Paths, […
309 func expandOneSrcPath(ctx ModuleContext, s string, expandedExcludes []string) (Paths, error) {
353 func pathsForModuleSrcFromFullPath(ctx ModuleContext, paths []string, incDirs bool) Paths {
384 func PathsWithOptionalDefaultForModuleSrc(ctx ModuleContext, input []string, def string) Paths {
480 func (p Paths) HasExt(ext string) bool {
491 func (p Paths) FilterByExt(ext string) Paths {
502 func (p Paths) FilterOutByExt(ext string) Paths {
527 func (p DirectorySortedPaths) PathsInDirectory(dir string) Paths {
616 func safePathForSource(ctx PathContext, pathComponents ...string) (SourcePath, error) {
632 func pathForSource(ctx PathContext, pathComponents ...string) (SourcePath, error) {
674 func PathForSource(ctx PathContext, pathComponents ...string) SourcePath {
703 func ExistentPathForSource(ctx PathContext, pathComponents ...string) OptionalPath {
796 func PathForOutput(ctx PathContext, pathComponents ...string) OutputPath {
805 func PathsForOutput(ctx PathContext, paths []string) WritablePaths {
857 func PathForIntermediates(ctx PathContext, paths ...string) OutputPath {
871 func PathForModuleSrc(ctx ModuleContext, pathComponents ...string) Path {
897 func pathForModuleSrc(ctx ModuleContext, paths ...string) SourcePath {
916 func PathsWithModuleSrcSubDir(ctx ModuleContext, paths Paths, subDir string) Paths {
928 func PathWithModuleSrcSubDir(ctx ModuleContext, path Path, subDir string) Path {
936 func OptionalPathForModuleSrc(ctx ModuleContext, p *string) OptionalPath {
969 func PathForVndkRefAbiDump(ctx ModuleContext, version, fileName string,
1005 func PathForModuleOut(ctx ModuleContext, paths ...string) ModuleOutPath {
1027 func PathForModuleGen(ctx ModuleContext, paths ...string) ModuleGenPath {
1058 func PathForModuleObj(ctx ModuleContext, pathComponents ...string) ModuleObjPath {
1076 func PathForModuleRes(ctx ModuleContext, pathComponents ...string) ModuleResPath {
1087 func PathForModuleInstall(ctx ModuleInstallPathContext, pathComponents ...string) OutputPath {
1142 func validateSafePath(pathComponents ...string) (string, error) {
1158 func validatePath(pathComponents ...string) (string, error) {
1167 func PathForPhony(ctx PathContext, phony string) WritablePath {
1199 func PathForTesting(paths ...string) Path {
1208 func PathsForTesting(strs ...string) Paths {
1219 func WritablePathForTesting(paths ...string) WritablePath {
1229 func WritablePathsForTesting(strs ...string) WritablePaths {
1258 func Rel(ctx PathContext, basePath string, targetPath string) string {
1269 func MaybeRel(ctx PathContext, basePath string, targetPath string) (string, bool) {