Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 7 of 7) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dwebsocket_connection.js519 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 Dnxt_napi.h75 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 Dhttp_server.js51 ServerResponse.prototype.writeContinue = function writeContinue(cb) { argument
54 ServerResponse.prototype.writeProcessing = function writeProcessing(cb) { argument
/unit/src/python/
H A Dnxt_python_asgi.h40 nxt_py_asgi_enum_header_cb cb, void *data);
H A Dnxt_python_asgi.c1110 nxt_py_asgi_enum_headers(PyObject *headers, nxt_py_asgi_enum_header_cb cb, in nxt_py_asgi_enum_headers() argument
1158 res = cb(data, i, name, val); in nxt_py_asgi_enum_headers()
/unit/src/
H A Dnxt_unit.c589 nxt_unit_callbacks_t *cb; in nxt_unit_create() local
632 cb = &lib->callbacks; in nxt_unit_create()
1625 cb = &lib->callbacks; in nxt_unit_process_websocket()
1698 if (cb->close_handler) { in nxt_unit_process_websocket()
1701 cb->close_handler(req); in nxt_unit_process_websocket()
1716 nxt_unit_callbacks_t *cb; in nxt_unit_process_shm_ack() local
1719 cb = &lib->callbacks; in nxt_unit_process_shm_ack()
1722 cb->shm_ack_handler(ctx); in nxt_unit_process_shm_ack()
5775 cb = &lib->callbacks; in nxt_unit_quit()
5802 if (cb->quit != NULL) { in nxt_unit_quit()
[all …]
/unit/src/perl/
H A Dnxt_perl_psgi.c24 CV *cb; member
520 pctx->cb = nxt_perl_psgi_cb; in nxt_perl_psgi_ctx_init()
1108 XPUSHs(newRV_noinc((SV*) pctx->cb)); in nxt_perl_psgi_result_cb()