/prebuilts/go/darwin-x86/src/path/filepath/ |
path_test.go | 13 "path/filepath" 101 tests[i].result = filepath.FromSlash(tests[i].result) 106 if s := filepath.Clean(test.path); s != test.result { 109 if s := filepath.Clean(test.result); s != test.result { 123 allocs := testing.AllocsPerRun(100, func() { filepath.Clean(test.result) }) 130 const sep = filepath.Separator 141 if s := filepath.FromSlash(test.path); s != test.result { 144 if s := filepath.ToSlash(test.result); s != test.path { 155 const lsep = filepath.ListSeparator 191 if l := filepath.SplitList(test.list); !reflect.DeepEqual(l, test.result) [all...] |
/prebuilts/go/linux-x86/src/path/filepath/ |
path_test.go | 13 "path/filepath" 101 tests[i].result = filepath.FromSlash(tests[i].result) 106 if s := filepath.Clean(test.path); s != test.result { 109 if s := filepath.Clean(test.result); s != test.result { 123 allocs := testing.AllocsPerRun(100, func() { filepath.Clean(test.result) }) 130 const sep = filepath.Separator 141 if s := filepath.FromSlash(test.path); s != test.result { 144 if s := filepath.ToSlash(test.result); s != test.path { 155 const lsep = filepath.ListSeparator 191 if l := filepath.SplitList(test.list); !reflect.DeepEqual(l, test.result) [all...] |
/build/blueprint/pathtools/ |
fs.go | 24 "path/filepath" 41 fs.files[filepath.Clean(f)] = b 42 dir := filepath.Dir(f) 45 dir = filepath.Dir(dir) 101 return filepath.Glob(pattern) 110 err = filepath.Walk(name, func(path string, info os.FileInfo, err error) error { 118 return filepath.SkipDir 154 name = filepath.Clean(name) 165 return m.dirs[filepath.Clean(name)], nil 175 match, err := filepath.Match(pattern, f [all...] |
/prebuilts/go/darwin-x86/src/io/ioutil/ |
tempfile_test.go | 9 "path/filepath" 21 nonexistentDir := filepath.Join(dir, "_not_exists_") 35 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 55 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 71 badDir := filepath.Join(dir, "not-exist")
|
/prebuilts/go/linux-x86/src/io/ioutil/ |
tempfile_test.go | 9 "path/filepath" 21 nonexistentDir := filepath.Join(dir, "_not_exists_") 35 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 55 re := regexp.MustCompile("^" + regexp.QuoteMeta(filepath.Join(dir, "ioutil_test")) + "[0-9]+$") 71 badDir := filepath.Join(dir, "not-exist")
|
/external/skia/tools/ |
jsondiff.py | 49 def _GetFileContentsAsString(self, filepath): 53 if filepath is None: 55 elif filepath.startswith('http:') or filepath.startswith('https:'): 56 return urllib2.urlopen(filepath).read() 58 return open(filepath, 'r').read() 185 'the "old" side of the diff. This can be a filepath on ' + 192 'filepath on local storage, or a URL.')
|
/external/skqp/tools/ |
jsondiff.py | 49 def _GetFileContentsAsString(self, filepath): 53 if filepath is None: 55 elif filepath.startswith('http:') or filepath.startswith('https:'): 56 return urllib2.urlopen(filepath).read() 58 return open(filepath, 'r').read() 185 'the "old" side of the diff. This can be a filepath on ' + 192 'filepath on local storage, or a URL.')
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug345.go | 14 "path/filepath" 19 errchk, err := filepath.Abs("errchk") 22 err = os.Chdir(filepath.Join(".", "fixedbugs", "bug345.dir"))
|
bug369.go | 16 "path/filepath" 20 err := os.Chdir(filepath.Join(".", "fixedbugs", "bug369.dir")) 27 run("." + string(filepath.Separator) + "a.exe")
|
issue22660.go | 16 "path/filepath" 34 path := filepath.Join("users", "xxx", "go") 36 fmt.Fprintf(&src, "//line %s:1\n", filepath.Join(path, "foo.go"))
|
bug429_run.go | 16 "path/filepath" 21 cmd := exec.Command("go", "run", filepath.Join("fixedbugs", "bug429.go"))
|
issue10607.go | 17 "path/filepath" 26 out, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput()
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug345.go | 14 "path/filepath" 19 errchk, err := filepath.Abs("errchk") 22 err = os.Chdir(filepath.Join(".", "fixedbugs", "bug345.dir"))
|
bug369.go | 16 "path/filepath" 20 err := os.Chdir(filepath.Join(".", "fixedbugs", "bug369.dir")) 27 run("." + string(filepath.Separator) + "a.exe")
|
issue22660.go | 16 "path/filepath" 34 path := filepath.Join("users", "xxx", "go") 36 fmt.Fprintf(&src, "//line %s:1\n", filepath.Join(path, "foo.go"))
|
bug429_run.go | 16 "path/filepath" 21 cmd := exec.Command("go", "run", filepath.Join("fixedbugs", "bug429.go"))
|
/external/autotest/client/site_tests/logging_UdevCrash/ |
logging_UdevCrash.py | 28 filepath = os.path.join(self._SYSTEM_CRASH_DIR, filename) 30 f = gzip.open(filepath, 'r') 32 f = open(filepath)
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/drawable/ |
RoundedBitmapDrawableFactory.java | 83 public static RoundedBitmapDrawable create(@NonNull Resources res, @NonNull String filepath) { 84 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath)); 86 Log.w(TAG, "RoundedBitmapDrawable cannot decode " + filepath);
|
/system/extras/simpleperf/ |
read_apk.h | 38 EmbeddedElf(const std::string& filepath, 42 : filepath_(filepath) 50 const std::string &filepath() const { return filepath_; } function in class:EmbeddedElf
|
/build/soong/ui/build/ |
soong.go | 19 "path/filepath" 38 cmd.Environment.Set("GOROOT", "./"+filepath.Join("prebuilts/go", config.HostPrebuiltTag())) 39 cmd.Environment.Set("BLUEPRINT_LIST_FILE", filepath.Join(config.FileListDir(), "Android.bp.list")) 53 envFile := filepath.Join(config.SoongOutDir(), ".soong.environment") 54 envTool := filepath.Join(config.SoongOutDir(), ".bootstrap/bin/soong_env") 83 minibp := filepath.Join(config.SoongOutDir(), ".minibootstrap/minibp") 98 "-f", filepath.Join(config.SoongOutDir(), file)) 107 defer ctx.ImportNinjaLog(filepath.Join(config.OutDir(), ".ninja_log"), time.Now())
|
/external/autotest/client/cros/ui/ |
ui_test_base.py | 169 def capture_screenshot(self, filepath): 175 @param filepath: string, complete path to save the screenshot. 180 def draw_image_mask(self, filepath, rectangle, fill='white'): 186 @param filepath: string, the complete path to the image 192 im = Image.open(filepath) 195 im.save(filepath)
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
callbacks_test.py | 66 filepath = os.path.join(temp_dir, 'checkpoint.h5') 91 filepath, 104 assert os.path.exists(filepath) 105 os.remove(filepath) 111 filepath, 124 assert os.path.exists(filepath) 125 os.remove(filepath) 132 filepath, 145 assert os.path.exists(filepath) 146 os.remove(filepath) [all...] |
/external/webrtc/webrtc/test/ |
rtp_file_reader_unittest.cc | 24 std::string filepath = local 27 test::RtpFileReader::Create(test::RtpFileReader::kRtpDump, filepath)); 65 std::string filepath = local 68 test::RtpFileReader::Create(test::RtpFileReader::kPcap, filepath));
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
go_windows_test.go | 13 "path/filepath" 26 file := filepath.Join(tmp, "a.go") 31 dir := filepath.Join(tmp, "dir") 49 noVolume := file[len(filepath.VolumeName(file)):] 50 wrongPath := filepath.Join(dir, noVolume) 102 newtmpdir := filepath.Join(tmpdir, "tmp") 117 src := filepath.Join(tmpdir, "main.go") 122 exe := filepath.Join(tmpdir, "main.exe")
|
/prebuilts/go/linux-x86/src/cmd/go/ |
go_windows_test.go | 13 "path/filepath" 26 file := filepath.Join(tmp, "a.go") 31 dir := filepath.Join(tmp, "dir") 49 noVolume := file[len(filepath.VolumeName(file)):] 50 wrongPath := filepath.Join(dir, noVolume) 102 newtmpdir := filepath.Join(tmpdir, "tmp") 117 src := filepath.Join(tmpdir, "main.go") 122 exe := filepath.Join(tmpdir, "main.exe")
|