/PHP-5.3/Zend/ |
H A D | zend_object_handlers.h | 146 ZEND_API union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name… 147 ZEND_API zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int propert… 148 ZEND_API zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int pr… 150 ZEND_API struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int… 159 ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, char *function_nam… 161 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope);
|
H A D | zend_API.h | 217 # define CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members:CG(static_member… argument 219 # define CE_STATIC_MEMBERS(ce) ((ce)->static_members) argument 268 ZEND_API int zend_register_class_alias_ex(const char *name, int name_len, zend_class_entry *ce TSRM… 270 #define zend_register_class_alias(name, ce) \ argument 271 zend_register_class_alias_ex(name, sizeof(name)-1, ce TSRMLS_CC) 272 #define zend_register_ns_class_alias(ns, name, ce) \ argument 273 …zend_register_class_alias_ex(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, ce TSRMLS_C… 302 ZEND_API int zend_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_l… 350 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC TSRMLS_CC) argument 351 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument [all …]
|
H A D | zend_constants.c | 282 zend_class_entry *ce = NULL; in zend_get_constant_ex() local 313 ce = scope; in zend_get_constant_ex() 326 ce = scope->parent; in zend_get_constant_ex() 332 ce = EG(called_scope); in zend_get_constant_ex() 339 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC); in zend_get_constant_ex() 341 if (retval && ce) { in zend_get_constant_ex() 342 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex() 348 } else if (!ce) { in zend_get_constant_ex() 401 zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); in zend_get_constant_ex()
|
H A D | zend_variables.h | 87 #define zval_copy_property_ctor(ce) ((copy_ctor_func_t) (((ce)->type == ZEND_INTERNAL_CLASS) ? zval… argument
|
/PHP-5.3/ext/mysqli/ |
H A D | mysqli.c | 583 zend_class_entry *ce,cex; in PHP_MINIT_FUNCTION() local 622 ce = mysqli_driver_class_entry; in PHP_MINIT_FUNCTION() 627 ce->ce_flags |= ZEND_ACC_FINAL_CLASS; in PHP_MINIT_FUNCTION() 630 ce = mysqli_link_class_entry; in PHP_MINIT_FUNCTION() 637 ce = mysqli_warning_class_entry; in PHP_MINIT_FUNCTION() 645 ce = mysqli_result_class_entry; in PHP_MINIT_FUNCTION() 652 ce = mysqli_stmt_class_entry; in PHP_MINIT_FUNCTION() 1094 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local 1111 ce = zend_standard_class_def; in php_mysqli_fetch_into_hash() 1115 if (!ce) { in php_mysqli_fetch_into_hash() [all …]
|
H A D | php_mysqli_structs.h | 235 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", intern->zo.ce->name);\ 240 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name… 250 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name… 260 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid object or resource %s\n", intern->zo.ce->name…
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_misc.c | 53 obj->ce = php_com_variant_class_entry; in php_com_wrap_dispatch() 54 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_dispatch() 76 obj->ce = php_com_variant_class_entry; in php_com_wrap_variant() 77 obj->zo.ce = php_com_variant_class_entry; in php_com_wrap_variant()
|
H A D | com_handlers.c | 285 f.scope = obj->ce; in com_method_get() 412 f.function_name = obj->ce->name; \ in com_constructor_get() 413 f.scope = obj->ce; \ in com_constructor_get() 420 switch (obj->ce->name[0]) { in com_constructor_get() 442 return obj->ce; in com_class_entry_get() 450 *class_name = estrndup(obj->ce->name, obj->ce->name_length); in com_class_name_get() 451 *class_name_len = obj->ce->name_length; in com_class_name_get() 662 zend_object_value php_com_object_new(zend_class_entry *ce TSRMLS_DC) in php_com_object_new() 673 obj->ce = ce; in php_com_object_new() 674 obj->zo.ce = ce; in php_com_object_new()
|
/PHP-5.3/ext/spl/ |
H A D | spl_iterators.c | 97 zend_class_entry *ce; member 233 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex() 295 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex() 317 if (!ce || !instanceof_function(ce, spl_ce_RecursiveIterator TSRMLS_CC)) { in spl_recursive_it_move_forward_ex() 330 sub_iter = ce->get_iterator(ce, child, 0 TSRMLS_CC); in spl_recursive_it_move_forward_ex() 333 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex() 735 zend_class_entry *ce = object->iterators[object->level].ce; in SPL_METHOD() local 760 zend_class_entry *ce = object->iterators[object->level].ce; in SPL_METHOD() local 1449 ce = *pce_cast; in spl_dual_it_construct() 1523 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct() [all …]
|
H A D | php_spl.c | 67 zend_class_entry **ce; in spl_find_ce_by_name() local 87 return *ce; in spl_find_ce_by_name() 95 zend_class_entry *parent_class, *ce; in PHP_FUNCTION() local 112 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 116 parent_class = ce->parent; in PHP_FUNCTION() 130 zend_class_entry *ce; in PHP_FUNCTION() local 145 ce = Z_OBJCE_P(obj); in PHP_FUNCTION() 367 zend_class_entry *ce; member 465 alfi.ce = fcc.calling_scope; in PHP_FUNCTION() 508 alfi.ce = fcc.calling_scope; in PHP_FUNCTION() [all …]
|
H A D | spl_directory.c | 445 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_info() 447 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_info() 455 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); in spl_filesystem_object_create_info() 488 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type() 490 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_type() 499 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); in spl_filesystem_object_create_type() 509 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type() 511 zend_update_class_constants(ce TSRMLS_CC); in spl_filesystem_object_create_type() 523 …zend_call_method_with_2_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1, arg… in spl_filesystem_object_create_type() 1346 intern->file_class = ce; in SPL_METHOD() [all …]
|
/PHP-5.3/ext/standard/ |
H A D | var.c | 660 zend_class_entry *ce; in php_var_serialize_class() local 661 ce = zend_get_class_entry(struc TSRMLS_CC); in php_var_serialize_class() 662 if (ce) { in php_var_serialize_class() 667 …operty_name(&priv_name, &prop_name_length, ce->name, ce->name_length, Z_STRVAL_PP(name), Z_STRLEN_… in php_var_serialize_class() 670 pefree(priv_name, ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_class() 674 pefree(priv_name, ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_class() 682 pefree(prot_name, ce->type & ZEND_INTERNAL_CLASS); in php_var_serialize_class() 753 zend_class_entry *ce = NULL; in php_var_serialize_intern() local 756 ce = Z_OBJCE_P(struc); in php_var_serialize_intern() 759 if (ce && ce->serialize != NULL) { in php_var_serialize_intern() [all …]
|
H A D | var_unserializer.re | 347 if (ce->unserialize == NULL) { 349 object_init_ex(*rval, ce); 350 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v… 367 object_init_ex(*rval, ce); 610 zend_class_entry *ce; 658 ce = *pce; 665 ce = PHP_IC_ENTRY; 678 ce = PHP_IC_ENTRY; 689 ce = *pce; 693 ce = PHP_IC_ENTRY; [all …]
|
H A D | var_unserializer.c | 343 if (ce->unserialize == NULL) { in object_custom() 345 object_init_ex(*rval, ce); in object_custom() 346 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v… in object_custom() 363 object_init_ex(*rval, ce); in object_common1() 552 zend_class_entry *ce; in php_var_unserialize() local 600 ce = *pce; in php_var_unserialize() 607 ce = PHP_IC_ENTRY; in php_var_unserialize() 620 ce = PHP_IC_ENTRY; in php_var_unserialize() 631 ce = *pce; in php_var_unserialize() 635 ce = PHP_IC_ENTRY; in php_var_unserialize() [all …]
|
H A D | type.c | 211 zend_class_entry *ce; in php_is_type() local 216 ce = Z_OBJCE_PP(arg); in php_is_type() 217 if (!strcmp(ce->name, INCOMPLETE_CLASS)) { in php_is_type()
|
/PHP-5.3/ext/pdo/ |
H A D | pdo_stmt.c | 744 zend_class_entry * ce = stmt->fetch.cls.ce; in do_fetch_class_prepare() local 750 if (!ce) { in do_fetch_class_prepare() 755 if (ce->constructor) { in do_fetch_class_prepare() 780 fcc->called_scope = ce; in do_fetch_class_prepare() 964 ce = stmt->fetch.cls.ce; in do_fetch() 965 if (!ce) { in do_fetch() 1145 if (!ce->unserialize) { in do_fetch() 1355 old_ce = stmt->fetch.cls.ce; in PHP_METHOD() 1382 if (!stmt->fetch.cls.ce) { in PHP_METHOD() 2358 zend_class_entry ce; in pdo_stmt_init() local [all …]
|
/PHP-5.3/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 58 static zend_object_value ResourceBundle_object_create( zend_class_entry *ce TSRMLS_DC ) in ResourceBundle_object_create() 65 zend_object_std_init( (zend_object *) rb, ce TSRMLS_CC ); in ResourceBundle_object_create() 418 zend_class_entry ce; in resourcebundle_register_class() local 420 INIT_CLASS_ENTRY( ce, "ResourceBundle", ResourceBundle_class_functions ); in resourcebundle_register_class() 422 ce.create_object = ResourceBundle_object_create; in resourcebundle_register_class() 423 ce.get_iterator = resourcebundle_get_iterator; in resourcebundle_register_class() 425 ResourceBundle_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC ); in resourcebundle_register_class()
|
H A D | resourcebundle_iterator.h | 34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref TS…
|
/PHP-5.3/ext/xsl/ |
H A D | php_xsl.c | 156 zend_class_entry ce; in PHP_INI_END() local 161 …REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltproce… in PHP_INI_END() 230 zend_class_entry *ce; in php_xsl_create_object() local 257 ce = xsl_xsltprocessor_class_entry; in php_xsl_create_object() 260 object_init_ex(wrapper, ce); in php_xsl_create_object()
|
/PHP-5.3/ext/libxml/ |
H A D | libxml.c | 599 zend_class_entry ce; in PHP_MINIT_FUNCTION() local 634 INIT_CLASS_ENTRY(ce, "LibXMLError", NULL); in PHP_MINIT_FUNCTION() 635 libxmlerror_class_entry = zend_register_internal_class(&ce TSRMLS_CC); in PHP_MINIT_FUNCTION() 886 int php_libxml_register_export(zend_class_entry *ce, php_libxml_export_node export_function) in php_libxml_register_export() argument 894 …return zend_hash_add(&php_libxml_exports, ce->name, ce->name_length + 1, &export_hnd, sizeof(expor… in php_libxml_register_export() 899 zend_class_entry *ce = NULL; in php_libxml_import_node() local 904 ce = Z_OBJCE_P(object); in php_libxml_import_node() 905 while (ce->parent != NULL) { in php_libxml_import_node() 906 ce = ce->parent; in php_libxml_import_node() 908 …if (zend_hash_find(&php_libxml_exports, ce->name, ce->name_length + 1, (void **) &export_hnd) == … in php_libxml_import_node()
|
/PHP-5.3/ext/dom/ |
H A D | xml_common.h | 66 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\ 75 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_study.c | 100 pcre_uchar *cs, *ce; in find_minlength() local 382 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength() 384 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength() 385 if (cc > cs && cc < ce) in find_minlength() 434 cs = ce = (pcre_uchar *)startcode + GET(cc, 1); in find_minlength() 435 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength() 436 if ((cc > cs && cc < ce) || recurse_depth > 10) in find_minlength()
|
/PHP-5.3/ext/simplexml/ |
H A D | php_simplexml_exports.h | 42 PHP_SXE_API zend_object_value sxe_object_new(zend_class_entry *ce TSRMLS_DC);
|
/PHP-5.3/ext/reflection/ |
H A D | php_reflection.h | 44 PHPAPI void zend_reflection_class_factory(zend_class_entry *ce, zval *object TSRMLS_DC);
|
/PHP-5.3/main/streams/ |
H A D | userspace.c | 35 zend_class_entry *ce; member 294 object_init_ex(us->object, uwrap->ce); in user_wrapper_opener() 298 if (uwrap->ce->constructor) { in user_wrapper_opener() 314 fcc.function_handler = uwrap->ce->constructor; in user_wrapper_opener() 429 object_init_ex(us->object, uwrap->ce); in user_wrapper_opendir() 513 uwrap->ce = *(zend_class_entry**)uwrap->ce; in PHP_FUNCTION() 1093 object_init_ex(object, uwrap->ce); in user_wrapper_unlink() 1147 object_init_ex(object, uwrap->ce); in user_wrapper_rename() 1206 object_init_ex(object, uwrap->ce); in user_wrapper_mkdir() 1271 object_init_ex(object, uwrap->ce); in user_wrapper_rmdir() [all …]
|