Lines Matching defs:obj
693 _Py_Uid_Converter(PyObject *obj, uid_t *p)
701 index = _PyNumber_Index(obj);
705 _PyType_Name(Py_TYPE(obj)));
799 _Py_Gid_Converter(PyObject *obj, gid_t *p)
807 index = _PyNumber_Index(obj);
811 _PyType_Name(Py_TYPE(obj)));
912 _Py_Dev_Converter(PyObject *obj, void *p)
914 *((dev_t *)p) = PyLong_AsUnsignedLongLong(obj);
1511 _Py_Sigset_Converter(PyObject *obj, void *addr)
1525 iterator = PyObject_GetIter(obj);
3872 PyObject *obj;
3874 obj = PyBytes_FromStringAndSize(buf, strlen(buf));
3877 obj = PyUnicode_DecodeFSDefault(buf);
3881 return obj;
6751 If obj is non-NULL it must be callable. */
6753 check_null_or_callable(PyObject *obj, const char* obj_name)
6755 if (obj && !PyCallable_Check(obj)) {
6757 obj_name, _PyType_Name(Py_TYPE(obj)));