Lines Matching defs:name
784 const char *name;
932 if (_PyObject_LookupAttr(codec_info, &_Py_ID(name), &res) < 0) {
937 while (e->name != NULL) {
938 if (_PyUnicode_EqualToASCIIString(res, e->name)) {
1006 const char *name = PyUnicode_AsUTF8AndSize(errors, &name_length);
1007 if (name == NULL) {
1010 if (strlen(name) != (size_t)name_length) {
1014 PyObject *handler = PyCodec_LookupError(name);
1035 encoding gives the name of the encoding that the stream will be
2888 if (_PyObject_LookupAttr((PyObject *) self, &_Py_ID(name), &nameobj) < 0) {
2896 s = PyUnicode_FromFormat(" name=%R", nameobj);
3101 return PyObject_GetAttr(self->buffer, &_Py_ID(name));
3248 {"name", (getter)textiowrapper_name_get, NULL, NULL},