Home
last modified time | relevance | path

Searched refs:python (Results 1 – 25 of 170) sorted by relevance

1234567

/openbsd/usr.bin/file/magdir/
H A Dpython1 # $OpenBSD: python,v 1.2 2008/05/08 01:40:57 chl Exp $
4 # python: file(1) magic for python
8 0 string """ a python script text executable
11 0 belong 0x994e0d0a python 1.5/1.6 byte-compiled
12 0 belong 0x87c60d0a python 2.0 byte-compiled
13 0 belong 0x2aeb0d0a python 2.1 byte-compiled
14 0 belong 0x2ded0d0a python 2.2 byte-compiled
15 0 belong 0x3bf20d0a python 2.3 byte-compiled
16 0 belong 0x6df20d0a python 2.4 byte-compiled
17 0 belong 0xb3f20d0a python 2.5 byte-compiled
[all …]
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-not/
H A Dnot-calls-external.txt7 # RUN: not %{python} fail.py
8 # RUN: not not %{python} pass.py
9 # RUN: not not not %{python} fail.py
10 # RUN: not not not not %{python} pass.py
15 # RUN: not not --crash %{python} pass.py
16 # RUN: not not --crash %{python} fail.py
17 # RUN: not not --crash not %{python} pass.py
18 # RUN: not not --crash not %{python} fail.py
29 # RUN: env FOO=1 not %{python} fail.py \
32 # RUN: not env FOO=1 BAR=1 %{python} fail.py \
[all …]
H A Dexclamation-calls-external.txt3 # RUN: ! %{python} fail.py
4 # RUN: ! ! %{python} pass.py
5 # RUN: ! ! ! %{python} fail.py
6 # RUN: ! ! ! ! %{python} pass.py
9 # RUN: ! %{python} pass.py
/openbsd/gnu/llvm/lldb/bindings/python/
H A DCMakeLists.txt12 -python
17 ${CMAKE_CURRENT_SOURCE_DIR}/python.swig
28 OUTPUT ${LLVM_RUNTIME_OUTPUT_INTDIR}/lldb-python
30 COMMAND ${CMAKE_COMMAND} -E copy lldb-python ${LLVM_RUNTIME_OUTPUT_INTDIR}/lldb-python
33 add_custom_target(lldb-python-wrapper ALL DEPENDS
34 ${LLVM_RUNTIME_OUTPUT_INTDIR}/lldb-python
45 "${LLDB_SOURCE_DIR}/bindings/python/createPythonInit.py"
73 # Distribute the examples as python packages.
116 FILES "${LLDB_SOURCE_DIR}/examples/python/crashlog.py"
145 add_dependencies(${swig_target} lldb-python-wrapper)
[all …]
H A Dpython.swig40 a way that is incompatible with our usage of the python module as __init__.py
55 // These versions will not generate working python modules, so error out early.
116 %include "python-typemaps.swig"
123 #include "../bindings/python/python-swigsafecast.swig"
125 using namespace lldb_private::python;
130 %include "python-extensions.swig"
131 %include "python-wrapper.swig"
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.cpp33 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
34 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
41 StructuredData::DictionarySP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
42 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
48 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
61 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
77 std::optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
H A DSWIGPythonBridge.h36 namespace python {
40 python::PythonObject ToSWIGHelper(void *obj, swig_type_info *info);
84 python::ScopedPythonObject<lldb::SBCommandReturnObject>
99 python::PythonObject LLDBSwigPythonCreateScriptedObject(
126 python::PythonObject
131 python::PythonObject
136 python::PythonObject LLDBSwigPythonCreateScriptedThreadPlan(
145 python::PythonObject LLDBSwigPythonCreateScriptedBreakpointResolver(
153 python::PythonObject LLDBSwigPythonCreateScriptedStopHook(
193 python::PythonObject
[all …]
H A DScriptedPythonInterface.h37 T ExtractValueFromPythonObject(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
43 using namespace python; in Dispatch() local
116 python::PythonObject Transform(Status arg) { in Transform()
117 return python::ToSWIGWrapper(arg); in Transform()
127 void ReverseTransform(T &original_arg, python::PythonObject transformed_arg, in ReverseTransform()
178 fmt += python::PythonFormat<T>::format; in FormatArgs()
190 python::PythonObject &p, Status &error);
195 StructuredData::DictionarySP>(python::PythonObject &p, Status &error);
199 python::PythonObject &p, Status &error);
204 python::PythonObject &p, Status &error);
[all …]
H A DScriptInterpreterPythonImpl.h386 python::PythonModule &GetMainModule();
388 python::PythonDictionary &GetSessionDictionary();
400 python::PythonObject m_saved_stdin;
401 python::PythonObject m_saved_stdout;
402 python::PythonObject m_saved_stderr;
403 python::PythonModule m_main_module;
404 python::PythonDictionary m_session_dict;
405 python::PythonDictionary m_sys_module_dict;
406 python::PythonObject m_run_one_line_function;
407 python::PythonObject m_run_one_line_str_global;
[all …]
/openbsd/gnu/llvm/llvm/utils/valgrind/
H A Di386-pc-linux-gnu.supp10 # http://svn.python.org/projects/python/trunk/Misc/README.valgrind
15 obj:/usr/bin/python*
21 obj:/usr/bin/python*
27 obj:/usr/bin/python*
37 We don't care if python leaks
40 obj:/usr/bin/python*
H A Dx86_64-pc-linux-gnu.supp9 # http://svn.python.org/projects/python/trunk/Misc/README.valgrind
14 obj:/usr/bin/python*
20 obj:/usr/bin/python*
26 obj:/usr/bin/python*
56 We don't care if python leaks
59 obj:/usr/bin/python*
/openbsd/gnu/llvm/llvm/utils/lit/utils/
H A Dcheck-coverage24 if ! python -c \
42 (cd tests && python -m coverage combine)
45 (cd tests && python -m coverage report)
49 (cd tests && python -m coverage html)
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-env/
H A Denv-calls-env.txt3 # RUN: env env %{python} print_environment.py \
9 # RUN: env FOO=2 env BAR=1 %{python} print_environment.py \
15 # RUN: env -u FOO env -u BAR %{python} print_environment.py \
21 # RUN: env -u FOO BAR=1 env -u BAR FOO=2 %{python} print_environment.py \
27 # RUN: env -u FOO BAR=1 env -u BAR FOO=2 env BAZ=3 %{python} print_environment.py \
H A Denv-u.txt3 # RUN: %{python} print_environment.py \
8 # RUN: env -u FOO %{python} print_environment.py \
13 # RUN: env -u FOO -u BAR %{python} print_environment.py \
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-shell/
H A Ddev-null.txt4 # RUN: %{python} %S/check_args.py --my_arg /dev/null | FileCheck %s --check-prefix=CHECK1
7 # RUN: %{python} %S/check_args.py --my_arg=/dev/null | FileCheck %s --check-prefix=CHECK2
10 # RUN: %{python} %S/check_args.py -a /dev/null | FileCheck %s --check-prefix=CHECK3
13 # RUN: %{python} %S/check_args.py -a=/dev/null | FileCheck %s --check-prefix=CHECK4
H A Dvalid-shell.txt5 # RUN: %{python} %S/check_path.py file %t.write > %t.out
8 # RUN: %{python} %S/check_path.py file %t.write > %t.out
11 # RUN: %{python} %S/check_path.py file %t.write > %t.out
22 # RUN: %{python} %S/check_path.py dir %T/test > %t.out
25 # RUN: %{python} %S/check_path.py dir %T/test > %t.out
29 # RUN: %{python} %S/check_path.py dir %T/test > %t.out
39 # RUN: %{python} %S/check_path.py dir %T/test1 > %t.out
42 # RUN: %{python} %S/check_path.py dir %T/test1 > %t.out
45 # RUN: %{python} %S/check_path.py dir %T/test1 > %t.out
55 # RUN: %{python} %S/check_path.py dir %T/test %T/test/test1 %T/test/test2 > %t.out
[all …]
H A Dredirects.txt20 # RUN: %{python} %S/write-to-stderr.py 2> %t.stderr-write
26 # RUN: %{python} %S/write-to-stderr.py 2>> %t.stderr-write
36 # RUN: %{python} %S/write-to-stdout-and-stderr.py &> %t.combined
/openbsd/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/
H A D.travis.yml1 language: python
3 python:
15 - python: pypy
/openbsd/gnu/llvm/clang/bindings/python/tests/
H A DCMakeLists.txt5 add_custom_target(check-clang-python
14 set_target_properties(check-clang-python PROPERTIES FOLDER "Clang tests")
37 # The Python FFI interface is broken on AIX: https://bugs.python.org/issue38628.
52 LLVM_ALL_ADDITIONAL_TEST_TARGETS check-clang-python)
/openbsd/gnu/llvm/lldb/
H A DCMakeLists.txt60 "Path to python interpreter exectuable, relative to python's install prefix")
62 "Filename extension for native code python modules")
68 ${CMAKE_CURRENT_SOURCE_DIR}/bindings/python/get-python-config.py
130 finish_swig_python("lldb-python" "${lldb_python_bindings_dir}" "${lldb_python_target_dir}")
/openbsd/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/
H A D.travis.yml1 language: python
2 python:
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCMakeLists.txt228 # Create a target to install the python bindings to make them easier to
233 ${CMAKE_CURRENT_SOURCE_DIR}/../../bindings/python/clang
235 libclang-python-bindings
237 "lib${LLVM_LIBDIR_SUFFIX}/python${PythonVersion}/site-packages")
240 add_custom_target(libclang-python-bindings)
241 add_llvm_install_targets(install-libclang-python-bindings
243 libclang-python-bindings)
/openbsd/usr.sbin/unbound/
H A Dacx_python.m43 # Allow the use of a (user set) custom python version
10 AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
12 AC_MSG_ERROR([Cannot find python$PYTHON_VERSION in your system path])
34 # on Debian 10, for python 2.7 and 3.7. So, we check the version,
132 AC_MSG_CHECKING([consistency of all components of python development environment])
153 Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
/openbsd/gnu/llvm/lldb/examples/synthetic/recognizer_function/
H A Dlldb-commands2 type summary add --expand --recognizer-function --python-function example.message_summary example.i…
3 type synth add --recognizer-function --python-class example.MessageChildProvider example.is_message…
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/allow-retries/
H A Dlit.cfg8 config.substitutions.append(('%python', lit_config.params.get('python', '')))

1234567