HomeSort by relevance Sort by last modified time
    Searched refs:dirpath (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/skia/gn/
checkdir.py 11 dirpath, = sys.argv[1:]
13 print os.path.isdir(dirpath)
highest_version_dir.py 12 dirpath = sys.argv[1] variable
15 print sorted(filter(regex.match, os.listdir(dirpath)))[-1]
  /external/skqp/gn/
checkdir.py 11 dirpath, = sys.argv[1:]
13 print os.path.isdir(dirpath)
highest_version_dir.py 12 dirpath = sys.argv[1] variable
15 print sorted(filter(regex.match, os.listdir(dirpath)))[-1]
  /bionic/libc/bionic/
lfs64_support.cpp 39 int ftw64(const char *dirpath,
41 return ftw(dirpath, reinterpret_cast<ftw_fn>(fn), nopenfd);
44 int nftw64(const char * dirpath,
47 return nftw(dirpath, reinterpret_cast<nftw_fn>(fn), nopenfd, flags);
  /external/tensorflow/tensorflow/c/
env_test.cc 35 ::tensorflow::string dirpath = local
37 TF_CreateDir(dirpath.c_str(), s);
38 ASSERT_TF_OK(s) << "TF_CreateDir failed for " << dirpath << ": "
42 ::tensorflow::io::JoinPath(dirpath, "somefile.txt");
57 TF_StringStream* children = TF_GetChildren(dirpath.c_str(), s);
58 ASSERT_TF_OK(s) << "TF_GetChildren failed for " << dirpath;
74 TF_DeleteDir(dirpath.c_str(), s);
77 << dirpath;
84 TF_DeleteDir(dirpath.c_str(), s);
85 ASSERT_TF_OK(s) << "TF_DeleteDir failed for " << dirpath << ":
    [all...]
  /development/gsi/gsi_util/
run_test.py 26 for dirpath, _, filenames in os.walk('.'):
27 if os.path.basename(dirpath) == 'tests':
28 matches.extend(os.path.join(dirpath, f)
  /external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/support/
find_files.py 15 for dirpath, _, filenames in walk(top, **kwargs):
17 matches.append(join(dirpath, filename))
  /external/autotest/client/common_lib/
file_utils.py 66 def ensure_dir_exists(dirpath):
70 @param dirpath: path, dir to check.
75 error_msg = 'Directory %s does not exist.' % dirpath
76 if not os.path.isdir(dirpath):
89 for dirpath in dirpaths:
90 ensure_dir_exists(dirpath)
93 def make_leaf_dir(dirpath):
97 @param dirpath: path, directory to create.
103 os.makedirs(dirpath)
118 for dirpath in dirpaths
    [all...]
  /external/libtextclassifier/lang_id/common/file/
file-utils.cc 53 bool DirectoryExists(const string &dirpath) {
55 if (!stat(dirpath.c_str(), &s)) {
file-utils.h 74 // Returns true if dirpath is the path to an existing directory, and false
76 bool DirectoryExists(const string &dirpath);
  /external/tensorflow/tensorflow/tools/test/
file_name_test.py 38 for dirpath, dirnames, filenames in os.walk(BASE_DIR, followlinks=True):
44 raise AssertionError(ERROR_MESSAGE.format(dirpath))
upload_test_benchmarks.py 94 def is_real_file(dirpath, fname):
95 fpath = os.path.join(dirpath, fname)
99 def get_mtime(dirpath, fname):
100 fpath = os.path.join(dirpath, fname)
104 def list_files_by_mtime(dirpath):
112 dirpath: directory pathname
117 files = [f for f in os.listdir(dirpath) if is_real_file(dirpath, f)]
118 return sorted(files, key=lambda f: get_mtime(dirpath, f))
  /external/python/cpython2/Lib/lib-tk/test/
runtktests.py 32 for dirpath, dirnames, filenames in os.walk(basepath):
37 if is_package(dirpath) and filenames:
38 pkg_name = dirpath[len(basepath) + len(os.sep):].replace('/', '.')
  /external/python/cpython3/Lib/tkinter/test/
runtktests.py 30 for dirpath, dirnames, filenames in os.walk(basepath):
35 if is_package(dirpath) and filenames:
36 pkg_name = dirpath[len(basepath) + len(os.sep):].replace('/', '.')
  /external/autotest/site_utils/
gs_offloader.py 191 def sanitize_dir(dirpath):
196 @param dirpath: Directory entry to be sanitized.
198 if not os.path.exists(dirpath):
200 _escape_rename(dirpath)
201 _escape_rename_dir_contents(dirpath)
202 _sanitize_fifos(dirpath)
203 _sanitize_symlinks(dirpath)
206 def _escape_rename_dir_contents(dirpath):
209 @param dirpath: Directory path string.
211 for filename in os.listdir(dirpath)
    [all...]
  /external/ltp/testcases/kernel/syscalls/getcwd/
getcwd02.c 47 static int dir_exists(const char *dirpath)
51 if (!stat(dirpath, &sb) && S_ISDIR(sb.st_mode))
  /external/autotest/client/site_tests/kernel_CrosECSysfsAccel/
kernel_CrosECSysfsAccel.py 56 dirpath = os.path.join(self.sysfs_accel_search_path, d)
57 namepath = os.path.join(dirpath, 'name')
75 locpath = os.path.join(dirpath, 'location')
82 self.sysfs_accel_old_path = dirpath
88 self.sysfs_accel_paths[loc] = dirpath
  /external/skia/infra/bots/
zip_utils.py 56 dirpath = os.path.join(r, dirname)
57 z.write(dirpath, os.path.relpath(dirpath, target_dir))
  /external/skqp/infra/bots/
zip_utils.py 56 dirpath = os.path.join(r, dirname)
57 z.write(dirpath, os.path.relpath(dirpath, target_dir))
  /external/webrtc/talk/build/
merge_ios_libs 55 for dirpath, _, filenames in os.walk(lib_base_dir):
56 if dirpath.endswith(output_dir_name):
62 entry.append(os.path.join(dirpath, filename))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/
support.py 49 for dirpath, dirnames, filenames in os.walk(proj_dir):
52 yield os.path.join(dirpath, filename)
  /external/python/cpython2/Lib/lib2to3/tests/
support.py 49 for dirpath, dirnames, filenames in os.walk(proj_dir):
52 yield os.path.join(dirpath, filename)
  /external/python/cpython3/Lib/lib2to3/tests/
support.py 53 for dirpath, dirnames, filenames in os.walk(proj_dir):
56 yield os.path.join(dirpath, filename)
  /external/python/setuptools/setuptools/
wheel.py 33 for dirpath, dirnames, filenames in os.walk(src_dir):
34 subdir = os.path.relpath(dirpath, src_dir)
36 src = os.path.join(dirpath, f)
40 src = os.path.join(dirpath, d)
48 for dirpath, dirnames, filenames in os.walk(src_dir, topdown=True):
50 os.rmdir(dirpath)

Completed in 900 milliseconds

1 2 3 4 5