| /external/python/cpython2/Tools/gdb/ |
| libpython.py | 1 #!/usr/bin/python 3 From gdb 7 onwards, gdb's build can be configured --with-python, allowing gdb 4 to be extended with Python code e.g. for library-specific data visualizations, 6 http://sourceware.org/gdb/current/onlinedocs/gdb/Python-API.html 9 This python module deals with the case when the process being debugged (the 10 "inferior process" in gdb parlance) is itself python, or more specifically, 35 We try to defer gdb.lookup_type() invocations for python types until as late as 36 possible: for a dynamically linked python binary, when the process starts in 40 The module also extends gdb with some python-specific commands. 43 # NOTE: some gdbs are linked with Python 3, so this file should be dual-synta [all...] |
| /prebuilts/go/darwin-x86/src/compress/flate/ |
| flate_test.go | 85 // according to the C zlib library, you can use the Python wrapper library:
|
| /prebuilts/go/linux-x86/src/compress/flate/ |
| flate_test.go | 85 // according to the C zlib library, you can use the Python wrapper library:
|
| /external/python/cpython2/PC/os2vacpp/ |
| makefile | 3 # Top-Level Makefile for Building Python for OS/2 10 # essential modules of Python and a small Python.exe program to start 11 # the interpreter. When embedding Python within another program, only 17 # any system Python is used on. Review the /Gd+ compiler option for 29 # 26-Sep-98 jrr Retested and adjusted for building w/Python 1.5.2a1 31 # 29-Oct-97 jrr Modified for Use with Python 1.5 Alpha 4 32 # 03-Aug-96 jrr Original for Use with Python 1.4 Release 42 PY_PYTHON = ..\..\Python 94 # Python Subsystem [all...] |
| makefile.omk | 3 # Top-Level Makefile for Building Python for OS/2 10 # essential modules of Python and a small Python.exe program to start 11 # the interpreter. When embedding Python within another program, only 17 # any system Python is used on. 22 # 29-Oct-97 jrr Modified for Use with Python 1.5 Alpha 4 23 # 03-Aug-96 jrr Original for Use with Python 1.4 Release 33 PY_PYTHON = ..\..\Python 59 # Python Subsystems 62 # PYTHON is the central core, containing the builtins and interpreter [all...] |
| /external/python/cpython3/Tools/gdb/ |
| libpython.py | 1 #!/usr/bin/python 3 From gdb 7 onwards, gdb's build can be configured --with-python, allowing gdb 4 to be extended with Python code e.g. for library-specific data visualizations, 6 http://sourceware.org/gdb/current/onlinedocs/gdb/Python-API.html 9 This python module deals with the case when the process being debugged (the 10 "inferior process" in gdb parlance) is itself python, or more specifically, 36 We try to defer gdb.lookup_type() invocations for python types until as late as 37 possible: for a dynamically linked python binary, when the process starts in 41 The module also extends gdb with some python-specific commands. 44 # NOTE: some gdbs are linked with Python 3, so this file should be dual-synta [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
| pystrtod.c | 1 /* -*- Mode: C; c-file-style: "python" -*- */
3 #include <Python.h>
171 /* Some platform strtods accept hex floats; Python shouldn't (at the
208 /* Python bug #1417699 */
273 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */
301 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */
326 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python
328 a Python exception, this exception will be raised, -1.0 will be returned,
332 and the appropriate Python exception will have been set.
637 * On failure returns NULL but does not set any Python exception. [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
| test_urllib.py | 144 fp = urllib.urlopen("http://python.org/")
147 self.assertEqual(fp.geturl(), 'http://python.org/')
154 url = 'http://docs.python.org/library/urllib.html#OK'
171 self.assertRaises(IOError, urllib.urlopen, "http://python.org/")
185 self.assertRaises(IOError, urllib.urlopen, "http://python.org/")
334 character you write it as '%' + <2 character US-ASCII hex value>. The Python
767 warnings.filterwarnings('ignore', ".*urllib\.urlopen.*Python 3.0",
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
| pystrtod.c | 1 /* -*- Mode: C; c-file-style: "python" -*- */
3 #include <Python.h>
171 /* Some platform strtods accept hex floats; Python shouldn't (at the
208 /* Python bug #1417699 */
273 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */
301 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */
326 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python
328 a Python exception, this exception will be raised, -1.0 will be returned,
332 and the appropriate Python exception will have been set.
637 * On failure returns NULL but does not set any Python exception. [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
| pybench.py | 1 #!/usr/local/bin/python -O
3 """ A Python Benchmark Suite
7 # Note: Please keep this module compatible to Python 1.5.2.
9 # Tests may include features in later Python versions, but these
108 python = platform.python_version()
126 'python': platform.python_version(),
140 'Python:',
143 ' Version: %s' % d.get('python', 'n/a'),
753 header = ("PYBENCH - a benchmark test suite for Python "
812 python pybench.py -s p25.pybench -c p21.pybench [all...] |
| /device/linaro/bootloader/edk2/QuarkPlatformPkg/ |
| Quark.fdf | 601 SECTION RAW = BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPublicKey.bin
608 SECTION RAW = BaseTools/Source/Python/Pkcs7Sign/TestRoot.cer
[all...] |
| /external/brotli/python/ |
| _brotli.cc | 2 #include <Python.h> 659 /* >>> Pure C block; release python GIL. */ 679 /* <<< Pure C block end. Python GIL reacquired. */
|
| /external/devlib/devlib/utils/ |
| misc.py | 507 """Converts text to a valid Python identifier by replacing all
|
| /external/python/cpython2/Lib/idlelib/idle_test/ |
| htest.py | 77 'msg': "Test every button. Ensure Python, TK and IDLE versions " 100 'msg': "The text is sample Python code.\n"
|
| /external/python/cpython2/Modules/_ctypes/ |
| _ctypes_test.c | 1 #include <Python.h>
|
| /external/python/cpython2/Python/ |
| pystrtod.c | 1 /* -*- Mode: C; c-file-style: "python" -*- */ 3 #include <Python.h> 171 /* Some platform strtods accept hex floats; Python shouldn't (at the 208 /* Python bug #1417699 */ 273 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */ 301 /* PyOS_ascii_strtod is DEPRECATED in Python 2.7 and 3.1 */ 326 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python 328 a Python exception, this exception will be raised, -1.0 will be returned, 332 and the appropriate Python exception will have been set. 637 * On failure returns NULL but does not set any Python exception [all...] |
| /external/python/cpython2/Tools/pybench/ |
| pybench.py | 1 #!/usr/local/bin/python -O 3 """ A Python Benchmark Suite 7 # Note: Please keep this module compatible to Python 1.5.2. 9 # Tests may include features in later Python versions, but these 108 python = platform.python_version() 126 'python': platform.python_version(), 140 'Python:', 143 ' Version: %s' % d.get('python', 'n/a'), 753 header = ("PYBENCH - a benchmark test suite for Python " 812 python pybench.py -s p25.pybench -c p21.pybenc [all...] |
| /external/python/cpython3/Lib/idlelib/idle_test/ |
| htest.py | 78 'msg': "Test every button. Ensure Python, TK and IDLE versions " 101 'msg': "The text is sample Python code.\n"
|
| /external/python/cpython3/Modules/_ctypes/ |
| _ctypes_test.c | 1 #include <Python.h>
|
| /external/python/cpython3/Python/ |
| pystrtod.c | 1 /* -*- Mode: C; c-file-style: "python" -*- */ 3 #include <Python.h> 210 /* Some platform strtods accept hex floats; Python shouldn't (at the 247 /* Python bug #1417699 */ 327 if overflow_exception is NULL then +-Py_HUGE_VAL is returned, and no Python 329 a Python exception, this exception will be raised, -1.0 will be returned, 333 and the appropriate Python exception will have been set. 707 * On failure returns NULL but does not set any Python exception. 987 or NULL on error. If NULL is returned, the Python error has been set. [all...] |
| /external/python/cpython3/Tools/pybench/ |
| pybench.py | 1 #!/usr/local/bin/python -O 3 """ A Python Benchmark Suite 6 # Note: Please keep this module compatible to Python 2.6. 8 # Tests may include features in later Python versions, but these 119 python = platform.python_version() 134 'python': platform.python_version(), 148 'Python:', 151 ' Version: %s' % d.get('python', 'n/a'), 757 header = ("PYBENCH - a benchmark test suite for Python " 816 python pybench.py -s p25.pybench -c p21.pybenc [all...] |
| /external/tensorflow/tensorflow/contrib/training/python/training/ |
| hparam.py | 26 from tensorflow.contrib.training.python.training import hparam_pb2 27 from tensorflow.python.framework import ops 28 from tensorflow.python.util import compat 29 from tensorflow.python.util import deprecation 191 """Parses hyperparameter values from a string into a python map. 206 * Scalar integer: A Python-parsable integer point value. E.g.: 1, 208 * Scalar float: A Python-parsable floating point value. E.g.: 1.0, 231 A python map mapping each name to either: 306 ```python 332 ```python [all...] |
| /external/tensorflow/tensorflow/python/lib/core/ |
| py_func.cc | 16 #include "tensorflow/python/lib/core/py_func.h" 31 #include "tensorflow/python/eager/pywrap_tfe.h" 32 #include "tensorflow/python/lib/core/ndarray_tensor_bridge.h" 33 #include "tensorflow/python/lib/core/py_util.h" 34 #include "tensorflow/python/lib/core/safe_ptr.h" 36 #include <Python.h> 45 // python runtime. 51 // A call to the registered python function. 53 // Passed to python runtime to call the python function registere [all...] |
| /external/vixl/tools/ |
| generate_tests.py | 164 // Python type from `test_generator.data_types` to use to generate C++ code 180 is the name of a Python class in `test_generator.data_types`. The type will 536 prevent this, you may specify a Python expression to filter the list.
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
| test_urllib.py | 171 fp = urllib.urlopen("http://python.org/") 174 self.assertEqual(fp.geturl(), 'http://python.org/') 181 url = 'http://docs.python.org/library/urllib.html#OK' 198 self.assertRaises(IOError, urllib.urlopen, "http://python.org/") 212 self.assertRaises(IOError, urllib.urlopen, "http://python.org/") 250 fp = urllib.urlopen("http://user:pass@python.org/") 257 self.assertEqual(fp.geturl(), 'http://user:pass@python.org/') 265 url = "http://a b:c d@python.org/" 456 character you write it as '%' + <2 character US-ASCII hex value>. The Python [all...] |