Lines Matching refs:name

410 static int (*py3_PyModule_AddObject)(PyObject *m, const char *name, PyObject *o);
411 static int (*py3_PyImport_AppendInittab)(const char *name, PyObject* (*initfunc)(void));
430 static PyObject* (*py3_PyObject_GenericGetAttr)(PyObject *obj, PyObject *name);
440 static PyObject* (*py3_PyErr_NewException)(char *name, PyObject *base, PyObject *dict);
493 char *name; member
807 py3_funcname_table[i].name)) == NULL) in py3_runtime_link_init()
812 semsg(_(e_loadfunc), py3_funcname_table[i].name); in py3_runtime_link_init()
955 #define GET_ATTR_STRING(name, nameobj) \ argument
956 char *name = ""; \
958 name = (char *)_PyUnicode_AsString(nameobj)
1317 GET_ATTR_STRING(name, nameobj); in OutputGetattro()
1319 if (strcmp(name, "softspace") == 0) in OutputGetattro()
1321 else if (strcmp(name, "errors") == 0) in OutputGetattro()
1323 else if (strcmp(name, "encoding") == 0) in OutputGetattro()
1332 GET_ATTR_STRING(name, nameobj); in OutputSetattro()
1334 return OutputSetattr((OutputObject *)(self), name, val); in OutputSetattro()
1392 GET_ATTR_STRING(name, nameobj); in BufferGetattro()
1394 if ((r = BufferAttrValid((BufferObject *)(self), name))) in BufferGetattro()
1400 r = BufferAttr((BufferObject *)(self), name); in BufferGetattro()
1410 GET_ATTR_STRING(name, nameobj); in BufferSetattro()
1412 return BufferSetattr((BufferObject *)(self), name, val); in BufferSetattro()
1505 GET_ATTR_STRING(name, nameobj); in RangeGetattro()
1507 if (strcmp(name, "start") == 0) in RangeGetattro()
1509 else if (strcmp(name, "end") == 0) in RangeGetattro()
1593 GET_ATTR_STRING(name, nameobj); in TabPageGetattro()
1595 if ((r = TabPageAttrValid((TabPageObject *)(self), name))) in TabPageGetattro()
1601 r = TabPageAttr((TabPageObject *)(self), name); in TabPageGetattro()
1615 GET_ATTR_STRING(name, nameobj); in WindowGetattro()
1617 if ((r = WindowAttrValid((WindowObject *)(self), name))) in WindowGetattro()
1623 r = WindowAttr((WindowObject *)(self), name); in WindowGetattro()
1633 GET_ATTR_STRING(name, nameobj); in WindowSetattro()
1635 return WindowSetattr((WindowObject *)(self), name, val); in WindowSetattro()
1675 GET_ATTR_STRING(name, nameobj); in CurrentGetattro()
1676 if (!(r = CurrentGetattr(self, name))) in CurrentGetattro()
1684 GET_ATTR_STRING(name, nameobj); in CurrentSetattro()
1685 return CurrentSetattr(self, name, value); in CurrentSetattro()
1695 GET_ATTR_STRING(name, nameobj); in DictionaryGetattro()
1697 if (strcmp(name, "locked") == 0) in DictionaryGetattro()
1699 else if (strcmp(name, "scope") == 0) in DictionaryGetattro()
1708 GET_ATTR_STRING(name, nameobj); in DictionarySetattro()
1709 return DictionarySetattr((DictionaryObject *)(self), name, val); in DictionarySetattro()
1717 GET_ATTR_STRING(name, nameobj); in ListGetattro()
1719 if (strcmp(name, "locked") == 0) in ListGetattro()
1728 GET_ATTR_STRING(name, nameobj); in ListSetattro()
1729 return ListSetattr((ListObject *)(self), name, val); in ListSetattro()
1740 GET_ATTR_STRING(name, nameobj); in FunctionGetattro()
1742 r = FunctionAttr(this, name); in FunctionGetattro()