Home
last modified time | relevance | path

Searched refs:file_paths (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Tools/scripts/
Dpatchcheck.py134 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/
Dpatchcheck.py130 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/
Dsource_utils_test.py324 file_paths = [item[0] for item in source_list]
325 self.assertEqual(sorted(file_paths), file_paths)
326 self.assertEqual(len(set(file_paths)), len(file_paths))
358 source_list[file_paths.index(self.curr_file_path)])
370 file_paths = [item[0] for item in source_list]
371 self.assertEqual(sorted(file_paths), file_paths)
372 self.assertEqual(len(set(file_paths)), len(file_paths))
384 source_list[file_paths.index(self.curr_file_path)])
Ddebug_events_writer_test.py180 file_paths = sorted([actual.file_path for actual in actuals])
181 self.assertEqual(file_paths, [
Ddebug_events_reader.py191 file_paths = list(self._readers.keys())
192 for file_path in file_paths:
/external/python/asn1crypto/dev/
Dversion.py51 file_paths = [version_path, setup_path]
53 file_paths.extend([setup_tests_path, tests_path])
55 for file_path in file_paths:
/external/selinux/libselinux/src/
Dselinux_config.c63 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/autotest/frontend/afe/
Dviews.py106 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__.py26 def Transform(transform, file_paths): argument
28 return multiprocessing.Pool().map(transform, file_paths)
/external/tensorflow/tensorflow/core/util/
Ddebug_events_writer_test.cc444 std::vector<string> file_paths; in TEST_F() local
447 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F()
450 std::sort(file_paths.begin(), file_paths.end()); in TEST_F()
452 EXPECT_EQ(file_paths[i], in TEST_F()
486 std::vector<string> file_paths; in TEST_F() local
489 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F()
492 std::sort(file_paths.begin(), file_paths.end()); in TEST_F()
494 EXPECT_EQ(file_paths[i], in TEST_F()
538 std::vector<string> file_paths; in TEST_F() local
541 file_paths.push_back(actuals[i].source_file().file_path()); in TEST_F()
[all …]
/external/python/pyopenssl/doc/
Dconf.py33 def find_version(*file_paths): argument
34 version_file = read_file(*file_paths)
/external/tensorflow/tensorflow/python/tools/api/generator/
Doutput_init_files_test.py97 file_paths = [
99 return set(file_path for file_path in file_paths if file_path)
Dapi_gen.bzl6 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/autotest/utils/
Drun_pylint.py205 def batch_check_files(file_paths, base_opts): argument
217 if not file_paths:
220 pylint_runner = pylint.lint.Run(list(base_opts) + list(file_paths),
/external/autotest/client/site_tests/longevity_Tracker/
Dlongevity_Tracker.py307 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/
Dcloud_storage_unittest.py43 def CreateFiles(self, file_paths): argument
44 for f in file_paths:
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py1919 file_paths = [
1923 for file_path in file_paths:
1933 ]), set(file_paths))
1937 file_paths[-1])
1943 file_paths = [
1947 for file_path in file_paths:
1955 file_paths[-2])
1990 file_paths = [
1994 for file_path in file_paths:
/external/clang/lib/Driver/
DToolChains.cpp3112 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/
Dgrappler_item_builder.cc508 const CollectionDef& file_paths = in GrapplerItemFromMetaGraphDef() local
511 for (const auto& raw_path : file_paths.bytes_list().value()) { in GrapplerItemFromMetaGraphDef()
/external/python/cpython3/Lib/test/
Dtest_configparser.py1495 file_paths = [support.findfile("cfgparser.1")]
1497 file_paths.append(file_paths[0].encode('utf8'))
1500 for file_path in file_paths:
/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py59 file_paths = glob.glob(os.path.join(base_dir, 'events.*'))
60 file_path = sorted(file_paths)[-1] if file_paths else None