HomeSort by relevance Sort by last modified time
    Searched refs:filepath (Results 251 - 275 of 1084) sorted by null

<<11121314151617181920>>

  /build/soong/cmd/fileslist/
fileslist.go 26 "path/filepath"
123 absDir, err := filepath.Abs(dir)
127 deviceRoot := filepath.Clean(absDir + "/..")
128 err = filepath.Walk(dir, func(path string, stat os.FileInfo, err error) error {
135 absPath, err := filepath.Abs(path)
139 devicePath, err := filepath.Rel(deviceRoot, absPath)
  /external/perfetto/src/traced/probes/filesystem/
file_scanner.cc 125 std::string filepath = JoinPaths(current_directory_, filename);
132 queue_.emplace_back(filepath);
138 if (!delegate_->OnInodeFound(current_block_device_id_, entry->d_ino, filepath,
  /external/tensorflow/tensorflow/python/kernel_tests/
io_ops_test.py 67 filepath = os.path.join(subdir, 'subdir2', 'filename')
69 w = io_ops.write_file(filepath, contents)
71 with open(filepath, 'rb') as f:
  /build/soong/cc/
installer.go 18 "path/filepath"
70 dir = filepath.Join(dir, ctx.Arch().ArchType.String())
73 dir = filepath.Join(dir, "vendor")
  /build/soong/cmd/merge_zips/
merge_zips.go 25 "path/filepath"
40 *f = append(*f, filepath.Clean(name))
229 mapKey := filepath.Clean(dest)
280 if filepath.Base(file.Name) != "__init__.py" {
294 if filepath.Base(file.Name) == "__init__.py" {
307 Name: filepath.Join(pkg, "__init__.py"),
314 addMapping(filepath.Join(pkg, "__init__.py"), fileSource)
393 ret := filepath.Dir(path)
394 // filepath.Dir("abc") -> "." and filepath.Dir("/abc") -> "/"
    [all...]
  /external/boringssl/src/util/
make_errors.go 24 "path/filepath"
48 lib := filepath.Base(dirName)
49 headerPath := filepath.Join(topLevelPath, "include", "openssl", lib+".h")
50 errDir := filepath.Join(topLevelPath, "crypto", "err")
51 dataPath := filepath.Join(errDir, lib+".errordata")
93 if filepath.Base(filepath.Dir(dirName)) == "fipsmodule" {
95 extraPath := filepath.Join(topLevelPath, "crypto", lib+"_extra")
107 filenames = append(filenames, filepath.Join(extraPath, extraFilename))
159 buildingPath := filepath.Join(path, "BUILDING.md"
    [all...]
  /external/python/cpython2/Lib/lib2to3/tests/
test_parser.py 281 for filepath in support.all_project_files():
282 with open(filepath, "rb") as fp:
285 "can't detect encoding for %s" % filepath)
286 with open(filepath, "r") as fp:
291 if diff(filepath, new, encoding):
292 self.fail("Idempotency failed: %s" % filepath)
  /external/swiftshader/third_party/LLVM/utils/lit/lit/
TestFormats.py 66 filepath = os.path.join(source_path, filename)
67 if not os.path.isdir(filepath):
70 for subfilename in os.listdir(filepath):
72 execpath = os.path.join(filepath, subfilename)
112 filepath = os.path.join(source_path, filename)
113 if not os.path.isdir(filepath):
  /external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
cifar10_pruning.py 387 filepath = os.path.join(dest_directory, filename)
388 if not os.path.exists(filepath):
396 filepath, _ = urllib.request.urlretrieve(DATA_URL, filepath, _progress)
398 statinfo = os.stat(filepath)
401 tarfile.open(filepath, 'r:gz').extractall(dest_directory)
  /prebuilts/go/darwin-x86/src/cmd/go/internal/fmtcmd/
fmt.go 10 "path/filepath"
87 gofmtPath := filepath.Join(cfg.GOBIN, gofmt)
92 gofmtPath = filepath.Join(cfg.GOROOT, "bin", gofmt)
  /prebuilts/go/darwin-x86/src/cmd/go/internal/test/
cover.go 12 "path/filepath"
29 if !filepath.IsAbs(testCoverProfile) && testOutputDir != "" {
30 testCoverProfile = filepath.Join(testOutputDir, testCoverProfile)
  /prebuilts/go/darwin-x86/src/go/doc/
headscan.go 26 "path/filepath"
33 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan")
71 err := filepath.Walk(*root, func(path string, fi os.FileInfo, err error) error {
  /prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/
gccgoinstallation.go 12 "path/filepath"
70 spath := filepath.Join(lpath, "go", inst.GccVersion)
77 spath = filepath.Join(spath, inst.TargetTriple)
  /prebuilts/go/linux-x86/src/cmd/go/internal/fmtcmd/
fmt.go 10 "path/filepath"
87 gofmtPath := filepath.Join(cfg.GOBIN, gofmt)
92 gofmtPath = filepath.Join(cfg.GOROOT, "bin", gofmt)
  /prebuilts/go/linux-x86/src/cmd/go/internal/test/
cover.go 12 "path/filepath"
29 if !filepath.IsAbs(testCoverProfile) && testOutputDir != "" {
30 testCoverProfile = filepath.Join(testOutputDir, testCoverProfile)
  /prebuilts/go/linux-x86/src/go/doc/
headscan.go 26 "path/filepath"
33 root = flag.String("root", filepath.Join(runtime.GOROOT(), "src"), "root of filesystem tree to scan")
71 err := filepath.Walk(*root, func(path string, fi os.FileInfo, err error) error {
  /prebuilts/go/linux-x86/src/go/internal/gccgoimporter/
gccgoinstallation.go 12 "path/filepath"
70 spath := filepath.Join(lpath, "go", inst.GccVersion)
77 spath = filepath.Join(spath, inst.TargetTriple)
  /build/soong/java/
android_resources.go 18 "path/filepath"
41 return ctx.GlobFiles(filepath.Join(dir.String(), "**/*"), androidResourceIgnoreFilenames)
69 files := data.paths.PathsInDirectory(filepath.Join(data.dir, dir.String()))
109 files, err := ctx.GlobWithDeps(filepath.Join(overlay, "**/*"), androidResourceIgnoreFilenames)
java_resources.go 19 "path/filepath"
40 filepath.Join(android.PathForModuleSrc(ctx, exclude).String(), "**/*"))
47 files := ctx.Glob(filepath.Join(dir, "**/*"), excludes)
97 dir := filepath.Clean(strings.TrimSuffix(path, rel))
  /external/autotest/client/cros/input_playback/
input_playback.py 242 def _get_contents_of_file(self, filepath):
245 @param filepath: string of path to file
250 return utils.run('cat %s' % filepath).stdout.strip()
441 def playback(self, filepath, input_type='touchpad'):
447 @param filepath: path to the input file on the DUT.
457 filepath)
458 utils.run(self._PLAYBACK_COMMAND % (node, filepath))
461 def blocking_playback(self, filepath, input_type='touchpad'):
467 @param filepath: path to the input file on the DUT.
474 with open(filepath) as fh
    [all...]
  /external/autotest/client/site_tests/touch_ScrollDirection/
touch_ScrollDirection.py 21 def _check_scroll_direction(self, filepath, expected):
24 @param filepath: Gesture file's complete path for playback.
35 self._playback(filepath)
  /external/libmojo/base/android/linker/
modern_linker_jni.cc 517 const char* filepath = shared_relro_path.c_str(); local
518 unlink(filepath);
519 int relro_fd = open(filepath, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
521 LOG_ERROR("open: %s: %s", filepath, strerror(errno));
570 relro_fd = open(filepath, O_RDONLY);
572 LOG_ERROR("open: %s: %s", filepath, strerror(errno));
578 if (unlink(filepath) == -1) {
579 LOG_ERROR("unlink: %s: %s", filepath, strerror(errno));
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
cpufreq.sh 137 local filepath="$CPUFREQROOT/$1"
149 local freqs=$(cat $filepath/scaling_available_frequencies)
  /external/tensorflow/tensorflow/contrib/summary/
summary_test_util.py 55 def events_from_file(filepath):
59 filepath: Path to the event file.
64 records = list(tf_record.tf_record_iterator(filepath))
  /external/tensorflow/tensorflow/python/keras/_impl/keras/utils/
data_utils_test.py 61 filepath = path + '.tar.gz'
62 hashval_sha256 = keras.utils.data_utils._hash_file(filepath)
63 hashval_md5 = keras.utils.data_utils._hash_file(filepath, algorithm='md5')
68 filepath, origin, file_hash=hashval_sha256,
70 self.assertTrue(os.path.exists(filepath))
71 self.assertTrue(keras.utils.data_utils.validate_file(filepath,
73 self.assertTrue(keras.utils.data_utils.validate_file(filepath, hashval_md5))
74 os.remove(filepath)

Completed in 1188 milliseconds

<<11121314151617181920>>