Searched refs:handlers (Results 1 – 4 of 4) sorted by relevance
33 this.handlers = [];87 this.handlers.push({97 this.handlers.splice(index, 1);106 for (var i=0, len=this.handlers.length; i < len; i++) {107 var handler = this.handlers[i];139 for (var j=0, len=this.handlers.length; j < len; j++) {140 var handler = this.handlers[j];
162 const nxt_port_handlers_t *handlers) in nxt_port_enable() argument166 port->data = (nxt_port_handler_t *) (handlers); in nxt_port_enable()175 nxt_port_handler_t *handlers; in nxt_port_handler() local183 handlers = msg->port->data; in nxt_port_handler()184 handlers[msg->port_msg.type](task, msg); in nxt_port_handler()
340 const nxt_port_handlers_t *handlers);
223 } handlers[] = { in nxt_python_asgi_ctx_data_alloc() local266 for (i = 0; i < nxt_nitems(handlers); i++) { in nxt_python_asgi_ctx_data_alloc()267 obj = PyObject_GetAttrString(loop, handlers[i].key); in nxt_python_asgi_ctx_data_alloc()270 handlers[i].key); in nxt_python_asgi_ctx_data_alloc()274 *handlers[i].handler = obj; in nxt_python_asgi_ctx_data_alloc()278 handlers[i].key); in nxt_python_asgi_ctx_data_alloc()