Lines Matching refs:ce

231 static zend_always_inline void zend_ffi_object_init(zend_object *object, zend_class_entry *ce) /* {…  in zend_ffi_object_init()  argument
235 object->ce = ce; in zend_ffi_object_init()
1679 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(cdata->type)); in zend_ffi_cdata_get_class_name()
1936 static zend_object_iterator *zend_ffi_cdata_get_iterator(zend_class_entry *ce, zval *object, int by… in zend_ffi_cdata_get_iterator() argument
2175 return zend_ffi_get_class_name(zobj->ce->name, ZEND_FFI_TYPE(ctype->type)); in zend_ffi_ctype_get_class_name()
4497 RETURN_STR_COPY(Z_OBJ_P(ZEND_THIS)->ce->name); in ZEND_METHOD()
4616 zend_throw_error(NULL, "Instantiation of %s is not allowed", ZSTR_VAL(object->ce->name)); in zend_fake_get_constructor()
4621 static ZEND_COLD zend_never_inline void zend_bad_array_access(zend_class_entry *ce) /* {{{ */ in zend_bad_array_access() argument
4623 zend_throw_error(NULL, "Cannot use object of type %s as array", ZSTR_VAL(ce->name)); in zend_bad_array_access()
4629 zend_bad_array_access(obj->ce); in zend_fake_read_dimension()
4636 zend_bad_array_access(obj->ce); in zend_fake_write_dimension()
4642 zend_bad_array_access(obj->ce); in zend_fake_has_dimension()
4649 zend_bad_array_access(obj->ce); in zend_fake_unset_dimension()
4653 static ZEND_COLD zend_never_inline void zend_bad_property_access(zend_class_entry *ce) /* {{{ */ in zend_bad_property_access() argument
4655 zend_throw_error(NULL, "Cannot access property of object of type %s", ZSTR_VAL(ce->name)); in zend_bad_property_access()
4661 zend_bad_property_access(obj->ce); in zend_fake_read_property()
4668 zend_bad_array_access(obj->ce); in zend_fake_write_property()
4675 zend_bad_array_access(obj->ce); in zend_fake_has_property()
4682 zend_bad_array_access(obj->ce); in zend_fake_unset_property()
4694 zend_class_entry *ce = (*obj_ptr)->ce; in zend_fake_get_method() local
4695 zend_throw_error(NULL, "Object of type %s does not support method calls", ZSTR_VAL(ce->name)); in zend_fake_get_method()
4934 zend_class_entry ce; local
4940 INIT_NS_CLASS_ENTRY(ce, "FFI", "Exception", NULL);
4941 zend_ffi_exception_ce = zend_register_internal_class_ex(&ce, zend_ce_error);
4943 INIT_NS_CLASS_ENTRY(ce, "FFI", "ParserException", NULL);
4944 zend_ffi_parser_exception_ce = zend_register_internal_class_ex(&ce, zend_ffi_exception_ce);
4947 INIT_CLASS_ENTRY(ce, "FFI", class_FFI_methods);
4948 zend_ffi_ce = zend_register_internal_class(&ce);
4984 INIT_NS_CLASS_ENTRY(ce, "FFI", "CData", NULL);
4985 zend_ffi_cdata_ce = zend_register_internal_class(&ce);
5062 INIT_NS_CLASS_ENTRY(ce, "FFI", "CType", class_FFI_CType_methods);
5063 zend_ffi_ctype_ce = zend_register_internal_class(&ce);