Home
last modified time | relevance | path

Searched refs:root (Results 1 – 22 of 22) sorted by relevance

/unit/src/test/
H A Dnxt_rbtree1.c31 root = (nxt_rbtree1_node_t **) &tree->root; in nxt_rbtree1_insert()
34 if (*root == sentinel) { in nxt_rbtree1_insert()
39 *root = node; in nxt_rbtree1_insert()
164 root = (nxt_rbtree1_node_t **) &tree->root; in nxt_rbtree1_delete()
185 if (subst == *root) { in nxt_rbtree1_delete()
186 *root = temp; in nxt_rbtree1_delete()
226 *root = subst; in nxt_rbtree1_delete()
340 if (node == *root) { in nxt_rbtree1_left_rotate()
341 *root = temp; in nxt_rbtree1_left_rotate()
370 if (node == *root) { in nxt_rbtree1_right_rotate()
[all …]
H A Dnxt_rbtree1.h26 typedef void (*nxt_rbtree1_insert_pt) (nxt_rbtree1_node_t *root,
30 nxt_rbtree1_node_t *root; member
38 (tree)->root = s; \
47 NXT_EXPORT void nxt_rbtree1_insert_value(nxt_rbtree1_node_t *root,
49 NXT_EXPORT void nxt_rbtree1_insert_timer_value(nxt_rbtree1_node_t *root,
H A Dnxt_rbtree1_test.c13 (((tree)->root) == (tree)->sentinel)
108 node = nxt_rbtree1_min(tree.root, tree.sentinel); in nxt_rbtree1_test()
231 next = tree->root; in nxt_rbtree1_test_find()
/unit/pkg/deb/debian/
H A Dunit.logrotate9 su root root
H A Dunit.example.config6 "root": "/usr/share/doc/unit/examples/php-app",
/unit/pkg/rpm/
H A Dunit.spec.in42 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
193 %defattr(-,root,root,-)
194 %attr(0755,root,root) %{_sbindir}/unitd
195 %attr(0755,root,root) %{_sbindir}/unitd-debug
198 %dir %attr(0755,root,root) %ghost %{_localstatedir}/run/unit
204 %dir %attr(0755,root,root) %{_localstatedir}/log/unit
H A Dunit.module.spec.in38 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
111 %defattr(-,root,root,-)
/unit/test/unit/
H A Dutils.py13 for root, dirs, files in os.walk(path):
15 os.chmod(os.path.join(root, d), 0o777)
17 os.chmod(os.path.join(root, f), 0o777)
/unit/src/
H A Dnxt_php_sapi.c47 nxt_str_t root; member
57 nxt_str_t *root; member
553 target->root.length = nxt_strlen(p); in nxt_php_set_target()
554 target->root.start = p; in nxt_php_set_target()
556 nxt_php_str_trim_trail(&target->root, '/'); in nxt_php_set_target()
572 p = nxt_cpymem(p, target->root.start, target->root.length); in nxt_php_set_target()
590 target->root.start, target->root.length)) in nxt_php_set_target()
996 ctx.root = &target->root; in nxt_php_request_handler()
1053 p = nxt_cpymem(tpath, ctx->root->start, ctx->root->length); in nxt_php_dynamic_request()
1067 ctx->script_filename.length = ctx->root->length in nxt_php_dynamic_request()
[all …]
H A Dnxt_controller.c17 nxt_conf_value_t *root; member
377 nxt_controller_conf.root = conf; in nxt_controller_start()
407 conf = nxt_controller_conf.root; in nxt_controller_send_current_conf()
504 nxt_controller_conf.root = conf; in nxt_controller_conf_default()
1223 value = nxt_conf_get_path(nxt_controller_conf.root, path); in nxt_controller_process_config()
1295 nxt_controller_conf.root, in nxt_controller_process_config()
1352 req->conf.root = value; in nxt_controller_process_config()
1378 nxt_controller_conf.root, in nxt_controller_process_config()
1435 req->conf.root = value; in nxt_controller_process_config()
1903 nxt_controller_conf_store(task, req->conf.root); in nxt_controller_conf_handler()
[all …]
H A Dnxt_conf.h98 nxt_conf_value_t *root, nxt_str_t *path, nxt_conf_value_t *value,
H A Dnxt_conf.c810 nxt_conf_op_compile(nxt_mp_t *mp, nxt_conf_op_t **ops, nxt_conf_value_t *root, in nxt_conf_op_compile() argument
840 switch (root->type) { in nxt_conf_op_compile()
843 node = nxt_conf_get_object_member(root, &token, &op->index); in nxt_conf_op_compile()
855 node = nxt_conf_get_array_element(root, index); in nxt_conf_op_compile()
871 root = node; in nxt_conf_op_compile()
919 if (root->type == NXT_CONF_VALUE_ARRAY) { in nxt_conf_op_compile()
920 if (op->index > root->u.array->count) { in nxt_conf_op_compile()
939 op->index = root->u.object->count; in nxt_conf_op_compile()
H A Dnxt_main_process.c1274 nxt_conf_value_t *conf, *root, *value, *mounts; in nxt_main_port_modules_handler() local
1325 root = nxt_conf_get_path(conf, &root_path); in nxt_main_port_modules_handler()
1326 if (root == NULL) { in nxt_main_port_modules_handler()
1331 value = nxt_conf_get_array_element(root, index); in nxt_main_port_modules_handler()
H A Dnxt_router.c1585 root = nxt_conf_json_parse(tmcf->mem_pool, start, end, NULL); in nxt_router_conf_create()
1586 if (root == NULL) { in nxt_router_conf_create()
1594 ret = nxt_conf_map_object(mp, root, nxt_router_conf, in nxt_router_conf_create()
1605 conf = nxt_conf_get_path(root, &static_path); in nxt_router_conf_create()
1614 applications = nxt_conf_get_path(root, &applications_path); in nxt_router_conf_create()
1849 conf = nxt_conf_get_path(root, &routes_path); in nxt_router_conf_create()
1859 ret = nxt_upstreams_create(task, tmcf, root); in nxt_router_conf_create()
1864 http = nxt_conf_get_path(root, &http_path); in nxt_router_conf_create()
1872 websocket = nxt_conf_get_path(root, &websocket_path); in nxt_router_conf_create()
1874 listeners = nxt_conf_get_path(root, &listeners_path); in nxt_router_conf_create()
[all …]
/unit/pkg/deb/debian.module/
H A Dunit.example-php-config6 "root": "/usr/share/doc/unit-php/examples/phpinfo-app",
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-php-config6 "root": "/usr/share/doc/unit-php/examples/phpinfo-app",
H A Dunit.example.config6 "root": "/usr/share/doc/unit-php/examples/phpinfo-app",
/unit/src/java/nginx/unit/
H A DContext.java374 File root = new File(webapp); in loadApp() local
375 if (!root.exists()) { in loadApp()
386 if (!root.isDirectory()) { in loadApp()
387 root = extractWar(root); in loadApp()
388 extracted_dir_ = root; in loadApp()
391 webapp_ = root; in loadApp()
402 File lib = new File(root, WEB_INF_LIB); in loadApp()
423 processWebXml(root); in loadApp()
1105 if (root.isDirectory()) { in processWebXml()
1117 JarFile jf = new JarFile(root); in processWebXml()
[all …]
/unit/tools/
H A Dsetup-unit225 echoErr "This script requires root privileges to run; now exiting."
/unit/
H A DREADME.md87 "root": "/www/helloworld/"
150 "root": "/www/helloworld/"
H A DCHANGES98 it serves, rather than a document root directory to be prepended to
404 *) Feature: the "rootfs" isolation option for changing root filesystem
891 "root" path.
/unit/auto/
H A Dunix208 getgrouplist(\"root\", 0, NULL, NULL);