Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 11 of 11) sorted by relevance

/unit/src/python/
H A Dnxt_python.c79 nxt_python_targets_t *targets; in nxt_python_start() local
196 n = (c->targets != NULL ? nxt_conf_object_members_count(c->targets) : 1); in nxt_python_start()
200 targets = nxt_unit_malloc(NULL, size); in nxt_python_start()
201 if (nxt_slow_path(targets == NULL)) { in nxt_python_start()
206 memset(targets, 0, size); in nxt_python_start()
208 targets->count = n; in nxt_python_start()
209 nxt_py_targets = targets; in nxt_python_start()
211 if (c->targets != NULL) { in nxt_python_start()
215 cv = nxt_conf_next_object_member(c->targets, &name, &next); in nxt_python_start()
241 proto = nxt_python_asgi_check(targets->target[0].application) in nxt_python_start()
[all …]
/unit/test/
H A Dtest_asgi_targets.py53 def conf_targets(self, targets): argument
54 assert 'success' in self.conf(targets, 'applications/targets/targets')
/unit/src/nodejs/unit-http/
H A Dbinding_pub.gyp2 'targets': [{
H A Dbinding.gyp2 'targets': [{
/unit/src/
H A Dnxt_application.h57 nxt_conf_value_t *targets; member
62 nxt_conf_value_t *targets; member
H A Dnxt_router.h134 nxt_str_t *targets; member
H A Dnxt_php_sapi.c462 n = (c->targets != NULL) ? nxt_conf_object_members_count(c->targets) : 1; in nxt_php_start()
469 if (c->targets != NULL) { in nxt_php_start()
473 value = nxt_conf_next_object_member(c->targets, &name, &next); in nxt_php_start()
H A Dnxt_conf_validation.c1754 nxt_conf_value_t *targets; in nxt_conf_vldt_python() local
1758 targets = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_python()
1760 if (targets != NULL) { in nxt_conf_vldt_python()
2931 nxt_conf_value_t *targets; in nxt_conf_vldt_php() local
2935 targets = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_php()
2937 if (targets != NULL) { in nxt_conf_vldt_php()
H A Dnxt_router.c1483 nxt_str_t *t, *s, *targets; in nxt_router_conf_create() local
1667 targets = nxt_mp_get(app_mp, sizeof(nxt_str_t) * n); in nxt_router_conf_create()
1668 if (nxt_slow_path(targets == NULL)) { in nxt_router_conf_create()
1678 s = nxt_str_dup(app_mp, &targets[i], &target); in nxt_router_conf_create()
1685 targets = NULL; in nxt_router_conf_create()
1722 app->targets = targets; in nxt_router_conf_create()
2428 nxt_str_t *targets; in nxt_router_application_init() local
2448 targets = app->targets; in nxt_router_application_init()
2450 for (i = 0; !nxt_strstr_eq(target, &targets[i]); i++); in nxt_router_application_init()
H A Dnxt_main_process.c220 offsetof(nxt_common_app_conf_t, u.python.targets),
235 offsetof(nxt_common_app_conf_t, u.php.targets),
/unit/
H A DCHANGES141 *) Feature: multiple "targets" in Python applications.
368 *) Feature: multiple "targets" in PHP applications.