Home
last modified time | relevance | path

Searched refs:PyObject (Results 1 – 25 of 1157) sorted by relevance

12345678910>>...47

/external/python/cpython3/Include/internal/
Dpycore_ast_state.h15 PyObject *AST_type;
16 PyObject *Add_singleton;
17 PyObject *Add_type;
18 PyObject *And_singleton;
19 PyObject *And_type;
20 PyObject *AnnAssign_type;
21 PyObject *Assert_type;
22 PyObject *Assign_type;
23 PyObject *AsyncFor_type;
24 PyObject *AsyncFunctionDef_type;
[all …]
/external/python/cpython3/Include/
Dabstract.h146 PyAPI_FUNC(PyObject *) PyObject_CallNoArgs(PyObject *func);
158 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable,
159 PyObject *args, PyObject *kwargs);
169 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable,
170 PyObject *args);
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,
[all …]
Dpyerrors.h11 PyAPI_FUNC(void) PyErr_SetNone(PyObject *);
12 PyAPI_FUNC(void) PyErr_SetObject(PyObject *, PyObject *);
14 PyObject *exception,
17 PyAPI_FUNC(PyObject *) PyErr_Occurred(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 *);
34 PyAPI_FUNC(int) PyErr_GivenExceptionMatches(PyObject *, PyObject *);
35 PyAPI_FUNC(int) PyErr_ExceptionMatches(PyObject *);
[all …]
Dunicodeobject.h130 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
137 PyAPI_FUNC(PyObject*) PyUnicode_FromString(
142 PyAPI_FUNC(PyObject*) PyUnicode_Substring(
143 PyObject *str,
155 PyObject *unicode,
163 PyAPI_FUNC(Py_UCS4*) PyUnicode_AsUCS4Copy(PyObject *unicode);
170 PyObject *unicode
178 PyObject *unicode /* Unicode object */
185 PyObject *unicode,
195 PyObject *unicode,
[all …]
Dobject.h82 #define PyObject_HEAD PyObject ob_base;
109 } PyObject; typedef
112 #define _PyObject_CAST(op) ((PyObject*)(op))
113 #define _PyObject_CAST_CONST(op) ((const PyObject*)(op))
116 PyObject ob_base;
126 PyAPI_FUNC(int) Py_Is(PyObject *x, PyObject *y);
130 static inline Py_ssize_t _Py_REFCNT(const PyObject *ob) { in _Py_REFCNT()
143 static inline int _Py_IS_TYPE(const PyObject *ob, const PyTypeObject *type) { in _Py_IS_TYPE()
151 static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) { in _Py_SET_REFCNT()
157 static inline void _Py_SET_TYPE(PyObject *ob, PyTypeObject *type) { in _Py_SET_TYPE()
[all …]
/external/python/cpython2/Include/
Dpyerrors.h11 PyObject *dict;
12 PyObject *args;
13 PyObject *message;
18 PyObject *dict;
19 PyObject *args;
20 PyObject *message;
21 PyObject *msg;
22 PyObject *filename;
23 PyObject *lineno;
24 PyObject *offset;
[all …]
Dabstract.h231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
304 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object,
305 PyObject *args, PyObject *kw);
314 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable_object,
315 PyObject *args);
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,
[all …]
Dpymactoolbox.h35 extern PyObject *PyMac_OSErrException; /* Exception for OSErr */
36 PyObject *PyMac_GetOSErrException(void); /* Initialize & return it */
37 PyObject *PyErr_Mac(PyObject *, int); /* Exception with a mac error */
38 PyObject *PyMac_Error(OSErr); /* Uses PyMac_GetOSErrException */
47 int PyMac_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
48 PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */
50 PyObject *PyMac_BuildNumVersion(NumVersion);/* Convert NumVersion to PyObject */
52 int PyMac_GetStr255(PyObject *, Str255); /* argument parser for Str255 */
53 PyObject *PyMac_BuildStr255(Str255); /* Convert Str255 to PyObject */
54 PyObject *PyMac_BuildOptStr255(Str255); /* Convert Str255 to PyObject,
[all …]
Dobject.h108 } PyObject; typedef
114 #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
115 #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
133 typedef PyObject * (*unaryfunc)(PyObject *);
134 typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
135 typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
136 typedef int (*inquiry)(PyObject *);
137 typedef Py_ssize_t (*lenfunc)(PyObject *);
138 typedef int (*coercion)(PyObject **, PyObject **);
139 typedef PyObject *(*intargfunc)(PyObject *, int) Py_DEPRECATED(2.5);
[all …]
/external/python/cpython3/Modules/clinic/
D_operator.c.h15 _operator_truth_impl(PyObject *module, PyObject *a);
17 static PyObject *
18 _operator_truth(PyObject *module, PyObject *a) in _operator_truth()
20 PyObject *return_value = NULL; in _operator_truth()
42 static PyObject *
43 _operator_add_impl(PyObject *module, PyObject *a, PyObject *b);
45 static PyObject *
46 _operator_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_add()
48 PyObject *return_value = NULL; in _operator_add()
49 PyObject *a; in _operator_add()
[all …]
Dreadline.c.h25 static PyObject *
26 readline_read_init_file_impl(PyObject *module, PyObject *filename_obj);
28 static PyObject *
29 readline_read_init_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_init_file()
31 PyObject *return_value = NULL; in readline_read_init_file()
32 PyObject *filename_obj = Py_None; in readline_read_init_file()
59 static PyObject *
60 readline_read_history_file_impl(PyObject *module, PyObject *filename_obj);
62 static PyObject *
63 readline_read_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_history_file()
[all …]
D_cursesmodule.c.h26 static PyObject *
28 int y, int x, PyObject *ch, int group_right_1,
31 static PyObject *
32 _curses_window_addch(PyCursesWindowObject *self, PyObject *args) in _curses_window_addch()
34 PyObject *return_value = NULL; in _curses_window_addch()
38 PyObject *ch; in _curses_window_addch()
98 static PyObject *
100 int y, int x, PyObject *str, int group_right_1,
103 static PyObject *
104 _curses_window_addstr(PyCursesWindowObject *self, PyObject *args) in _curses_window_addstr()
[all …]
Ditertoolsmodule.c.h13 static PyObject *
14 pairwise_new_impl(PyTypeObject *type, PyObject *iterable);
16 static PyObject *
17 pairwise_new(PyTypeObject *type, PyObject *args, PyObject *kwargs) in pairwise_new()
19 PyObject *return_value = NULL; in pairwise_new()
20 PyObject *iterable; in pairwise_new()
49 static PyObject *
50 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfunc);
52 static PyObject *
53 itertools_groupby(PyTypeObject *type, PyObject *args, PyObject *kwargs) in itertools_groupby()
[all …]
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe.h53 PyObject* attrs, TFE_OutputTensorHandles* outputs,
64 TFE_InputTensorHandles* inputs, PyObject* attrs,
73 PyObject* TFE_Py_RegisterExceptionClass(PyObject* e);
77 PyObject* TFE_Py_RegisterVSpace(PyObject* e);
85 PyObject* TFE_Py_RegisterFallbackExceptionClass(PyObject* e);
95 PyObject* TFE_Py_RegisterGradientFunction(PyObject* e);
103 PyObject* TFE_Py_RegisterJVPFunction(PyObject* e);
108 int MaybeRaiseExceptionFromTFStatus(TF_Status* status, PyObject* exception);
114 PyObject* exception);
117 const char* TFE_GetPythonString(PyObject* o);
[all …]
/external/python/cpython2/Modules/
Dpuremodule.c62 static PyObject*
63 call_voidarg_function(VoidArgFunc func, PyObject *self, PyObject *args) in call_voidarg_function()
74 static PyObject*
75 call_stringarg_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringarg_function()
87 static PyObject*
88 call_stringorint_function(StringArgFunc func, PyObject *self, PyObject *args) in call_stringorint_function()
115 static PyObject*
116 call_printfish_function(PrintfishFunc func, PyObject *self, PyObject *args) in call_printfish_function()
132 static PyObject*
133 call_intasaddr_function(StringArgFunc func, PyObject *self, PyObject *args) in call_intasaddr_function()
[all …]
/external/python/cpython2/Doc/data/
Drefcounts.dat16 # Refcount behavior is given for all PyObject* types: 0 (no change), +1
18 # parameter or function value is not a PyObject* and is therefore not
20 # (without quotes) is used for functions which return a PyObject* type but
34 PyBool_FromLong:PyObject*::+1:
37 PyBuffer_FromObject:PyObject*::+1:
38 PyBuffer_FromObject:PyObject*:base:+1:
42 PyBuffer_FromReadWriteObject:PyObject*::+1:
43 PyBuffer_FromReadWriteObject:PyObject*:base:+1:
47 PyBuffer_FromMemory:PyObject*::+1:
51 PyBuffer_FromReadWriteMemory:PyObject*::+1:
[all …]
/external/python/cpython3/Doc/data/
Drefcounts.dat16 # Refcount behavior is given for all PyObject* types: 0 (no change), +1
18 # parameter or function value is not a PyObject* and is therefore not
20 # (without quotes) is used for functions which return a PyObject* type but
35 PyAnySet_Check:PyObject*:p:0:
38 PyAnySet_CheckExact:PyObject*:p:0:
41 PyBool_Check:PyObject*:o:0:
43 PyBool_FromLong:PyObject*::+1:
55 PyBuffer_FillInfo:PyObject*:exporter:0:
75 PyByteArray_AS_STRING:PyObject*:bytearray:0:
78 PyByteArray_AsString:PyObject*:bytearray:0:
[all …]
/external/python/cpython3/Python/clinic/
Dsysmodule.c.h14 static PyObject *
15 sys_addaudithook_impl(PyObject *module, PyObject *hook);
17 static PyObject *
18 sys_addaudithook(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in sys_addaudithook()
20 PyObject *return_value = NULL; in sys_addaudithook()
23 PyObject *argsbuf[1]; in sys_addaudithook()
24 PyObject *hook; in sys_addaudithook()
55 static PyObject *
56 sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value,
57 PyObject *traceback);
[all …]
Dbltinmodule.c.h87 static PyObject *
88 builtin_format_impl(PyObject *module, PyObject *value, PyObject *format_spec);
90 static PyObject *
91 builtin_format(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in builtin_format()
93 PyObject *return_value = NULL; in builtin_format()
94 PyObject *value; in builtin_format()
95 PyObject *format_spec = NULL; in builtin_format()
128 static PyObject *
129 builtin_chr_impl(PyObject *module, int i);
131 static PyObject *
[all …]
/external/python/cpython3/android/darwin_x86_64/
Dconfig.c26 extern PyObject* PyInit__posixshmem(void);
27 extern PyObject* PyInit__scproxy(void);
28 extern PyObject* PyInit__ssl(void);
29 extern PyObject* PyInit__hashlib(void);
30 extern PyObject* PyInit_array(void);
31 extern PyObject* PyInit_cmath(void);
32 extern PyObject* PyInit_math(void);
33 extern PyObject* PyInit__contextvars(void);
34 extern PyObject* PyInit_time(void);
35 extern PyObject* PyInit__datetime(void);
[all …]
/external/python/cpython3/android/linux_x86_64/
Dconfig.c26 extern PyObject* PyInit__posixshmem(void);
27 extern PyObject* PyInit__ssl(void);
28 extern PyObject* PyInit__hashlib(void);
29 extern PyObject* PyInit_array(void);
30 extern PyObject* PyInit_cmath(void);
31 extern PyObject* PyInit_math(void);
32 extern PyObject* PyInit__contextvars(void);
33 extern PyObject* PyInit_time(void);
34 extern PyObject* PyInit__datetime(void);
35 extern PyObject* PyInit__zoneinfo(void);
[all …]
/external/python/cpython3/android/bionic/
Dconfig.c26 extern PyObject* PyInit_array(void);
27 extern PyObject* PyInit_cmath(void);
28 extern PyObject* PyInit_math(void);
29 extern PyObject* PyInit__contextvars(void);
30 extern PyObject* PyInit_time(void);
31 extern PyObject* PyInit__datetime(void);
32 extern PyObject* PyInit__zoneinfo(void);
33 extern PyObject* PyInit__random(void);
34 extern PyObject* PyInit__bisect(void);
35 extern PyObject* PyInit__heapq(void);
[all …]
/external/python/cpython3/PC/
Dconfig.c8 extern PyObject* PyInit__abc(void);
9 extern PyObject* PyInit_array(void);
10 extern PyObject* PyInit_audioop(void);
11 extern PyObject* PyInit_binascii(void);
12 extern PyObject* PyInit_cmath(void);
13 extern PyObject* PyInit_errno(void);
14 extern PyObject* PyInit_faulthandler(void);
15 extern PyObject* PyInit__tracemalloc(void);
16 extern PyObject* PyInit_gc(void);
17 extern PyObject* PyInit_math(void);
[all …]
/external/python/cpython3/Objects/clinic/
Dunicodeobject.c.h17 static PyObject *
18 unicode_title_impl(PyObject *self);
20 static PyObject *
21 unicode_title(PyObject *self, PyObject *Py_UNUSED(ignored)) in unicode_title()
38 static PyObject *
39 unicode_capitalize_impl(PyObject *self);
41 static PyObject *
42 unicode_capitalize(PyObject *self, PyObject *Py_UNUSED(ignored)) in unicode_capitalize()
56 static PyObject *
57 unicode_casefold_impl(PyObject *self);
[all …]
/external/llvm/test/CodeGen/X86/
D2007-08-09-IllegalX86-64Asm.ll5 …ype { i64 (%struct.PyObject*, i64, i8**)*, i64 (%struct.PyObject*, i64, i8**)*, i64 (%struct.PyObj…
6 …uct.PyGetSetDef = type { i8*, %struct.PyObject* (%struct.PyObject*, i8*)*, i32 (%struct.PyObject*,…
7 …4 (%struct.PyObject*)*, %struct.PyObject* (%struct.PyObject*, %struct.PyObject*)*, i32 (%struct.Py…
9 …%struct.PyMethodDef = type { i8*, %struct.PyObject* (%struct.PyObject*, %struct.PyObject*)*, i32, …
10PyObject* (%struct.PyObject*, %struct.PyObject*)*, %struct.PyObject* (%struct.PyObject*, %struct.P…
11 %struct.PyObject = type { i64, %struct._typeobject* }
12PyObject*)*, %struct.PyObject* (%struct.PyObject*, %struct.PyObject*)*, %struct.PyObject* (%struct…
13 %struct.PyTupleObject = type { i64, %struct._typeobject*, i64, [1 x %struct.PyObject*] }
16PyObject*)*, i32 (%struct.PyObject*, %struct.FILE*, i32)*, %struct.PyObject* (%struct.PyObject*, i…
21 define %struct.PyObject* @ubyte_divmod(%struct.PyObject* %a, %struct.PyObject* %b) {
[all …]

12345678910>>...47