Searched refs:sys (Results 1 - 25 of 10010) sorted by relevance

1234567891011>>

/external/autotest/server/site_tests/provision_CheetsUpdate/lib/
H A D__init__.py17 import sys namespace
18 if sys.version_info < (3, 0):
19 sys.stdout.write("Sorry, requires Python 3.x\n")
20 sys.exit(1)
/external/llvm/test/BugPoint/
H A Dcompile-custom.ll.py3 import sys namespace
8 print("Error: " + ' '.join(sys.argv[1:]))
10 sys.exit(1)
/external/python/cpython2/Lib/distutils/
H A D__init__.py11 import sys namespace
13 __version__ = sys.version[:sys.version.index(' ')]
/external/python/cpython2/Lib/test/crashers/
H A Drecursion_limit_too_high.py7 # The point of this example is to show that sys.setrecursionlimit() is a
13 import sys namespace
14 if 'recursion_limit_too_high' in sys.modules:
15 del sys.modules['recursion_limit_too_high']
/external/v8/tools/
H A Drun.py10 import sys namespace
12 sys.exit(subprocess.call(sys.argv[1:]))
/external/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/
H A DOneTest3 import sys namespace
5 if len(sys.argv) != 2:
8 if sys.argv[1] == "--gtest_list_tests":
17 sys.exit(0)
18 elif not sys.argv[1].startswith("--gtest_filter="):
19 raise ValueError("unexpected argument: %r" % (sys.argv[1]))
21 test_name = sys.argv[1].split('=',1)[1]
25 sys.exit(0)
29 sys.exit(1)
34 sys
[all...]
/external/llvm/utils/lit/tests/Inputs/googletest-upstream-format/DummySubDir/
H A DOneTest3 import sys namespace
5 if len(sys.argv) != 2:
8 if sys.argv[1] == "--gtest_list_tests":
18 sys.exit(0)
19 elif not sys.argv[1].startswith("--gtest_filter="):
20 raise ValueError("unexpected argument: %r" % (sys.argv[1]))
22 test_name = sys.argv[1].split('=',1)[1]
27 sys.exit(0)
31 sys.exit(1)
36 sys
[all...]
/external/ply/ply/test/pkg_test1/
H A D__init__.py4 import sys namespace
5 if '..' not in sys.path:
6 sys.path.insert(0, '..')
/external/ply/ply/test/pkg_test2/
H A D__init__.py4 import sys namespace
5 if '..' not in sys.path:
6 sys.path.insert(0, '..')
/external/ply/ply/test/pkg_test3/
H A D__init__.py4 import sys namespace
5 if '..' not in sys.path:
6 sys.path.insert(0, '..')
/external/ply/ply/test/pkg_test5/
H A D__init__.py4 import sys namespace
5 if '..' not in sys.path:
6 sys.path.insert(0, '..')
/external/ply/ply/test/pkg_test6/
H A D__init__.py4 import sys namespace
5 if '..' not in sys.path:
6 sys.path.insert(0, '..')
/external/llvm/utils/lit/tests/Inputs/shtest-timeout/
H A Dshort.py4 import sys namespace
H A Dinfinite_loop.py5 import sys namespace
8 sys.stdout.flush() # Make sure the print gets flushed so it appears in lit output.
H A Dquick_then_slow.py6 import sys namespace
8 if len(sys.argv) != 2:
10 sys.exit(1)
12 mode = sys.argv[1]
16 sys.stdout.flush() # Make sure the print gets flushed so it appears in lit output.
18 sys.exit(0)
21 sys.exit(0)
24 sys.exit(1)
/external/e2fsprogs/include/nonunix/
H A Dutime.h1 #include <sys/utime.h>
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
H A D1-1-buildonly.c10 * Test that the sys/shm.h header file exists.
13 #include <sys/shm.h>
/external/ply/ply/example/yply/
H A Dyply.py23 import sys namespace
24 sys.path.insert(0, "../..")
31 if len(sys.argv) == 1:
35 if len(sys.argv) == 3:
36 if sys.argv[1] == '-nocode':
39 print("Unknown option '%s'" % sys.argv[1])
41 filename = sys.argv[2]
43 filename = sys.argv[1]
/external/python/cpython2/Lib/lib2to3/
H A D__main__.py1 import sys namespace
4 sys.exit(main("lib2to3.fixes"))
/external/r8/tools/
H A Drun-r8-on-gmscore.py6 import sys namespace
11 sys.exit(run_on_app.main())
/external/skia/gn/
H A Dfind_ios_sysroot.py9 import sys namespace
11 (sdk,) = sys.argv[1:]
/external/syslinux/com32/include/
H A Delf.h8 #include <sys/elf32.h>
9 #include <sys/elf64.h>
/external/v8/gypfiles/
H A Dget_landmines.py11 import sys namespace
39 sys.exit(main())
/external/v8/tools/sanitizers/
H A Dsanitize_pcs.py8 import sys; namespace
10 for line in sys.stdin:
/external/python/cpython2/Lib/test/
H A Dtf_inherit_check.py5 import sys namespace
8 verbose = (sys.argv[1] == 'v')
10 fd = int(sys.argv[2])
16 sys.exit(0)
19 sys.stderr.write("fd %d is open in child" % fd)
20 sys.exit(1)
25 sys.exit(1)

Completed in 732 milliseconds

1234567891011>>