Home
last modified time | relevance | path

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

1234567

/freebsd/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.4 byte-compiled
20 !:mime application/x-bytecode.python
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.cpp32 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::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
60 python::LLDBSWIGPython_CastPyObjectToSBEvent(p.get()))) in ExtractValueFromPythonObject()
70 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
72 python::LLDBSWIGPython_CastPyObjectToSBStream(p.get()))) in ExtractValueFromPythonObject()
[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
307 python::PythonObject Transform(bool arg) { in Transform()
309 return python::PythonBoolean(arg); in Transform()
312 python::PythonObject Transform(Status arg) { in Transform()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedPythonInterface.cpp
H A DScriptedPythonInterface.h
H A DScriptInterpreterPythonImpl.h395 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::PythonDictionary m_session_dict;
414 python::PythonDictionary m_sys_module_dict;
[all …]
H A DSWIGPythonBridge.h39 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::PythonObject
/freebsd/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],
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 extr
[all...]
/freebsd/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::SWIGBridge::LLDBSwigPythonStopHookCallHandleStop(
[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/contrib/googletest/
H A DMODULE.bazel57 # https://rules-python.readthedocs.io/en/stable/toolchains.html#library-modules-with-dev-only-pytho…
58 python = use_extension(
59 "@rules_python//python/extensions:python.bzl",
60 "python",
64 python.toolchain(python_version = "3.12",
/freebsd/crypto/krb5/doc/tools/
H A DREADME7 - python 2.5+ with Cheetah, lxml and xml extension modules installed;
21 python doxy.py -i doxy_xml_dir -o rst_dir -t func
25 python doxy.py -i doxy_xml_dir -o rst_dir -t typedef
29 python doxy.py -i doxy_xml_dir -o rst_dir
31 python doxy.py -i doxy_xml_dir -o rst_dir -t all
/freebsd/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/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/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…
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/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/contrib/libcbor/
H A DBazel.md15 ```python
35 ```python
72 ```python
80 ```python
/freebsd/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/contrib/llvm-project/lldb/include/lldb/API/
H A DSBExecutionContext.h19 namespace python {
57 friend class lldb_private::python::SWIGBridge;
H A DSBSymbolContext.h21 namespace python {
69 friend class lldb_private::python::SWIGBridge;
H A DSBWatchpoint.h16 namespace python {
91 friend class lldb_private::python::SWIGBridge;
/freebsd/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/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 wrapper for the libzfs_core C library.
[all …]

1234567