/aosp_15_r20/external/python/cpython3/Tools/scripts/ |
D | patchcheck.py | 161 def report_modified_files(file_paths): argument 162 count = len(file_paths) 167 for path in file_paths: 173 def normalize_whitespace(file_paths): argument 176 fixed = [path for path in file_paths if path.endswith('.py') and 182 def normalize_c_whitespace(file_paths): argument 185 for path in file_paths: 198 def normalize_docs_whitespace(file_paths): argument 200 for path in file_paths: 217 def docs_modified(file_paths): argument [all …]
|
/aosp_15_r20/external/zucchini/ |
H A 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 …]
|
/aosp_15_r20/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 …]
|
/aosp_15_r20/external/pytorch/test/distributed/nn/jit/ |
H A D | test_instantiator.py | 52 file_paths = dir_path.glob(f"{instantiator._FILE_PREFIX}*.py") 53 for file_path in file_paths: 57 file_paths = dir_path.glob(f"{instantiator._FILE_PREFIX}*.py") 58 num_files_before = len(list(file_paths)) 68 file_paths = dir_path.glob(f"{instantiator._FILE_PREFIX}*.py") 69 num_files_after = len(list(file_paths)) 76 file_paths = dir_path.glob(f"{instantiator._FILE_PREFIX}*.py") 77 for file_path in file_paths: 81 file_paths = dir_path.glob(f"{instantiator._FILE_PREFIX}*.py") 82 num_files_before = len(list(file_paths)) [all …]
|
/aosp_15_r20/tools/asuite/aidegen/lib/ |
H A D | module_info_util.py | 133 file_paths = _get_generated_json_files(env_on) 134 files_exist = all([os.path.isfile(fpath) for fpath in file_paths]) 135 files = '\n'.join(file_paths) 139 original_file_mtimes = {f: None for f in file_paths} 141 original_file_mtimes = {f: os.path.getmtime(f) for f in file_paths} 156 f, original_file_mtimes[f]) for f in file_paths]): 158 _show_files_reuse_message(file_paths) 190 file_paths = [] 194 file_paths.append(json_files_dict[key]) 195 return file_paths [all …]
|
/aosp_15_r20/external/pigweed/pw_stm32cube_build/py/pw_stm32cube_build/ |
H A D | gen_file_list.py | 38 file_paths: list[pathlib.Path] = [] 39 file_paths.extend(stm32cube_dir.glob("**/*.h")) 40 file_paths.extend(stm32cube_dir.glob("**/*.c")) 41 file_paths.extend(stm32cube_dir.glob("**/*.s")) 42 file_paths.extend(stm32cube_dir.glob("**/*.ld")) 43 file_paths.extend(stm32cube_dir.glob("**/*.icf")) 48 for file_path in file_paths:
|
/aosp_15_r20/external/cronet/base/android/ |
H A 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()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/debug/lib/ |
H A 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)])
|
/aosp_15_r20/external/armnn/python/pyarmnn/scripts/ |
H A 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'],
|
/aosp_15_r20/external/tensorflow/tensorflow/core/util/ |
H A 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 …]
|
/aosp_15_r20/external/selinux/libselinux/src/ |
H A 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()
|
/aosp_15_r20/build/make/tools/releasetools/ |
H A D | merge_ota.py | 194 def ApexInfo(file_paths): argument 195 if len(file_paths) > 1: 199 with zipfile.ZipFile(file_paths[0], "r", allowZip64=True) as zfp: 222 file_paths = args.packages 237 payloads = [Payload(path) for path in file_paths] 246 apex_info_bytes = ApexInfo(file_paths)
|
/aosp_15_r20/tools/test/mobly_extensions/tools/results_uploader/src/ |
D | results_uploader.py | 306 file_paths = [ 314 len(file_paths), 332 file_paths, 341 for file_path, result in zip(file_paths, results): 355 file_paths: list[str], 374 client.create_action(gcs_bucket, gcs_base_dir, file_paths)
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/ |
H A 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()
|
/aosp_15_r20/tools/repohooks/tools/ |
H A D | check_aosp_license.py | 95 file_paths = args.file_paths 98 for file_path in file_paths:
|
/aosp_15_r20/packages/modules/UprobeStats/src/ |
D | config.proto | 27 repeated string file_paths = 2; field 36 // Supersedes `file_paths` and `method_signature` 39 // Supersedes `file_paths` and `method_signature` 42 // Supersedes `file_paths` and `method_signature`
|
/aosp_15_r20/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:
|
/aosp_15_r20/external/libchrome/base/android/ |
H A 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()
|
/aosp_15_r20/external/autotest/frontend/afe/ |
H A D | views.py | 99 file_paths = [] 106 file_paths.append(file_path) 107 return HttpResponse(rpc_utils.prepare_for_serialization(file_paths))
|
/aosp_15_r20/tools/asuite/atest/logstorage/ |
H A D | log_uploader.py | 155 file_paths = [] 159 file_paths.append(pathlib.Path(entry.path)) 161 file_paths.extend(cls._get_file_paths(entry)) 163 return file_paths
|
/aosp_15_r20/external/pytorch/torch/utils/data/datapipes/ |
H A D | gen_pyi.py | 129 file_paths: Set[str], 137 for path in file_paths: 217 file_paths = find_file_paths( 225 ) = parse_datapipe_files(file_paths)
|
/aosp_15_r20/art/odrefresh/ |
H A D | odr_fs_utils_test.cc | 75 const std::string file_paths[] = { in TEST_F() local 82 for (const auto& file_path : file_paths) { in TEST_F() 94 for (const auto& file_path : file_paths) { in TEST_F()
|
/aosp_15_r20/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/ |
H A D | __init__.py | 26 def Transform(transform, file_paths): argument 28 return multiprocessing.Pool().map(transform, file_paths)
|
/aosp_15_r20/external/python/pyserial/ |
D | setup.py | 34 def find_version(*file_paths): argument 42 version_file = read(*file_paths)
|
/aosp_15_r20/external/autotest/utils/ |
H A 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),
|