|
numpy 2.0.0
|
#include <Python.h>#include <stdio.h>#include "numpy/npy_common.h"#include "numpy/ndarrayobject.h"Go to the source code of this file.
Defines | |
| #define | PyBytes_Type PyString_Type |
| #define | PyBytes_Check PyString_Check |
| #define | PyBytesObject PyStringObject |
| #define | PyBytes_FromString PyString_FromString |
| #define | PyBytes_FromStringAndSize PyString_FromStringAndSize |
| #define | PyBytes_AS_STRING PyString_AS_STRING |
| #define | PyBytes_AsStringAndSize PyString_AsStringAndSize |
| #define | PyBytes_FromFormat PyString_FromFormat |
| #define | PyBytes_Concat PyString_Concat |
| #define | PyBytes_ConcatAndDel PyString_ConcatAndDel |
| #define | PyBytes_AsString PyString_AsString |
| #define | PyBytes_GET_SIZE PyString_GET_SIZE |
| #define | PyBytes_Size PyString_Size |
| #define | PyUString_Type PyString_Type |
| #define | PyUString_Check PyString_Check |
| #define | PyUStringObject PyStringObject |
| #define | PyUString_FromString PyString_FromString |
| #define | PyUString_FromStringAndSize PyString_FromStringAndSize |
| #define | PyUString_FromFormat PyString_FromFormat |
| #define | PyUString_Concat PyString_Concat |
| #define | PyUString_ConcatAndDel PyString_ConcatAndDel |
| #define | PyUString_GET_SIZE PyString_GET_SIZE |
| #define | PyUString_Size PyString_Size |
| #define | PyUString_InternFromString PyString_InternFromString |
| #define | PyUString_Format PyString_Format |
| #define | Py_TYPE(o) (((PyObject*)(o))->ob_type) |
| #define | Py_REFCNT(o) (((PyObject*)(o))->ob_refcnt) |
| #define | Py_SIZE(o) (((PyVarObject*)(o))->ob_size) |
| #define | npy_PyFile_Dup(file, mode) PyFile_AsFile(file) |
| #define | npy_PyFile_DupClose(file, handle) (0) |
| #define | npy_PyFile_Check PyFile_Check |
Functions | |
| static NPY_INLINE void | PyUnicode_ConcatAndDel (PyObject **left, PyObject *right) |
| static NPY_INLINE void | PyUnicode_Concat2 (PyObject **left, PyObject *right) |
| static NPY_INLINE PyObject * | npy_PyFile_OpenFile (PyObject *filename, char *mode) |
| static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtr (void *ptr, void(*dtor)(void *)) |
| static NPY_INLINE PyObject * | NpyCapsule_FromVoidPtrAndDesc (void *ptr, void *context, void(*dtor)(void *, void *)) |
| static NPY_INLINE void * | NpyCapsule_AsVoidPtr (PyObject *ptr) |
| static NPY_INLINE void * | NpyCapsule_GetDesc (PyObject *obj) |
| static NPY_INLINE int | NpyCapsule_Check (PyObject *ptr) |
| static NPY_INLINE void | simple_capsule_dtor (void *ptr) |
| #define npy_PyFile_Check PyFile_Check |
| #define npy_PyFile_Dup | ( | file, | |
| mode | |||
| ) | PyFile_AsFile(file) |
| #define npy_PyFile_DupClose | ( | file, | |
| handle | |||
| ) | (0) |
| #define Py_REFCNT | ( | o | ) | (((PyObject*)(o))->ob_refcnt) |
| #define Py_SIZE | ( | o | ) | (((PyVarObject*)(o))->ob_size) |
| #define Py_TYPE | ( | o | ) | (((PyObject*)(o))->ob_type) |
Referenced by _arrtype_new(), _calc_length(), array_divide(), array_float(), array_int(), array_real_get(), array_swapaxes(), datetimetype_str(), new_array_for_sum(), PyArray_ArgMax(), PyArray_CastToType(), PyArray_Concatenate(), PyArray_MapIterNext(), PyArray_TakeFrom(), timedeltatype_repr(), and timedeltatype_str().
| #define PyBytes_AS_STRING PyString_AS_STRING |
| #define PyBytes_AsString PyString_AsString |
Referenced by arraydescr_str(), and arraydescr_subarray_str().
| #define PyBytes_AsStringAndSize PyString_AsStringAndSize |
Referenced by PyArray_WeekMaskConverter().
| #define PyBytes_Check PyString_Check |
Referenced by PyArray_WeekMaskConverter().
| #define PyBytes_Concat PyString_Concat |
| #define PyBytes_ConcatAndDel PyString_ConcatAndDel |
| #define PyBytes_FromFormat PyString_FromFormat |
| #define PyBytes_FromString PyString_FromString |
Referenced by compute_datetime_metadata_greatest_common_divisor().
| #define PyBytes_FromStringAndSize PyString_FromStringAndSize |
| #define PyBytes_GET_SIZE PyString_GET_SIZE |
Referenced by voidtype_item().
| #define PyBytes_Size PyString_Size |
| #define PyBytes_Type PyString_Type |
<
| #define PyBytesObject PyStringObject |
| #define PyUString_Check PyString_Check |
Referenced by arraydescr_str().
| #define PyUString_Concat PyString_Concat |
Referenced by arraydescr_struct_dict_str().
| #define PyUString_ConcatAndDel PyString_ConcatAndDel |
| #define PyUString_Format PyString_Format |
| #define PyUString_FromFormat PyString_FromFormat |
Referenced by datetime_metadata_divides(), PyUFunc_MultiplicationTypeResolution(), and PyUFunc_ValidateCasting().
| #define PyUString_FromString PyString_FromString |
| #define PyUString_FromStringAndSize PyString_FromStringAndSize |
Referenced by dump_data(), and PyUFunc_ReplaceLoopBySignature().
| #define PyUString_GET_SIZE PyString_GET_SIZE |
| #define PyUString_InternFromString PyString_InternFromString |
Referenced by _extract_pyvals().
| #define PyUString_Size PyString_Size |
| #define PyUString_Type PyString_Type |
| #define PyUStringObject PyStringObject |
| static NPY_INLINE PyObject* npy_PyFile_OpenFile | ( | PyObject * | filename, |
| char * | mode | ||
| ) | [static] |
| static NPY_INLINE void* NpyCapsule_AsVoidPtr | ( | PyObject * | ptr | ) | [static] |
Referenced by PyArray_DatetimeToDatetimeStruct(), and PyArray_GetCastFunc().
| static NPY_INLINE int NpyCapsule_Check | ( | PyObject * | ptr | ) | [static] |
Referenced by PyArray_GetCastFunc().
| static NPY_INLINE PyObject* NpyCapsule_FromVoidPtr | ( | void * | ptr, |
| void(*)(void *) | dtor | ||
| ) | [static] |
Referenced by can_cast_timedelta64_units().
| static NPY_INLINE PyObject* NpyCapsule_FromVoidPtrAndDesc | ( | void * | ptr, |
| void * | context, | ||
| void(*)(void *, void *) | dtor | ||
| ) | [static] |
| static NPY_INLINE void* NpyCapsule_GetDesc | ( | PyObject * | obj | ) | [static] |
| static NPY_INLINE void PyUnicode_Concat2 | ( | PyObject ** | left, |
| PyObject * | right | ||
| ) | [static] |
| static NPY_INLINE void PyUnicode_ConcatAndDel | ( | PyObject ** | left, |
| PyObject * | right | ||
| ) | [static] |
| static NPY_INLINE void simple_capsule_dtor | ( | void * | ptr | ) | [static] |