Home
last modified time | relevance | path

Searched refs:j (Results 1 – 23 of 23) sorted by relevance

/unit/src/test/
H A Dnxt_cq_test.c346 uintptr_t j; in main() local
468 for (j = 0; j < nprocs_enq; j++, id++) { in main()
472 for (j = 0; j < nprocs_deq; j++, id++) { in main()
476 for (j = 0; j < nprocs_wenq; j++, id++) { in main()
480 for (j = 0; j < nprocs_wdeq; j++, id++) { in main()
484 for (j = 0; j < nprocs_enq_deq; j++, id++) { in main()
488 for (j = 0; j < nprocs_cas; j++, id++) { in main()
492 for (j = 0; j < nprocs_faa; j++, id++) { in main()
496 for (j = 0; j < nprocs; j++) { in main()
497 worker_wait(wi + j); in main()
[all …]
/unit/src/
H A Dnxt_nncq.h101 nxt_nncq_atomic_t n, t, e, j; in nxt_nncq_enqueue() local
105 j = nxt_nncq_map(q, t); in nxt_nncq_enqueue()
106 e = q->entries[j]; in nxt_nncq_enqueue()
122 if (nxt_atomic_cmp_set(&q->entries[j], e, n)) { in nxt_nncq_enqueue()
135 nxt_nncq_atomic_t h, j, e; in nxt_nncq_dequeue() local
139 j = nxt_nncq_map(q, h); in nxt_nncq_dequeue()
140 e = q->entries[j]; in nxt_nncq_dequeue()
H A Dnxt_app_nncq.h104 nxt_app_nncq_atomic_t n, t, e, j; in nxt_app_nncq_enqueue() local
108 j = nxt_app_nncq_map(q, t); in nxt_app_nncq_enqueue()
109 e = q->entries[j]; in nxt_app_nncq_enqueue()
125 if (nxt_atomic_cmp_set(&q->entries[j], e, n)) { in nxt_app_nncq_enqueue()
138 nxt_app_nncq_atomic_t h, j, e; in nxt_app_nncq_dequeue() local
142 j = nxt_app_nncq_map(q, h); in nxt_app_nncq_dequeue()
143 e = q->entries[j]; in nxt_app_nncq_dequeue()
H A Dnxt_random.c42 r->j = 0; in nxt_random_start_schedule()
125 r->j += val + key[n % len]; in nxt_random_add()
127 r->s[r->i] = r->s[r->j]; in nxt_random_add()
128 r->s[r->j] = val; in nxt_random_add()
136 r->j = r->i; in nxt_random_add()
167 r->j += si; in nxt_random_byte()
169 sj = r->s[r->j]; in nxt_random_byte()
171 r->s[r->j] = si; in nxt_random_byte()
H A Dnxt_var.c556 nxt_uint_t i, j; in nxt_var_query_finish() local
572 for (j = 0; j < var->vars; j++) { in nxt_var_query_finish()
573 str = nxt_var_cache_find(&query->cache, subs[j].index); in nxt_var_query_finish()
586 length += str->length - subs[j].length; in nxt_var_query_finish()
603 for (j = 0; j < var->vars; j++) { in nxt_var_query_finish()
604 next = subs[j].position; in nxt_var_query_finish()
610 p = nxt_cpymem(p, part[j]->start, part[j]->length); in nxt_var_query_finish()
612 last = next + subs[j].length; in nxt_var_query_finish()
H A Dnxt_application.c208 nxt_uint_t i, n, j; in nxt_discovery_modules() local
269 for (j = 0; j < mounts->nelts; j++) { in nxt_discovery_modules()
270 size += nxt_strlen(mnt[j].src) + nxt_strlen(mnt[j].dst) in nxt_discovery_modules()
272 + (mnt[j].data == NULL ? 0 : nxt_strlen(mnt[j].data)); in nxt_discovery_modules()
295 for (j = 0; j < mounts->nelts; j++) { in nxt_discovery_modules()
300 mnt[j].src, mnt[j].dst, mnt[j].name, mnt[j].type, in nxt_discovery_modules()
301 mnt[j].flags, in nxt_discovery_modules()
302 mnt[j].data == NULL ? (u_char *) "" : mnt[j].data); in nxt_discovery_modules()
334 nxt_uint_t i, j, n; in nxt_discovery_module() local
426 for (j = 0; j < app->nmounts; j++) { in nxt_discovery_module()
[all …]
H A Dnxt_random.h13 uint8_t j; member
H A Dnxt_clone.c315 nxt_uint_t i, j; in nxt_clone_vldt_credential_gidmap() local
395 for (j = 0; j < map->size; j++) { in nxt_clone_vldt_credential_gidmap()
396 m = map->map[j]; in nxt_clone_vldt_credential_gidmap()
H A Dnxt_http_parse.c1187 nxt_uint_t i, j; in nxt_http_fields_hash() local
1197 for (j = 0; j < name->length; j++) { in nxt_http_fields_hash()
1198 ch = nxt_lowcase(name->start[j]); in nxt_http_fields_hash()
1224 nxt_uint_t colls, i, j; in nxt_http_fields_hash_collisions() local
1242 for (j = 0; j < name->length; j++) { in nxt_http_fields_hash_collisions()
1243 ch = nxt_lowcase(name->start[j]); in nxt_http_fields_hash_collisions()
H A Dnxt_unit.c1933 uint32_t i, j; in nxt_unit_request_group_dup_fields() local
1981 for (j = i + 1; j < r->fields_count; j++) { in nxt_unit_request_group_dup_fields()
1982 if (fields[i].hash != fields[j].hash in nxt_unit_request_group_dup_fields()
1991 f = fields[j]; in nxt_unit_request_group_dup_fields()
1994 while (j > i + 1) { in nxt_unit_request_group_dup_fields()
1995 fields[j] = fields[j - 1]; in nxt_unit_request_group_dup_fields()
1996 fields[j].name.offset -= sizeof(f); in nxt_unit_request_group_dup_fields()
1997 fields[j].value.offset -= sizeof(f); in nxt_unit_request_group_dup_fields()
1998 j--; in nxt_unit_request_group_dup_fields()
2001 fields[j] = f; in nxt_unit_request_group_dup_fields()
[all …]
/unit/src/nodejs/unit-http/
H A Dwebsocket_router.js139 for (var j=0, len=this.handlers.length; j < len; j++) {
140 var handler = this.handlers[j];
H A Dunit.cpp788 uint32_t keys_count, i, j; in response_send_headers() local
854 for (j = 0; j < array_len; j++) { in response_send_headers()
855 array_val = napi.get_element(value, j); in response_send_headers()
/unit/pkg/docker/
H A Dtemplate.Dockerfile27 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU @@INSTALL@@ \
40 && make -j $NCPU @@INSTALL@@ \
H A DDockerfile.perl5.3427 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU perl-install \
40 && make -j $NCPU perl-install \
H A DDockerfile.minimal27 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU version \
40 && make -j $NCPU version \
H A DDockerfile.php8.127 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU php-install \
40 && make -j $NCPU php-install \
H A DDockerfile.python3.1027 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU python3-install \
40 && make -j $NCPU python3-install \
H A DDockerfile.jsc1127 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU java-shared-install java-install \
40 && make -j $NCPU java-shared-install java-install \
H A DDockerfile.ruby3.127 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU ruby-install \
40 && make -j $NCPU ruby-install \
H A DDockerfile.node1627 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU node node-install libunit-install \
40 && make -j $NCPU node node-install libunit-install \
H A DDockerfile.go1.1827 && make -j $NCPU unitd \
31 && make -j $NCPU unitd \
36 && make -j $NCPU go-install-src libunit-install \
40 && make -j $NCPU go-install-src libunit-install \
/unit/src/java/nginx/unit/
H A DContext.java555 if (j == null) { in UnitClassLoader()
558 j = j.getParent(); in UnitClassLoader()
561 system_loader = j; in UnitClassLoader()
1158 for (int j = 0; j < files.getLength(); j++) { in processWebXml()
1198 for(int j = 0; j < child_nodes.getLength(); j++) { in processWebXml()
1252 for (int j = 0; j < dispatchers.getLength(); j++) { in processWebXml()
1264 for (int j = 0; j < child_nodes.getLength(); j++) { in processWebXml()
1295 for(int j = 0; j < child_nodes.getLength(); j++) { in processWebXml()
1360 for(int j = 0; j < child_nodes.getLength(); j++) { in processWebXml()
1395 for(int j = 0; j < child_nodes.getLength(); j++) { in processWebXml()
[all …]
/unit/src/python/
H A Dnxt_python_wsgi.c586 uint32_t i, j, vl; in nxt_python_get_environ() local
636 for (j = i + 1; j < r->fields_count; j++) { in nxt_python_get_environ()
637 f2 = r->fields + j; in nxt_python_get_environ()
648 RC(nxt_python_add_field(pctx, f, j - i, vl)); in nxt_python_get_environ()
650 i = j; in nxt_python_get_environ()