Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 46) sorted by relevance

12

/unit/src/
H A Dnxt_conf.h85 nxt_str_t *name, uint32_t *index);
89 uint32_t index);
91 nxt_conf_value_t *value, uint32_t index);
128 const nxt_conf_value_t *value, uint32_t index);
130 nxt_str_t *value, uint32_t index);
132 nxt_str_t *name, nxt_str_t *value, uint32_t index);
134 int64_t value, uint32_t index);
136 uint32_t index);
139 void nxt_conf_set_element(nxt_conf_value_t *array, nxt_uint_t index,
142 nxt_uint_t index, nxt_str_t *value);
H A Dnxt_var.c23 uint32_t index; member
136 lhq.key.start = (u_char *) &index; in nxt_var_cache_find()
156 lhq.key.start = (u_char *) &index; in nxt_var_cache_add()
195 nxt_var_handler_t *index; in nxt_var_index_init() local
199 if (index == NULL) { in nxt_var_index_init()
207 decl->index = i; in nxt_var_index_init()
208 index[i] = decl->handler; in nxt_var_index_init()
211 nxt_var_index = index; in nxt_var_index_init()
277 subs[n].index = decl->index; in nxt_var_compile()
455 uint32_t index; in nxt_var_query() local
[all …]
H A Dnxt_external.c65 uint32_t index; in nxt_external_start() local
159 for (index = 0; /* void */ ; index++) { in nxt_external_start()
160 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start()
184 for (index = 0; /* void */ ; index++) { in nxt_external_start()
185 value = nxt_conf_get_array_element(c->arguments, index); in nxt_external_start()
H A Dnxt_conf.c332 uint32_t index) in nxt_conf_set_member_null() argument
471 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_get_path()
529 uint32_t *index) in nxt_conf_get_object_member() argument
835 if (index < 0 || index > NXT_INT32_T_MAX) { in nxt_conf_op_compile()
839 op->index = index; in nxt_conf_op_compile()
1036 index = 0; in nxt_conf_copy_array()
1040 index = (op == NULL) ? src->u.array->count : op->index; in nxt_conf_copy_array()
1063 index++; in nxt_conf_copy_array()
1138 index = 0; in nxt_conf_copy_object()
1142 index = (op == NULL) ? src->u.object->count : op->index; in nxt_conf_copy_object()
[all …]
H A Dnxt_isolation.c368 uint32_t index; in nxt_isolation_clone_flags() local
373 index = 0; in nxt_isolation_clone_flags()
849 nxt_int_t ret, index, nmounts; in nxt_isolation_make_private_mount() local
879 index = 0; in nxt_isolation_make_private_mount()
883 for ( ; index < nmounts; index++) { in nxt_isolation_make_private_mount()
886 nmounts = index; in nxt_isolation_make_private_mount()
911 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
935 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
966 if (shared[index]) { in nxt_isolation_make_private_mount()
984 for (index = 0; index < nmounts; index++) { in nxt_isolation_make_private_mount()
[all …]
H A Dnxt_poll_engine.c24 uint32_t index; member
414 phe->index = engine->u.poll.nfds; in nxt_poll_set_add()
451 engine->u.poll.set[phe->index].events = events; in nxt_poll_set_change()
463 nxt_uint_t index, nfds; in nxt_poll_set_delete() local
481 index = phe->index; in nxt_poll_set_delete()
485 if (index != nfds) { in nxt_poll_set_delete()
486 engine->u.poll.set[index] = engine->u.poll.set[nfds]; in nxt_poll_set_delete()
490 phe->index = index; in nxt_poll_set_delete()
669 if (nxt_fast_path(phe->fd == engine->u.poll.set[phe->index].fd)) { in nxt_poll_fd_hash_test()
674 phe->fd, engine->u.poll.set[phe->index].fd); in nxt_poll_fd_hash_test()
H A Dnxt_http_static.c22 nxt_str_t index; member
114 if (acf->index == NULL) { in nxt_http_static_init()
115 nxt_str_set(&conf->index, "index.html"); in nxt_http_static_init()
118 nxt_conf_get_string(acf->index, &str); in nxt_http_static_init()
120 ret = nxt_str_dup(mp, &conf->index, &str); in nxt_http_static_init()
241 idx = conf->index; in nxt_http_static_iterate()
301 nxt_str_t *shr, *index, exten, *mtype; in nxt_http_static_send_ready() local
324 index = &conf->index; in nxt_http_static_send_ready()
327 nxt_http_static_extract_extension(index, &exten); in nxt_http_static_send_ready()
329 length = shr->length + index->length; in nxt_http_static_send_ready()
[all …]
H A Dnxt_mp.c486 nxt_int_t n, index; in nxt_mp_chunk_pages_index() local
488 index = 0; in nxt_mp_chunk_pages_index()
494 index = n; in nxt_mp_chunk_pages_index()
498 return index; in nxt_mp_chunk_pages_index()
523 nxt_uint_t n, index; in nxt_mp_alloc_small() local
534 index = nxt_mp_chunk_pages_index(mp, size); in nxt_mp_alloc_small()
535 chunk_pages = &mp->chunk_pages[index]; in nxt_mp_alloc_small()
547 p += ((n << index) << mp->chunk_size_shift); in nxt_mp_alloc_small()
563 page->size = (1 << index); in nxt_mp_alloc_small()
565 n = mp->page_size_shift - (index + mp->chunk_size_shift); in nxt_mp_alloc_small()
H A Dnxt_var.h21 uint32_t index; member
/unit/src/nodejs/unit-http/
H A Dwebsocket_server.js201 var index = this.connections.indexOf(connection);
202 if (index !== -1) {
203 this.connections.splice(index, 1);
209 var index = this.pendingRequests.indexOf(request);
210 if (index !== -1) { this.pendingRequests.splice(index, 1); }
H A Dwebsocket_router.js95 var index = this.findHandlerIndex(this.pathToRegExp(path).toString(), protocol);
96 if (index !== -1) {
97 this.handlers.splice(index, 1);
H A Dwebsocket_request.js189 extensions.forEach(function(extension, index, array) { argument
193 extensionParams.forEach(function(rawParam, index, array) { argument
199 array.splice(index, 1, obj);
205 array.splice(index, 1, obj);
/unit/pkg/deb/debian/
H A Dunit.example.config7 "index": "index.php"
26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example.config7 "index": "index.php"
26 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
H A Dunit.example-php-config7 "index": "index.php"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/pkg/deb/debian.module/
H A Dunit.example-php-config7 "index": "index.php"
H A Dunit.example-perl-config7 "script": "/usr/share/doc/unit-perl/examples/perl-app/index.pl"
/unit/test/python/threading/
H A Dwsgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
H A Dasgi.py13 def log_index(self, index): argument
15 "(" + str(index) + ") Thread: " + str(self.__x) + "\n"
/unit/test/unit/applications/lang/
H A Dphp.py11 def load(self, script, index='index.php', **kwargs): argument
30 "index": index,
/unit/test/
H A Dtest_static.py18 with open(option.temp_dir + '/assets/index.html', 'w') as index, open(
25 index.write('0123456789')
90 def set_index(index): argument
92 {"share": option.temp_dir + "/assets$uri", "index": index},
124 def check_index(index): argument
126 {"share": option.temp_dir + "/assets$uri", "index": index},
/unit/test/java/welcome_files/dir1/
H A Dindex.txt1 This is index.txt.
/unit/src/java/nginx/unit/websocket/server/
H A DUriTemplate.java76 int index = -1; in UriTemplate() local
78 index = segmentCount; in UriTemplate()
94 this.segments.add(new Segment(index, segment)); in UriTemplate()
/unit/src/java/nginx/unit/websocket/
H A DUtil.java641 private final int index; field in Util.TypeResult
644 public TypeResult(Class<?> clazz, int index, int dimension) { in TypeResult() argument
646 this.index = index; in TypeResult()
655 return index; in getIndex()

12