Home
last modified time | relevance | path

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

1234567

/external/python/cpython3/Include/
Dpylifecycle.h40 PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
41 PyAPI_FUNC(wchar_t *) Py_GetProgramName(void);
43 PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *);
44 PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void);
47 PyAPI_FUNC(void) _Py_SetProgramFullPath(const wchar_t *);
52 PyAPI_FUNC(int) Py_SetStandardStreamEncoding(const char *encoding,
56 PyAPI_FUNC(_PyInitError) _Py_InitializeCore(
59 PyAPI_FUNC(int) _Py_IsCoreInitialized(void);
60 PyAPI_FUNC(_PyInitError) _Py_InitializeFromConfig(
63 PyAPI_FUNC(void) _Py_Initialize_ReadEnvVarsNoAlloc(void);
[all …]
Dabstract.h155 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
159 PyAPI_FUNC(PyObject*) _PyStack_AsTuple(
163 PyAPI_FUNC(PyObject*) _PyStack_AsTupleSlice(
179 PyAPI_FUNC(PyObject *) _PyStack_AsDict(
194 PyAPI_FUNC(int) _PyStack_UnpackDict(
214 PyAPI_FUNC(int) _PyObject_HasFastCall(PyObject *callable);
225 PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(
246 PyAPI_FUNC(PyObject *) _PyObject_FastCallKeywords(
258 PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend(
264 PyAPI_FUNC(PyObject *) _PyObject_FastCall_Prepend(
[all …]
Dceval.h16 PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
25 PyAPI_FUNC(PyObject *) PyEval_CallFunction(PyObject *callable,
27 PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
32 PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
33 PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
34 PyAPI_FUNC(void) _PyEval_SetCoroutineOriginTrackingDepth(int new_depth);
35 PyAPI_FUNC(int) _PyEval_GetCoroutineOriginTrackingDepth(void);
36 PyAPI_FUNC(void) _PyEval_SetCoroutineWrapper(PyObject *);
37 PyAPI_FUNC(PyObject *) _PyEval_GetCoroutineWrapper(void);
38 PyAPI_FUNC(void) _PyEval_SetAsyncGenFirstiter(PyObject *);
[all …]
Dunicodeobject.h586 PyAPI_FUNC(PyObject*) PyUnicode_New(
600 PyAPI_FUNC(int) _PyUnicode_Ready(
607 PyAPI_FUNC(PyObject*) _PyUnicode_Copy(
631 PyAPI_FUNC(Py_ssize_t) PyUnicode_CopyCharacters(
642 PyAPI_FUNC(void) _PyUnicode_FastCopyCharacters(
660 PyAPI_FUNC(Py_ssize_t) PyUnicode_Fill(
669 PyAPI_FUNC(void) _PyUnicode_FastFill(
688 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
695 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
702 PyAPI_FUNC(PyObject*) PyUnicode_FromString(
[all …]
Dpyerrors.h77 PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
78 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
80 PyAPI_FUNC(void) _PyErr_SetKeyError(PyObject *);
83 PyAPI_FUNC(void) PyErr_SetString(
87 PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
88 PyAPI_FUNC(void) PyErr_Clear(void);
89 PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **);
90 PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *);
92 PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **);
93 PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *);
[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 …]
Dimport.h11 PyAPI_FUNC(_PyInitError) _PyImportZip_Init(void);
15 PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
16 PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);
17 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(
21 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(
26 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames(
33 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleObject(
40 PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
42 PyAPI_FUNC(PyObject *) PyImport_GetModule(PyObject *name);
45 PyAPI_FUNC(int) _PyImport_IsInitialized(PyInterpreterState *);
[all …]
Dfileutils.h9 PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
13 PyAPI_FUNC(char*) Py_EncodeLocale(
17 PyAPI_FUNC(char*) _Py_EncodeLocaleRaw(
23 PyAPI_FUNC(int) _Py_DecodeUTF8Ex(
31 PyAPI_FUNC(int) _Py_EncodeUTF8Ex(
39 PyAPI_FUNC(wchar_t*) _Py_DecodeUTF8_surrogateescape(
43 PyAPI_FUNC(int) _Py_DecodeLocaleEx(
51 PyAPI_FUNC(int) _Py_EncodeLocaleEx(
61 PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
98 PyAPI_FUNC(int) _Py_fstat(
[all …]
Dpytime.h47 PyAPI_FUNC(PyObject *) _PyLong_FromTime_t(
51 PyAPI_FUNC(time_t) _PyLong_AsTime_t(
55 PyAPI_FUNC(int) _PyTime_ObjectToTime_t(
63 PyAPI_FUNC(int) _PyTime_ObjectToTimeval(
72 PyAPI_FUNC(int) _PyTime_ObjectToTimespec(
80 PyAPI_FUNC(_PyTime_t) _PyTime_FromSeconds(int seconds);
88 PyAPI_FUNC(_PyTime_t) _PyTime_FromNanoseconds(_PyTime_t ns);
91 PyAPI_FUNC(int) _PyTime_FromNanosecondsObject(_PyTime_t *t,
96 PyAPI_FUNC(int) _PyTime_FromSecondsObject(_PyTime_t *t,
102 PyAPI_FUNC(int) _PyTime_FromMillisecondsObject(_PyTime_t *t,
[all …]
Dpythread.h24 PyAPI_FUNC(void) PyThread_init_thread(void);
25 PyAPI_FUNC(unsigned long) PyThread_start_new_thread(void (*)(void *), void *);
26 PyAPI_FUNC(void) PyThread_exit_thread(void);
27 PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
29 PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void);
30 PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock);
31 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
74 PyAPI_FUNC(PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock,
78 PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock);
80 PyAPI_FUNC(size_t) PyThread_get_stacksize(void);
[all …]
Ddictobject.h69 PyAPI_FUNC(PyObject *) PyDict_New(void);
70 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
72 PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
75 PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
77 PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp,
79 PyAPI_FUNC(PyObject *) PyDict_SetDefault(
82 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
84 PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key,
87 PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
89 PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key,
[all …]
Dcodecs.h26 PyAPI_FUNC(int) PyCodec_Register(
49 PyAPI_FUNC(PyObject *) _PyCodec_Lookup(
53 PyAPI_FUNC(int) _PyCodec_Forget(
65 PyAPI_FUNC(int) PyCodec_KnownEncoding(
79 PyAPI_FUNC(PyObject *) PyCodec_Encode(
95 PyAPI_FUNC(PyObject *) PyCodec_Decode(
115 PyAPI_FUNC(PyObject *) _PyCodec_LookupTextEncoding(
120 PyAPI_FUNC(PyObject *) _PyCodec_EncodeText(
126 PyAPI_FUNC(PyObject *) _PyCodec_DecodeText(
135 PyAPI_FUNC(PyObject *) _PyCodecInfo_GetIncrementalDecoder(
[all …]
Dobject.h451 PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
453 PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
456 PyAPI_FUNC(void*) PyType_GetSlot(PyTypeObject*, int);
485 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
493 PyAPI_FUNC(unsigned long) PyType_GetFlags(PyTypeObject*);
499 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
500 PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
501 PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
504 PyAPI_FUNC(const char *) _PyType_Name(PyTypeObject *);
505 PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *);
[all …]
Dsysmodule.h10 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
13 PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key);
14 PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *);
17 PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
18 PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);
19 PyAPI_FUNC(void) PySys_SetPath(const wchar_t *);
21 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
23 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
25 PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...);
[all …]
Dbytesobject.h51 PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
52 PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
53 PyAPI_FUNC(PyObject *) PyBytes_FromObject(PyObject *);
54 PyAPI_FUNC(PyObject *) PyBytes_FromFormatV(const char*, va_list)
56 PyAPI_FUNC(PyObject *) PyBytes_FromFormat(const char*, ...)
58 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
59 PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
60 PyAPI_FUNC(PyObject *) PyBytes_Repr(PyObject *, int);
61 PyAPI_FUNC(void) PyBytes_Concat(PyObject **, PyObject *);
62 PyAPI_FUNC(void) PyBytes_ConcatAndDel(PyObject **, PyObject *);
[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 …]
/external/python/cpython2/Include/
Dpythonrun.h22 PyAPI_FUNC(void) Py_SetProgramName(char *);
23 PyAPI_FUNC(char *) Py_GetProgramName(void);
25 PyAPI_FUNC(void) Py_SetPythonHome(char *);
26 PyAPI_FUNC(char *) Py_GetPythonHome(void);
28 PyAPI_FUNC(void) Py_Initialize(void);
29 PyAPI_FUNC(void) Py_InitializeEx(int);
30 PyAPI_FUNC(void) Py_Finalize(void);
31 PyAPI_FUNC(int) Py_IsInitialized(void);
32 PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void);
33 PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *);
[all …]
Dabstract.h231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
304 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object,
314 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable_object,
326 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object,
340 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *o, char *m,
352 PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable,
354 PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *o,
358 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
370 PyAPI_FUNC(PyObject *) PyObject_CallMethodObjArgs(PyObject *o,
413 PyAPI_FUNC(PyObject *) PyObject_Type(PyObject *o);
[all …]
Dpyerrors.h76 PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
77 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
78 PyAPI_FUNC(void) PyErr_SetString(PyObject *, const char *);
79 PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
80 PyAPI_FUNC(void) PyErr_Clear(void);
81 PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **);
82 PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *);
91 PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *, PyObject *);
92 PyAPI_FUNC(int) PyErr_ExceptionMatches(PyObject *);
93 PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**);
[all …]
Dceval.h10 PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
17 PyAPI_FUNC(PyObject *) PyEval_CallFunction(PyObject *obj,
19 PyAPI_FUNC(PyObject *) PyEval_CallMethod(PyObject *obj,
23 PyAPI_FUNC(void) PyEval_SetProfile(Py_tracefunc, PyObject *);
24 PyAPI_FUNC(void) PyEval_SetTrace(Py_tracefunc, PyObject *);
28 PyAPI_FUNC(PyObject *) PyEval_GetBuiltins(void);
29 PyAPI_FUNC(PyObject *) PyEval_GetGlobals(void);
30 PyAPI_FUNC(PyObject *) PyEval_GetLocals(void);
31 PyAPI_FUNC(struct _frame *) PyEval_GetFrame(void);
32 PyAPI_FUNC(int) PyEval_GetRestricted(void);
[all …]
Dlongobject.h18 PyAPI_FUNC(PyObject *) PyLong_FromLong(long);
19 PyAPI_FUNC(PyObject *) PyLong_FromUnsignedLong(unsigned long);
20 PyAPI_FUNC(PyObject *) PyLong_FromDouble(double);
21 PyAPI_FUNC(PyObject *) PyLong_FromSize_t(size_t);
22 PyAPI_FUNC(PyObject *) PyLong_FromSsize_t(Py_ssize_t);
23 PyAPI_FUNC(long) PyLong_AsLong(PyObject *);
24 PyAPI_FUNC(long) PyLong_AsLongAndOverflow(PyObject *, int *);
25 PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLong(PyObject *);
26 PyAPI_FUNC(unsigned long) PyLong_AsUnsignedLongMask(PyObject *);
27 PyAPI_FUNC(Py_ssize_t) PyLong_AsSsize_t(PyObject *);
[all …]
Dunicodeobject.h464 PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
470 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
477 PyAPI_FUNC(PyObject*) PyUnicode_FromString(
484 PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
490 PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
495 PyAPI_FUNC(Py_UNICODE) PyUnicode_GetMax(void);
511 PyAPI_FUNC(int) PyUnicode_Resize(
533 PyAPI_FUNC(PyObject*) PyUnicode_FromEncodedObject(
552 PyAPI_FUNC(PyObject*) PyUnicode_FromObject(
556 PyAPI_FUNC(PyObject *) PyUnicode_FromFormatV(const char*, va_list);
[all …]
Dstringobject.h62 PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t);
63 PyAPI_FUNC(PyObject *) PyString_FromString(const char *);
64 PyAPI_FUNC(PyObject *) PyString_FromFormatV(const char*, va_list)
66 PyAPI_FUNC(PyObject *) PyString_FromFormat(const char*, ...)
68 PyAPI_FUNC(Py_ssize_t) PyString_Size(PyObject *);
69 PyAPI_FUNC(char *) PyString_AsString(PyObject *);
70 PyAPI_FUNC(PyObject *) PyString_Repr(PyObject *, int);
71 PyAPI_FUNC(void) PyString_Concat(PyObject **, PyObject *);
72 PyAPI_FUNC(void) PyString_ConcatAndDel(PyObject **, PyObject *);
73 PyAPI_FUNC(int) _PyString_Resize(PyObject **, Py_ssize_t);
[all …]
Dimport.h10 PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
11 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(char *name, PyObject *co);
12 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(
14 PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
15 PyAPI_FUNC(PyObject *) PyImport_AddModule(const char *name);
16 PyAPI_FUNC(PyObject *) PyImport_ImportModule(const char *name);
17 PyAPI_FUNC(PyObject *) PyImport_ImportModuleNoBlock(const char *);
18 PyAPI_FUNC(PyObject *) PyImport_ImportModuleLevel(char *name,
24 PyAPI_FUNC(PyObject *) PyImport_GetImporter(PyObject *path);
25 PyAPI_FUNC(PyObject *) PyImport_Import(PyObject *name);
[all …]
Dcodecs.h26 PyAPI_FUNC(int) PyCodec_Register(
48 PyAPI_FUNC(PyObject *) _PyCodec_Lookup(
62 PyAPI_FUNC(PyObject *) PyCodec_Encode(
78 PyAPI_FUNC(PyObject *) PyCodec_Decode(
97 PyAPI_FUNC(PyObject *) _PyCodec_LookupTextEncoding(
102 PyAPI_FUNC(PyObject *) _PyCodec_EncodeText(
108 PyAPI_FUNC(PyObject *) _PyCodec_DecodeText(
117 PyAPI_FUNC(PyObject *) _PyCodecInfo_GetIncrementalDecoder(
122 PyAPI_FUNC(PyObject *) _PyCodecInfo_GetIncrementalEncoder(
139 PyAPI_FUNC(PyObject *) PyCodec_Encoder(
[all …]

1234567