Home
last modified time | relevance | path

Searched refs:module_api_version (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Objects/
Dmoduleobject.c130 check_api_version(const char *name, int module_api_version) in check_api_version() argument
132 if (module_api_version != PYTHON_API_VERSION && module_api_version != PYTHON_ABI_VERSION) { in check_api_version()
138 PYTHON_API_VERSION, name, module_api_version); in check_api_version()
174 PyModule_Create2(struct PyModuleDef* module, int module_api_version) in PyModule_Create2() argument
178 return _PyModule_CreateInitialized(module, module_api_version); in PyModule_Create2()
182 _PyModule_CreateInitialized(struct PyModuleDef* module, int module_api_version) in _PyModule_CreateInitialized() argument
190 if (!check_api_version(name, module_api_version)) { in _PyModule_CreateInitialized()
245 PyModule_FromDefAndSpec2(struct PyModuleDef* def, PyObject *spec, int module_api_version) in PyModule_FromDefAndSpec2() argument
266 if (!check_api_version(name, module_api_version)) { in PyModule_FromDefAndSpec2()
/external/swiftshader/include/Android/hardware/
Dhardware.h34 uint16_t module_api_version; member
/external/python/cpython2/Python/
Dmodsupport.c33 PyObject *passthrough, int module_api_version) in Py_InitModule4() argument
40 if (module_api_version != PYTHON_API_VERSION) { in Py_InitModule4()
45 module_api_version); in Py_InitModule4()
/external/swiftshader/src/System/
DGrallocAndroid.cpp33 m_major_version = (module->module_api_version >> 8) & 0xff; in GrallocModule()
/external/swiftshader/src/Common/
DGrallocAndroid.cpp33 m_major_version = (module->module_api_version >> 8) & 0xff; in GrallocModule()
/external/python/cpython3/Doc/c-api/
Dmodule.rst227 like :c:func:`PyModule_Create2` with *module_api_version* set to
231 .. c:function:: PyObject* PyModule_Create2(PyModuleDef *def, int module_api_version)
234 API version *module_api_version*. If that version does not match the version
362 with *module_api_version* set to :const:`PYTHON_API_VERSION`.
366 …ion:: PyObject * PyModule_FromDefAndSpec2(PyModuleDef *def, PyObject *spec, int module_api_version)
369 ModuleSpec *spec*, assuming the API version *module_api_version*.
/external/avb/boot_control/
Dboot_control_avb.c154 .module_api_version = BOOT_CONTROL_MODULE_API_VERSION_0_1,
/external/python/cpython3/Include/
Dmodsupport.h211 int module_api_version);
/external/mesa3d/src/amd/vulkan/
Dradv_android.c45 .module_api_version = HWVULKAN_MODULE_API_VERSION_0_1,
/external/mesa3d/src/intel/vulkan/
Danv_android.c45 .module_api_version = HWVULKAN_MODULE_API_VERSION_0_1,
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c266 switch (ctx->module->common.module_api_version) { in test_init_gralloc()
352 switch (ctx->module->common.module_api_version) { in test_api()
/external/minigbm/cros_gralloc/gralloc0/
Dgralloc0.cc409 .module_api_version = GRALLOC_MODULE_API_VERSION_0_3,
/external/drm_hwcomposer/
Ddrmhwctwo.cpp1198 .module_api_version = HARDWARE_MODULE_API_VERSION(2, 0),
/external/python/cpython3/Doc/data/
Drefcounts.dat1335 PyModule_Create2:int:module_api_version::
1348 PyModule_FromDefAndSpec2:int:module_api_version::