Home
last modified time | relevance | path

Searched refs:handlernum (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dpyexpat.c1413 int handlernum = handlername2int(name); in xmlparse_getattr() local
1415 if (handlernum != -1) { in xmlparse_getattr()
1416 PyObject *result = self->handlers[handlernum]; in xmlparse_getattr()
1518 int handlernum = handlername2int(name); in sethandler() local
1519 if (handlernum >= 0) { in sethandler()
1521 PyObject *temp = self->handlers[handlernum]; in sethandler()
1535 if (handlernum == CharacterData && self->in_callback) in sethandler()
1541 c_handler = handler_info[handlernum].handler; in sethandler()
1543 self->handlers[handlernum] = v; in sethandler()
1545 handler_info[handlernum].setter(self->itself, c_handler); in sethandler()
/external/python/cpython3/Modules/
Dpyexpat.c1188 int handlernum = (int)(hi - handler_info); in xmlparse_handler_getter() local
1189 PyObject *result = self->handlers[handlernum]; in xmlparse_handler_getter()
1200 int handlernum = (int)(hi - handler_info); in xmlparse_handler_setter() local
1205 if (handlernum == CharacterData) { in xmlparse_handler_setter()
1228 if (handlernum == CharacterData && self->in_callback) in xmlparse_handler_setter()
1234 c_handler = handler_info[handlernum].handler; in xmlparse_handler_setter()
1236 Py_XSETREF(self->handlers[handlernum], v); in xmlparse_handler_setter()
1237 handler_info[handlernum].setter(self->itself, c_handler); in xmlparse_handler_setter()