/external/python/cpython3/Modules/ |
D | _contextvarsmodule.c | 34 if (PyModule_AddObject(m, "Context", in _contextvars_exec() 42 if (PyModule_AddObject(m, "ContextVar", in _contextvars_exec() 50 if (PyModule_AddObject(m, "Token", in _contextvars_exec()
|
D | _weakref.c | 144 if (PyModule_AddObject(module, "ref", (PyObject *) &_PyWeakref_RefType) < 0) { in weakref_exec() 149 if (PyModule_AddObject(module, "ReferenceType", in weakref_exec() 155 if (PyModule_AddObject(module, "ProxyType", in weakref_exec() 161 if (PyModule_AddObject(module, "CallableProxyType", in weakref_exec()
|
D | xxlimited.c | 259 PyModule_AddObject(m, "error", ErrorObject); in xx_modexec() 265 PyModule_AddObject(m, "Xxo", o); in xx_modexec() 271 PyModule_AddObject(m, "Str", o); in xx_modexec() 277 PyModule_AddObject(m, "Null", o); in xx_modexec()
|
D | xxmodule.c | 371 PyModule_AddObject(m, "error", ErrorObject); in xx_exec() 376 PyModule_AddObject(m, "Str", (PyObject *)&Str_Type); in xx_exec() 381 PyModule_AddObject(m, "Null", (PyObject *)&Null_Type); in xx_exec()
|
D | _testcapimodule.c | 6769 PyModule_AddObject(m, "_test_structmembersType", (PyObject *)&test_structmembersType); in PyInit__testcapi() 6773 PyModule_AddObject(m, "matmulType", (PyObject *)&matmulType); in PyInit__testcapi() 6778 PyModule_AddObject(m, "ipowType", (PyObject *)&ipowType); in PyInit__testcapi() 6783 PyModule_AddObject(m, "awaitType", (PyObject *)&awaitType); in PyInit__testcapi() 6789 PyModule_AddObject(m, "MyList", (PyObject *)&MyList_Type); in PyInit__testcapi() 6794 PyModule_AddObject(m, "MethodDescriptorBase", (PyObject *)&MethodDescriptorBase_Type); in PyInit__testcapi() 6800 PyModule_AddObject(m, "MethodDescriptorDerived", (PyObject *)&MethodDescriptorDerived_Type); in PyInit__testcapi() 6806 PyModule_AddObject(m, "MethodDescriptorNopGet", (PyObject *)&MethodDescriptorNopGet_Type); in PyInit__testcapi() 6812 PyModule_AddObject(m, "MethodDescriptor2", (PyObject *)&MethodDescriptor2_Type); in PyInit__testcapi() 6817 PyModule_AddObject(m, "GenericAlias", (PyObject *)&GenericAlias_Type); in PyInit__testcapi() [all …]
|
D | _stat.c | 595 if (PyModule_AddObject(module, "IO_REPARSE_TAG_SYMLINK", in stat_exec() 599 if (PyModule_AddObject(module, "IO_REPARSE_TAG_MOUNT_POINT", in stat_exec() 603 if (PyModule_AddObject(module, "IO_REPARSE_TAG_APPEXECLINK", in stat_exec()
|
D | _testmultiphase.c | 361 if (PyModule_AddObject(m, "Example", temp) != 0) { in execfunc() 371 if (PyModule_AddObject(m, "error", temp) != 0) { in execfunc() 380 if (PyModule_AddObject(m, "Str", temp) != 0) { in execfunc() 809 if (PyModule_AddObject(m, "StateAccessType", temp) != 0) { in meth_state_access_exec()
|
D | xxsubtype.c | 281 if (PyModule_AddObject(m, "spamlist", in xxsubtype_exec() 286 if (PyModule_AddObject(m, "spamdict", in xxsubtype_exec()
|
/external/python/cpython2/Modules/ |
D | _weakref.c | 139 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 | xxmodule.c | 368 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()
|
D | _testcapimodule.c | 2962 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 …]
|
D | resource.c | 261 PyModule_AddObject(m, "error", ResourceError); in initresource() 266 PyModule_AddObject(m, "struct_rusage", in initresource() 343 PyModule_AddObject(m, "RLIM_INFINITY", v); in initresource()
|
D | pwdmodule.c | 203 PyModule_AddObject(m, "struct_passwd", (PyObject *) &StructPwdType); 206 PyModule_AddObject(m, "struct_pwent", (PyObject *) &StructPwdType);
|
D | xxsubtype.c | 289 if (PyModule_AddObject(m, "spamlist", in initxxsubtype() 294 if (PyModule_AddObject(m, "spamdict", in initxxsubtype()
|
D | timemodule.c | 823 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()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 274 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/cpython2/Modules/_sqlite/ |
D | module.c | 323 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/cffi/c/ |
D | cffi1_module.c | 68 if (PyModule_AddObject(m, "FFI", x) < 0) in init_ffi_lib() 72 if (PyModule_AddObject(m, "Lib", x) < 0) in init_ffi_lib() 199 if (ffi == NULL || PyModule_AddObject(m, "ffi", (PyObject *)ffi) < 0) in b_init_cffi_1_0_external_module() 203 if (lib == NULL || PyModule_AddObject(m, "lib", (PyObject *)lib) < 0) in b_init_cffi_1_0_external_module()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 9640 if (PyModule_AddObject(m, "AST", state->AST_type) < 0) { in astmodule_exec() 9653 if (PyModule_AddObject(m, "mod", state->mod_type) < 0) { in astmodule_exec() 9657 if (PyModule_AddObject(m, "Module", state->Module_type) < 0) { in astmodule_exec() 9661 if (PyModule_AddObject(m, "Interactive", state->Interactive_type) < 0) { in astmodule_exec() 9665 if (PyModule_AddObject(m, "Expression", state->Expression_type) < 0) { in astmodule_exec() 9669 if (PyModule_AddObject(m, "FunctionType", state->FunctionType_type) < 0) { in astmodule_exec() 9673 if (PyModule_AddObject(m, "stmt", state->stmt_type) < 0) { in astmodule_exec() 9677 if (PyModule_AddObject(m, "FunctionDef", state->FunctionDef_type) < 0) { in astmodule_exec() 9681 if (PyModule_AddObject(m, "AsyncFunctionDef", state->AsyncFunctionDef_type) in astmodule_exec() 9686 if (PyModule_AddObject(m, "ClassDef", state->ClassDef_type) < 0) { in astmodule_exec() [all …]
|
/external/python/cpython2/Mac/Modules/carbonevt/ |
D | _CarbonEvtmodule.c | 2161 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/ |
D | message.cc | 2955 PyModule_AddObject(m, "MessageMeta", in InitProto2MessageModule() 2973 PyModule_AddObject(m, "Message", reinterpret_cast<PyObject*>(CMessage_Type)); in InitProto2MessageModule() 2981 PyModule_AddObject(m, "RepeatedScalarContainer", in InitProto2MessageModule() 2989 PyModule_AddObject( in InitProto2MessageModule() 3020 PyModule_AddObject(m, "UnknownFieldSet", in InitProto2MessageModule() 3028 PyModule_AddObject(m, "UnknownField", in InitProto2MessageModule() 3036 PyModule_AddObject(m, "ScalarMapContainer", in InitProto2MessageModule() 3038 PyModule_AddObject(m, "MessageMapContainer", in InitProto2MessageModule() 3040 PyModule_AddObject(m, "MapIterator", in InitProto2MessageModule() 3046 PyModule_AddObject( in InitProto2MessageModule() [all …]
|
/external/python/cpython3/Modules/_multiprocessing/ |
D | multiprocessing.c | 187 PyModule_AddObject(module, "SemLock", (PyObject*)&_PyMp_SemLockType); in PyInit__multiprocessing() 215 if (PyModule_AddObject(module, "flags", temp) < 0) in PyInit__multiprocessing()
|
/external/python/cpython2/Doc/includes/ |
D | noddy.c | 52 PyModule_AddObject(m, "Noddy", (PyObject *)&noddy_NoddyType); in initnoddy()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/ |
D | cext.h | 129 if (PyModule_AddObject(module, name, (PyObject *)(type)) < 0) \ 134 if (PyModule_AddObject( \
|
/external/python/pybind11/tests/ |
D | cross_module_gil_utils.cpp | 66 PyModule_AddObject(m, "gil_acquire_funcaddr", in PyInit_cross_module_gil_utils()
|