Home
last modified time | relevance | path

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

12345678

/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 …]
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 …]
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 …]
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 …]
/external/python/cpython3/Include/
Dabstract.h152 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
163 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable,
176 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable,
188 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj,
192 PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable,
196 PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *obj,
209 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
220 PyAPI_FUNC(PyObject *) PyObject_CallMethodObjArgs(
262 PyAPI_FUNC(PyObject *) PyObject_Type(PyObject *o);
271 PyAPI_FUNC(Py_ssize_t) PyObject_Size(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 …]
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 …]
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_SetAsyncGenFirstiter(PyObject *);
37 PyAPI_FUNC(PyObject *) _PyEval_GetAsyncGenFirstiter(void);
38 PyAPI_FUNC(void) _PyEval_SetAsyncGenFinalizer(PyObject *);
[all …]
Dpyerrors.h9 PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
10 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
11 PyAPI_FUNC(void) PyErr_SetString(
15 PyAPI_FUNC(PyObject *) PyErr_Occurred(void);
16 PyAPI_FUNC(void) PyErr_Clear(void);
17 PyAPI_FUNC(void) PyErr_Fetch(PyObject **, PyObject **, PyObject **);
18 PyAPI_FUNC(void) PyErr_Restore(PyObject *, PyObject *, PyObject *);
20 PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **);
21 PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *);
25 PyAPI_FUNC(void) _Py_NO_RETURN Py_FatalError(const char *message);
[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 …]
Dimport.h13 PyAPI_FUNC(long) PyImport_GetMagicNumber(void);
14 PyAPI_FUNC(const char *) PyImport_GetMagicTag(void);
15 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModule(
19 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleEx(
24 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleWithPathnames(
31 PyAPI_FUNC(PyObject *) PyImport_ExecCodeModuleObject(
38 PyAPI_FUNC(PyObject *) PyImport_GetModuleDict(void);
40 PyAPI_FUNC(PyObject *) PyImport_GetModule(PyObject *name);
43 PyAPI_FUNC(int) _PyImport_IsInitialized(PyInterpreterState *);
44 PyAPI_FUNC(PyObject *) _PyImport_GetModuleId(struct _Py_Identifier *name);
[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) _Py_NO_RETURN PyThread_exit_thread(void);
27 PyAPI_FUNC(unsigned long) PyThread_get_thread_ident(void);
31 PyAPI_FUNC(unsigned long) PyThread_get_thread_native_id(void);
34 PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void);
35 PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock);
36 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
79 PyAPI_FUNC(PyLockStatus) PyThread_acquire_lock_timed(PyThread_type_lock,
83 PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock);
[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 …]
Dfileutils.h8 PyAPI_FUNC(wchar_t *) Py_DecodeLocale(
12 PyAPI_FUNC(char*) Py_EncodeLocale(
16 PyAPI_FUNC(char*) _Py_EncodeLocaleRaw(
35 PyAPI_FUNC(_Py_error_handler) _Py_GetErrorHandler(const char *errors);
37 PyAPI_FUNC(int) _Py_DecodeLocaleEx(
45 PyAPI_FUNC(int) _Py_EncodeLocaleEx(
55 PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
93 PyAPI_FUNC(int) _Py_fstat(
97 PyAPI_FUNC(int) _Py_fstat_noraise(
101 PyAPI_FUNC(int) _Py_stat(
[all …]
Dpystate.h27 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void);
28 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *);
29 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *);
33 PyAPI_FUNC(PyObject *) PyInterpreterState_GetDict(PyInterpreterState *);
38 PyAPI_FUNC(int64_t) PyInterpreterState_GetID(PyInterpreterState *);
45 PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
46 PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
48 PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
50 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *);
51 PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *);
[all …]
Dpythonrun.h11 PyAPI_FUNC(int) PyRun_SimpleStringFlags(const char *, PyCompilerFlags *);
12 PyAPI_FUNC(int) PyRun_AnyFileExFlags(
17 PyAPI_FUNC(int) PyRun_SimpleFileExFlags(
22 PyAPI_FUNC(int) PyRun_InteractiveOneFlags(
26 PyAPI_FUNC(int) PyRun_InteractiveOneObject(
30 PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(
35 PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(
41 PyAPI_FUNC(struct _mod *) PyParser_ASTFromStringObject(
47 PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(
57 PyAPI_FUNC(struct _mod *) PyParser_ASTFromFileObject(
[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 …]
/external/python/cpython3/Include/cpython/
Dunicodeobject.h249 PyAPI_FUNC(int) _PyUnicode_CheckConsistency(
459 PyAPI_FUNC(PyObject*) PyUnicode_New(
471 PyAPI_FUNC(int) _PyUnicode_Ready(
476 PyAPI_FUNC(PyObject*) _PyUnicode_Copy(
498 PyAPI_FUNC(Py_ssize_t) PyUnicode_CopyCharacters(
509 PyAPI_FUNC(void) _PyUnicode_FastCopyCharacters(
525 PyAPI_FUNC(Py_ssize_t) PyUnicode_Fill(
534 PyAPI_FUNC(void) _PyUnicode_FastFill(
550 /* Py_DEPRECATED(3.3) */ PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
557 PyAPI_FUNC(PyObject*) PyUnicode_FromKindAndData(
[all …]
Dpylifecycle.h12 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_InitializeFromArgs(
39 PyAPI_FUNC(PyStatus) _Py_InitializeFromWideArgs(
43 PyAPI_FUNC(PyStatus) _Py_InitializeMain(void);
45 PyAPI_FUNC(int) Py_RunMain(void);
[all …]

12345678