Home
last modified time | relevance | path

Searched refs:is_windows (Results 1 – 25 of 34) sorted by relevance

12

/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py50 is_windows = sys.platform == 'win32' variable in TestCase
67 if self.is_windows:
102 return TestCase.is_windows
135 if not TestCase.is_windows:
146 if TestCase.is_macos or TestCase.is_windows:
183 if not TestCase.is_macos and not TestCase.is_windows:
195 if TestCase.is_macos or TestCase.is_windows:
207 if TestCase.is_windows:
226 (TestCase.is_windows and skip_windows or
227 not TestCase.is_windows
[all …]
Dfake_filesystem_vs_real_test.py44 is_windows = sys.platform.startswith('win') variable in TestCase
338 os_method_names = [] if self.is_windows else ['readlink']
345 if not self.is_windows:
472 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
478 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
484 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
490 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
496 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
508 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
516 @unittest.skipIf(TestCase.is_windows, 'no symlink in Windows')
[all …]
Dfake_pathlib_test.py35 is_windows = sys.platform == 'win32' variable
66 if is_windows:
116 @unittest.skipIf(is_windows, 'POSIX specific behavior')
122 @unittest.skipIf(not is_windows, 'Windows specific behavior')
134 @unittest.skipIf(not is_windows, 'Windows specific behavior')
174 @unittest.skipIf(not is_windows, 'Windows-specifc behavior')
191 @unittest.skipIf(is_windows, 'POSIX specific behavior')
198 @unittest.skipIf(not is_windows, 'Windows specific behavior')
359 @unittest.skipIf(is_windows, 'POSIX specific behavior')
363 @unittest.skipIf(not is_windows, 'Windows specific behavior')
[all …]
Dexample_test.py112 is_windows = sys.platform.startswith('win')
114 if is_windows:
Dfake_filesystem_shutil_test.py30 is_windows = sys.platform == 'win32' variable
85 @unittest.skipIf(not is_windows, 'Windows specific behavior')
97 @unittest.skipIf(is_windows, 'Posix specific behavior')
113 @unittest.skipIf(is_windows, 'Posix specific behavior')
124 @unittest.skipIf(not is_windows, 'Windows specific behavior')
429 @unittest.skipIf(is_windows, 'Posix specific behavior')
454 @unittest.skipIf(is_windows, 'Posix specific behavior')
Dfake_filesystem_unittest_test.py94 is_windows = sys.platform.startswith('win')
99 if is_windows:
105 if is_windows:
127 is_windows = sys.platform.startswith('win')
128 if is_windows:
Dfake_filesystem_test.py850 def check_abspath(self, is_windows): argument
852 self.filesystem.is_windows_fs = is_windows
861 self.check_abspath(is_windows=True)
865 self.check_abspath(is_windows=False)
867 def check_abspath_bytes(self, is_windows): argument
869 self.filesystem.is_windows_fs = is_windows
878 self.check_abspath_bytes(is_windows=True)
881 self.check_abspath_bytes(is_windows=False)
997 if self.is_windows:
1004 @unittest.skipIf(TestCase.is_windows or TestCase.is_cygwin,
[all …]
/external/tflite-support/tensorflow_lite_support/custom_ops/
Dtf_configure.sh28 function is_windows() { function
36 if is_windows; then
41 if is_windows; then
51 elif is_windows; then
/external/angle/tools/
Dangle_tools.py14 is_windows = platform.system() == 'Windows' variable
20 path_delimiter = ';' if is_windows else ':'
30 if is_windows:
/external/angle/src/compiler/
Dgenerate_parser_tools.py16 is_windows = platform.system() == 'Windows' variable
30 assert (is_windows)
62 if is_windows:
114 if is_windows:
/external/llvm-project/libcxx/utils/libcxx/test/
Dconfig.py112 if self.target_info.is_windows():
241 if self.target_info.is_windows():
270 if self.target_info.is_windows():
304 if self.target_info.is_windows() and self.debug_build:
333 not self.target_info.is_windows():
341 if self.target_info.is_windows() and self.debug_build and \
384 if self.target_info.is_windows():
405 if self.target_info.is_windows() and self.link_shared:
408 if not self.target_info.is_windows():
411 elif self.target_info.is_windows() and self.link_shared:
[all …]
Dtarget_info.py27 def is_windows(self): member in DefaultTargetInfo
44 split_char = ';' if self.is_windows() else ':'
/external/tensorflow/
Dconfigure.py75 def is_windows(): function
224 if is_windows() or is_cygwin():
249 if is_windows() or is_cygwin():
528 elif is_windows():
700 if is_windows() or is_cygwin():
728 if is_windows() or is_cygwin():
795 if is_windows() or is_cygwin():
1133 if is_windows():
1227 if not is_windows() or sys.version_info[0] != 2:
1319 if is_windows():
[all …]
/external/python/pyfakefs/pyfakefs/
Dhelpers.py67 def __init__(self, is_windows, user_id, group_id, initial_time=None): argument
76 self.is_windows = is_windows
184 if self.st_mode & S_IFLNK == S_IFLNK and self.is_windows:
194 if not self.is_windows:
211 if not self.is_windows or sys.version_info < (3, 8):
/external/libcxx/utils/libcxx/test/
Dconfig.py63 self.is_windows = platform.system() == 'Windows'
123 if self.is_windows:
464 if self.is_windows:
494 if self.is_windows:
559 if self.is_windows and self.debug_build:
583 not self.is_windows:
591 if self.is_windows and self.debug_build and \
740 if self.is_windows:
767 if self.is_windows and self.link_shared:
770 if not self.is_windows:
[all …]
Dtarget_info.py51 def add_common_locales(features, lit_config, is_windows=False): argument
64 loc_name = windows_loc_name if is_windows else loc_id
275 is_windows=True)
/external/clang/
Dbuild.py240 is_windows = host.startswith('windows')
242 bin_ext = '.exe' if is_windows else ''
244 if is_windows:
255 if not is_windows:
266 if is_windows:
597 is_windows = host.startswith('windows')
598 bin_ext = '.exe' if is_windows else ''
605 if is_windows:
/external/tflite-support/tensorflow_lite_support/tools/pip_package/
Dbuild_pip_package.sh39 function is_windows() { function
64 if is_windows; then
/external/tensorflow/third_party/gpus/
Dcuda_configure.bzl49 "is_windows",
140 if not is_windows(repository_ctx):
215 if is_windows(repository_ctx):
523 stub_dir = "" if is_windows(repository_ctx) else "/stubs"
670 is_windows = cpu_value == "Windows"
675 cuda_version = ("64_%s%s" if is_windows else "%s.%s") % (cuda_major, cuda_minor)
676 cudnn_version = ("64_%s" if is_windows else "%s") % config["cudnn_version"]
681 cudart_version = "64_110" if is_windows else "11.0"
683 cudart_version = ("64_%s" if is_windows else "%s") % cuda_major
684 cublas_version = ("64_%s" if is_windows else "%s") % config["cublas_version"].split(".")[0]
[all …]
/external/llvm-project/clang/utils/check_cfc/
Dcheck_cfc.py67 def is_windows(): function
236 stderr=subprocess.PIPE, env=my_env, shell=is_windows())
354 p = subprocess.Popen(arguments_a, env=my_env, shell=is_windows())
/external/clang/utils/check_cfc/
Dcheck_cfc.py64 def is_windows(): function
233 stderr=subprocess.PIPE, env=my_env, shell=is_windows())
351 p = subprocess.Popen(arguments_a, env=my_env, shell=is_windows())
/external/tensorflow/third_party/remote_config/
Dcommon.bzl24 if is_windows(repository_ctx):
100 if is_windows(repository_ctx):
132 if is_windows(repository_ctx):
169 def is_windows(repository_ctx):
194 if is_windows(repository_ctx):
/external/angle/tools/flex-bison/
Dupdate_flex_bison_binaries.py28 elif angle_tools.is_windows:
/external/pthreadpool/
Dconfigure.py20 elif build.target.is_windows:
/external/angle/tools/glslang/
Dupdate_glslang_binary.py29 if not angle_tools.is_windows and not angle_tools.is_linux:

12