Home
last modified time | relevance | path

Searched refs:PyModule_AddObject (Results 1 – 25 of 174) sorted by relevance

1234567

/external/python/cpython3/Modules/
D_weakref.c161 PyModule_AddObject(m, "ref", in PyInit__weakref()
164 PyModule_AddObject(m, "ReferenceType", in PyInit__weakref()
167 PyModule_AddObject(m, "ProxyType", in PyInit__weakref()
170 PyModule_AddObject(m, "CallableProxyType", in PyInit__weakref()
D_contextvarsmodule.c51 if (PyModule_AddObject(m, "Context", in PyInit__contextvars()
59 if (PyModule_AddObject(m, "ContextVar", in PyInit__contextvars()
67 if (PyModule_AddObject(m, "Token", in PyInit__contextvars()
Dxxlimited.c255 PyModule_AddObject(m, "error", ErrorObject); in xx_modexec()
261 PyModule_AddObject(m, "Xxo", o); in xx_modexec()
267 PyModule_AddObject(m, "Str", o); in xx_modexec()
273 PyModule_AddObject(m, "Null", o); in xx_modexec()
Dxxmodule.c368 PyModule_AddObject(m, "error", ErrorObject); in xx_exec()
373 PyModule_AddObject(m, "Str", (PyObject *)&Str_Type); in xx_exec()
378 PyModule_AddObject(m, "Null", (PyObject *)&Null_Type); in xx_exec()
D_testcapimodule.c5308 PyModule_AddObject(m, "_test_structmembersType", (PyObject *)&test_structmembersType); in PyInit__testcapi()
5312 PyModule_AddObject(m, "matmulType", (PyObject *)&matmulType); in PyInit__testcapi()
5317 PyModule_AddObject(m, "awaitType", (PyObject *)&awaitType); in PyInit__testcapi()
5322 PyModule_AddObject(m, "GenericAlias", (PyObject *)&GenericAlias_Type); in PyInit__testcapi()
5327 PyModule_AddObject(m, "Generic", (PyObject *)&Generic_Type); in PyInit__testcapi()
5334 PyModule_AddObject(m, "RecursingInfinitelyError", in PyInit__testcapi()
5337 PyModule_AddObject(m, "CHAR_MAX", PyLong_FromLong(CHAR_MAX)); in PyInit__testcapi()
5338 PyModule_AddObject(m, "CHAR_MIN", PyLong_FromLong(CHAR_MIN)); in PyInit__testcapi()
5339 PyModule_AddObject(m, "UCHAR_MAX", PyLong_FromLong(UCHAR_MAX)); in PyInit__testcapi()
5340 PyModule_AddObject(m, "SHRT_MAX", PyLong_FromLong(SHRT_MAX)); in PyInit__testcapi()
[all …]
Dresource.c360 PyModule_AddObject(m, "error", PyExc_OSError); in PyInit_resource()
368 PyModule_AddObject(m, "struct_rusage", in PyInit_resource()
483 PyModule_AddObject(m, "RLIM_INFINITY", v); in PyInit_resource()
Dpyexpat.c1679 PyModule_AddObject(m, "error", ErrorObject); in MODULE_INITFUNC()
1681 PyModule_AddObject(m, "ExpatError", ErrorObject); in MODULE_INITFUNC()
1683 PyModule_AddObject(m, "XMLParserType", (PyObject *) &Xmlparsetype); in MODULE_INITFUNC()
1689 PyModule_AddObject(m, "version_info", in MODULE_INITFUNC()
1710 PyModule_AddObject(m, "errors", errors_module); in MODULE_INITFUNC()
1720 PyModule_AddObject(m, "model", model_module); in MODULE_INITFUNC()
1756 PyModule_AddObject(m, "features", list); in MODULE_INITFUNC()
1830 if (PyModule_AddObject(errors_module, "codes", codes_dict) < 0) in MODULE_INITFUNC()
1832 if (PyModule_AddObject(errors_module, "messages", rev_codes_dict) < 0) in MODULE_INITFUNC()
1893 PyModule_AddObject(m, "expat_CAPI", capi_object); in MODULE_INITFUNC()
Dxxsubtype.c281 if (PyModule_AddObject(m, "spamlist", in xxsubtype_exec()
286 if (PyModule_AddObject(m, "spamdict", in xxsubtype_exec()
/external/python/cpython2/Modules/
D_weakref.c139 PyModule_AddObject(m, "ref", in init_weakref()
142 PyModule_AddObject(m, "ReferenceType", in init_weakref()
145 PyModule_AddObject(m, "ProxyType", in init_weakref()
148 PyModule_AddObject(m, "CallableProxyType", in init_weakref()
D_testcapimodule.c2962 PyModule_AddObject(m, "_test_structmembersType", (PyObject *)&test_structmembersType); in init_testcapi()
2964 PyModule_AddObject(m, "CHAR_MAX", PyInt_FromLong(CHAR_MAX)); in init_testcapi()
2965 PyModule_AddObject(m, "CHAR_MIN", PyInt_FromLong(CHAR_MIN)); in init_testcapi()
2966 PyModule_AddObject(m, "UCHAR_MAX", PyInt_FromLong(UCHAR_MAX)); in init_testcapi()
2967 PyModule_AddObject(m, "SHRT_MAX", PyInt_FromLong(SHRT_MAX)); in init_testcapi()
2968 PyModule_AddObject(m, "SHRT_MIN", PyInt_FromLong(SHRT_MIN)); in init_testcapi()
2969 PyModule_AddObject(m, "USHRT_MAX", PyInt_FromLong(USHRT_MAX)); in init_testcapi()
2970 PyModule_AddObject(m, "INT_MAX", PyLong_FromLong(INT_MAX)); in init_testcapi()
2971 PyModule_AddObject(m, "INT_MIN", PyLong_FromLong(INT_MIN)); in init_testcapi()
2972 PyModule_AddObject(m, "UINT_MAX", PyLong_FromUnsignedLong(UINT_MAX)); in init_testcapi()
[all …]
Dxxmodule.c368 PyModule_AddObject(m, "error", ErrorObject); in initxx()
373 PyModule_AddObject(m, "Str", (PyObject *)&Str_Type); in initxx()
378 PyModule_AddObject(m, "Null", (PyObject *)&Null_Type); in initxx()
Dresource.c261 PyModule_AddObject(m, "error", ResourceError); in initresource()
266 PyModule_AddObject(m, "struct_rusage", in initresource()
343 PyModule_AddObject(m, "RLIM_INFINITY", v); in initresource()
Dpwdmodule.c203 PyModule_AddObject(m, "struct_passwd", (PyObject *) &StructPwdType);
206 PyModule_AddObject(m, "struct_pwent", (PyObject *) &StructPwdType);
Dtimemodule.c823 PyModule_AddObject(m, "tzname", in inittimezone()
850 PyModule_AddObject(m, "tzname", in inittimezone()
858 PyModule_AddObject(m, "tzname", in inittimezone()
870 PyModule_AddObject(m, "tzname", in inittimezone()
985 PyModule_AddObject(m, "struct_time", (PyObject*) &StructTimeType); in inittime()
Dxxsubtype.c289 if (PyModule_AddObject(m, "spamlist", in initxxsubtype()
294 if (PyModule_AddObject(m, "spamdict", in initxxsubtype()
/external/python/cpython2/Modules/_sqlite/
Dmodule.c323 PyModule_AddObject(module, "Connection", (PyObject*) &pysqlite_ConnectionType); in init_sqlite3()
325 PyModule_AddObject(module, "Cursor", (PyObject*) &pysqlite_CursorType); in init_sqlite3()
327 PyModule_AddObject(module, "Statement", (PyObject*)&pysqlite_StatementType); in init_sqlite3()
329 PyModule_AddObject(module, "Cache", (PyObject*) &pysqlite_CacheType); in init_sqlite3()
331 PyModule_AddObject(module, "PrepareProtocol", (PyObject*) &pysqlite_PrepareProtocolType); in init_sqlite3()
333 PyModule_AddObject(module, "Row", (PyObject*) &pysqlite_RowType); in init_sqlite3()
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c274 PyModule_AddObject(module, "Connection", (PyObject*)&ConnectionType); in init_multiprocessing()
295 PyModule_AddObject(module, "SemLock", (PyObject*)&SemLockType); in init_multiprocessing()
303 PyModule_AddObject(module, "PipeConnection", in init_multiprocessing()
310 PyModule_AddObject(module, "win32", temp); in init_multiprocessing()
350 if (PyModule_AddObject(module, "flags", temp) < 0) in init_multiprocessing()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c366 PyModule_AddObject(module, "Connection", (PyObject*) &pysqlite_ConnectionType); in PyInit__sqlite3()
368 PyModule_AddObject(module, "Cursor", (PyObject*) &pysqlite_CursorType); in PyInit__sqlite3()
370 PyModule_AddObject(module, "Statement", (PyObject*)&pysqlite_StatementType); in PyInit__sqlite3()
372 PyModule_AddObject(module, "Cache", (PyObject*) &pysqlite_CacheType); in PyInit__sqlite3()
374 PyModule_AddObject(module, "PrepareProtocol", (PyObject*) &pysqlite_PrepareProtocolType); in PyInit__sqlite3()
376 PyModule_AddObject(module, "Row", (PyObject*) &pysqlite_RowType); in PyInit__sqlite3()
/external/python/cpython3/Modules/_blake2/
Dblake2module.c71 PyModule_AddObject(m, "blake2b", (PyObject *)&PyBlake2_BLAKE2bType); in PyInit__blake2()
91 PyModule_AddObject(m, "blake2s", (PyObject *)&PyBlake2_BLAKE2sType); in PyInit__blake2()
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c2161 PyModule_AddObject(m, "EventRef", (PyObject *)&EventRef_Type); in init_CarbonEvt()
2164 PyModule_AddObject(m, "EventRefType", (PyObject *)&EventRef_Type); in init_CarbonEvt()
2168 PyModule_AddObject(m, "EventQueueRef", (PyObject *)&EventQueueRef_Type); in init_CarbonEvt()
2171 PyModule_AddObject(m, "EventQueueRefType", (PyObject *)&EventQueueRef_Type); in init_CarbonEvt()
2175 PyModule_AddObject(m, "EventLoopRef", (PyObject *)&EventLoopRef_Type); in init_CarbonEvt()
2178 PyModule_AddObject(m, "EventLoopRefType", (PyObject *)&EventLoopRef_Type); in init_CarbonEvt()
2182 PyModule_AddObject(m, "EventLoopTimerRef", (PyObject *)&EventLoopTimerRef_Type); in init_CarbonEvt()
2185 PyModule_AddObject(m, "EventLoopTimerRefType", (PyObject *)&EventLoopTimerRef_Type); in init_CarbonEvt()
2189 PyModule_AddObject(m, "EventHandlerRef", (PyObject *)&EventHandlerRef_Type); in init_CarbonEvt()
2192 PyModule_AddObject(m, "EventHandlerRefType", (PyObject *)&EventHandlerRef_Type); in init_CarbonEvt()
[all …]
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2876 PyModule_AddObject(m, "MessageMeta", in CheckAndGetInteger()
2906 PyModule_AddObject(m, "Message", reinterpret_cast<PyObject*>(&CMessage_Type)); in CheckAndGetInteger()
2914 PyModule_AddObject(m, "RepeatedScalarContainer", in CheckAndGetInteger()
2922 PyModule_AddObject( in CheckAndGetInteger()
2975 PyModule_AddObject(m, "ScalarMapContainer", ScalarMapContainer_Type); in CheckAndGetInteger()
2984 PyModule_AddObject(m, "ScalarMapContainer", in CheckAndGetInteger()
2992 PyModule_AddObject(m, "MapIterator", in CheckAndGetInteger()
2999 PyModule_AddObject(m, "MessageMapContainer", MessageMapContainer_Type); in CheckAndGetInteger()
3009 PyModule_AddObject(m, "MessageMapContainer", in CheckAndGetInteger()
3017 PyModule_AddObject( in CheckAndGetInteger()
[all …]
/external/python/cpython3/Modules/_multiprocessing/
Dmultiprocessing.c187 PyModule_AddObject(module, "SemLock", (PyObject*)&_PyMp_SemLockType); in PyInit__multiprocessing()
215 if (PyModule_AddObject(module, "flags", temp) < 0) in PyInit__multiprocessing()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h129 if (PyModule_AddObject(module, name, (PyObject *)(type)) < 0) \
134 if (PyModule_AddObject( \
/external/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c262 PyModule_AddObject(m, "IBNibRef", (PyObject *)&IBNibRef_Type); in init_IBCarbon()
265 PyModule_AddObject(m, "IBNibRefType", (PyObject *)&IBNibRef_Type); in init_IBCarbon()
/external/python/cpython2/Doc/includes/
Dnoddy.c52 PyModule_AddObject(m, "Noddy", (PyObject *)&noddy_NoddyType); in initnoddy()

1234567