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

1 2 3

  /external/tensorflow/tensorflow/tools/gcs_test/python/
gcs_smoke.py 59 dir_name = "%s/tf_gcs_test_%s" % (FLAGS.gcs_bucket_url, starttime_ms)
60 print("Creating dir %s" % dir_name)
61 file_io.create_dir(dir_name)
66 dir_exists = file_io.is_directory(dir_name)
68 print("%s directory exists: %s" % (dir_name, dir_exists))
72 recursive_dir_name = "%s/%s/%s" % (dir_name,
89 file_name = "%s/%s" % (dir_name, file_num)
93 print("Listing directory %s." % dir_name)
95 directory_contents = file_io.list_directory(dir_name)
98 print("Listed directory %s in %s milliseconds" % (dir_name, elapsed_ms)
    [all...]
  /external/e2fsprogs/lib/e2p/
iod.c 27 int iterate_on_dir (const char * dir_name,
36 max_len = pathconf(dir_name, _PC_NAME_MAX);
56 dir = opendir (dir_name);
70 if ((*func)(dir_name, de, private))
  /external/tensorflow/tensorflow/contrib/ignite/python/tests/
igfs_test.py 75 dir_name = "igfs:///test_delete_recursively/"
77 self.assertFalse(gfile.Exists(dir_name))
79 gfile.MkDir(dir_name)
82 self.assertTrue(gfile.Exists(dir_name))
85 gfile.DeleteRecursively(dir_name)
87 self.assertFalse(gfile.Exists(dir_name))
117 dir_name = "igfs:///test_is_directory/1"
121 gfile.MkDir(dir_name)
123 self.assertTrue(gfile.IsDirectory(dir_name))
132 dir_name = "igfs:///test_list_directory/
    [all...]
  /external/google-breakpad/src/common/
dwarf_line_to_module.cc 81 string dir_name; local
85 dir_name = compilation_dir_;
89 dir_name = directory_it->second;
99 string full_name = ExpandPath(name, dir_name);
  /external/u-boot/include/
ubifs_uboot.h 24 int ubifs_ls(const char *dir_name);
  /external/autotest/server/cros/chaos_lib/
chaos_analyzer.py 22 def __init__(self, dir_name, file_names, failures_only):
42 self._traces.append(os.path.join(dir_name, file_name))
44 for root, dir_name, file_names in os.walk(dir_name):
52 for root, dir_name, file_names in os.walk(root):
57 for root, dir_name, file_names in os.walk(root):
206 def _get_all_test_infos(self, dir_name, failures_only, packet_capture_only):
208 for root, dir, files in os.walk(dir_name):
chaos_parser.py 295 for root, dir_name, file_name in os.walk(path):
345 arg_parser.add_argument('-d', '--directory', dest='dir_name',
355 if not arguments.dir_name:
358 if not os.path.exists(arguments.dir_name):
360 parser = ChaosParser(arguments.dir_name, arguments.create_file,
  /development/vndk/tools/header-checker/src/utils/
collect_exported_headers.cpp 48 bool CollectExportedHeaderSet(const std::string &dir_name,
51 llvm::sys::fs::recursive_directory_iterator walker(dir_name, ec);
56 llvm::errs() << "Failed to walk directory: " << dir_name << ": "
  /external/catch2/scripts/
benchmarkCompile.py 28 dir_name = 'benchmark-dir' variable
44 if os.path.exists(dir_name):
45 shutil.rmtree(dir_name)
46 os.mkdir(dir_name)
49 shutil.copy(path_to_catch, dir_name)
130 os.chdir(dir_name)
137 os.chdir(dir_name)
  /external/e2fsprogs/misc/
lsattr.c 139 static int lsattr_dir_proc (const char * dir_name, struct dirent * de,
144 int dir_len = strlen(dir_name);
148 if (dir_len && dir_name[dir_len-1] == '/')
149 sprintf (path, "%s%s", dir_name, de->d_name);
151 sprintf (path, "%s/%s", dir_name, de->d_name);
  /bionic/libc/bionic/
scandir.cpp 96 int scandirat(int parent_fd, const char* dir_name, dirent*** name_list,
101 dir = opendir(dir_name);
103 int dir_fd = openat(parent_fd, dir_name, O_CLOEXEC | O_DIRECTORY | O_RDONLY);
  /external/tensorflow/tensorflow/examples/speech_commands/
wav_to_features_test.py 47 dir_name = os.path.join(root_dir, label)
48 os.mkdir(dir_name)
50 file_path = os.path.join(dir_name, "some_audio_%d.wav" % i)
train_test.py 55 dir_name = os.path.join(root_dir, label)
56 os.mkdir(dir_name)
58 file_path = os.path.join(dir_name, 'some_audio_%d.wav' % i)
  /cts/apps/CameraITS/tests/rolling_shutter_skew/
test_rolling_shutter_skew.py 217 def load_data(dir_name):
221 dir_name: Name of the directory to read data from.
226 frame_files = glob.glob('%s/*.png' % dir_name)
230 with open('%s/reported_skew.txt' % dir_name, 'r') as f:
624 def setup_debug_dir(dir_name=None):
630 dir_name: The directory to create. If none is specified, a temp
636 if dir_name is None:
637 dir_name = tempfile.mkdtemp()
639 force_mkdir(dir_name)
640 print('Saving debugging files to "%s"' % dir_name)
    [all...]
  /device/generic/goldfish/tools/
mk_qemu_image.sh 18 dir_name=$(dirname $srcimg)
19 target=${dir_name}/$label-qemu.img
  /external/webrtc/webrtc/tools/converter/
converter.h 96 std::string FindFullFileName(std::string dir_name, std::string file_name);
converter.cc 155 std::string Converter::FindFullFileName(std::string dir_name,
157 return dir_name + SEPARATOR + file_name;
  /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
matching_files_dataset_serialization_test.py 42 *[str(dir_name) for dir_name in range(j)])
  /external/e2fsprogs/ext2ed/
dir_com.c 220 char *ptr,full_dir_name [500],dir_name [500],temp [500],temp2 [500]; local
226 ptr=parse_word (command_line,dir_name);
242 strcpy (dir_name,full_dir_name);
247 strncpy (dir_name,full_dir_name,ptr-full_dir_name);
248 dir_name [ptr-full_dir_name]=0;
251 /* dir_name contains the current entry, while */
254 strcpy (name_search,dir_name); /* name_search is used to hold the required entry name */
256 if (dir_entry_ptr->name_len != strlen (dir_name) ||
257 strncmp (dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len)!=0)
309 wprintw (command_win,"Error - Directory entry %s not found.\n",dir_name); /* Hmm, an invalid path somewhere *
    [all...]
  /external/autotest/server/hosts/
gce_host.py 137 dir_name = self.run_output("mktemp -d %s" % template)
138 self.tmp_dirs.append(dir_name)
139 return dir_name
  /external/python/cpython3/Tools/msi/
csv_to_wxs.py 70 for dir_name in sorted(directories[dir_parent]):
71 lines.append(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name), dir_name))
  /external/e2fsprogs/debugfs/
filefrag.c 44 const char *dir_name; member in struct:filefrag_struct
195 cp = malloc(strlen(fs->dir_name) + strlen(name) + 2);
198 fs->dir_name, name);
202 sprintf(cp, "%s/%s", fs->dir_name, name);
241 fs->dir_name = fs->name;
259 fs->dir_name = p->name;
  /external/toolchain-utils/
tc_enter_chroot.py 33 def CreateAndOwnDir(self, dir_name):
35 if not os.path.exists(dir_name):
36 command = 'mkdir -p ' + dir_name
37 command += ' || sudo mkdir -p ' + dir_name
42 if os.stat(dir_name).st_uid != pw.pw_uid:
43 command = 'sudo chown -f ' + self.owner + ' ' + dir_name
  /external/tensorflow/tensorflow/python/data/benchmarks/
list_files_benchmark.py 45 *[str(dir_name) for dir_name in range(j)])
  /external/tensorflow/tensorflow/python/data/experimental/benchmarks/
matching_files_benchmark.py 45 *[str(dir_name) for dir_name in range(j)])

Completed in 2217 milliseconds

1 2 3