/external/python/cpython3/Tools/scripts/ |
D | patchcheck.py | 134 def report_modified_files(file_paths): argument 135 count = len(file_paths) 140 for path in file_paths: 146 def normalize_whitespace(file_paths): argument 149 fixed = [path for path in file_paths if path.endswith('.py') and 155 def normalize_c_whitespace(file_paths): argument 158 for path in file_paths: 171 def normalize_docs_whitespace(file_paths): argument 173 for path in file_paths: 190 def docs_modified(file_paths): argument [all …]
|
/external/python/cpython2/Tools/scripts/ |
D | patchcheck.py | 130 def report_modified_files(file_paths): argument 131 count = len(file_paths) 136 for path in file_paths: 142 def normalize_whitespace(file_paths): argument 146 for path in (x for x in file_paths if x.endswith('.py')): 153 def normalize_c_whitespace(file_paths): argument 156 for path in file_paths: 169 def normalize_docs_whitespace(file_paths): argument 171 for path in file_paths: 188 def docs_modified(file_paths): argument [all …]
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | text_dataset.py | 143 file_paths, labels, class_names = dataset_utils.index_directory( 157 file_paths, labels = dataset_utils.get_training_or_validation_split( 158 file_paths, labels, validation_split, subset) 159 if not file_paths: 163 file_paths=file_paths, 177 def paths_and_labels_to_dataset(file_paths, argument 183 path_ds = dataset_ops.Dataset.from_tensor_slices(file_paths)
|
D | dataset_utils.py | 120 file_paths = [os.path.join(directory, fname) for fname in filenames] 127 rng.shuffle(file_paths) 130 return file_paths, labels, class_names
|
D | image_dataset.py | 221 dataset.file_paths = image_paths
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | NaCl.cpp | 209 path_list &file_paths = getFilePaths(); in NaClToolChain() local 212 file_paths.clear(); in NaClToolChain() 226 file_paths.push_back(FilePath + "x86_64-nacl/lib32"); in NaClToolChain() 227 file_paths.push_back(FilePath + "i686-nacl/usr/lib"); in NaClToolChain() 229 file_paths.push_back(ToolPath + "i686-nacl"); in NaClToolChain() 232 file_paths.push_back(FilePath + "x86_64-nacl/lib"); in NaClToolChain() 233 file_paths.push_back(FilePath + "x86_64-nacl/usr/lib"); in NaClToolChain() 235 file_paths.push_back(ToolPath + "x86_64-nacl"); in NaClToolChain() 238 file_paths.push_back(FilePath + "arm-nacl/lib"); in NaClToolChain() 239 file_paths.push_back(FilePath + "arm-nacl/usr/lib"); in NaClToolChain() [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | source_utils_test.py | 366 file_paths = [item[0] for item in source_list] 367 self.assertEqual(sorted(file_paths), file_paths) 368 self.assertEqual(len(set(file_paths)), len(file_paths)) 400 source_list[file_paths.index(self.curr_file_path)]) 412 file_paths = [item[0] for item in source_list] 413 self.assertEqual(sorted(file_paths), file_paths) 414 self.assertEqual(len(set(file_paths)), len(file_paths)) 426 source_list[file_paths.index(self.curr_file_path)])
|
D | debug_events_reader.py | 316 file_paths = list(self._readers.keys()) 317 for file_path in file_paths:
|
/external/python/asn1crypto/dev/ |
D | version.py | 51 file_paths = [version_path, setup_path] 53 file_paths.extend([setup_tests_path, tests_path]) 55 for file_path in file_paths:
|
/external/libchrome/base/android/ |
D | path_utils.cc | 57 std::vector<base::FilePath> file_paths; in GetAllPrivateDownloadsDirectories() local 59 file_paths.emplace_back(dir); in GetAllPrivateDownloadsDirectories() 60 return file_paths; in GetAllPrivateDownloadsDirectories()
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 63 static char *file_paths[NEL]; variable 223 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 239 free(file_paths[i]); in fini_selinux_policyroot() 240 file_paths[i] = NULL; in fini_selinux_policyroot() 257 return file_paths[idx]; in hidden_def() 293 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/ |
D | __init__.py | 26 def Transform(transform, file_paths): argument 28 return multiprocessing.Pool().map(transform, file_paths)
|
/external/autotest/frontend/afe/ |
D | views.py | 106 file_paths = [] 113 file_paths.append(file_path) 114 return HttpResponse(rpc_utils.prepare_for_serialization(file_paths))
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dump.cc | 227 std::vector<absl::optional<std::string>> file_paths; in DumpHloModuleImpl() local 230 file_paths.push_back(DumpToFileInDirOrStdoutImpl(StrCat(filename, ".txt"), in DumpHloModuleImpl() 233 file_paths.push_back(DumpToFileInDirOrStdoutImpl( in DumpHloModuleImpl() 246 file_paths.push_back( in DumpHloModuleImpl() 262 file_paths.push_back( in DumpHloModuleImpl() 268 file_paths.push_back( in DumpHloModuleImpl() 281 file_paths.push_back(DumpToFileInDirImpl( in DumpHloModuleImpl() 297 file_paths.push_back( in DumpHloModuleImpl() 303 for (const absl::optional<std::string>& path : file_paths) { in DumpHloModuleImpl()
|
/external/tensorflow/tensorflow/core/util/ |
D | debug_events_writer_test.cc | 451 std::vector<string> file_paths; in TEST_F() local 454 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F() 457 std::sort(file_paths.begin(), file_paths.end()); in TEST_F() 459 EXPECT_EQ(file_paths[i], in TEST_F() 493 std::vector<string> file_paths; in TEST_F() local 496 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F() 499 std::sort(file_paths.begin(), file_paths.end()); in TEST_F() 501 EXPECT_EQ(file_paths[i], in TEST_F() 545 std::vector<string> file_paths; in TEST_F() local 548 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F() [all …]
|
/external/python/pyopenssl/doc/ |
D | conf.py | 32 def find_version(*file_paths): argument 33 version_file = read_file(*file_paths)
|
/external/autotest/utils/ |
D | run_pylint.py | 264 def batch_check_files(file_paths, base_opts): argument 276 if not file_paths: 279 pylint_runner = pylint.lint.Run(list(base_opts) + list(file_paths),
|
/external/autotest/client/site_tests/longevity_Tracker/ |
D | longevity_Tracker.py | 307 file_paths = glob.glob(app_manifest_pattern) 309 if len(file_paths) == 0: 312 if len(file_paths) > 1: 315 kiosk_manifest = open(file_paths[0], 'r').read()
|
/external/tensorflow/tensorflow/python/tools/api/generator/ |
D | output_init_files_test.py | 104 file_paths = [ 106 return set(file_path for file_path in file_paths if file_path)
|
D | api_gen.bzl | 6 file_paths, 8 """Prepends compat/v<compat_api_version> to file_paths.""" 9 return ["compat/v%d/%s" % (compat_api_version, f) for f in file_paths]
|
/external/oss-fuzz/infra/ |
D | presubmit.py | 334 file_paths = subprocess.check_output(command).decode().splitlines() 335 for file_path in file_paths:
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage_unittest.py | 43 def CreateFiles(self, file_paths): argument 44 for f in file_paths:
|
/external/tensorflow/tensorflow/python/keras/ |
D | callbacks_test.py | 2606 file_paths = [ 2610 for file_path in file_paths: 2620 ]), set(file_paths)) 2624 file_paths[-1]) 2630 file_paths = [ 2634 for file_path in file_paths: 2642 file_paths[-2]) 2677 file_paths = [ 2681 for file_path in file_paths:
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 3112 path_list &file_paths = getFilePaths(); in NaClToolChain() local 3115 file_paths.clear(); in NaClToolChain() 3129 file_paths.push_back(FilePath + "x86_64-nacl/lib32"); in NaClToolChain() 3130 file_paths.push_back(FilePath + "i686-nacl/usr/lib"); in NaClToolChain() 3132 file_paths.push_back(ToolPath + "i686-nacl"); in NaClToolChain() 3135 file_paths.push_back(FilePath + "x86_64-nacl/lib"); in NaClToolChain() 3136 file_paths.push_back(FilePath + "x86_64-nacl/usr/lib"); in NaClToolChain() 3138 file_paths.push_back(ToolPath + "x86_64-nacl"); in NaClToolChain() 3141 file_paths.push_back(FilePath + "arm-nacl/lib"); in NaClToolChain() 3142 file_paths.push_back(FilePath + "arm-nacl/usr/lib"); in NaClToolChain() [all …]
|
/external/tensorflow/tensorflow/core/grappler/ |
D | grappler_item_builder.cc | 509 const CollectionDef& file_paths = in GrapplerItemFromMetaGraphDef() local 512 for (const auto& raw_path : file_paths.bytes_list().value()) { in GrapplerItemFromMetaGraphDef()
|