/external/python/cpython3/Python/ |
_warnings.c | 57 PyObject *warnings_module, *obj; local 67 warnings_module = PyImport_Import(warnings_str); 68 if (warnings_module == NULL) { 85 warnings_module = PyImport_GetModule(warnings_str); 86 if (warnings_module == NULL) 90 (void)_PyObject_LookupAttrId(warnings_module, attr_id, &obj); 91 Py_DECREF(warnings_module); [all...] |
pylifecycle.c | 976 PyObject *warnings_module = PyImport_ImportModule("warnings"); local 977 if (warnings_module == NULL) { 981 Py_XDECREF(warnings_module); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
_warnings.c | 43 PyObject *warnings_module;
local 57 warnings_module = PyDict_GetItem(all_modules, warnings_str);
58 if (!PyObject_HasAttrString(warnings_module, attr))
60 return PyObject_GetAttrString(warnings_module, attr);
|
pythonrun.c | 244 PyObject *warnings_module = PyImport_ImportModule("warnings");
local 245 if (!warnings_module)
247 Py_XDECREF(warnings_module);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
_warnings.c | 43 PyObject *warnings_module;
local 57 warnings_module = PyDict_GetItem(all_modules, warnings_str);
58 if (!PyObject_HasAttrString(warnings_module, attr))
60 return PyObject_GetAttrString(warnings_module, attr);
|
pythonrun.c | 256 PyObject *warnings_module = PyImport_ImportModule("warnings");
local 257 if (!warnings_module)
259 Py_XDECREF(warnings_module);
[all...] |
/external/python/cpython2/Python/ |
_warnings.c | 43 PyObject *warnings_module; local 57 warnings_module = PyDict_GetItem(all_modules, warnings_str); 58 if (!PyObject_HasAttrString(warnings_module, attr)) 60 return PyObject_GetAttrString(warnings_module, attr);
|
pythonrun.c | 277 PyObject *warnings_module = PyImport_ImportModule("warnings"); local 278 if (!warnings_module) 280 Py_XDECREF(warnings_module); [all...] |