/external/python/cpython3/Modules/ |
H A D | _testcapimodule.c | 24 static PyObject *TestError; /* set to exception object in init */ 28 static PyObject * 41 static PyObject* 48 return (PyObject*)NULL; 51 static PyObject* 52 test_config(PyObject *self) 71 static PyObject* 72 test_sizeof_c_types(PyObject *self) 83 return (PyObject*)NULL; \ 91 return (PyObject*)NUL [all...] |
H A D | _cryptmodule.c | 33 static PyObject * 34 crypt_crypt_impl(PyObject *module, const char *word, const char *salt)
|
H A D | _functoolsmodule.c | 16 PyObject *fn; 17 PyObject *args; 18 PyObject *kw; 19 PyObject *dict; 20 PyObject *weakreflist; /* List of weak references */ 25 static PyObject * 26 partial_new(PyTypeObject *type, PyObject *args, PyObject *kw) 28 PyObject *func, *pargs, *nargs, *pkw; 113 return (PyObject *)pt [all...] |
H A D | sre.h | 30 PyObject* groupindex; 31 PyObject* indexgroup; 33 PyObject* pattern; /* pattern source (or None) */ 35 PyObject *weakreflist; /* List of weak references */ 46 PyObject* string; /* link to the target string (must be first) */ 47 PyObject* regs; /* cached list of matching spans */ 71 PyObject* string; 92 PyObject* pattern;
|
H A D | _testmultiphase.c | 10 PyObject *x_attr; /* Attributes dictionary */ 29 static PyObject * 30 Example_demo(ExampleObject *self, PyObject *args) 32 PyObject *o = NULL; 50 static PyObject * 51 Example_getattro(ExampleObject *self, PyObject *name) 54 PyObject *v = PyDict_GetItem(self->x_attr, name); 60 return PyObject_GenericGetAttr((PyObject *)self, name); 64 Example_setattr(ExampleObject *self, const char *name, PyObject *v) 107 static PyObject * [all...] |
/external/python/cpython3/Objects/ |
H A D | descrobject.c | 16 static PyObject * 24 static PyObject * 27 PyObject *name = NULL; 34 static PyObject * 41 static PyObject * 48 static PyObject * 55 static PyObject * 63 descr_check(PyDescrObject *descr, PyObject *obj, PyObject **pres) 67 *pres = (PyObject *)desc [all...] |
H A D | object.c | 23 PyObject *o; 33 PyObject *xoptions, *value; 54 * together via the _ob_prev and _ob_next members of a PyObject, which 57 static PyObject refchain = {&refchain, &refchain}; 71 _Py_AddToAllObjects(PyObject *op, int force) 106 PyObject *xoptions, *value; 133 PyObject * 137 PyObject *result; 138 PyObject *v; 184 _Py_AddToAllObjects((PyObject *)t [all...] |
H A D | cellobject.c | 5 PyObject * 6 PyCell_New(PyObject *obj) 17 return (PyObject *)op; 20 PyObject * 21 PyCell_Get(PyObject *op) 32 PyCell_Set(PyObject *op, PyObject *obj) 34 PyObject* oldobj; 56 static PyObject * 57 cell_richcompare(PyObject * [all...] |
/external/python/cpython2/PC/ |
H A D | _subprocess.c | 58 static PyObject* 69 return (PyObject*) self; 80 static PyObject* 81 sp_handle_detach(sp_handle_object* self, PyObject* args) 96 static PyObject* 97 sp_handle_close(sp_handle_object* self, PyObject* args) 124 static PyObject* 127 return Py_FindMethod(sp_handle_methods, (PyObject*) self, name); 130 static PyObject* 164 static PyObject * [all...] |
H A D | _winreg.c | 20 static BOOL PyHKEY_AsHKEY(PyObject *ob, HKEY *pRes, BOOL bNoneOK); 21 static PyObject *PyHKEY_FromHKEY(HKEY h); 22 static BOOL PyHKEY_Close(PyObject *obHandle); 395 static PyObject * 396 PyHKEY_unaryFailureFunc(PyObject *ob) 401 static PyObject * 402 PyHKEY_binaryFailureFunc(PyObject *ob1, PyObject *ob2) 407 static PyObject * 408 PyHKEY_ternaryFailureFunc(PyObject *ob [all...] |
H A D | winsound.c | 72 static PyObject * 73 sound_playsound(PyObject *s, PyObject *args) 103 static PyObject * 104 sound_beep(PyObject *self, PyObject *args) 131 static PyObject * 132 sound_msgbeep(PyObject *self, PyObject *args) 151 add_define(PyObject *dic [all...] |
/external/python/cpython3/Modules/_io/ |
H A D | _iomodule.c | 29 PyObject *_PyIO_str_close; 30 PyObject *_PyIO_str_closed; 31 PyObject *_PyIO_str_decode; 32 PyObject *_PyIO_str_encode; 33 PyObject *_PyIO_str_fileno; 34 PyObject *_PyIO_str_flush; 35 PyObject *_PyIO_str_getstate; 36 PyObject *_PyIO_str_isatty; 37 PyObject *_PyIO_str_newlines; 38 PyObject *_PyIO_str_n [all...] |
/external/python/cpython2/Mac/Modules/menu/ |
H A D | _Menumodule.c | 24 extern PyObject *_MenuObj_New(MenuHandle); 25 extern int _MenuObj_Convert(PyObject *, MenuHandle *); 36 PyObject *OptMenuObj_New(MenuRef itself) 46 int OptMenuObj_Convert(PyObject *v, MenuRef *p_itself) 55 static PyObject *Menu_Error; 68 PyObject *MenuObj_New(MenuHandle itself) 74 return (PyObject *)it; 77 int MenuObj_Convert(PyObject *v, MenuHandle *p_itself) 91 self->ob_type->tp_free((PyObject *)self); 94 static PyObject *MenuObj_DisposeMen [all...] |
/external/python/cpython2/Include/ |
H A D | floatobject.h | 43 PyAPI_FUNC(PyObject *) PyFloat_GetInfo(void); 45 /* Return Python float from string PyObject. Second argument ignored on 48 PyAPI_FUNC(PyObject *) PyFloat_FromString(PyObject*, char** junk); 51 PyAPI_FUNC(PyObject *) PyFloat_FromDouble(double); 55 PyAPI_FUNC(double) PyFloat_AsDouble(PyObject *); 126 PyAPI_FUNC(PyObject *) _PyFloat_FormatAdvanced(PyObject *obj, 133 PyAPI_FUNC(PyObject *) _Py_double_round(double x, int ndigits);
|
H A D | ucnhash.h | 22 int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen); 26 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code);
|
/external/python/cpython2/Modules/ |
H A D | fmmodule.c | 22 static PyObject * 35 return (PyObject *)fhp; 40 static PyObject * 41 fh_scalefont(fhobject *self, PyObject *args) 51 static PyObject * 59 static PyObject * 72 static PyObject * 85 static PyObject * 105 static PyObject * 106 fh_getwholemetrics(fhobject *self, PyObject *arg [all...] |
H A D | sre.h | 37 PyObject* groupindex; 38 PyObject* indexgroup; 40 PyObject* pattern; /* pattern source (or None) */ 42 PyObject *weakreflist; /* List of weak references */ 52 PyObject* string; /* link to the target string (must be first) */ 53 PyObject* regs; /* cached list of matching spans */ 80 PyObject* string; 100 PyObject* pattern;
|
H A D | spwdmodule.c | 60 sets(PyObject *v, int i, char* val) 70 static PyObject *mkspent(struct spwd *p) 73 PyObject *v = PyStructSequence_New(&StructSpwdType); 112 static PyObject* spwd_getspnam(PyObject *self, PyObject *args) 135 static PyObject * 136 spwd_getspall(PyObject *self, PyObject *args) 138 PyObject * [all...] |
H A D | threadmodule.c | 16 static PyObject *ThreadError; 17 static PyObject *str_dict; 25 PyObject *in_weakreflist; 32 PyObject_ClearWeakRefs((PyObject *) self); 43 static PyObject * 44 lock_PyThread_acquire_lock(lockobject *self, PyObject *args) 69 static PyObject * 92 static PyObject * 222 PyObject *localdict; /* Borrowed reference! */ 223 PyObject *weakreflis [all...] |
/external/python/cpython3/Include/ |
H A D | ucnhash.h | 22 int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen, 27 int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code,
|
/external/python/cpython2/Mac/Modules/cm/ |
H A D | _Cmmodule.c | 21 extern PyObject *_CmpObj_New(Component); 22 extern int _CmpObj_Convert(PyObject *, Component *); 23 extern PyObject *_CmpInstObj_New(ComponentInstance); 24 extern int _CmpInstObj_Convert(PyObject *, ComponentInstance *); 35 static PyObject * 47 CmpDesc_Convert(PyObject *v, ComponentDescription *p_itself) 57 static PyObject *Cm_Error; 70 PyObject *CmpInstObj_New(ComponentInstance itself) 80 return (PyObject *)it; 83 int CmpInstObj_Convert(PyObject * [all...] |
/external/python/cpython2/Objects/stringlib/ |
H A D | partition.h | 10 Py_LOCAL_INLINE(PyObject*) 11 stringlib_partition(PyObject* str_obj, 13 PyObject* sep_obj, 16 PyObject* out; 37 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); 39 PyTuple_SET_ITEM(out, 1, (PyObject*) STRINGLIB_EMPTY); 41 PyTuple_SET_ITEM(out, 2, (PyObject*) STRINGLIB_EMPTY); 60 Py_LOCAL_INLINE(PyObject*) 61 stringlib_rpartition(PyObject* str_obj, 63 PyObject* sep_ob [all...] |
/external/python/cpython3/Objects/stringlib/ |
H A D | partition.h | 7 Py_LOCAL_INLINE(PyObject*) 8 STRINGLIB(partition)(PyObject* str_obj, 10 PyObject* sep_obj, 13 PyObject* out; 39 PyTuple_SET_ITEM(out, 0, (PyObject*) str_obj); 41 PyTuple_SET_ITEM(out, 1, (PyObject*) STRINGLIB_EMPTY); 43 PyTuple_SET_ITEM(out, 2, (PyObject*) STRINGLIB_EMPTY); 62 Py_LOCAL_INLINE(PyObject*) 63 STRINGLIB(rpartition)(PyObject* str_obj, 65 PyObject* sep_ob [all...] |
/external/protobuf/python/google/protobuf/pyext/ |
H A D | repeated_scalar_container.h | 93 extern PyObject *NewContainer( 100 PyObject* Append(RepeatedScalarContainer* self, PyObject* item); 111 PyObject* Extend(RepeatedScalarContainer* self, PyObject* value);
|
/external/python/cpython2/Mac/Modules/ |
H A D | ColorPickermodule.c | 37 static PyObject * 38 cp_GetColor(PyObject *self, PyObject *args) 72 PyObject *m; 80 (PyObject*)NULL,PYTHON_API_VERSION);
|