cv 76 event/ngx_event_posted.c ngx_cond_signal(ngx_threads[i].cv); cv 115 http/modules/ngx_http_empty_gif_module.c ngx_http_complex_value_t cv; cv 127 http/modules/ngx_http_empty_gif_module.c ngx_memzero(&cv, sizeof(ngx_http_complex_value_t)); cv 129 http/modules/ngx_http_empty_gif_module.c cv.value.len = sizeof(ngx_empty_gif); cv 130 http/modules/ngx_http_empty_gif_module.c cv.value.data = ngx_empty_gif; cv 133 http/modules/ngx_http_empty_gif_module.c return ngx_http_send_response(r, NGX_HTTP_OK, &ngx_http_gif_type, &cv); cv 97 http/modules/ngx_http_image_filter_module.c ngx_http_complex_value_t *cv, ngx_uint_t v); cv 1098 http/modules/ngx_http_image_filter_module.c ngx_http_complex_value_t *cv, ngx_uint_t v) cv 1102 http/modules/ngx_http_image_filter_module.c if (cv == NULL) { cv 1106 http/modules/ngx_http_image_filter_module.c if (ngx_http_complex_value(r, cv, &val) != NGX_OK) { cv 1202 http/modules/ngx_http_image_filter_module.c ngx_http_complex_value_t cv; cv 1234 http/modules/ngx_http_image_filter_module.c ccv.complex_value = &cv; cv 1240 http/modules/ngx_http_image_filter_module.c if (cv.lengths == NULL) { cv 1256 http/modules/ngx_http_image_filter_module.c *imcf->acv = cv; cv 1280 http/modules/ngx_http_image_filter_module.c ccv.complex_value = &cv; cv 1286 http/modules/ngx_http_image_filter_module.c if (cv.lengths == NULL) { cv 1301 http/modules/ngx_http_image_filter_module.c *imcf->wcv = cv; cv 1308 http/modules/ngx_http_image_filter_module.c ccv.complex_value = &cv; cv 1314 http/modules/ngx_http_image_filter_module.c if (cv.lengths == NULL) { cv 1329 http/modules/ngx_http_image_filter_module.c *imcf->hcv = cv; cv 1351 http/modules/ngx_http_image_filter_module.c ngx_http_complex_value_t cv; cv 1360 http/modules/ngx_http_image_filter_module.c ccv.complex_value = &cv; cv 1366 http/modules/ngx_http_image_filter_module.c if (cv.lengths == NULL) { cv 1383 http/modules/ngx_http_image_filter_module.c *imcf->jqcv = cv; cv 59 http/modules/perl/ngx_http_perl_module.h extern void boot_DynaLoader(pTHX_ CV* cv); cv 1756 http/ngx_http_core_module.c ngx_str_t *ct, ngx_http_complex_value_t *cv) cv 1770 http/ngx_http_core_module.c if (ngx_http_complex_value(r, cv, &val) != NGX_OK) { cv 4008 http/ngx_http_core_module.c ngx_http_complex_value_t cv; cv 4056 http/ngx_http_core_module.c ccv.complex_value = &cv; cv 4064 http/ngx_http_core_module.c if (cv.lengths == NULL && uri.data[0] == '/') { cv 4068 http/ngx_http_core_module.c cv.value.len = p - uri.data; cv 4069 http/ngx_http_core_module.c cv.value.data = uri.data; cv 4110 http/ngx_http_core_module.c err->value = cv; cv 465 http/ngx_http_core_module.h ngx_str_t *ct, ngx_http_complex_value_t *cv); cv 1767 http/ngx_http_file_cache.c ngx_http_complex_value_t *cv; cv 1769 http/ngx_http_file_cache.c cv = no_cache->elts; cv 1772 http/ngx_http_file_cache.c if (ngx_http_complex_value(r, &cv[i], &val) != NGX_OK) { cv 1793 http/ngx_http_file_cache.c ngx_http_complex_value_t *cv; cv 1808 http/ngx_http_file_cache.c cv = ngx_array_push(*a); cv 1809 http/ngx_http_file_cache.c if (cv == NULL) { cv 1817 http/ngx_http_file_cache.c ccv.complex_value = cv; cv 220 http/ngx_http_script.c ngx_http_complex_value_t **cv; cv 223 http/ngx_http_script.c cv = (ngx_http_complex_value_t **) (p + cmd->offset); cv 225 http/ngx_http_script.c if (*cv != NULL) { cv 229 http/ngx_http_script.c *cv = ngx_palloc(cf->pool, sizeof(ngx_http_complex_value_t)); cv 230 http/ngx_http_script.c if (*cv == NULL) { cv 240 http/ngx_http_script.c ccv.complex_value = *cv; cv 255 http/ngx_http_script.c ngx_http_complex_value_t *cv; cv 261 http/ngx_http_script.c cv = predicates->elts; cv 264 http/ngx_http_script.c if (ngx_http_complex_value(r, &cv[i], &val) != NGX_OK) { cv 285 http/ngx_http_script.c ngx_http_complex_value_t *cv; cv 300 http/ngx_http_script.c cv = ngx_array_push(*a); cv 301 http/ngx_http_script.c if (cv == NULL) { cv 309 http/ngx_http_script.c ccv.complex_value = cv; cv 592 os/unix/ngx_freebsd_rfork_thread.c ngx_cond_t *cv; cv 594 os/unix/ngx_freebsd_rfork_thread.c cv = ngx_alloc(sizeof(ngx_cond_t), log); cv 595 os/unix/ngx_freebsd_rfork_thread.c if (cv == NULL) { cv 599 os/unix/ngx_freebsd_rfork_thread.c cv->signo = NGX_CV_SIGNAL; cv 600 os/unix/ngx_freebsd_rfork_thread.c cv->tid = -1; cv 601 os/unix/ngx_freebsd_rfork_thread.c cv->log = log; cv 602 os/unix/ngx_freebsd_rfork_thread.c cv->kq = -1; cv 604 os/unix/ngx_freebsd_rfork_thread.c return cv; cv 609 os/unix/ngx_freebsd_rfork_thread.c ngx_cond_destroy(ngx_cond_t *cv) cv 611 os/unix/ngx_freebsd_rfork_thread.c if (close(cv->kq) == -1) { cv 612 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, ngx_errno, cv 616 os/unix/ngx_freebsd_rfork_thread.c ngx_free(cv); cv 621 os/unix/ngx_freebsd_rfork_thread.c ngx_cond_wait(ngx_cond_t *cv, ngx_mutex_t *m) cv 628 os/unix/ngx_freebsd_rfork_thread.c if (cv->kq == -1) { cv 638 os/unix/ngx_freebsd_rfork_thread.c cv->kq = kqueue(); cv 639 os/unix/ngx_freebsd_rfork_thread.c if (cv->kq == -1) { cv 640 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, ngx_errno, "kqueue() failed"); cv 644 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cv->log, 0, cv 645 os/unix/ngx_freebsd_rfork_thread.c "cv kq:%d signo:%d", cv->kq, cv->signo); cv 647 os/unix/ngx_freebsd_rfork_thread.c kev.ident = cv->signo; cv 657 os/unix/ngx_freebsd_rfork_thread.c if (kevent(cv->kq, &kev, 1, NULL, 0, &ts) == -1) { cv 658 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, ngx_errno, "kevent() failed"); cv 662 os/unix/ngx_freebsd_rfork_thread.c cv->tid = ngx_thread_self(); cv 667 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug3(NGX_LOG_DEBUG_CORE, cv->log, 0, cv 668 os/unix/ngx_freebsd_rfork_thread.c "cv %p wait, kq:%d, signo:%d", cv, cv->kq, cv->signo); cv 671 os/unix/ngx_freebsd_rfork_thread.c n = kevent(cv->kq, NULL, 0, &kev, 1, NULL); cv 673 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug2(NGX_LOG_DEBUG_CORE, cv->log, 0, cv 674 os/unix/ngx_freebsd_rfork_thread.c "cv %p kevent: %d", cv, n); cv 679 os/unix/ngx_freebsd_rfork_thread.c cv->log, ngx_errno, cv 681 os/unix/ngx_freebsd_rfork_thread.c cv); cv 691 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, 0, cv 694 os/unix/ngx_freebsd_rfork_thread.c cv); cv 699 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, 0, cv 702 os/unix/ngx_freebsd_rfork_thread.c kev.filter, cv); cv 706 os/unix/ngx_freebsd_rfork_thread.c if (kev.ident != (uintptr_t) cv->signo) { cv 707 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, 0, cv 710 os/unix/ngx_freebsd_rfork_thread.c kev.ident, cv); cv 717 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p is waked up", cv); cv 726 os/unix/ngx_freebsd_rfork_thread.c ngx_cond_signal(ngx_cond_t *cv) cv 730 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug3(NGX_LOG_DEBUG_CORE, cv->log, 0, cv 732 os/unix/ngx_freebsd_rfork_thread.c cv, cv->tid, cv->signo); cv 734 os/unix/ngx_freebsd_rfork_thread.c if (cv->tid == -1) { cv 738 os/unix/ngx_freebsd_rfork_thread.c if (kill(cv->tid, cv->signo) == -1) { cv 742 os/unix/ngx_freebsd_rfork_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, err, cv 743 os/unix/ngx_freebsd_rfork_thread.c "kill() failed while signaling condition variable %p", cv); cv 746 os/unix/ngx_freebsd_rfork_thread.c cv->tid = -1; cv 752 os/unix/ngx_freebsd_rfork_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p is signaled", cv); cv 754 os/unix/ngx_process_cycle.c ngx_threads[n].cv = ngx_cond_init(cycle->log); cv 756 os/unix/ngx_process_cycle.c if (ngx_threads[n].cv == NULL) { cv 1173 os/unix/ngx_process_cycle.c if (ngx_cond_signal(ngx_threads[i].cv) == NGX_ERROR) { cv 1250 os/unix/ngx_process_cycle.c if (ngx_cond_wait(thr->cv, ngx_posted_events_mutex) == NGX_ERROR) { cv 199 os/unix/ngx_pthread_thread.c ngx_cond_t *cv; cv 201 os/unix/ngx_pthread_thread.c cv = ngx_alloc(sizeof(ngx_cond_t), log); cv 202 os/unix/ngx_pthread_thread.c if (cv == NULL) { cv 206 os/unix/ngx_pthread_thread.c cv->log = log; cv 208 os/unix/ngx_pthread_thread.c err = pthread_cond_init(&cv->cond, NULL); cv 211 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, err, cv 216 os/unix/ngx_pthread_thread.c return cv; cv 221 os/unix/ngx_pthread_thread.c ngx_cond_destroy(ngx_cond_t *cv) cv 225 os/unix/ngx_pthread_thread.c err = pthread_cond_destroy(&cv->cond); cv 228 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, err, cv 229 os/unix/ngx_pthread_thread.c "pthread_cond_destroy(%p) failed", cv); cv 232 os/unix/ngx_pthread_thread.c ngx_free(cv); cv 237 os/unix/ngx_pthread_thread.c ngx_cond_wait(ngx_cond_t *cv, ngx_mutex_t *m) cv 241 os/unix/ngx_pthread_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p wait", cv); cv 243 os/unix/ngx_pthread_thread.c err = pthread_cond_wait(&cv->cond, &m->mutex); cv 246 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, err, cv 247 os/unix/ngx_pthread_thread.c "pthread_cond_wait(%p) failed", cv); cv 251 os/unix/ngx_pthread_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p is waked up", cv); cv 260 os/unix/ngx_pthread_thread.c ngx_cond_signal(ngx_cond_t *cv) cv 264 os/unix/ngx_pthread_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p to signal", cv); cv 266 os/unix/ngx_pthread_thread.c err = pthread_cond_signal(&cv->cond); cv 269 os/unix/ngx_pthread_thread.c ngx_log_error(NGX_LOG_ALERT, cv->log, err, cv 270 os/unix/ngx_pthread_thread.c "pthread_cond_signal(%p) failed", cv); cv 274 os/unix/ngx_pthread_thread.c ngx_log_debug1(NGX_LOG_DEBUG_CORE, cv->log, 0, "cv %p is signaled", cv); cv 80 os/unix/ngx_thread.h ngx_cond_t *cv; cv 104 os/unix/ngx_thread.h void ngx_cond_destroy(ngx_cond_t *cv); cv 105 os/unix/ngx_thread.h ngx_int_t ngx_cond_wait(ngx_cond_t *cv, ngx_mutex_t *m); cv 106 os/unix/ngx_thread.h ngx_int_t ngx_cond_signal(ngx_cond_t *cv); cv 120 os/unix/ngx_thread.h #define ngx_cond_signal(cv)