/external/python/cpython3/Tools/scripts/ |
D | patchcheck.py | 159 def report_modified_files(file_paths): argument 160 count = len(file_paths) 165 for path in file_paths: 171 def normalize_whitespace(file_paths): argument 174 fixed = [path for path in file_paths if path.endswith('.py') and 180 def normalize_c_whitespace(file_paths): argument 183 for path in file_paths: 196 def normalize_docs_whitespace(file_paths): argument 198 for path in file_paths: 215 def docs_modified(file_paths): argument [all …]
|
/external/zucchini/ |
D | zucchini_commands.cc | 39 CHECK_EQ(3U, params.file_paths.size()); in MainGen() 41 params.file_paths[0], params.file_paths[1], params.file_paths[2], in MainGen() 48 CHECK_EQ(3U, params.file_paths.size()); in MainApply() 49 return zucchini::Apply(params.file_paths[0], params.file_paths[1], in MainApply() 50 params.file_paths[2], in MainApply() 55 CHECK_EQ(1U, params.file_paths.size()); in MainVerify() 56 return zucchini::VerifyPatch(params.file_paths[0]); in MainVerify() 60 CHECK_EQ(1U, params.file_paths.size()); in MainRead() 61 base::File input_file(params.file_paths[0], in MainRead() 66 LOG(ERROR) << "Error with file " << params.file_paths[0].value() << ": " in MainRead() [all …]
|
D | zucchini_commands.h | 25 const std::vector<base::FilePath>& file_paths; member
|
/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/pigweed/pw_stm32cube_build/py/pw_stm32cube_build/ |
D | gen_file_list.py | 39 file_paths: List[pathlib.Path] = [] 40 file_paths.extend(stm32cube_dir.glob("**/*.h")) 41 file_paths.extend(stm32cube_dir.glob("**/*.c")) 42 file_paths.extend(stm32cube_dir.glob("**/*.s")) 43 file_paths.extend(stm32cube_dir.glob("**/*.ld")) 44 file_paths.extend(stm32cube_dir.glob("**/*.icf")) 49 for file_path in file_paths:
|
/external/armnn/python/pyarmnn/scripts/ |
D | generate_docs.py | 17 def __copy_file_to_dir(file_paths: Union[List[str], str], target_dir_path: str): 18 file_paths = [] + file_paths 23 for file_path in file_paths: 32 __copy_file_to_dir(file_paths=['../../docs/pyarmnn.png'],
|
/external/cronet/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() 69 std::vector<base::FilePath> file_paths; in GetSecondaryStorageDownloadDirectories() local 71 file_paths.emplace_back(dir); in GetSecondaryStorageDownloadDirectories() 72 return file_paths; in GetSecondaryStorageDownloadDirectories()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | source_utils_test.py | 362 file_paths = [item[0] for item in source_list] 363 self.assertEqual(sorted(file_paths), file_paths) 364 self.assertEqual(len(set(file_paths)), len(file_paths)) 396 source_list[file_paths.index(self.curr_file_path)]) 408 file_paths = [item[0] for item in source_list] 409 self.assertEqual(sorted(file_paths), file_paths) 410 self.assertEqual(len(set(file_paths)), len(file_paths)) 422 source_list[file_paths.index(self.curr_file_path)])
|
D | debug_events_reader.py | 310 file_paths = list(self._readers.keys()) 311 for file_path in file_paths:
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 63 static char *file_paths[NEL]; variable 235 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 251 free(file_paths[i]); in fini_selinux_policyroot() 252 file_paths[i] = NULL; in fini_selinux_policyroot() 268 return file_paths[idx]; in get_path() 303 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/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/autotest/frontend/afe/ |
D | views.py | 99 file_paths = [] 106 file_paths.append(file_path) 107 return HttpResponse(rpc_utils.prepare_for_serialization(file_paths))
|
/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/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/pyserial/ |
D | setup.py | 34 def find_version(*file_paths): argument 42 version_file = read(*file_paths)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | dump.cc | 387 std::vector<std::optional<std::string>> file_paths; in DumpHloModuleImpl() local 398 file_paths.push_back(DumpToFileInDirOrStdoutImpl( in DumpHloModuleImpl() 406 file_paths.push_back(DumpToFileInDirOrStdoutImpl( in DumpHloModuleImpl() 418 file_paths.push_back(DumpToFileInDirImpl( in DumpHloModuleImpl() 435 file_paths.push_back( in DumpHloModuleImpl() 441 file_paths.push_back( in DumpHloModuleImpl() 462 file_paths.push_back(DumpToFileInDirImpl( in DumpHloModuleImpl() 474 file_paths.push_back( in DumpHloModuleImpl() 480 for (const std::optional<std::string>& path : file_paths) { in DumpHloModuleImpl()
|
/external/autotest/utils/ |
D | run_pylint.py | 272 def batch_check_files(file_paths, base_opts): argument 284 if not file_paths: 287 pylint_runner = pylint.lint.Run(list(base_opts) + list(file_paths),
|
/external/tensorflow/tensorflow/python/tools/api/generator/ |
D | output_init_files_test.py | 105 file_paths = [ 107 return set(file_path for file_path in file_paths if file_path)
|
D | api_gen.bzl | 7 file_paths, 9 """Prepends compat/v<compat_api_version> to file_paths.""" 10 return ["compat/v%d/%s" % (compat_api_version, f) for f in file_paths]
|
/external/zucchini/aosp/include/components/zucchini/ |
D | zucchini_commands.h | 25 const std::vector<base::FilePath>& file_paths; member
|
/external/oss-fuzz/infra/ |
D | presubmit.py | 352 file_paths = subprocess.check_output(command).decode().splitlines() 353 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/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 | 510 const CollectionDef& file_paths = in GrapplerItemFromMetaGraphDef() local 513 for (const auto& raw_path : file_paths.bytes_list().value()) { in GrapplerItemFromMetaGraphDef()
|