Lines Matching refs:ce

74 #define UV_PARAM_OBJ_EX(dest, type, check_null, ce, ...) \  argument
78 if (UNEXPECTED(!uv_parse_arg_object(_arg, &zv, check_null, ce, ##__VA_ARGS__, NULL))) { \
80 zend_string *names = php_uv_concat_ce_names(ce, ##__VA_ARGS__, NULL); \
100 static ZEND_COLD zend_string *php_uv_concat_ce_names(zend_class_entry *ce, zend_class_entry *next, … in php_uv_concat_ce_names() argument
107 return zend_string_copy(ce->name); in php_uv_concat_ce_names()
118 smart_str_append(&buf, ce->name); in php_uv_concat_ce_names()
119 ce = next; in php_uv_concat_ce_names()
131 …inline int uv_parse_arg_object(zval *arg, zval **dest, int check_null, zend_class_entry *ce, ...) { argument
133 static int uv_parse_arg_object(zval *arg, zval **dest, int check_null, zend_class_entry *ce, ...) {
138 va_start(va, ce);
140 if (instanceof_function(argce, ce)) {
144 ce = (zend_class_entry *) va_arg(va, zend_class_entry *);
145 } while (ce);
157 #define PHP_UV_INIT_GENERIC(dest, type, ce) \ argument
160 object_init_ex(&zv, ce); \
164 #define PHP_UV_INIT_UV(uv, ce) PHP_UV_INIT_GENERIC(uv, php_uv_t, ce) argument
166 #define PHP_UV_INIT_UV_EX(_uv, ce, cb, ...) \ argument
169 PHP_UV_INIT_UV(_uv, ce); \
252 #define PHP_UV_SOCKADDR_IS_IPV4(sockaddr) (sockaddr->std.ce == uv_sockaddr_ipv4_ce)
253 #define PHP_UV_SOCKADDR_IS_IPV6(sockaddr) (sockaddr->std.ce == uv_sockaddr_ipv6_ce)
276 …PHP_UV_DEBUG_PRINT("# %s add(%p - %s): %u->%u\n", #handler, uv, ZSTR_VAL(uv->std.ce->name), GC_REF…
280 …PHP_UV_DEBUG_PRINT("# %s del(%p - %s): %u->%u\n", #handler, uv, ZSTR_VAL(uv->std.ce->name), GC_REF…
1198 zend_class_entry *ce = uv->std.ce; local
1199ce == uv_pipe_ce || ce == uv_tty_ce || ce == uv_tcp_ce || ce == uv_udp_ce || ce == uv_prepare_ce |…
2171 zend_class_entry *ce = uv->std.ce; local
2173ce == uv_signal_ce || ce == uv_timer_ce || ce == uv_idle_ce || ce == uv_udp_ce || ce == uv_tcp_ce …
2407 static void php_uv_handle_open(int (*open_cb)(uv_handle_t *, long), zend_class_entry *ce, INTERNAL_… argument
2414 UV_PARAM_OBJ(uv, php_uv_t, ce)
2457 if (addr->std.ce == uv_sockaddr_ipv4_ce) {
2486 if (addr->std.ce == uv_sockaddr_ipv4_ce) {
2525 if (uv->std.ce == uv_poll_ce) {
2628 static zend_object *php_uv_create_uv(zend_class_entry *ce) { argument
2630 zend_object_std_init(&uv->std, ce);
2641 static zend_object *php_uv_create_uv_loop(zend_class_entry *ce) { argument
2643 zend_object_std_init(&loop->std, ce);
2654 static zend_object *php_uv_create_uv_sockaddr(zend_class_entry *ce) { argument
2656 zend_object_std_init(&sockaddr->std, ce);
2662 static zend_object *php_uv_create_uv_lock(zend_class_entry *ce) { argument
2664 zend_object_std_init(&lock->std, ce);
2672 static zend_object *php_uv_create_uv_stdio(zend_class_entry *ce) { argument
2674 zend_object_std_init(&stdio->std, ce);
2684 zend_class_entry ce = {0}, *new; local
2686 ce.name = zend_new_interned_string(zend_string_init(name, strlen(name), 1));
2687 ce.info.internal.builtin_functions = php_uv_empty_methods;
2688 new = zend_register_internal_class_ex(&ce, parent);
3870 if (server->std.ce != client->std.ce) {
3934 …php_error_docref(NULL, E_WARNING, "passed UV handle (%s) is not closeable", ZSTR_VAL(uv->std.ce->n…