MCPcopy Create free account

hub / github.com/dgrunwald/rust-cpython / functions

Functions924 in github.com/dgrunwald/rust-cpython

↓ 1 callersFunctionPy_NotImplemented
()
python3-sys/src/object.rs:964
↓ 1 callersFunctionPy_REFCNT
(ob: *mut PyObject)
python27-sys/src/object.rs:31
↓ 1 callersFunctionPy_REFCNT
(ob: *mut PyObject)
python3-sys/src/object.rs:39
↓ 1 callersFunctionPy_SIZE
(ob: *mut PyObject)
python3-sys/src/object.rs:49
↓ 1 callersMethodTrue
(self)
src/python.rs:326
↓ 1 callersMethodadd
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:19
↓ 1 callersFunctionbuffer_readonly_error
(py: Python)
src/buffer.rs:596
↓ 1 callersMethodbuild_variant
(&self, py: Python, obj: PyObject)
src/serde/ser.rs:69
↓ 1 callersMethodcall
(&self, py: Python, args: A, kwargs: Option<&PyDict>)
src/objectprotocol.rs:210
↓ 1 callersFunctioncall_operator
(special_name, slot)
src/py_class/py_class_impl.py:738
↓ 1 callersFunctioncfg_line_for_var
(key: &str, val: &str)
python27-sys/build.rs:162
↓ 1 callersFunctioncfg_line_for_var
(key: &str, val: &str)
python3-sys/build.rs:159
↓ 1 callersMethodclone_ref
(&self, py: Python)
src/python.rs:107
↓ 1 callersFunctionconfigure_from_path
Deduce configuration from the 'python' in the current PATH and print cargo vars to stdout. Note that if the python doesn't satisfy expected_version,
python27-sys/build.rs:342
↓ 1 callersFunctionconfigure_from_path
Deduce configuration from the 'python' in the current PATH and print cargo vars to stdout. Note that if the python doesn't satisfy expected_version,
python3-sys/build.rs:339
↓ 1 callersMethodcopy_from_slice
Copies the specified slice into the buffer. If the buffer is multi-dimensional, the elements in the slice are expected to be in C-style order. Fails
src/buffer.rs:531
↓ 1 callersMethodcopy_to_slice
Copies the buffer elements to the specified slice. If the buffer is multi-dimensional, the elements are written in C-style order. Fails if the slice
src/buffer.rs:434
↓ 1 callersMethodcurrent_borrow_count
(&self, _py: Python)
src/sharedref.rs:251
↓ 1 callersFunctiondata_decl
()
src/py_class/py_class_impl.py:356
↓ 1 callersMethoddata_impl
(&self, py: Python)
src/objects/string.rs:275
↓ 1 callersMethoddata_ref_cstr
Returns a reference to the capsule data. This is identical to `data_ref`, except for the name passing. This allows to use lower level constructs with
src/objects/capsule.rs:626
↓ 1 callersMethoddecrease_borrow_count
(&self, _py: Python)
src/sharedref.rs:261
↓ 1 callersMethoddeserialize_any
(self, v: V)
src/serde/de.rs:95
↓ 1 callersMethoddeserialize_bool
(self, v: V)
src/serde/de.rs:120
↓ 1 callersMethoddeserialize_f64
(self, v: V)
src/serde/de.rs:160
↓ 1 callersMethoddeserialize_i64
(self, v: V)
src/serde/de.rs:136
↓ 1 callersMethoddeserialize_u64
(self, v: V)
src/serde/de.rs:152
↓ 1 callersMethoddeserialize_unit
(self, v: V)
src/serde/de.rs:193
↓ 1 callersMethoddimensions
(&self)
src/buffer.rs:233
↓ 1 callersFunctionexample_hashmap
()
src/serde/tests.rs:91
↓ 1 callersFunctionfrom_owned_ptr_or_panic
(py: Python, p: *mut ffi::PyObject)
src/err.rs:480
↓ 1 callersFunctionget_config_vars
(python_path: &str)
python27-sys/build.rs:79
↓ 1 callersFunctionget_config_vars
(python_path: &str)
python3-sys/build.rs:76
↓ 1 callersFunctionget_interpreter_version
Parse string as interpreter version.
python27-sys/build.rs:241
↓ 1 callersFunctionget_interpreter_version
Parse string as interpreter version.
python3-sys/build.rs:238
↓ 1 callersMethodget_item
Gets the item at the specified index. Panics if the index is out of range.
src/objects/list.rs:55
↓ 1 callersFunctionget_macos_linkmodel
(expected_version: &PythonVersion)
python27-sys/build.rs:217
↓ 1 callersFunctionget_macos_linkmodel
(expected_version: &PythonVersion)
python3-sys/build.rs:214
↓ 1 callersFunctionhandle_panic
This only needs `&dyn Any`, but we keep a `Box` all the way to avoid the risk of a subtle bug in the caller where `&Box<dyn Any>` is coerced to `&dyn
src/function.rs:245
↓ 1 callersFunctionhello
(py: Python)
examples/hello.rs:8
↓ 1 callersMethodincrease_borrow_count
(&self, _py: Python)
src/sharedref.rs:255
↓ 1 callersMethodincrement_generation
(&self, py: Python)
src/sharedref.rs:270
↓ 1 callersMethodinto_normalized
Helper function for normalizing the error by deconstructing and reconstructing the PyErr. Must not panic for safety in normalize()
src/err.rs:344
↓ 1 callersMethoditems_list
List of dict items. This is equivalent to the python expression `list(dict.items())`.
src/objects/dict.rs:112
↓ 1 callersMethoditer
(&self, py: Python)
src/objects/tuple.rs:91
↓ 1 callersMethodlen
(&self, _py: Python)
src/objects/dict.rs:55
↓ 1 callersFunctionmain
()
src/py_class/py_class_impl.py:923
↓ 1 callersFunctionmatch_braces
(text)
tests/check_symbols.py:61
↓ 1 callersMethodmatches
Return true if the current exception matches the exception in `exc`. If `exc` is a class object, this also returns `true` when `self` is an instance o
src/err.rs:323
↓ 1 callersMethodmatrix_multiply
(&self, py: Python, other: impl ToPyObject)
src/objectprotocol/number.rs:51
↓ 1 callersMethodname
Name, with leading `r#` stripped.
src/argparse.rs:40
↓ 1 callersMethodnormalize
Normalizes the error. This ensures that the exception value is an instance of the exception type.
src/err.rs:333
↓ 1 callersMethodpower_modulo
(&self, py: Python, exp: impl ToPyObject, z: impl ToPyObject)
src/objectprotocol/number.rs:78
↓ 1 callersFunctionprepare_freethreaded_python
Prepares the use of Python in a free-threaded context. If the Python interpreter is not already initialized, this function will initialize it with di
src/pythonrun.rs:47
↓ 1 callersFunctionproperty_method
()
src/py_class/py_class_impl.py:602
↓ 1 callersMethodrepeat
(&self, py: Python, count: isize)
src/objects/sequence.rs:59
↓ 1 callersMethodserialize_none
(self)
src/serde/ser.rs:196
↓ 1 callersMethodserialize_unit
(self)
src/serde/ser.rs:207
↓ 1 callersMethodset_item
Sets the item at the specified index. Panics if the index is out of range.
src/objects/list.rs:69
↓ 1 callersMethodsetattr
(&self, py: Python, attr_name: N, value: V)
src/objectprotocol.rs:61
↓ 1 callersMethodshape
(&self)
src/buffer.rs:245
↓ 1 callersFunctionshared_data_decl
()
src/py_class/py_class_impl.py:390
↓ 1 callersFunctionspecial_class_method
(special_name, *args, **kwargs)
src/py_class/py_class_impl.py:658
↓ 1 callersFunctionstandard_element_type_from_type_char
(type_char: u8)
src/buffer.rs:112
↓ 1 callersFunctionstatic_data
()
src/py_class/py_class_impl.py:598
↓ 1 callersFunctionstatic_method
()
src/py_class/py_class_impl.py:569
↓ 1 callersMethodsteal_ptr
(self, _py: Python)
src/python.rs:169
↓ 1 callersMethodstr
(&self, py: Python)
src/objectprotocol.rs:184
↓ 1 callersFunctiontest_thread_exit_py
(py: Python)
tests/test_thread_exit.rs:4
↓ 1 callersMethodto_py_object
(&self, py: Python)
src/objects/none.rs:45
↓ 1 callersFunctiontraverse_and_clear
()
src/py_class/py_class_impl.py:472
↓ 1 callersMethodtry_leak_immutable
Creates an immutable reference which is not bound to lifetime, returning an error if the value is currently mutably borrowed.
src/sharedref.rs:192
↓ 1 callersFunctionvalidate
(b: &ffi::Py_buffer)
src/buffer.rs:157
↓ 1 callersFunctionversion_from_env
Determine the python version we're supposed to be building from the features passed via the environment. The environment variable can choose to omit
python27-sys/build.rs:414
↓ 1 callersFunctionversion_from_env
Determine the python version we're supposed to be building from the features passed via the environment. The environment variable can choose to omit
python3-sys/build.rs:411
MethodNotImplemented
(self)
src/python.rs:342
FunctionPyAnySet_Check
(ob: *mut PyObject)
python27-sys/src/setobject.rs:30
FunctionPyAnySet_Check
(ob: *mut PyObject)
python3-sys/src/setobject.rs:30
FunctionPyBool_Check
(op: *mut PyObject)
python27-sys/src/boolobject.rs:17
FunctionPyBool_Check
(op: *mut PyObject)
python3-sys/src/boolobject.rs:15
FunctionPyBuffer_Check
(op: *mut PyObject)
python27-sys/src/bufferobject.rs:12
FunctionPyByteArray_AS_STRING
(o: *mut PyObject)
python27-sys/src/bytearrayobject.rs:47
FunctionPyByteArray_Check
(op: *mut PyObject)
python27-sys/src/bytearrayobject.rs:27
FunctionPyByteArray_Check
(op: *mut PyObject)
python3-sys/src/bytearrayobject.rs:13
FunctionPyByteArray_CheckExact
(op: *mut PyObject)
python27-sys/src/bytearrayobject.rs:31
FunctionPyByteArray_CheckExact
(op: *mut PyObject)
python3-sys/src/bytearrayobject.rs:18
FunctionPyByteArray_GET_SIZE
(o: *mut PyObject)
python27-sys/src/bytearrayobject.rs:55
FunctionPyBytes_Check
(op: *mut PyObject)
python3-sys/src/bytesobject.rs:13
FunctionPyBytes_CheckExact
(op: *mut PyObject)
python3-sys/src/bytesobject.rs:18
FunctionPyCFunction_Check
(op: *mut PyObject)
python27-sys/src/methodobject.rs:12
FunctionPyCFunction_Check
(op: *mut PyObject)
python3-sys/src/methodobject.rs:12
FunctionPyCFunction_New
(ml: *mut PyMethodDef, slf: *mut PyObject)
python27-sys/src/methodobject.rs:119
FunctionPyCObject_Check
(op: *mut PyObject)
python27-sys/src/cobject.rs:11
FunctionPyCallIter_Check
(op: *mut PyObject)
python27-sys/src/iterobject.rs:20
FunctionPyCallIter_Check
(op: *mut PyObject)
python3-sys/src/iterobject.rs:20
FunctionPyCapsule_CheckExact
(ob: *mut PyObject)
python27-sys/src/pycapsule.rs:13
FunctionPyCapsule_CheckExact
(ob: *mut PyObject)
python3-sys/src/pycapsule.rs:13
FunctionPyCell_Check
(op: *mut PyObject)
python27-sys/src/cellobject.rs:24
FunctionPyCell_GET
(op: *mut PyObject)
python27-sys/src/cellobject.rs:36
FunctionPyCell_SET
(op: *mut PyObject, obj: *mut PyObject)
python27-sys/src/cellobject.rs:41
← previousnext →201–300 of 924, ranked by callers