Lines Matching refs:handlers
258 if (ch->handlers.write->method == PHP_CURL_RETURN) { in PHP_FUNCTION()
259 if (!ch->handlers.write->buf.s) { in PHP_FUNCTION()
262 smart_str_0(&ch->handlers.write->buf); in PHP_FUNCTION()
263 RETURN_STR_COPY(ch->handlers.write->buf.s); in PHP_FUNCTION()
384 php_curl_callback *t = mh->handlers.server_push; in _php_server_push_callback()
476 if (mh->handlers.server_push == NULL) { in _php_curl_multi_setopt()
477 mh->handlers.server_push = ecalloc(1, sizeof(php_curl_callback)); in _php_curl_multi_setopt()
478 } else if (!Z_ISUNDEF(mh->handlers.server_push->func_name)) { in _php_curl_multi_setopt()
479 zval_ptr_dtor(&mh->handlers.server_push->func_name); in _php_curl_multi_setopt()
480 mh->handlers.server_push->fci_cache = empty_fcall_info_cache; in _php_curl_multi_setopt()
483 ZVAL_COPY(&mh->handlers.server_push->func_name, zvalue); in _php_curl_multi_setopt()
566 if (mh->handlers.server_push) { in curl_multi_free_obj()
567 zval_ptr_dtor(&mh->handlers.server_push->func_name); in curl_multi_free_obj()
568 efree(mh->handlers.server_push); in curl_multi_free_obj()
580 if (curl_multi->handlers.server_push) { in curl_multi_get_gc()
581 zend_get_gc_buffer_add_zval(gc_buffer, &curl_multi->handlers.server_push->func_name); in curl_multi_get_gc()