/unit/src/wasm/ |
H A D | nxt_rt_wasmtime.c | 125 const nxt_wasm_func_t *func = &ctx->fh[hook].func; in nxt_wasmtime_execute_hook() local 148 const nxt_wasm_func_t *func = &ctx->fh[NXT_WASM_FH_REQUEST].func; in nxt_wasmtime_execute_request() local 173 wasmtime_func_callback_t func; in nxt_wasmtime_set_function_imports() member 185 .func = nxt_wasm_get_init_mem_size, in nxt_wasmtime_set_function_imports() 190 .func = nxt_wasm_response_end, in nxt_wasmtime_set_function_imports() 194 .func = nxt_wasm_send_response, in nxt_wasmtime_set_function_imports() 199 .func = nxt_wasm_send_headers, in nxt_wasmtime_set_function_imports() 204 .func = nxt_wasm_set_resp_status, in nxt_wasmtime_set_function_imports() 261 ctx->fh[i].func = item.of.func; in nxt_wasmtime_get_function_exports() 308 const nxt_wasm_func_t *func = &ctx->fh[NXT_WASM_FH_MALLOC].func; in nxt_wasmtime_init_memory() local [all …]
|
H A D | nxt_wasm.h | 107 nxt_wasm_func_t func; member
|
/unit/src/ |
H A D | nxt_js.c | 240 nxt_str_t *func; in nxt_js_add_tpl() local 278 func = nxt_array_add(jcf->funcs); in nxt_js_add_tpl() 283 func->start = start; in nxt_js_add_tpl() 284 func->length = p - start; in nxt_js_add_tpl() 298 nxt_str_t *func; in nxt_js_compile() local 311 func = jcf->funcs->elts; in nxt_js_compile() 314 size += func[i].length + 1; in nxt_js_compile() 325 func = jcf->funcs->elts; in nxt_js_compile() 328 p = nxt_cpymem(p, func[i].start, func[i].length); in nxt_js_compile() 392 njs_function_t *func; in nxt_js_call() local [all …]
|
H A D | nxt_php_sapi.c | 194 zend_function *func; in PHP_MINIT_FUNCTION() local 198 func = nxt_php_hash_str_find_ptr(CG(function_table), &chdir); in PHP_MINIT_FUNCTION() 199 if (nxt_slow_path(func == NULL)) { in PHP_MINIT_FUNCTION() 203 nxt_php_chdir_handler = func->internal_function.handler; in PHP_MINIT_FUNCTION() 204 func->internal_function.handler = nxt_php_chdir; in PHP_MINIT_FUNCTION()
|
/unit/pkg/deb/debian/ |
H A D | unit.example-go-app | 9 func handler(w http.ResponseWriter, r *http.Request) { 17 func main() {
|
/unit/pkg/deb/debian.module/ |
H A D | unit.example-go-app | 9 func handler(w http.ResponseWriter, r *http.Request) { 17 func main() {
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | unit.example-go-app | 9 func handler(w http.ResponseWriter, r *http.Request) { 17 func main() {
|
/unit/src/nodejs/unit-http/ |
H A D | nxt_napi.h | 441 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback() 447 status = napi_make_callback(env_, ctx, val, func, argc, argv, &res); in make_callback() 470 make_callback(napi_async_context ctx, napi_value val, napi_value func) in make_callback() 472 return make_callback(ctx, val, func, 0, NULL); in make_callback() 477 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback() 480 return make_callback(ctx, val, func, 1, &arg1); in make_callback() 485 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback() 490 return make_callback(ctx, val, func, 2, args); in make_callback() 495 make_callback(napi_async_context ctx, napi_value val, napi_value func, in make_callback() 500 return make_callback(ctx, val, func, 3, args); in make_callback()
|
/unit/test/unit/ |
H A D | log.py | 11 def print_log_on_assert(func): argument 14 func(*args, **kwargs)
|
/unit/auto/ |
H A D | threads | 195 void *func(void *p); 197 void *func(void *p) { 207 if (pthread_create(&pt, NULL, func, NULL))
|
/unit/src/python/ |
H A D | nxt_python_asgi.c | 71 PyObject *func; in nxt_python_asgi_check() local 74 func = nxt_python_asgi_get_func(obj); in nxt_python_asgi_check() 76 if (func == NULL) { in nxt_python_asgi_check() 80 code = (PyCodeObject *) PyFunction_GET_CODE(func); in nxt_python_asgi_check() 89 Py_DECREF(func); in nxt_python_asgi_check() 145 PyObject *func; in nxt_python_asgi_init() local 172 func = nxt_python_asgi_get_func(nxt_py_targets->target[i].application); in nxt_python_asgi_init() 173 if (nxt_slow_path(func == NULL)) { in nxt_python_asgi_init() 180 code = (PyCodeObject *) PyFunction_GET_CODE(func); in nxt_python_asgi_init() 188 Py_DECREF(func); in nxt_python_asgi_init()
|