Searched refs:cb (Results 1 – 7 of 7) sorted by relevance
/unit/src/nodejs/unit-http/ |
H A D | websocket_connection.js | 519 this.sendBytes(data, cb); 522 this.sendUTF(data, cb); 537 this.fragmentAndSend(frame, cb); 550 this.fragmentAndSend(frame, cb); 604 this.sendFrame(frame, cb); 614 cb(err); 615 cb = null; 621 cb(); 661 this.sendFrame(frame, cb); 674 if (typeof cb === 'function') { [all …]
|
H A D | nxt_napi.h | 75 create_function(const char *name, size_t len, napi_callback cb, void *data) in create_function() 80 status = napi_create_function(env_, name, len, cb, data, &res); in create_function() 90 create_function(napi_callback cb) in create_function() 92 return create_function(NULL, 0, cb, NULL); in create_function() 575 set_named_property(napi_value obj, const char *name, napi_callback cb) in set_named_property() 577 set_named_property(obj, name, create_function(cb)); in set_named_property()
|
H A D | http_server.js | 60 ServerResponse.prototype.writeContinue = function writeContinue(cb) { argument 63 ServerResponse.prototype.writeProcessing = function writeProcessing(cb) { argument
|
/unit/src/python/ |
H A D | nxt_python_asgi.h | 40 nxt_py_asgi_enum_header_cb cb, void *data);
|
H A D | nxt_python_asgi.c | 1220 nxt_py_asgi_enum_headers(PyObject *headers, nxt_py_asgi_enum_header_cb cb, in nxt_py_asgi_enum_headers() argument 1268 res = cb(data, i, name, val); in nxt_py_asgi_enum_headers()
|
/unit/src/ |
H A D | nxt_unit.c | 1639 cb = &lib->callbacks; in nxt_unit_process_websocket() 1712 if (cb->close_handler) { in nxt_unit_process_websocket() 1715 cb->close_handler(req); in nxt_unit_process_websocket() 1730 nxt_unit_callbacks_t *cb; in nxt_unit_process_shm_ack() local 1733 cb = &lib->callbacks; in nxt_unit_process_shm_ack() 1735 if (cb->shm_ack_handler != NULL) { in nxt_unit_process_shm_ack() 1736 cb->shm_ack_handler(ctx); in nxt_unit_process_shm_ack() 5782 cb = &lib->callbacks; in nxt_unit_quit() 5809 if (cb->quit != NULL) { in nxt_unit_quit() 5810 cb->quit(ctx); in nxt_unit_quit() [all …]
|
/unit/src/perl/ |
H A D | nxt_perl_psgi.c | 24 CV *cb; member 521 pctx->cb = nxt_perl_psgi_cb; in nxt_perl_psgi_ctx_init() 1109 XPUSHs(newRV_noinc((SV*) pctx->cb)); in nxt_perl_psgi_result_cb()
|