Home
last modified time | relevance | path

Searched refs:func (Results 1 – 9 of 9) sorted by last modified time

/unit/test/
H A Dconftest.py120 def print_log_on_assert(func): argument
123 func(*args, **kwargs)
/unit/src/
H A Dnxt_js.c70 nxt_str_t *func; in nxt_js_add_tpl() local
110 func = nxt_array_add(jcf->funcs); in nxt_js_add_tpl()
111 if (nxt_slow_path(func == NULL)) { in nxt_js_add_tpl()
115 func->start = start; in nxt_js_add_tpl()
116 func->length = p - start; in nxt_js_add_tpl()
130 nxt_str_t *func; in nxt_js_compile() local
134 func = jcf->funcs->elts; in nxt_js_compile()
137 size += func[i].length + 1; in nxt_js_compile()
148 func = jcf->funcs->elts; in nxt_js_compile()
151 p = nxt_cpymem(p, func[i].start, func[i].length); in nxt_js_compile()
[all …]
H A Dnxt_php_sapi.c189 zend_function *func; in PHP_MINIT_FUNCTION() local
193 func = nxt_php_hash_str_find_ptr(CG(function_table), &chdir); in PHP_MINIT_FUNCTION()
194 if (nxt_slow_path(func == NULL)) { in PHP_MINIT_FUNCTION()
198 nxt_php_chdir_handler = func->internal_function.handler; in PHP_MINIT_FUNCTION()
199 func->internal_function.handler = nxt_php_chdir; in PHP_MINIT_FUNCTION()
/unit/src/python/
H A Dnxt_python_asgi.c68 PyObject *func; in nxt_python_asgi_check() local
71 func = nxt_python_asgi_get_func(obj); in nxt_python_asgi_check()
73 if (func == NULL) { in nxt_python_asgi_check()
77 code = (PyCodeObject *) PyFunction_GET_CODE(func); in nxt_python_asgi_check()
86 Py_DECREF(func); in nxt_python_asgi_check()
142 PyObject *func; in nxt_python_asgi_init() local
169 func = nxt_python_asgi_get_func(nxt_py_targets->target[i].application); in nxt_python_asgi_init()
170 if (nxt_slow_path(func == NULL)) { in nxt_python_asgi_init()
177 code = (PyCodeObject *) PyFunction_GET_CODE(func); in nxt_python_asgi_init()
185 Py_DECREF(func); in nxt_python_asgi_init()
/unit/auto/
H A Dthreads195 void *func(void *p);
197 void *func(void *p) {
207 if (pthread_create(&pt, NULL, func, NULL))
/unit/src/nodejs/unit-http/
H A Dnxt_napi.h441 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/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-go-app9 func handler(w http.ResponseWriter, r *http.Request) {
17 func main() {
/unit/pkg/deb/debian/
H A Dunit.example-go-app9 func handler(w http.ResponseWriter, r *http.Request) {
17 func main() {
/unit/pkg/deb/debian.module/
H A Dunit.example-go-app9 func handler(w http.ResponseWriter, r *http.Request) {
17 func main() {