Home
last modified time | relevance | path

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

123456

/freebsd-src/contrib/file/magic/Magdir/
H A Dpython3 # $File: python,v 1.47 2024/08/27 18:50:57 christos Exp $
4 # python: file(1) magic for python
13 0 belong 0x02099900 python 1.0 byte-compiled
14 !:mime application/x-bytecode.python
15 0 belong 0x03099900 python 1.1/1.2 byte-compiled
16 !:mime application/x-bytecode.python
17 0 belong 0x892e0d0a python 1.3 byte-compiled
18 !:mime application/x-bytecode.python
19 0 belong 0x04170d0a python 1.
[all...]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.cpp16 #include "../lldb-python.h"
32 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
33 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
40 StructuredData::DictionarySP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
41 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
47 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
49 python::LLDBSWIGPython_CastPyObjectToSBError(p.get()))) in ExtractValueFromPythonObject()
58 python
[all...]
H A DScriptedPythonInterface.h44 const python::PythonDictionary &class_dict) const { in CheckAbstractMethodImplementation()
46 using namespace python; in CheckAbstractMethodImplementation() local
78 using namespace python; in CreatePluginObject() local
107 PythonModule::MainModule().ResolveName<python::PythonDictionary>( in CreatePluginObject()
115 PythonObject::ResolveNameWithDictionary<python::PythonCallable>( in CreatePluginObject()
227 T ExtractValueFromPythonObject(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
233 using namespace python; in Dispatch() local
279 // Now that we called the python method with the transformed arguments, in Dispatch()
307 python::PythonObject Transform(bool arg) { in Transform()
308 // Boolean arguments need to be turned into python object in Transform()
[all...]
/freebsd-src/sys/contrib/openzfs/config/
H A Dalways-python.m42 dnl # The majority of the python scripts are written to be compatible
8 AC_ARG_WITH([python], optwith
9 AS_HELP_STRING([--with-python[=VERSION]],
10 [default system python version @<:@default=check@:>@]),
16 [3*], [PYTHON="python${with_python}"],
19 [AC_MSG_ERROR([Unknown --with-python value '$with_python'])]
H A Dax_python_devel.m427 # python. If you want it to continue, set optional to true, like
32 # user, you can disable the check for the python version by setting the
88 # Allow the use of a (user set) custom python version
95 AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
97 AC_MSG_WARN([Cannot find python$PYTHON_VERSION in your system path])
99 AC_MSG_ERROR([Giving up, python development not available])
296 print ('python'+c[['LDVERSION']])
298 print ('python'+c[['VERSION']])
301 # This small piece shamelessly adapted from PostgreSQL python macro;
398 AC_MSG_CHECKING(python extra libraries)
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DSWIGPythonBridge.h20 #include "lldb-python.h"
39 namespace python {
43 python::PythonObject ToSWIGHelper(void *obj, swig_type_info *info);
115 static python::ScopedPythonObject<lldb::SBCommandReturnObject>
141 static python::PythonObject
146 static python::PythonObject
151 static python::PythonObject LLDBSwigPythonCreateScriptedBreakpointResolver(
160 static python::PythonObject LLDBSwigPythonCreateScriptedStopHook(
217 static python::PythonObject
222 static python
[all...]
H A DScriptInterpreterPythonImpl.h16 #include "lldb-python.h"
395 python::PythonModule &GetMainModule();
397 python::PythonDictionary &GetSessionDictionary();
399 python::PythonDictionary &GetSysModuleDictionary();
407 python::PythonObject &save_file, const char *mode);
409 python::PythonObject m_saved_stdin;
410 python::PythonObject m_saved_stdout;
411 python::PythonObject m_saved_stderr;
412 python::PythonModule m_main_module;
413 python
428 IOHandlerPythonInterpreter(Debugger & debugger,ScriptInterpreterPythonImpl * python) IOHandlerPythonInterpreter() argument
[all...]
/freebsd-src/contrib/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig19 llvm::Expected<bool> lldb_private::python::SWIGBridge::LLDBSwigPythonBreakpointCallbackFunction(
68 bool lldb_private::python::SWIGBridge::LLDBSwigPythonWatchpointCallbackFunction(
97 bool lldb_private::python::SWIGBridge::LLDBSwigPythonFormatterCallbackFunction(
119 bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallTypeScript(
181 PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateSyntheticProvider(
213 PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateCommandObject(
232 PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedBreakpointResolver(
265 unsigned int lldb_private::python::SWIGBridge::LLDBSwigPythonCallBreakpointResolver(
304 PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedStopHook(
362 bool lldb_private::python
[all...]
H A Dpython.swig40 a way that is incompatible with our usage of the python module as __init__.py
112 %include "python-typemaps.swig"
119 #include "../bindings/python/python-swigsafecast.swig"
121 using namespace lldb_private::python;
126 %include "python-extensions.swig"
127 %include "python-wrapper.swig"
/freebsd-src/contrib/ldns/packaging/fedora/
H A Dldns.spec22 BuildRequires: python-devel, swig
40 %package python
45 %description python
111 %files python
151 - Added ldns-python sub package
152 - Patch for installing ldns-python files
153 - Patch for rpath in ldns-python
/freebsd-src/contrib/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. You can use the environment variable 'PYTHON_VERSION=version_number' for an explicit version.])
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"
/freebsd-src/sys/contrib/libsodium/test/default/
H A Dnacl-test-wrapper.sh24 command -v python >/dev/null 2>&1 || {
35 exec python "$SEL_LDR" "$exe"
/freebsd-src/contrib/ldns/
H A Dax_python_devel.m427 # user, you can disable the check for the python version by setting the
75 # Allow the use of a (user set) custom python version
82 AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]])
84 AC_MSG_ERROR([Cannot find python$PYTHON_VERSION in your system path])
217 print ('python'+c[['LDVERSION']])
219 print ('python'+c[['VERSION']])
222 # This small piece shamelessly adapted from PostgreSQL python macro;
264 AC_MSG_CHECKING(python extra libraries)
276 AC_MSG_CHECKING(python extra linking flags)
288 AC_MSG_CHECKING([consistency of all components of python development environment])
[all …]
/freebsd-src/contrib/file/python/
H A DCHANGELOG.md11 * Retain python 2 compatibility, factoring out the conversion functions.
13 * Restore python-2 compatibility.
H A DREADME.md10 python setup.py install
31 python setup.py test
/freebsd-src/contrib/libcbor/
H A DBazel.md15 ```python
35 ```python
72 ```python
80 ```python
/freebsd-src/contrib/llvm-project/lldb/include/lldb/API/
H A DSBExecutionContext.h19 namespace python {
57 friend class lldb_private::python::SWIGBridge;
H A DSBEvent.h19 namespace python {
78 friend class lldb_private::python::SWIGBridge;
H A DSBWatchpoint.h16 namespace python {
91 friend class lldb_private::python::SWIGBridge;
H A DSBSymbolContext.h21 namespace python {
69 friend class lldb_private::python::SWIGBridge;
H A DSBBreakpointLocation.h16 namespace python {
103 friend class lldb_private::python::SWIGBridge;
H A DSBError.h16 namespace python {
98 friend class lldb_private::python::SWIGBridge;
/freebsd-src/sys/contrib/openzfs/rpm/redhat/
H A Dzfs.spec.in265 Requires: python%{__python_pkg_version}
291 %package -n python%{__python_pkg_version}-pyzfs
299 Requires: python%{__python_pkg_version}
304 Requires: python%{__python_pkg_version}-cffi
314 BuildRequires: python%{__python_pkg_version}-packaging
315 BuildRequires: python%{__python_pkg_version}-devel
316 BuildRequires: python%{__python_pkg_version}-cffi
317 BuildRequires: python%{__python_pkg_version}-setuptools
323 %description -n python%{__python_pkg_version}-pyzfs
324 This package provides a python wrappe
[all...]
/freebsd-src/sys/contrib/openzfs/rpm/generic/
H A Dzfs.spec.in265 Requires: python%{__python_pkg_version}
291 %package -n python%{__python_pkg_version}-pyzfs
299 Requires: python%{__python_pkg_version}
304 Requires: python%{__python_pkg_version}-cffi
314 BuildRequires: python%{__python_pkg_version}-packaging
315 BuildRequires: python%{__python_pkg_version}-devel
316 BuildRequires: python%{__python_pkg_version}-cffi
317 BuildRequires: python%{__python_pkg_version}-setuptools
323 %description -n python%{__python_pkg_version}-pyzfs
324 This package provides a python wrappe
[all...]
/freebsd-src/contrib/libucl/
H A DChangeLog.md93 - python: Add support to Python 3 (by Denis Volpato Martins)
94 - python: Add support for Python 2.6 tests (by Denis Volpato Martins)
95 - python: Implement validation function and tests (by Denis Volpato Martins)
96 - python: Added UCL_NULL handling and tests (by Denis Volpato Martins)

123456