Home
last modified time | relevance | path

Searched refs:root (Results 1 – 21 of 21) 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.in46 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
202 %defattr(-,root,root,-)
203 %attr(0755,root,root) %{_sbindir}/unitd
204 %attr(0755,root,root) %{_sbindir}/unitd-debug
207 %dir %attr(0755,root,root) %ghost %{_localstatedir}/run/unit
213 %dir %attr(0755,root,root) %{_localstatedir}/log/unit
H A Dunit.module.spec.in42 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
122 %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.c46 nxt_str_t root; member
56 nxt_str_t *root; member
550 target->root.length = nxt_strlen(p); in nxt_php_set_target()
551 target->root.start = p; in nxt_php_set_target()
553 nxt_php_str_trim_trail(&target->root, '/'); in nxt_php_set_target()
569 p = nxt_cpymem(p, target->root.start, target->root.length); in nxt_php_set_target()
587 target->root.start, target->root.length)) in nxt_php_set_target()
936 ctx.root = &target->root; in nxt_php_request_handler()
989 ctx->script_filename.length = ctx->root->length in nxt_php_dynamic_request()
1003 ctx->script_name.start = p + ctx->root->length; in nxt_php_dynamic_request()
[all …]
H A Dnxt_controller.c16 nxt_conf_value_t *root; member
369 nxt_controller_conf.root = conf; in nxt_controller_start()
399 conf = nxt_controller_conf.root; in nxt_controller_send_current_conf()
496 nxt_controller_conf.root = conf; in nxt_controller_conf_default()
1176 value = nxt_conf_get_path(nxt_controller_conf.root, path); in nxt_controller_process_config()
1248 nxt_controller_conf.root, in nxt_controller_process_config()
1305 req->conf.root = value; in nxt_controller_process_config()
1331 nxt_controller_conf.root, in nxt_controller_process_config()
1388 req->conf.root = value; in nxt_controller_process_config()
1734 nxt_controller_conf_store(task, req->conf.root); in nxt_controller_conf_handler()
[all …]
H A Dnxt_conf.c796 nxt_conf_op_compile(nxt_mp_t *mp, nxt_conf_op_t **ops, nxt_conf_value_t *root, in nxt_conf_op_compile() argument
826 switch (root->type) { in nxt_conf_op_compile()
829 node = nxt_conf_get_object_member(root, &token, &op->index); in nxt_conf_op_compile()
841 node = nxt_conf_get_array_element(root, index); in nxt_conf_op_compile()
857 root = node; in nxt_conf_op_compile()
905 if (root->type == NXT_CONF_VALUE_ARRAY) { in nxt_conf_op_compile()
906 if (op->index > root->u.array->count) { in nxt_conf_op_compile()
925 op->index = root->u.object->count; in nxt_conf_op_compile()
H A Dnxt_conf.h97 nxt_conf_value_t *root, nxt_str_t *path, nxt_conf_value_t *value,
H A Dnxt_main_process.c1284 nxt_conf_value_t *conf, *root, *value, *mounts; in nxt_main_port_modules_handler() local
1335 root = nxt_conf_get_path(conf, &root_path); in nxt_main_port_modules_handler()
1336 if (root == NULL) { in nxt_main_port_modules_handler()
1341 value = nxt_conf_get_array_element(root, index); in nxt_main_port_modules_handler()
H A Dnxt_router.c1521 root = nxt_conf_json_parse(tmcf->mem_pool, start, end, NULL); in nxt_router_conf_create()
1522 if (root == NULL) { in nxt_router_conf_create()
1530 ret = nxt_conf_map_object(mp, root, nxt_router_conf, in nxt_router_conf_create()
1541 conf = nxt_conf_get_path(root, &static_path); in nxt_router_conf_create()
1550 applications = nxt_conf_get_path(root, &applications_path); in nxt_router_conf_create()
1785 conf = nxt_conf_get_path(root, &routes_path); in nxt_router_conf_create()
1794 ret = nxt_upstreams_create(task, tmcf, root); in nxt_router_conf_create()
1799 http = nxt_conf_get_path(root, &http_path); in nxt_router_conf_create()
1807 websocket = nxt_conf_get_path(root, &websocket_path); in nxt_router_conf_create()
1809 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/
H A DREADME.md87 "root": "/www/helloworld/"
150 "root": "/www/helloworld/"
H A DCHANGES59 it serves, rather than a document root directory to be prepended to
365 *) Feature: the "rootfs" isolation option for changing root filesystem
852 "root" path.
/unit/auto/
H A Dunix223 getgrouplist(\"root\", 0, NULL, NULL);