Home | History | Annotate | Download | only in build

Lines Matching refs:filepath

20 	"path/filepath"
64 // If JoinPath is nil, Import uses filepath.Join.
68 // If SplitPathList is nil, Import uses filepath.SplitList.
72 // If IsAbsPath is nil, Import uses filepath.IsAbs.
85 // filepath.EvalSymlinks.
98 // joinPath calls ctxt.JoinPath (if not nil) or else filepath.Join.
103 return filepath.Join(elem...)
106 // splitPathList calls ctxt.SplitPathList (if not nil) or else filepath.SplitList.
111 return filepath.SplitList(s)
114 // isAbsPath calls ctxt.IsAbsPath (if not nil) or else filepath.IsAbs.
119 return filepath.IsAbs(path)
146 rootSym, _ := filepath.EvalSymlinks(root)
147 dirSym, _ := filepath.EvalSymlinks(dir)
160 const sep = string(filepath.Separator)
161 root = filepath.Clean(root)
165 dir = filepath.Clean(dir)
169 return filepath.ToSlash(dir[len(root):]), true
269 def := filepath.Join(home, "go")
270 if filepath.Clean(def) == filepath.Clean(runtime.GOROOT()) {
1322 srcdir = filepath.ToSlash(srcdir)
1345 // Using filepath.IsAbs and filepath.Join here means the results will be
1352 if !filepath.IsAbs(arg) {
1353 args[i] = filepath.Join(srcDir, arg)
1360 if !filepath.IsAbs(arg[2:]) {
1361 args[i] = arg[:2] + filepath.Join(srcDir, arg[2:])
1597 var ToolDir = filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)