Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python.c140 nxt_python_targets_t *targets; in nxt_python_start() local
260 n = (c->targets != NULL ? nxt_conf_object_members_count(c->targets) : 1); in nxt_python_start()
264 targets = nxt_unit_malloc(NULL, size); in nxt_python_start()
265 if (nxt_slow_path(targets == NULL)) { in nxt_python_start()
270 memset(targets, 0, size); in nxt_python_start()
272 targets->count = n; in nxt_python_start()
273 nxt_py_targets = targets; in nxt_python_start()
275 if (c->targets != NULL) { in nxt_python_start()
279 cv = nxt_conf_next_object_member(c->targets, &name, &next); in nxt_python_start()
305 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.h56 nxt_conf_value_t *targets; member
61 nxt_conf_value_t *targets; member
H A Dnxt_router.h136 nxt_str_t *targets; member
H A Dnxt_php_sapi.c465 n = (c->targets != NULL) ? nxt_conf_object_members_count(c->targets) : 1; in nxt_php_start()
472 if (c->targets != NULL) { in nxt_php_start()
476 value = nxt_conf_next_object_member(c->targets, &name, &next); in nxt_php_start()
H A Dnxt_conf_validation.c1771 nxt_conf_value_t *targets; in nxt_conf_vldt_python() local
1775 targets = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_python()
1777 if (targets != NULL) { in nxt_conf_vldt_python()
2953 nxt_conf_value_t *targets; in nxt_conf_vldt_php() local
2957 targets = nxt_conf_get_object_member(value, &targets_str, NULL); in nxt_conf_vldt_php()
2959 if (targets != NULL) { in nxt_conf_vldt_php()
H A Dnxt_router.c1548 nxt_str_t *t, *s, *targets; in nxt_router_conf_create() local
1731 targets = nxt_mp_get(app_mp, sizeof(nxt_str_t) * n); in nxt_router_conf_create()
1732 if (nxt_slow_path(targets == NULL)) { in nxt_router_conf_create()
1742 s = nxt_str_dup(app_mp, &targets[i], &target); in nxt_router_conf_create()
1749 targets = NULL; in nxt_router_conf_create()
1786 app->targets = targets; in nxt_router_conf_create()
2475 nxt_str_t *targets; in nxt_router_application_init() local
2495 targets = app->targets; in nxt_router_application_init()
2497 for (i = 0; !nxt_strstr_eq(target, &targets[i]); i++); in nxt_router_application_init()
H A Dnxt_main_process.c208 offsetof(nxt_common_app_conf_t, u.python.targets),
223 offsetof(nxt_common_app_conf_t, u.php.targets),
/unit/
H A DCHANGES180 *) Feature: multiple "targets" in Python applications.
407 *) Feature: multiple "targets" in PHP applications.