Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 34) sorted by relevance

12

/unit/src/test/
H A Dnxt_rbtree1.c50 if (node->parent == node->parent->parent->left) { in nxt_rbtree1_insert()
51 temp = node->parent->parent->right; in nxt_rbtree1_insert()
56 nxt_rbtree1_red(node->parent->parent); in nxt_rbtree1_insert()
57 node = node->parent->parent; in nxt_rbtree1_insert()
71 temp = node->parent->parent->left; in nxt_rbtree1_insert()
77 node = node->parent->parent; in nxt_rbtree1_insert()
209 temp->parent = subst->parent; in nxt_rbtree1_delete()
217 temp->parent = subst->parent; in nxt_rbtree1_delete()
222 subst->parent = node->parent; in nxt_rbtree1_delete()
338 temp->parent = node->parent; in nxt_rbtree1_left_rotate()
[all …]
H A Dnxt_rbtree1_test.c23 nxt_rbtree1_node_t *parent; in nxt_rbtree1_node_successor() local
30 parent = node->parent; in nxt_rbtree1_node_successor()
32 if (parent == NULL) { in nxt_rbtree1_node_successor()
36 if (node == parent->left) { in nxt_rbtree1_node_successor()
37 return parent; in nxt_rbtree1_node_successor()
40 node = parent; in nxt_rbtree1_node_successor()
177 node->parent = temp; in nxt_rbtree1_test_insert_value()
H A Dnxt_rbtree1.h18 nxt_rbtree1_node_t *parent; member
/unit/src/
H A Dnxt_rbtree.c107 parent = node->parent; in nxt_rbtree_insert_fixup()
117 grandparent = parent->parent; in nxt_rbtree_insert_fixup()
133 parent = node->parent; in nxt_rbtree_insert_fixup()
158 parent = node->parent; in nxt_rbtree_insert_fixup()
350 parent = node->parent; in nxt_rbtree_delete_fixup()
487 parent = node->parent; in nxt_rbtree_parent_relink()
492 subst->parent = parent; in nxt_rbtree_parent_relink()
497 link = (node == parent->left) ? &parent->left : &parent->right; in nxt_rbtree_parent_relink()
514 parent = node->parent; in nxt_rbtree_destroy_next()
517 subst->parent = parent; in nxt_rbtree_destroy_next()
[all …]
H A Dnxt_buf.c89 ts->work.data = b->parent; in nxt_buf_mem_ts_alloc()
201 nxt_buf_t *b, *next, *parent; in nxt_buf_completion() local
207 nxt_assert(data == b->parent); in nxt_buf_completion()
211 parent = b->parent; in nxt_buf_completion()
226 if (parent != NULL) { in nxt_buf_parent_completion()
229 parent->retain--; in nxt_buf_parent_completion()
231 if (parent->retain == 0) { in nxt_buf_parent_completion()
232 parent->mem.pos = parent->mem.free; in nxt_buf_parent_completion()
234 parent->completion_handler(task, parent, parent->parent); in nxt_buf_parent_completion()
274 nxt_buf_t *b, *next, *parent; in nxt_buf_ts_completion() local
[all …]
H A Dnxt_rbtree.h16 nxt_rbtree_node_t *parent; member
25 nxt_rbtree_node_t *parent; member
85 nxt_rbtree_node_t *parent; in nxt_rbtree_node_successor() local
92 parent = node->parent; in nxt_rbtree_node_successor()
98 if (node == parent->left) { in nxt_rbtree_node_successor()
99 return parent; in nxt_rbtree_node_successor()
102 node = parent; in nxt_rbtree_node_successor()
H A Dnxt_stream_source.c309 b->parent = in; in nxt_stream_source_process_buffers()
345 nxt_buf_t *b, *parent; in nxt_stream_source_buf_completion() local
349 parent = data; in nxt_stream_source_buf_completion()
354 b, parent, parent->retain); in nxt_stream_source_buf_completion()
361 parent->mem.pos = b->mem.pos; in nxt_stream_source_buf_completion()
362 parent->retain--; in nxt_stream_source_buf_completion()
364 if (parent->retain == 0 && !stream->conn->socket.closed) { in nxt_stream_source_buf_completion()
365 size = nxt_buf_mem_size(&parent->mem); in nxt_stream_source_buf_completion()
367 parent->mem.pos = parent->mem.start; in nxt_stream_source_buf_completion()
368 parent->mem.free = parent->mem.start; in nxt_stream_source_buf_completion()
[all …]
H A Dnxt_fiber.c44 jmp_buf parent; in nxt_fiber_create() local
100 if (_setjmp(parent) != 0) { in nxt_fiber_create()
105 nxt_fiber_switch_stack(fib, &parent); in nxt_fiber_create()
204 nxt_fiber_switch_stack(nxt_fiber_t *fib, jmp_buf *parent) in nxt_fiber_switch_stack() argument
222 (uint32_t) ((uintptr_t) parent >> 32), in nxt_fiber_switch_stack()
234 jmp_buf *parent; in nxt_fiber_trampoline() local
239 parent = (jmp_buf *) (((uintptr_t) ph << 32) + pl); in nxt_fiber_trampoline()
248 _longjmp(*parent, 1); in nxt_fiber_trampoline()
270 nxt_fiber_switch_stack(nxt_fiber_t *fib, jmp_buf *parent) in nxt_fiber_switch_stack() argument
298 nxt_fiber_trampoline(nxt_fiber_t *fib, jmp_buf *parent) in nxt_fiber_trampoline() argument
[all …]
H A Dnxt_http_chunk_parse.c176 b->completion_handler, task, b, b->parent); in nxt_http_chunk_parse()
220 b->parent = in; in nxt_http_chunk_buffer()
252 nxt_buf_t *b, *next, *parent; in nxt_http_chunk_buf_completion() local
258 nxt_assert(data == b->parent); in nxt_http_chunk_buf_completion()
262 parent = b->parent; in nxt_http_chunk_buf_completion()
268 nxt_buf_parent_completion(task, parent); in nxt_http_chunk_buf_completion()
H A Dnxt_lvlhsh.c164 void **parent, uint32_t key, nxt_uint_t nlvl);
322 lvl = nxt_lvlhsh_level(*parent, mask); in nxt_lvlhsh_level_insert()
338 nxt_lvlhsh_count_inc(*parent); in nxt_lvlhsh_level_insert()
523 lvl = nxt_lvlhsh_level(*parent, mask); in nxt_lvlhsh_level_convertion_insert()
530 nxt_lvlhsh_count_inc(*parent); in nxt_lvlhsh_level_convertion_insert()
655 lvl = nxt_lvlhsh_level(*parent, mask); in nxt_lvlhsh_level_delete()
669 nxt_lvlhsh_count_dec(*parent); in nxt_lvlhsh_level_delete()
672 *parent = NULL; in nxt_lvlhsh_level_delete()
895 level = nxt_lvlhsh_level(*parent, mask); in nxt_lvlhsh_level_peek()
918 nxt_lvlhsh_count_dec(*parent); in nxt_lvlhsh_level_peek()
[all …]
H A Dnxt_timer.h86 ((timer)->node.parent != NULL)
92 (timer)->node.parent = NULL
H A Dnxt_fastcgi_record_parse.c213 task, b, b->parent); in nxt_fastcgi_record_parse()
281 b->parent = in; in nxt_fastcgi_buffer()
H A Dnxt_buf.h70 void *parent; member
226 NXT_EXPORT void nxt_buf_parent_completion(nxt_task_t *task, nxt_buf_t *parent);
H A Dnxt_port_memory.c134 nxt_assert(data == b->parent); in nxt_port_mmap_buf_completion()
196 mmap_handler = b->parent; in nxt_port_mmap_buf_completion()
578 b->parent = mmap_handler; in nxt_port_mmap_get_buf()
620 mmap_handler = b->parent; in nxt_port_mmap_increase_buf()
699 b->parent = mmap_handler; in nxt_port_mmap_get_incoming_buf()
743 mmap_handler = bmem->parent; in nxt_port_mmap_write()
H A Dnxt_buf_filter.c144 task, b, b->parent); in nxt_buf_filter()
369 b->parent = (nxt_buf_t *) ctx; in nxt_buf_filter_file_job_completion()
433 task, fb, fb->parent); in nxt_buf_filter_buf_completion()
H A Dnxt_event_engine.c723 nxt_buf_t *b, *next, *parent; in nxt_event_engine_buf_mem_completion() local
734 parent = b->parent; in nxt_event_engine_buf_mem_completion()
738 nxt_buf_parent_completion(task, parent); in nxt_event_engine_buf_mem_completion()
H A Dnxt_http_websocket.c93 b->completion_handler, task, b, b->parent); in nxt_http_websocket_client()
H A Dnxt_port_socket.c217 b->completion_handler, task, b, b->parent); in nxt_port_socket_write2()
285 mmap_handler = b->parent; in nxt_port_enqueue_buf()
670 nxt_work_queue_add(wq, b->completion_handler, task, b, b->parent); in nxt_port_buf_completion()
1290 b->completion_handler, task, b, b->parent); in nxt_port_read_msg_process()
1371 nxt_work_queue_add(wq, b->completion_handler, task, b, b->parent); in nxt_port_error_handler()
H A Dnxt_event_conn_job_sendfile.c253 b->completion_handler, task, b, b->parent); in nxt_event_conn_job_sendfile_completion()
H A Dnxt_http_source.c250 if (b->parent->mem.pos == b->parent->mem.end) { in nxt_http_source_status_filter()
H A Dnxt_conf.c815 nxt_conf_op_t *op, **parent; in nxt_conf_op_compile() local
824 parent = ops; in nxt_conf_op_compile()
832 *parent = op; in nxt_conf_op_compile()
833 parent = (nxt_conf_op_t **) &op->ctx; in nxt_conf_op_compile()
901 *parent = op; in nxt_conf_op_compile()
H A Dnxt_sendbuf.c442 nxt_work_queue_add(wq, handler, task, start, start->parent); in nxt_sendbuf_coalesce_completion()
/unit/src/nodejs/unit-http/
H A Dloader.js2 if (module.parent && module.parent.id === "internal/preload") {
/unit/src/java/
H A Dnxt_jni_URLClassLoader.h18 char **urls, jobject parent);
H A Dnxt_jni_URLClassLoader.c108 jobject parent) in nxt_java_newURLClassLoader_parent() argument
119 parent); in nxt_java_newURLClassLoader_parent()

12