/prebuilts/go/linux-x86/src/cmd/dist/ |
test.go | 506 func (t *tester) dirCmd(dir string, bin string, args ...string) *exec.Cmd { 508 if filepath.IsAbs(dir) { 509 cmd.Dir = dir 511 cmd.Dir = filepath.Join(t.goroot, dir) 741 dir := filepath.Join(t.goroot, testpath) 771 if err := t.dirCmd(dir, cc, args...).Run(); err != nil { 774 defer os.Remove(filepath.Join(dir, sofname)) 776 if err := t.dirCmd(dir, "go", "build", "-o", "main.exe", "main.go").Run(); err != nil [all...] |
util.go | 74 // run runs the command line cmd in dir. 81 func run(dir string, mode int, cmd ...string) string { 87 xcmd.Dir = dir 163 func bgrun(dir string, cmd ...string) { 165 run(dir, CheckExit|ShowOutput|Background, cmd...) 308 // xreaddir replaces dst with a list of the names of the files and subdirectories in dir. 309 // The names are relative to dir; they are not full paths. 310 func xreaddir(dir string) []string { 311 f, err := os.Open(dir) [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
all_test.go | 1148 Dir: SelectSend, 1160 Dir: SelectRecv, 1170 Dir: SelectSend, 1187 Dir: SelectRecv, 1207 Dir: SelectSend, 1216 Dir: SelectRecv, 1224 Dir: SelectSend, 1234 Dir: SelectRecv, 1245 Dir: SelectSend, 1258 Dir: SelectRecv [all...] |
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/asm/internal/lex/ |
input.go | 39 // include directories: look in source dir, then -I directories. 40 includes: append([]string{filepath.Dir(name)}, flags.I...), 405 for _, dir := range in.includes { 406 fd, err = os.Open(filepath.Join(dir, name))
|
/prebuilts/go/darwin-x86/src/cmd/asm/internal/lex/ |
input.go | 36 // include directories: look in source dir, then -I directories. 37 includes: append([]string{filepath.Dir(name)}, flags.I...), 402 for _, dir := range in.includes { 403 fd, err = os.Open(filepath.Join(dir, name))
|
/prebuilts/go/darwin-x86/src/cmd/dist/ |
util.go | 74 // run runs the command line cmd in dir. 81 func run(dir string, mode int, cmd ...string) string { 87 xcmd.Dir = dir 163 func bgrun(dir string, cmd ...string) { 165 run(dir, CheckExit|ShowOutput|Background, cmd...) 308 // xreaddir replaces dst with a list of the names of the files and subdirectories in dir. 309 // The names are relative to dir; they are not full paths. 310 func xreaddir(dir string) []string { 311 f, err := os.Open(dir) [all...] |
/prebuilts/go/darwin-x86/src/cmd/go/ |
generate.go | 177 dir string // full rooted directory of file. 198 g.dir, g.file = filepath.Split(g.path) 199 g.dir = filepath.Clean(g.dir) // No final separator please. 398 cmd.Dir = g.dir
|
main.go | 431 func runOut(dir string, cmdargs ...interface{}) []byte { 434 cmd.Dir = dir 449 func envForDir(dir string, base []string) []string { 450 // Internally we only use rooted paths, so dir is rooted. 451 // Even if dir is not rooted, no harm done. 452 return mergeEnvLists([]string{"PWD=" + dir}, base) 637 dir, _ := path.Split(pattern[:i]) 650 filepath.Walk(dir, func(path string, fi os.FileInfo, err error) error { 654 if path == dir { [all...] |
go_test.go | 194 func (tg *testgoData) cd(dir string) { 201 abs, err := filepath.Abs(dir) 202 tg.must(os.Chdir(dir)) 295 func (tg *testgoData) runGit(dir string, args ...string) { 301 cmd.Dir = dir 480 tg.must(os.MkdirAll(filepath.Join(tg.tempdir, filepath.Dir(path)), 0755)) 724 tg.wantExecutable("src/mycmd/mycmd"+exeSuffix, "testgo install mycmd removed command binary from its source dir when run outside mycmd") 725 tg.wantExecutable("mycmd"+exeSuffix, "testgo install mycmd removed command binary from current dir when run outside mycmd") [all...] |
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/report/ |
source.go | 413 // current working dir. 421 if dir, wderr := os.Getwd(); wderr == nil { 423 parent := filepath.Dir(dir) 424 if parent == dir { 431 dir = parent
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/asm/internal/lex/ |
input.go | 39 // include directories: look in source dir, then -I directories. 40 includes: append([]string{filepath.Dir(name)}, flags.I...), 405 for _, dir := range in.includes { 406 fd, err = os.Open(filepath.Join(dir, name))
|
/prebuilts/go/linux-x86/src/cmd/asm/internal/lex/ |
input.go | 36 // include directories: look in source dir, then -I directories. 37 includes: append([]string{filepath.Dir(name)}, flags.I...), 402 for _, dir := range in.includes { 403 fd, err = os.Open(filepath.Join(dir, name))
|
/prebuilts/go/linux-x86/src/cmd/go/ |
generate.go | 177 dir string // full rooted directory of file. 198 g.dir, g.file = filepath.Split(g.path) 199 g.dir = filepath.Clean(g.dir) // No final separator please. 398 cmd.Dir = g.dir
|
main.go | 431 func runOut(dir string, cmdargs ...interface{}) []byte { 434 cmd.Dir = dir 449 func envForDir(dir string, base []string) []string { 450 // Internally we only use rooted paths, so dir is rooted. 451 // Even if dir is not rooted, no harm done. 452 return mergeEnvLists([]string{"PWD=" + dir}, base) 637 dir, _ := path.Split(pattern[:i]) 650 filepath.Walk(dir, func(path string, fi os.FileInfo, err error) error { 654 if path == dir { [all...] |
/prebuilts/go/linux-x86/src/cmd/pprof/internal/report/ |
source.go | 413 // current working dir. 421 if dir, wderr := os.Getwd(); wderr == nil { 423 parent := filepath.Dir(dir) 424 if parent == dir { 431 dir = parent
|
/prebuilts/go/darwin-x86/test/ |
run.go | 102 dir, file := filepath.Split(arg) 103 tests = append(tests, startTest(dir, file)) 109 for _, dir := range dirs { 110 for _, baseGoFile := range goFiles(dir) { 111 tests = append(tests, startTest(dir, baseGoFile)) 124 errStr = "unexpected skip for " + path.Join(test.dir, test.gofile) + ": " + errStr 141 path.Join(test.dir, test.gofile), 179 func goFiles(dir string) []string { 180 f, err := os.Open(dir) 200 func compileInDir(runcmd runCmd, dir string, names ...string) (out []byte, err error) [all...] |
/prebuilts/go/linux-x86/test/ |
run.go | 102 dir, file := filepath.Split(arg) 103 tests = append(tests, startTest(dir, file)) 109 for _, dir := range dirs { 110 for _, baseGoFile := range goFiles(dir) { 111 tests = append(tests, startTest(dir, baseGoFile)) 124 errStr = "unexpected skip for " + path.Join(test.dir, test.gofile) + ": " + errStr 141 path.Join(test.dir, test.gofile), 179 func goFiles(dir string) []string { 180 f, err := os.Open(dir) 200 func compileInDir(runcmd runCmd, dir string, names ...string) (out []byte, err error) [all...] |
/build/blueprint/ |
context.go | 520 newBlueprints, newDeps, newErrs := c.findBuildBlueprints(filepath.Dir(filename), build, buildPos) 525 newBlueprints, newDeps, newErrs = c.findSubdirBlueprints(filepath.Dir(filename), subdirs, subdirsPos, 531 newBlueprints, newDeps, newErrs = c.findSubdirBlueprints(filepath.Dir(filename), optionalSubdirs, 646 rootDir := filepath.Dir(rootFile) 745 func (c *Context) findBuildBlueprints(dir string, build []string, 749 globPattern := filepath.Join(dir, file) 792 func (c *Context) findSubdirBlueprints(dir string, subdirs []string, subdirsPos scanner.Position, 796 globPattern := filepath.Join(dir, subdir) [all...] |
module_ctx.go | 177 return filepath.Dir(d.module.relBlueprintsFile)
|
/prebuilts/go/darwin-x86/src/cmd/api/ |
goapi.go | 356 func (w *Walker) parseFile(dir, file string) (*ast.File, error) { 357 filename := filepath.Join(dir, file) 387 pkgTags = map[string][]string{} // map import dir to list of relevant tags 391 // It is a comma-separated string; the first part is dir, the rest tags. 396 func tagKey(dir string, context *build.Context, tags []string) string { 408 key := dir 432 dir := filepath.Join(w.root, filepath.FromSlash(name)) 433 if fi, err := os.Stat(dir); err != nil || !fi.IsDir() { 447 if tags, ok := pkgTags[dir]; ok { 448 key = tagKey(dir, context, tags [all...] |
/prebuilts/go/darwin-x86/src/go/parser/ |
parser.go | 997 dir := ast.SEND | ast.RECV 1004 dir = ast.SEND 1009 dir = ast.RECV 1013 return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value} [all...] |
/prebuilts/go/linux-x86/src/cmd/api/ |
goapi.go | 356 func (w *Walker) parseFile(dir, file string) (*ast.File, error) { 357 filename := filepath.Join(dir, file) 387 pkgTags = map[string][]string{} // map import dir to list of relevant tags 391 // It is a comma-separated string; the first part is dir, the rest tags. 396 func tagKey(dir string, context *build.Context, tags []string) string { 408 key := dir 432 dir := filepath.Join(w.root, filepath.FromSlash(name)) 433 if fi, err := os.Stat(dir); err != nil || !fi.IsDir() { 447 if tags, ok := pkgTags[dir]; ok { 448 key = tagKey(dir, context, tags [all...] |
/prebuilts/go/linux-x86/src/go/parser/ |
parser.go | 997 dir := ast.SEND | ast.RECV 1004 dir = ast.SEND 1009 dir = ast.RECV 1013 return &ast.ChanType{Begin: pos, Arrow: arrow, Dir: dir, Value: value} [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmParser.cpp | [all...] |
/external/pdfium/third_party/lcms2-2.6/src/ |
cmspack.c | [all...] |