Lines Matching refs:rel
465 if rel, err := filepath.Rel(PathForOutput(ctx).String(), goBinary.InstallPath()); err == nil {
466 return Paths{PathForOutput(ctx, rel).WithoutRel()}, nil
611 srcPath.basePath.rel = srcPath.path
902 rel string member
914 if p.rel != "" {
915 return p.rel
924 func (p basePath) withRel(rel string) basePath {
925 p.path = filepath.Join(p.path, rel)
926 p.rel = rel
945 func (p SourcePath) withRel(rel string) SourcePath {
946 p.basePath = p.basePath.withRel(rel)
1124 func (p OutputPath) withRel(rel string) OutputPath {
1125 p.basePath = p.basePath.withRel(rel)
1126 p.fullPath = filepath.Join(p.fullPath, rel)
1131 p.basePath.rel = filepath.Base(p.basePath.path)
1222 ret.rel = pathtools.ReplaceExtension(p.rel, ext)
1234 ret.rel = filepath.Join(filepath.Dir(p.rel), path)
1291 path.basePath.rel = p
1303 rel := Rel(ctx, subDirFullPath.String(), path.String())
1304 paths[i] = subDirFullPath.join(ctx, rel)
1313 rel := Rel(ctx, subDirFullPath.String(), path.String())
1314 return subDirFullPath.Join(ctx, rel)
1579 func (p InstallPath) withRel(rel string) InstallPath {
1580 p.basePath = p.basePath.withRel(rel)
1676 …rel := Rel(ctx, PathForOutput(ctx, "target", "product", ctx.Config().DeviceName()).String(), path.…
1678 return "/" + rel
1847 return testPath{basePath{path: p, rel: p}}
1949 rel, isRel := MaybeRel(ctx, basePath, targetPath)
1954 return rel
1960 rel, isRel, err := maybeRelErr(basePath, targetPath)
1964 return rel, isRel
1972 rel, err := filepath.Rel(basePath, targetPath)
1975 } else if rel == ".." || strings.HasPrefix(rel, "../") || strings.HasPrefix(rel, "/") {
1978 return rel, true, nil