Home
last modified time | relevance | path

Searched refs:Z_OBJ (Results 1 – 25 of 39) sorted by relevance

12

/PHP-8.1/ext/mysqli/
H A Dmysqli_exception.c50 mysqli_exception_class_entry, Z_OBJ(sql_ex), "message", sizeof("message") - 1, message); in php_mysqli_throw_sql_exception()
55 mysqli_exception_class_entry, Z_OBJ(sql_ex), "sqlstate", sizeof("sqlstate") - 1, sqlstate); in php_mysqli_throw_sql_exception()
58 mysqli_exception_class_entry, Z_OBJ(sql_ex), "sqlstate", sizeof("sqlstate") - 1, "00000"); in php_mysqli_throw_sql_exception()
62 …zend_update_property_long(mysqli_exception_class_entry, Z_OBJ(sql_ex), "code", sizeof("code") - 1,… in php_mysqli_throw_sql_exception()
/PHP-8.1/ext/com_dotnet/
H A Dcom_wrapper.c88 trace(" PHP Object:%p (name:unknown) %s\n", Z_OBJ(disp->object), methname); \
90 …trace(" PHP Object:%p (name:%s) %s\n", Z_OBJ(disp->object), Z_OBJCE(disp->object)->name->val, meth…
281 …retval = zend_read_property(Z_OBJCE(disp->object), Z_OBJ(disp->object), Z_STRVAL_P(name), Z_STRLEN… in disp_invokeex()
283 …zend_update_property(Z_OBJCE(disp->object), Z_OBJ(disp->object), Z_STRVAL_P(name), Z_STRLEN_P(name… in disp_invokeex()
560 trace("destroying COM wrapper for PHP object %p (name:unknown)\n", Z_OBJ(disp->object)); in disp_destructor()
562 …trace("destroying COM wrapper for PHP object %p (name:%s)\n", Z_OBJ(disp->object), Z_OBJCE(disp->o… in disp_destructor()
/PHP-8.1/Zend/
H A Dzend_generators.c151 OBJ_RELEASE(Z_OBJ(execute_data->This)); in zend_generator_close()
442 zend_generator *generator = (zend_generator *) Z_OBJ(ptr->This); in zend_generator_check_placeholder_frame()
639 zend_object_iterator *iter = (zend_object_iterator *) Z_OBJ(generator->values); in zend_generator_get_next_delegated_value()
1009 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_valid()
1021 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_data()
1033 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data), *root; in zend_generator_iterator_get_key()
1051 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_move_forward()
1061 zend_generator *generator = (zend_generator*)Z_OBJ(iterator->data); in zend_generator_iterator_rewind()
H A Dzend_closures.c148 closure = (zend_closure *) Z_OBJ(new_closure); in ZEND_METHOD()
404 if (Z_TYPE(lhs->this_ptr) == IS_OBJECT && Z_OBJ(lhs->this_ptr) != Z_OBJ(rhs->this_ptr)) { in zend_closure_compare()
523 return Z_OBJ(result); in zend_closure_clone()
535 *obj_ptr = Z_OBJ(closure->this_ptr); in zend_closure_get_closure()
810 RETURN_OBJ_COPY(Z_OBJ(call->This)); in zend_closure_from_frame()
825 ZVAL_OBJ(&instance, Z_OBJ(call->This)); in zend_closure_from_frame()
H A Dzend_fibers.c383 zend_is_unwind_exit(Z_OBJ(transfer->value)) || in zend_fiber_switch_context()
384 zend_is_graceful_exit(Z_OBJ(transfer->value)) || in zend_fiber_switch_context()
521 zend_throw_exception_internal(Z_OBJ(transfer->value)); in zend_fiber_delegate_transfer_result()
616 EG(exception) = Z_OBJ(transfer.value); in zend_fiber_object_destroy()
H A Dzend_types.h852 #define Z_OBJ(zval) (zval).value.obj macro
853 #define Z_OBJ_P(zval_p) Z_OBJ(*(zval_p))
855 #define Z_OBJ_HT(zval) Z_OBJ(zval)->handlers
861 #define Z_OBJ_HANDLE(zval) (Z_OBJ((zval)))->handle
864 #define Z_OBJCE(zval) (Z_OBJ(zval)->ce)
867 #define Z_OBJPROP(zval) Z_OBJ_HT((zval))->get_properties(Z_OBJ(zval))
H A Dzend_exceptions.c831 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_MESSAGE), &tmp); in zend_throw_exception_zstr()
835 zend_update_property_ex(exception_ce, Z_OBJ(ex), ZSTR_KNOWN(ZEND_STR_CODE), &tmp); in zend_throw_exception_zstr()
838 zend_throw_exception_internal(Z_OBJ(ex)); in zend_throw_exception_zstr()
840 return Z_OBJ(ex); in zend_throw_exception_zstr()
H A Dzend_enum.c502 return Z_OBJ(c->value); in zend_enum_get_case()
H A Dzend_interfaces.c245 …>get_iterator || (ce_it->get_iterator == zend_user_it_get_new_iterator && Z_OBJ(iterator) == Z_OBJ… in zend_user_it_get_new_iterator()
/PHP-8.1/ext/pdo/
H A Dpdo_dbh.c51 …zend_update_property(php_pdo_get_exception(), Z_OBJ(pdo_exception), "errorInfo", sizeof("errorInfo… in pdo_throw_exception()
52 …zend_update_property_long(php_pdo_get_exception(), Z_OBJ(pdo_exception), "code", sizeof("code")-1,… in pdo_throw_exception()
55 Z_OBJ(pdo_exception), in pdo_throw_exception()
106 …zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message")-1, message); in pdo_raise_impl_error()
107 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code")-1, *pdo_err); in pdo_raise_impl_error()
113 zend_update_property(pdo_ex, Z_OBJ(ex), "errorInfo", sizeof("errorInfo")-1, &info); in pdo_raise_impl_error()
183 zend_update_property_str(zend_ce_exception, Z_OBJ(ex), "message", sizeof("message") - 1, message); in pdo_handle_error()
184 zend_update_property_string(zend_ce_exception, Z_OBJ(ex), "code", sizeof("code") - 1, *pdo_err); in pdo_handle_error()
187 zend_update_property(pdo_ex, Z_OBJ(ex), "errorInfo", sizeof("errorInfo") - 1, &info); in pdo_handle_error()
/PHP-8.1/ext/zend_test/
H A Dfiber.c174 EG(exception) = Z_OBJ(transfer.value); in zend_test_fiber_object_destroy()
214 zend_throw_exception_internal(Z_OBJ(transfer->value)); in delegate_transfer_result()
/PHP-8.1/ext/spl/
H A Dspl_iterators.c263 zend_object *obj = Z_OBJ(object->iterators[object->level].zobject); in spl_recursive_it_move_forward_ex()
327 zend_object *obj = Z_OBJ(object->iterators[object->level].zobject); in spl_recursive_it_move_forward_ex()
1250 *object = Z_OBJ(intern->inner.zobject); in spl_dual_it_get_method()
1254 *object = Z_OBJ(intern->inner.zobject); in spl_dual_it_get_method()
1710 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in PHP_METHOD()
1725 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
1744 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
2021 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "getchildren"… in PHP_METHOD()
2201 …zend_call_method_with_1_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "seek", NULL,… in spl_limit_it_seek()
2328 …zend_call_method_with_0_params(Z_OBJ(intern->inner.zobject), intern->inner.ce, NULL, "haschildren"… in spl_caching_it_next()
[all …]
H A Dphp_spl.c395 alfi->closure = Z_OBJ(fci->function_name); in autoload_func_info_from_fci()
/PHP-8.1/ext/reflection/
H A Dphp_reflection.c1692 closure_func = zend_get_closure_method_def(Z_OBJ(intern->obj)); in ZEND_METHOD()
1735 closure_func = zend_get_closure_method_def(Z_OBJ(intern->obj)); in ZEND_METHOD()
1787 RETURN_OBJ_COPY(Z_OBJ(intern->obj)); in ZEND_METHOD()
2350 RETURN_OBJ_COPY(Z_OBJ(ex->This)); in ZEND_METHOD()
4388 && (mptr = zend_get_closure_invoke_method(Z_OBJ(intern->obj))) != NULL) in ZEND_METHOD()
4456 obj = Z_OBJ(obj_tmp); in ZEND_METHOD()
4458 obj = Z_OBJ(intern->obj); in ZEND_METHOD()
4837 zend_object_store_ctor_failed(Z_OBJ(obj)); in ZEND_METHOD()
6936 zval *member_p = zend_enum_fetch_case_value(Z_OBJ(ref->value)); in ZEND_METHOD()
6968 RETURN_OBJ_COPY(Z_OBJ(Z_REFLECTION_P(ZEND_THIS)->obj)); in ZEND_METHOD()
[all …]
/PHP-8.1/ext/intl/calendar/
H A Dcalendar_class.cpp179 debug_info_tz = Z_OBJ_HANDLER(ztz, get_debug_info)(Z_OBJ(ztz), &is_tmp); in Calendar_get_debug_info()
H A Dcalendar_methods.cpp962 …zend_call_known_instance_method_with_1_params(Z_OBJCE(zv_tmp)->constructor, Z_OBJ(zv_tmp), NULL, &… in PHP_FUNCTION()
963 date_obj = Z_OBJ(zv_tmp); in PHP_FUNCTION()
965 zend_object_store_ctor_failed(Z_OBJ(zv_tmp)); in PHP_FUNCTION()
/PHP-8.1/ext/standard/
H A Dvar.c1173 if (!(ht = php_var_serialize_call_sleep(Z_OBJ(tmp), Z_FUNC_P(zv)))) { in php_var_serialize_intern()
1179 OBJ_RELEASE(Z_OBJ(tmp)); in php_var_serialize_intern()
1185 OBJ_RELEASE(Z_OBJ(tmp)); in php_var_serialize_intern()
H A Duser_filters.c357 ZVAL_OBJ(&filter->abstract, Z_OBJ(obj)); in user_filter_factory_create()
/PHP-8.1/ext/json/
H A Djson_encoder.c570 (Z_OBJ(retval) == Z_OBJ_P(val))) { in php_json_encode_serializable_object()
/PHP-8.1/ext/soap/
H A Dsoap.c76 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
80 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);
85 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
91 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
99 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);\
124 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
1181 …zend_string *msg = zval_get_string(zend_read_property(zend_ce_error, Z_OBJ(exception_object), "mes… in _soap_server_exception()
1408 service->soap_class.ce->constructor, Z_OBJ(tmp_soap), NULL,
1786 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
/PHP-8.1/ext/date/
H A Dphp_date.c2969 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3021 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3078 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3178 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3259 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3305 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3355 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
3400 RETURN_OBJ(Z_OBJ(new_object)); in PHP_METHOD()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_vm_helpers.c64 OBJ_RELEASE(Z_OBJ(execute_data->This)); in zend_jit_leave_nested_func_helper()
193 OBJ_RELEASE(Z_OBJ(call->This)); in zend_jit_deprecated_helper()
/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_statement.c62 && !(OBJ_FLAGS(Z_OBJ(stmt->database_object_handle)) & IS_OBJ_FREE_CALLED); in pgsql_stmt_dtor()
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_statement.c100 && (!(OBJ_FLAGS(Z_OBJ(stmt->database_object_handle)) & IS_OBJ_FREE_CALLED))) { in pdo_mysql_stmt_dtor()
/PHP-8.1/ext/phar/
H A Dphar_object.c1721 Z_OBJ(iter), NULL, &arg, &arg2); in PHP_METHOD()
1736 Z_OBJ(iteriter), NULL, &iter); in PHP_METHOD()
1758 Z_OBJ(regexiter), NULL, &iteriter, &arg2); in PHP_METHOD()
2200 zend_call_known_instance_method_with_1_params(ce->constructor, Z_OBJ(ret), NULL, &arg1); in phar_rename_archive()
2202 return Z_OBJ(ret); in phar_rename_archive()

Completed in 144 milliseconds

12