Home
last modified time | relevance | path

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

1234

/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 …]
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 …]
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 …]
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 …]
Dpythread.h12 PyAPI_FUNC(void) PyThread_init_thread(void);
13 PyAPI_FUNC(long) PyThread_start_new_thread(void (*)(void *), void *);
14 PyAPI_FUNC(void) PyThread_exit_thread(void);
15 PyAPI_FUNC(long) PyThread_get_thread_ident(void);
17 PyAPI_FUNC(PyThread_type_lock) PyThread_allocate_lock(void);
18 PyAPI_FUNC(void) PyThread_free_lock(PyThread_type_lock);
19 PyAPI_FUNC(int) PyThread_acquire_lock(PyThread_type_lock, int);
22 PyAPI_FUNC(void) PyThread_release_lock(PyThread_type_lock);
24 PyAPI_FUNC(size_t) PyThread_get_stacksize(void);
25 PyAPI_FUNC(int) PyThread_set_stacksize(size_t);
[all …]
Dpystate.h106 PyAPI_FUNC(PyInterpreterState *) PyInterpreterState_New(void);
107 PyAPI_FUNC(void) PyInterpreterState_Clear(PyInterpreterState *);
108 PyAPI_FUNC(void) PyInterpreterState_Delete(PyInterpreterState *);
110 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *);
111 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *);
112 PyAPI_FUNC(void) _PyThreadState_Init(PyThreadState *);
113 PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *);
114 PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *);
116 PyAPI_FUNC(void) PyThreadState_DeleteCurrent(void);
119 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void);
[all …]
Ddictobject.h109 PyAPI_FUNC(PyObject *) PyDict_New(void);
110 PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
111 PyAPI_FUNC(PyObject *) _PyDict_GetItemWithError(PyObject *mp, PyObject *key);
112 PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
113 PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
114 PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
115 PyAPI_FUNC(int) PyDict_Next(
117 PyAPI_FUNC(int) _PyDict_Next(
119 PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp);
120 PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *mp);
[all …]
Dfloatobject.h41 PyAPI_FUNC(double) PyFloat_GetMax(void);
42 PyAPI_FUNC(double) PyFloat_GetMin(void);
43 PyAPI_FUNC(PyObject *) PyFloat_GetInfo(void);
48 PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*, char** junk);
51 PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double);
55 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *);
62 PyAPI_FUNC(void) PyFloat_AsReprString(char*, PyFloatObject *v);
69 PyAPI_FUNC(void) PyFloat_AsString(char*, PyFloatObject *v);
103 PyAPI_FUNC(int) _PyFloat_Pack4(double x, unsigned char *p, int le);
104 PyAPI_FUNC(int) _PyFloat_Pack8(double x, unsigned char *p, int le);
[all …]
Dintobject.h34 PyAPI_FUNC(PyObject *) PyInt_FromString(char*, char**, int);
36 PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, Py_ssize_t, int);
38 PyAPI_FUNC(PyObject *) PyInt_FromLong(long);
39 PyAPI_FUNC(PyObject *) PyInt_FromSize_t(size_t);
40 PyAPI_FUNC(PyObject *) PyInt_FromSsize_t(Py_ssize_t);
41 PyAPI_FUNC(long) PyInt_AsLong(PyObject *);
42 PyAPI_FUNC(Py_ssize_t) PyInt_AsSsize_t(PyObject *);
43 PyAPI_FUNC(int) _PyInt_AsInt(PyObject *);
44 PyAPI_FUNC(unsigned long) PyInt_AsUnsignedLongMask(PyObject *);
46 PyAPI_FUNC(unsigned PY_LONG_LONG) PyInt_AsUnsignedLongLongMask(PyObject *);
[all …]
Dobject.h437 PyAPI_FUNC(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
449 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);
450 PyAPI_FUNC(PyObject *) PyType_GenericAlloc(PyTypeObject *, Py_ssize_t);
451 PyAPI_FUNC(PyObject *) PyType_GenericNew(PyTypeObject *,
453 PyAPI_FUNC(PyObject *) _PyType_Lookup(PyTypeObject *, PyObject *);
454 PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, char *, PyObject **);
455 PyAPI_FUNC(unsigned int) PyType_ClearCache(void);
456 PyAPI_FUNC(void) PyType_Modified(PyTypeObject *);
459 PyAPI_FUNC(int) PyObject_Print(PyObject *, FILE *, int);
460 PyAPI_FUNC(void) _PyObject_Dump(PyObject *);
[all …]
Dobjimpl.h97 PyAPI_FUNC(void *) PyObject_Malloc(size_t);
98 PyAPI_FUNC(void *) PyObject_Realloc(void *, size_t);
99 PyAPI_FUNC(void) PyObject_Free(void *);
105 PyAPI_FUNC(void *) _PyObject_DebugMalloc(size_t nbytes);
106 PyAPI_FUNC(void *) _PyObject_DebugRealloc(void *p, size_t nbytes);
107 PyAPI_FUNC(void) _PyObject_DebugFree(void *p);
108 PyAPI_FUNC(void) _PyObject_DebugDumpAddress(const void *p);
109 PyAPI_FUNC(void) _PyObject_DebugCheckAddress(const void *p);
110 PyAPI_FUNC(void) _PyObject_DebugMallocStats(void);
111 PyAPI_FUNC(void *) _PyObject_DebugMallocApi(char api, size_t nbytes);
[all …]
Dsysmodule.h10 PyAPI_FUNC(PyObject *) PySys_GetObject(char *);
11 PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);
12 PyAPI_FUNC(FILE *) PySys_GetFile(char *, FILE *);
13 PyAPI_FUNC(void) PySys_SetArgv(int, char **);
14 PyAPI_FUNC(void) PySys_SetArgvEx(int, char **, int);
15 PyAPI_FUNC(void) PySys_SetPath(char *);
17 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...)
19 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...)
22 PyAPI_FUNC(void) PySys_ResetWarnOptions(void);
23 PyAPI_FUNC(void) PySys_AddWarnOption(char *);
[all …]
Dmodsupport.h23 PyAPI_FUNC(PyObject *) _Py_VaBuildValue_SizeT(const char *, va_list);
26 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
27 PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...) Py_FORMAT_PARSETUPLE(PyArg_ParseTup…
28 PyAPI_FUNC(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *,
30 PyAPI_FUNC(int) PyArg_UnpackTuple(PyObject *, const char *, Py_ssize_t, Py_ssize_t, ...);
31 PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...);
32 PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...);
33 PyAPI_FUNC(int) _PyArg_NoKeywords(const char *funcname, PyObject *kw);
35 PyAPI_FUNC(int) PyArg_VaParse(PyObject *, const char *, va_list);
36 PyAPI_FUNC(int) PyArg_VaParseTupleAndKeywords(PyObject *, PyObject *,
[all …]
Dcomplexobject.h24 PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex);
25 PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex);
26 PyAPI_FUNC(Py_complex) c_neg(Py_complex);
27 PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex);
28 PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex);
29 PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex);
30 PyAPI_FUNC(double) c_abs(Py_complex);
50 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex);
51 PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag);
53 PyAPI_FUNC(double) PyComplex_RealAsDouble(PyObject *op);
[all …]
Dfileobject.h40 PyAPI_FUNC(PyObject *) PyFile_FromString(char *, char *);
41 PyAPI_FUNC(void) PyFile_SetBufSize(PyObject *, int);
42 PyAPI_FUNC(int) PyFile_SetEncoding(PyObject *, const char *);
43 PyAPI_FUNC(int) PyFile_SetEncodingAndErrors(PyObject *, const char *, char *errors);
44 PyAPI_FUNC(PyObject *) PyFile_FromFile(FILE *, char *, char *,
46 PyAPI_FUNC(FILE *) PyFile_AsFile(PyObject *);
47 PyAPI_FUNC(void) PyFile_IncUseCount(PyFileObject *);
48 PyAPI_FUNC(void) PyFile_DecUseCount(PyFileObject *);
49 PyAPI_FUNC(PyObject *) PyFile_Name(PyObject *);
50 PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int);
[all …]
Dpycapsule.h28 PyAPI_FUNC(PyObject *) PyCapsule_New(
33 PyAPI_FUNC(void *) PyCapsule_GetPointer(PyObject *capsule, const char *name);
35 PyAPI_FUNC(PyCapsule_Destructor) PyCapsule_GetDestructor(PyObject *capsule);
37 PyAPI_FUNC(const char *) PyCapsule_GetName(PyObject *capsule);
39 PyAPI_FUNC(void *) PyCapsule_GetContext(PyObject *capsule);
41 PyAPI_FUNC(int) PyCapsule_IsValid(PyObject *capsule, const char *name);
43 PyAPI_FUNC(int) PyCapsule_SetPointer(PyObject *capsule, void *pointer);
45 PyAPI_FUNC(int) PyCapsule_SetDestructor(PyObject *capsule, PyCapsule_Destructor destructor);
47 PyAPI_FUNC(int) PyCapsule_SetName(PyObject *capsule, const char *name);
49 PyAPI_FUNC(int) PyCapsule_SetContext(PyObject *capsule, void *context);
[all …]
Dlistobject.h47 PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size);
48 PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *);
49 PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *, Py_ssize_t);
50 PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *);
51 PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *);
52 PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *);
53 PyAPI_FUNC(PyObject *) PyList_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t);
54 PyAPI_FUNC(int) PyList_SetSlice(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
55 PyAPI_FUNC(int) PyList_Sort(PyObject *);
56 PyAPI_FUNC(int) PyList_Reverse(PyObject *);
[all …]
Dmarshal.h12 PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
13 PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
14 PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int);
16 PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *);
17 PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *);
18 PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
19 PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *);
20 PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(char *, Py_ssize_t);
Dfuncobject.h44 PyAPI_FUNC(PyObject *) PyFunction_New(PyObject *, PyObject *);
45 PyAPI_FUNC(PyObject *) PyFunction_GetCode(PyObject *);
46 PyAPI_FUNC(PyObject *) PyFunction_GetGlobals(PyObject *);
47 PyAPI_FUNC(PyObject *) PyFunction_GetModule(PyObject *);
48 PyAPI_FUNC(PyObject *) PyFunction_GetDefaults(PyObject *);
49 PyAPI_FUNC(int) PyFunction_SetDefaults(PyObject *, PyObject *);
50 PyAPI_FUNC(PyObject *) PyFunction_GetClosure(PyObject *);
51 PyAPI_FUNC(int) PyFunction_SetClosure(PyObject *, PyObject *);
70 PyAPI_FUNC(PyObject *) PyClassMethod_New(PyObject *);
71 PyAPI_FUNC(PyObject *) PyStaticMethod_New(PyObject *);
Dtupleobject.h40 PyAPI_FUNC(PyObject *) PyTuple_New(Py_ssize_t size);
41 PyAPI_FUNC(Py_ssize_t) PyTuple_Size(PyObject *);
42 PyAPI_FUNC(PyObject *) PyTuple_GetItem(PyObject *, Py_ssize_t);
43 PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *);
44 PyAPI_FUNC(PyObject *) PyTuple_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t);
45 PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t);
46 PyAPI_FUNC(PyObject *) PyTuple_Pack(Py_ssize_t, ...);
47 PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *);
56 PyAPI_FUNC(int) PyTuple_ClearFreeList(void);

1234