Home
last modified time | relevance | path

Searched refs:PyObject (Results 1 - 25 of 551) sorted by relevance

12345678910>>...23

/third_party/python/Include/internal/
H A Dpycore_ast_state.h17 PyObject *AST_type;
18 PyObject *Add_singleton;
19 PyObject *Add_type;
20 PyObject *And_singleton;
21 PyObject *And_type;
22 PyObject *AnnAssign_type;
23 PyObject *Assert_type;
24 PyObject *Assign_type;
25 PyObject *AsyncFor_type;
26 PyObject *AsyncFunctionDef_typ
[all...]
/third_party/python/Include/
H A 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 *, PyObjec
[all...]
H A Dabstract.h13 int PyObject_Print(PyObject *o, FILE *fp, int flags);
24 int PyObject_HasAttrString(PyObject *o, const char *attr_name);
35 PyObject* PyObject_GetAttrString(PyObject *o, const char *attr_name);
45 int PyObject_HasAttr(PyObject *o, PyObject *attr_name);
55 PyObject* PyObject_GetAttr(PyObject *o, PyObject *attr_name);
65 int PyObject_SetAttrString(PyObject *
[all...]
H A Dobject.h40 Objects are always accessed through pointers of the type 'PyObject *'.
41 The type 'PyObject' is a structure that only contains the reference count
66 PyObject *_ob_next; \
67 PyObject *_ob_prev;
76 /* PyObject_HEAD defines the initial segment of every PyObject. */
77 #define PyObject_HEAD PyObject ob_base;
95 /* Nothing is actually declared to be a PyObject, but every pointer to
96 * a Python object can be cast to a PyObject*. This is inheritance built
106 /* Cast argument to PyObject* type. */
107 #define _PyObject_CAST(op) _Py_CAST(PyObject*, (o
[all...]
H A 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 *unicod
[all...]
/third_party/python/Modules/clinic/
H A 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 *
[all...]
H A 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 *modul
[all...]
H A 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 *arg
[all...]
H A D_asynciomodule.c.h23 _asyncio_Future___init___impl(FutureObj *self, PyObject *loop);
26 _asyncio_Future___init__(PyObject *self, PyObject *args, PyObject *kwargs) in _asyncio_Future___init__()
31 PyObject *argsbuf[1]; in _asyncio_Future___init__()
32 PyObject * const *fastargs; in _asyncio_Future___init__()
35 PyObject *loop = Py_None; in _asyncio_Future___init__()
65 static PyObject *
68 static PyObject *
69 _asyncio_Future_result(FutureObj *self, PyObject *Py_UNUSE
[all...]
H A 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()
50 static PyObject *
51 itertools_groupby_impl(PyTypeObject *type, PyObject *it, PyObject *keyfun
[all...]
H A Dmathmodule.c.h81 static PyObject *
82 math_frexp_impl(PyObject *module, double x);
84 static PyObject *
85 math_frexp(PyObject *module, PyObject *arg) in math_frexp()
87 PyObject *return_value = NULL; in math_frexp()
117 static PyObject *
118 math_ldexp_impl(PyObject *module, double x, PyObject *i);
120 static PyObject *
[all...]
H A D_heapqmodule.c.h14 static PyObject *
15 _heapq_heappush_impl(PyObject *module, PyObject *heap, PyObject *item);
17 static PyObject *
18 _heapq_heappush(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _heapq_heappush()
20 PyObject *return_value = NULL; in _heapq_heappush()
21 PyObject *heap; in _heapq_heappush()
22 PyObject *ite in _heapq_heappush()
[all...]
H A Dgcmodule.c.h14 static PyObject *
15 gc_enable_impl(PyObject *module);
17 static PyObject *
18 gc_enable(PyObject *module, PyObject *Py_UNUSED(ignored)) in gc_enable()
32 static PyObject *
33 gc_disable_impl(PyObject *module);
35 static PyObject *
36 gc_disable(PyObject *module, PyObject *Py_UNUSE
[all...]
H A Dselectmodule.c.h35 static PyObject *
36 select_select_impl(PyObject *module, PyObject *rlist, PyObject *wlist,
37 PyObject *xlist, PyObject *timeout_obj);
39 static PyObject *
40 select_select(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in select_select()
42 PyObject *return_valu in select_select()
[all...]
/third_party/python/Modules/
H A D_testclinic.c17 static PyObject *
21 PyObject *tuple = PyTuple_New(argc); in pack_arguments_newref()
29 PyObject *arg = va_arg(vargs, PyObject *); in pack_arguments_newref()
50 * `wrapper` is function which converts primitive type to PyObject.
55 PyObject *out[argc] = {NULL,}; \
66 PyObject *tuple = PyTuple_New(argc); \
91 static PyObject *
92 test_empty_function_impl(PyObject *module) in test_empty_function_impl()
108 static PyObject *
[all...]
H A D_operator.c8 PyObject *itemgetter_type;
9 PyObject *attrgetter_type;
10 PyObject *methodcaller_type;
14 get_operator_state(PyObject *module) in get_operator_state()
46 _operator_truth_impl(PyObject *module, PyObject *a) in _operator_truth_impl()
62 static PyObject *
63 _operator_add_impl(PyObject *module, PyObject *a, PyObject *
[all...]
/third_party/python/Python/clinic/
H A 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 *hoo in sys_addaudithook()
[all...]
H A Dbltinmodule.c.h29 static PyObject *
30 builtin___import___impl(PyObject *module, PyObject *name, PyObject *globals,
31 PyObject *locals, PyObject *fromlist, int level);
33 static PyObject *
34 builtin___import__(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwname
[all...]
H A Dimport.c.h16 static PyObject *
17 _imp_lock_held_impl(PyObject *module);
19 static PyObject *
20 _imp_lock_held(PyObject *module, PyObject *Py_UNUSED(ignored)) in _imp_lock_held()
37 static PyObject *
38 _imp_acquire_lock_impl(PyObject *module);
40 static PyObject *
41 _imp_acquire_lock(PyObject *module, PyObject *Py_UNUSE
[all...]
/third_party/python/Objects/clinic/
H A Dunicodeobject.c.h14 static PyObject *
17 static PyObject *
18 EncodingMap_size(struct encoding_map *self, PyObject *Py_UNUSED(ignored)) in EncodingMap_size()
35 static PyObject *
36 unicode_title_impl(PyObject *self);
38 static PyObject *
39 unicode_title(PyObject *self, PyObject *Py_UNUSED(ignored)) in unicode_title()
56 static PyObject *
57 unicode_capitalize_impl(PyObject *sel
[all...]
/third_party/python/PC/
H A 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_mat
[all...]
/third_party/python/Include/cpython/
H A Dabstract.h21 PyAPI_FUNC(PyObject *) _PyStack_AsDict(
22 PyObject *const *values,
23 PyObject *kwnames);
25 /* Suggested size (number of positional arguments) for arrays of PyObject*
36 PyAPI_FUNC(PyObject *) _Py_CheckFunctionResult(
38 PyObject *callable,
39 PyObject *result,
47 PyAPI_FUNC(PyObject *) _PyObject_MakeTpCall(
49 PyObject *callable,
50 PyObject *cons
[all...]
H A Dpyerrors.h8 #define PyException_HEAD PyObject_HEAD PyObject *dict;\
9 PyObject *args; PyObject *notes; PyObject *traceback;\
10 PyObject *context; PyObject *cause;\
19 PyObject *msg;
20 PyObject *excs;
25 PyObject *msg;
26 PyObject *filenam
[all...]
H A Dfuncobject.h12 PyObject *PREFIX ## globals; \
13 PyObject *PREFIX ## builtins; \
14 PyObject *PREFIX ## name; \
15 PyObject *PREFIX ## qualname; \
16 PyObject *PREFIX ## code; /* A code object, the __code__ attribute */ \
17 PyObject *PREFIX ## defaults; /* NULL or a tuple */ \
18 PyObject *PREFIX ## kwdefaults; /* NULL or a dict */ \
19 PyObject *PREFIX ## closure; /* NULL or a tuple of cell objects */
39 PyObject *func_doc; /* The __doc__ attribute, can be anything */
40 PyObject *func_dic
[all...]
/third_party/python/Modules/_io/clinic/
H A Diobase.c.h14 static PyObject *
15 _io__IOBase_tell_impl(PyObject *self);
17 static PyObject *
18 _io__IOBase_tell(PyObject *self, PyObject *Py_UNUSED(ignored)) in _io__IOBase_tell()
34 static PyObject *
35 _io__IOBase_flush_impl(PyObject *self);
37 static PyObject *
38 _io__IOBase_flush(PyObject *self, PyObject *Py_UNUSE
[all...]

Completed in 16 milliseconds

12345678910>>...23