Home
last modified time | relevance | path

Searched refs:PyAPI_FUNC (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/python/Include/
Dabstract.h146 PyAPI_FUNC(PyObject *) PyObject_CallNoArgs(PyObject *func);
158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
169 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable,
182 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable,
194 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
198 PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable,
202 PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *obj,
215 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
226 PyAPI_FUNC(PyObject *) PyObject_CallMethodObjArgs(
268 PyAPI_FUNC(PyObject *) PyObject_Type(PyObject *o);
[all …]
Dunicodeobject.h130 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
137 PyAPI_FUNC(PyObject*) PyUnicode_FromString(
142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
154 PyAPI_FUNC(Py_UCS4*) PyUnicode_AsUCS4(
163 PyAPI_FUNC(Py_UCS4*) PyUnicode_AsUCS4Copy(PyObject *unicode);
169 PyAPI_FUNC(Py_ssize_t) PyUnicode_GetLength(
177 Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
184 PyAPI_FUNC(Py_UCS4) PyUnicode_ReadChar(
194 PyAPI_FUNC(int) PyUnicode_WriteChar(
217 PyAPI_FUNC(int) PyUnicode_Resize(
[all …]
Dpyerrors.h11 PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
12 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
13 PyAPI_FUNC(void) PyErr_SetString(
17 PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
18 PyAPI_FUNC(void) PyErr_Clear(void);
19 PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **);
20 PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *);
22 PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **);
23 PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *);
31 PyAPI_FUNC(void) _Py_NO_RETURN Py_FatalError(const char *message);
[all …]
Dlongobject.h18 PyAPI_FUNC(PyObject *) PyLong_FromLong(long);
19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
20 PyAPI_FUNC(PyObject *) PyLong_FromSize_t(size_t);
21 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
22 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
23 PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
24 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
25 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
26 PyAPI_FUNC(size_t) PyLong_AsSize_t(PyObject *);
27 PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *);
[all …]
Dpylifecycle.h12 PyAPI_FUNC(void) Py_Initialize(void);
13 PyAPI_FUNC(void) Py_InitializeEx(int);
14 PyAPI_FUNC(void) Py_Finalize(void);
16 PyAPI_FUNC(int) Py_FinalizeEx(void);
18 PyAPI_FUNC(int) Py_IsInitialized(void);
21 PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
22 PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
28 PyAPI_FUNC(int) Py_AtExit(void (*func)(void));
30 PyAPI_FUNC(void) _Py_NO_RETURN Py_Exit(int);
33 PyAPI_FUNC(int) Py_Main(int argc, wchar_t **argv);
[all …]
Dpythread.h23 PyAPI_FUNC(void) PyThread_init_thread(void);
24 PyAPI_FUNC(unsigned long) PyThread_start_new_thread(void (*)(void *), void *);
25 PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void);
26 PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
30 PyAPI_FUNC(unsigned long) PyThread_get_thread_native_id(void);
33 PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void);
34 PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock);
35 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
44 PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock);
87 PyAPI_FUNC(PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock,
[all …]
Dceval.h17 Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
26 Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallFunction(
28 Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallMethod(
31 PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void);
32 PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void);
33 PyAPI_FUNC(PyObject *) PyEval_GetLocals(void);
34 PyAPI_FUNC(PyFrameObject *) PyEval_GetFrame(void);
36 PyAPI_FUNC(int) Py_AddPendingCall(int (*func)(void *), void *arg);
37 PyAPI_FUNC(int) Py_MakePendingCalls(void);
64 PyAPI_FUNC(void) Py_SetRecursionLimit(int);
[all …]
Dcodecs.h26 PyAPI_FUNC(int) PyCodec_Register(
34 PyAPI_FUNC(int) PyCodec_Unregister(
57 PyAPI_FUNC(PyObject *) _PyCodec_Lookup(
61 PyAPI_FUNC(int) _PyCodec_Forget(
73 PyAPI_FUNC(int) PyCodec_KnownEncoding(
87 PyAPI_FUNC(PyObject *) PyCodec_Encode(
103 PyAPI_FUNC(PyObject *) PyCodec_Decode(
123 PyAPI_FUNC(PyObject *) _PyCodec_LookupTextEncoding(
128 PyAPI_FUNC(PyObject *) _PyCodec_EncodeText(
134 PyAPI_FUNC(PyObject *) _PyCodec_DecodeText(
[all …]
Dpystate.h24 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void);
25 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *);
26 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *);
36 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_Get(void);
41 PyAPI_FUNC(PyObject *) PyInterpreterState_GetDict(PyInterpreterState *);
46 PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *);
53 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
54 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
56 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
58 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *);
[all …]
Dmodsupport.h27 PyAPI_FUNC(PyObject *) _Py_VaBuildValue_SizeT(const char *, va_list);
28 PyAPI_FUNC(PyObject **) _Py_VaBuildStack_SizeT(
39 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
40 PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...);
41 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
43 PyAPI_FUNC(int) PyArg_VaParse(PyObject *, const char *, va_list);
44 PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *,
47 PyAPI_FUNC(int) PyArg_ValidateKeywordArguments(PyObject *);
48 PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...);
49 PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
[all …]
Dimport.h9 PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
10 PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);
11 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(
15 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(
20 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames(
27 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleObject(
34 PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
36 PyAPI_FUNC(PyObject *) PyImport_GetModule(PyObject *name);
39 PyAPI_FUNC(PyObject *) PyImport_AddModuleObject(
43 PyAPI_FUNC(PyObject *) PyImport_AddModule(
[all …]
Dsysmodule.h10 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
13 PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
14 PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);
15 PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
17 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
19 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
21 PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...);
22 PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...);
24 PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
[all …]
Dobject.h126 PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y);
230 PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
232 PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
235 PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
238 PyAPI_FUNC(PyObject*) PyType_FromModuleAndSpec(PyObject *, PyType_Spec *, PyObject *);
239 PyAPI_FUNC(PyObject *) PyType_GetModule(struct _typeobject *);
240 PyAPI_FUNC(void *) PyType_GetModuleState(struct _typeobject *);
244 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
255 PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
257 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
[all …]
Dobjimpl.h97 PyAPI_FUNC(void *) PyObject_Malloc(size_t size);
99 PyAPI_FUNC(void *) PyObject_Calloc(size_t nelem, size_t elsize);
101 PyAPI_FUNC(void *) PyObject_Realloc(void *ptr, size_t new_size);
102 PyAPI_FUNC(void) PyObject_Free(void *ptr);
121 PyAPI_FUNC(PyObject *) PyObject_Init(PyObject *, PyTypeObject *);
122 PyAPI_FUNC(PyVarObject *) PyObject_InitVar(PyVarObject *,
131 PyAPI_FUNC(PyObject *) _PyObject_New(PyTypeObject *);
132 PyAPI_FUNC(PyVarObject *) _PyObject_NewVar(PyTypeObject *, Py_ssize_t);
154 PyAPI_FUNC(Py_ssize_t) PyGC_Collect(void);
156 PyAPI_FUNC(int) PyGC_Enable(void);
[all …]
Ddictobject.h21 PyAPI_FUNC(PyObject *) PyDict_New(void);
22 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
23 PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
24 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
25 PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
26 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
27 PyAPI_FUNC(int) PyDict_Next(
29 PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp);
30 PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *mp);
31 PyAPI_FUNC(PyObject *) PyDict_Items(PyObject *mp);
[all …]
/third_party/python/Include/cpython/
Dpylifecycle.h7 PyAPI_FUNC(int) Py_FrozenMain(int argc, char **argv);
12 PyAPI_FUNC(int) Py_SetStandardStreamEncoding(const char *encoding,
17 PyAPI_FUNC(PyStatus) Py_PreInitialize(
19 PyAPI_FUNC(PyStatus) Py_PreInitializeFromBytesArgs(
23 PyAPI_FUNC(PyStatus) Py_PreInitializeFromArgs(
28 PyAPI_FUNC(int) _Py_IsCoreInitialized(void);
33 PyAPI_FUNC(PyStatus) Py_InitializeFromConfig(
35 PyAPI_FUNC(PyStatus) _Py_InitializeMain(void);
37 PyAPI_FUNC(int) Py_RunMain(void);
40 PyAPI_FUNC(void) _Py_NO_RETURN Py_ExitStatusException(PyStatus err);
[all …]
Dfileutils.h17 PyAPI_FUNC(_Py_error_handler) _Py_GetErrorHandler(const char *errors);
19 PyAPI_FUNC(int) _Py_DecodeLocaleEx(
27 PyAPI_FUNC(int) _Py_EncodeLocaleEx(
35 PyAPI_FUNC(char*) _Py_EncodeLocaleRaw(
39 PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
77 PyAPI_FUNC(int) _Py_fstat(
81 PyAPI_FUNC(int) _Py_fstat_noraise(
85 PyAPI_FUNC(int) _Py_stat(
89 PyAPI_FUNC(int) _Py_open(
93 PyAPI_FUNC(int) _Py_open_noraise(
[all …]
Dunicodeobject.h246 PyAPI_FUNC(int) _PyUnicode_CheckConsistency(
460 PyAPI_FUNC(PyObject*) PyUnicode_New(
472 PyAPI_FUNC(int) _PyUnicode_Ready(
477 PyAPI_FUNC(PyObject*) _PyUnicode_Copy(
499 PyAPI_FUNC(Py_ssize_t) PyUnicode_CopyCharacters(
510 PyAPI_FUNC(void) _PyUnicode_FastCopyCharacters(
526 PyAPI_FUNC(Py_ssize_t) PyUnicode_Fill(
535 PyAPI_FUNC(void) _PyUnicode_FastFill(
551 Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
558 PyAPI_FUNC(PyObject*) PyUnicode_FromKindAndData(
[all …]
Dpytime.h44 PyAPI_FUNC(PyObject *) _PyLong_FromTime_t(
48 PyAPI_FUNC(time_t) _PyLong_AsTime_t(
52 PyAPI_FUNC(int) _PyTime_ObjectToTime_t(
60 PyAPI_FUNC(int) _PyTime_ObjectToTimeval(
69 PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
77 PyAPI_FUNC(_PyTime_t) _PyTime_FromSeconds(int seconds);
85 PyAPI_FUNC(_PyTime_t) _PyTime_FromNanoseconds(_PyTime_t ns);
88 PyAPI_FUNC(int) _PyTime_FromNanosecondsObject(_PyTime_t *t,
93 PyAPI_FUNC(int) _PyTime_FromSecondsObject(_PyTime_t *t,
99 PyAPI_FUNC(int) _PyTime_FromMillisecondsObject(_PyTime_t *t,
[all …]
Dpystate.h5 PyAPI_FUNC(int) _PyInterpreterState_RequiresIDRef(PyInterpreterState *);
6 PyAPI_FUNC(void) _PyInterpreterState_RequireIDRef(PyInterpreterState *, int);
8 PyAPI_FUNC(PyObject *) _PyInterpreterState_GetMainModule(PyInterpreterState *);
157 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *);
161 PyAPI_FUNC(PyThreadState *) _PyThreadState_UncheckedGet(void);
163 PyAPI_FUNC(PyObject *) _PyThreadState_GetDict(PyThreadState *tstate);
171 PyAPI_FUNC(int) PyGILState_Check(void);
180 PyAPI_FUNC(PyInterpreterState *) _PyGILState_GetInterpreterStateUnsafe(void);
185 PyAPI_FUNC(PyObject *) _PyThread_CurrentFrames(void);
190 PyAPI_FUNC(PyObject *) _PyThread_CurrentExceptions(void);
[all …]
Dceval.h5 PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
7 PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
8 PyAPI_FUNC(int) _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg);
9 PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void);
10 PyAPI_FUNC(int) _PyEval_SetAsyncGenFirstiter(PyObject *);
11 PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void);
12 PyAPI_FUNC(int) _PyEval_SetAsyncGenFinalizer(PyObject *);
13 PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFinalizer(void);
16 PyAPI_FUNC(PyObject *) _PyEval_GetBuiltinId(_Py_Identifier *);
20 PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
[all …]
Ddictobject.h30 PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
32 PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp,
34 PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *);
35 PyAPI_FUNC(PyObject *) PyDict_SetDefault(
37 PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key,
39 PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key,
41 PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key,
44 PyAPI_FUNC(int) _PyDict_Next(
49 PyAPI_FUNC(int) _PyDict_Contains_KnownHash(PyObject *, PyObject *, Py_hash_t);
50 PyAPI_FUNC(int) _PyDict_ContainsId(PyObject *, struct _Py_Identifier *);
[all …]
Dobject.h5 PyAPI_FUNC(void) _Py_NewReference(PyObject *op);
9 PyAPI_FUNC(void) _Py_ForgetReference(PyObject *);
13 PyAPI_FUNC(Py_ssize_t) _Py_GetRefTotal(void);
299 PyAPI_FUNC(const char *) _PyType_Name(PyTypeObject *);
300 PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *);
301 PyAPI_FUNC(PyObject *) _PyType_LookupId(PyTypeObject *, _Py_Identifier *);
302 PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, _Py_Identifier *);
303 PyAPI_FUNC(PyTypeObject *) _PyType_CalculateMetaclass(PyTypeObject *, PyObject *);
304 PyAPI_FUNC(PyObject *) _PyType_GetDocFromInternalDoc(const char *, const char *);
305 PyAPI_FUNC(PyObject *) _PyType_GetTextSignatureFromInternalDoc(const char *, const char *);
[all …]
Dpythonrun.h5 PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
6 PyAPI_FUNC(int) _PyRun_SimpleFileObject(
11 PyAPI_FUNC(int) PyRun_AnyFileExFlags(
16 PyAPI_FUNC(int) _PyRun_AnyFileObject(
21 PyAPI_FUNC(int) PyRun_SimpleFileExFlags(
26 PyAPI_FUNC(int) PyRun_InteractiveOneFlags(
30 PyAPI_FUNC(int) PyRun_InteractiveOneObject(
34 PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(
38 PyAPI_FUNC(int) _PyRun_InteractiveLoopObject(
44 PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
[all …]
Dinitconfig.h21 PyAPI_FUNC(PyStatus) PyStatus_Ok(void);
22 PyAPI_FUNC(PyStatus) PyStatus_Error(const char *err_msg);
23 PyAPI_FUNC(PyStatus) PyStatus_NoMemory(void);
24 PyAPI_FUNC(PyStatus) PyStatus_Exit(int exitcode);
25 PyAPI_FUNC(int) PyStatus_IsError(PyStatus err);
26 PyAPI_FUNC(int) PyStatus_IsExit(PyStatus err);
27 PyAPI_FUNC(int) PyStatus_Exception(PyStatus err);
38 PyAPI_FUNC(PyStatus) PyWideStringList_Append(PyWideStringList *list,
40 PyAPI_FUNC(PyStatus) PyWideStringList_Insert(PyWideStringList *list,
127 PyAPI_FUNC(void) PyPreConfig_InitPythonConfig(PyPreConfig *config);
[all …]

12345