/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/debug/lib/ |
D | source_utils_test.py | 262 file_paths = [item[0] for item in source_list] 263 self.assertEqual(sorted(file_paths), file_paths) 264 self.assertEqual(len(set(file_paths)), len(file_paths)) 296 source_list[file_paths.index(self.curr_file_path)]) 308 file_paths = [item[0] for item in source_list] 309 self.assertEqual(sorted(file_paths), file_paths) 310 self.assertEqual(len(set(file_paths)), len(file_paths)) 322 source_list[file_paths.index(self.curr_file_path)])
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 62 static char *file_paths[NEL]; variable 226 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 242 free(file_paths[i]); in fini_selinux_policyroot() 243 file_paths[i] = NULL; in fini_selinux_policyroot() 260 return file_paths[idx]; in hidden_def() 296 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/external/tensorflow/tensorflow/contrib/testing/python/framework/ |
D | util_test.py | 75 file_paths = glob.glob(os.path.join(base_dir, 'events.*')) 76 return sorted(file_paths)[-1] if file_paths else None
|
/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/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/python/tools/api/generator/ |
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]
|
D | output_init_files_test.py | 96 file_paths = [ 98 return set(file_path for file_path in file_paths if file_path)
|
/external/autotest/utils/ |
D | run_pylint.py | 183 def batch_check_files(file_paths, base_opts): argument 195 if not file_paths: 198 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/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/core/grappler/ |
D | grappler_item_builder.cc | 402 const CollectionDef& file_paths = in GrapplerItemFromMetaGraphDef() local 405 for (const auto& raw_path : file_paths.bytes_list().value()) { in GrapplerItemFromMetaGraphDef()
|
/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/python/cpython3/Lib/test/ |
D | test_configparser.py | 1491 file_paths = [support.findfile("cfgparser.1")] 1493 file_paths.append(file_paths[0].encode('utf8')) 1496 for file_path in file_paths:
|