Home
last modified time | relevance | path

Searched refs:ce (Results 126 – 144 of 144) sorted by last modified time

123456

/PHP-5.5/Zend/
H A Dzend_interfaces.c125 …return zend_call_method_with_0_params(&object, ce, &ce->iterator_funcs.zf_new_iterator, "getiterat… in zend_user_it_new_iterator()
163 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_valid, "valid", &mo… in zend_user_it_valid()
181 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_current, "current",… in zend_user_it_get_current_data()
204 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_key, "key", &retval… in zend_user_it_get_current_key()
224 zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_next, "next", NULL); in zend_user_it_move_forward()
235 …zend_call_method_with_0_params(&object, iter->ce, &iter->ce->iterator_funcs.zf_rewind, "rewind", N… in zend_user_it_rewind()
263 iterator->ce = Z_OBJCE_P(object); in zend_user_it_get_iterator()
406 zend_call_method_with_0_params(&object, ce, &ce->serialize_func, "serialize", &retval); in zend_user_serialize()
441 object_init_ex(*object, ce); in zend_user_unserialize()
446 zend_call_method_with_1_params(object, ce, &ce->unserialize_func, "unserialize", NULL, zdata); in zend_user_unserialize()
[all …]
H A Dzend_interfaces.h37 zend_class_entry *ce; member
59 ZEND_API zval *zend_user_it_new_iterator(zend_class_entry *ce, zval *object TSRMLS_DC);
60 ZEND_API zend_object_iterator *zend_user_it_get_new_iterator(zend_class_entry *ce, zval *object, in…
65 ZEND_API int zend_user_unserialize(zval **object, zend_class_entry *ce, const unsigned char *buf, z…
68 ZEND_API int zend_class_unserialize_deny(zval **object, zend_class_entry *ce, const unsigned char *…
H A Dzend_generators.c679 zend_object_iterator *zend_generator_get_iterator(zend_class_entry *ce, zval *object, int by_ref TS… in zend_generator_get_iterator() argument
734 zend_class_entry ce; in zend_register_generator_ce() local
736 INIT_CLASS_ENTRY(ce, "Generator", generator_functions); in zend_register_generator_ce()
737 zend_ce_generator = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_generator_ce()
H A Dzend_execute_API.c115 static int clean_non_persistent_class(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class()
117 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class()
121 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC) /* {{{ */ in clean_non_persistent_class_full()
123 return ((*ce)->type == ZEND_INTERNAL_CLASS) ? ZEND_HASH_APPLY_KEEP : ZEND_HASH_APPLY_REMOVE; in clean_non_persistent_class_full()
350 zend_class_entry *ce = EG(current_execute_data)->function_state.function->common.scope; in get_active_class_name() local
353 *space = ce ? "::" : ""; in get_active_class_name()
355 return ce ? ce->name : ""; in get_active_class_name()
1135 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class()
1573 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC) /* {{{ */ in zend_verify_abstract_class()
1577 …if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRA… in zend_verify_abstract_class()
[all …]
H A Dzend_exceptions.c788 zend_class_entry ce; in zend_register_default_exception() local
790 INIT_CLASS_ENTRY(ce, "Exception", default_exception_functions); in zend_register_default_exception()
791 default_exception_ce = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_default_exception()
804 INIT_CLASS_ENTRY(ce, "ErrorException", error_exception_functions); in zend_register_default_exception()
805 error_exception_ce = zend_register_internal_class_ex(&ce, default_exception_ce, NULL TSRMLS_CC); in zend_register_default_exception()
H A Dzend_execute.c161 #define IS_CTOR_CALL(ce) (((zend_uintptr_t)(ce)) & CTOR_CALL_BIT) argument
162 #define IS_CTOR_USED(ce) (((zend_uintptr_t)(ce)) & CTOR_USED_BIT) argument
164 #define ENCODE_CTOR(ce, used) \ argument
165 ((zend_class_entry*)(((zend_uintptr_t)(ce)) | CTOR_CALL_BIT | ((used) ? CTOR_USED_BIT : 0)))
166 #define DECODE_CTOR(ce) \ argument
167 ((zend_class_entry*)(((zend_uintptr_t)(ce)) & ~(CTOR_CALL_BIT|CTOR_USED_BIT)))
605 zend_class_entry *ce; in zend_verify_arg_type() local
618 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC); in zend_verify_arg_type()
622 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC); in zend_verify_arg_type()
623 if (!ce || !instanceof_function(Z_OBJCE_P(arg), ce TSRMLS_CC)) { in zend_verify_arg_type()
[all …]
H A Dzend_execute.h64 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
65 …ame, int name_length, const zend_literal *key, int use_autoload, zend_class_entry ***ce TSRMLS_DC);
353 void zend_verify_abstract_class(zend_class_entry *ce TSRMLS_DC);
399 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
400 ((EG(active_op_array)->run_time_cache[(num)] == (ce)) ? \
404 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
405 EG(active_op_array)->run_time_cache[(num)] = (ce); \
H A Dzend_compile.h227 zend_class_entry *ce; member
530 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface TSRMLS…
531 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC);
540 ZEND_API void zend_do_implement_trait(zend_class_entry *ce, zend_class_entry *trait TSRMLS_DC);
541 ZEND_API void zend_do_bind_traits(zend_class_entry *ce TSRMLS_DC);
543 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_DC);
665 ZEND_API void zend_cleanup_internal_class_data(zend_class_entry *ce TSRMLS_DC);
670 ZEND_API int clean_non_persistent_class_full(zend_class_entry **ce TSRMLS_DC);
675 void zend_class_add_ref(zend_class_entry **ce);
697 ZEND_API void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers TSRMLS_DC…
H A Dzend_constants.c320 zend_class_entry *ce = NULL; in zend_get_constant_ex() local
351 ce = scope; in zend_get_constant_ex()
364 ce = scope->parent; in zend_get_constant_ex()
370 ce = EG(called_scope); in zend_get_constant_ex()
377 ce = zend_fetch_class(class_name, class_name_len, flags TSRMLS_CC); in zend_get_constant_ex()
379 if (retval && ce) { in zend_get_constant_ex()
380 …if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant)… in zend_get_constant_ex()
386 } else if (!ce) { in zend_get_constant_ex()
439 zval_update_constant_ex(ret_constant, (void*)1, ce TSRMLS_CC); in zend_get_constant_ex()
H A Dzend_builtin_functions.c807 ce = EG(scope); in ZEND_FUNCTION()
808 if (ce && ce->parent) { in ZEND_FUNCTION()
809 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
826 ce = *pce; in ZEND_FUNCTION()
830 if (ce && ce->parent) { in ZEND_FUNCTION()
831 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
1058 ce = *pce; in ZEND_FUNCTION()
1062 if (!ce) { in ZEND_FUNCTION()
1129 ce = *pce; in ZEND_FUNCTION()
1191 ce = *pce; in ZEND_FUNCTION()
[all …]
H A Dzend_closures.c85 zend_class_entry *ce, **ce_p; in ZEND_METHOD() local
99 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
101 ce = NULL; in ZEND_METHOD()
121 ce = closure->func.common.scope; in ZEND_METHOD()
128 ce = *ce_p; in ZEND_METHOD()
133 ce = closure->func.common.scope; in ZEND_METHOD()
136 zend_create_closure(return_value, &closure->func, ce, newthis TSRMLS_CC); in ZEND_METHOD()
417 zend_class_entry ce; in zend_register_closure_ce() local
419 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce()
420 zend_ce_closure = zend_register_internal_class(&ce TSRMLS_CC); in zend_register_closure_ce()
H A Dzend_compile.c3017 ce->__get = ce->parent->__get; in do_inherit_parent_constructor()
3020 ce->__set = ce->parent->__set; in do_inherit_parent_constructor()
3023 ce->__unset = ce->parent->__unset; in do_inherit_parent_constructor()
3026 ce->__isset = ce->parent->__isset; in do_inherit_parent_constructor()
3029 ce->__call = ce->parent->__call; in do_inherit_parent_constructor()
3038 ce->clone = ce->parent->clone; in do_inherit_parent_constructor()
3041 ce->serialize = ce->parent->serialize; in do_inherit_parent_constructor()
3710 if (property_info->ce == ce) { in zend_do_inheritance()
3823 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait()
3845 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) { in zend_add_magic_methods()
[all …]
H A Dzend_API.h226 …efine CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_me… argument
228 # define CE_STATIC_MEMBERS(ce) ((ce)->static_members_table) argument
283 #define zend_register_class_alias(name, ce) \ argument
284 zend_register_class_alias_ex(name, sizeof(name)-1, ce TSRMLS_CC)
285 #define zend_register_ns_class_alias(ns, name, ce) \ argument
286 …zend_register_class_alias_ex(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, ce TSRMLS_C…
363 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC TSRMLS_CC) argument
364 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument
367 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *ce ZEND_FILE_LINE_DC TSRMLS_DC);
524 ZEND_API const char* zend_find_alias_name(zend_class_entry *ce, const char *name, zend_uint len);
[all …]
H A Dzend_API.c575 (!ce || instanceof_function(Z_OBJCE_PP(arg), ce TSRMLS_CC))) { in zend_parse_arg_impl()
578 if (ce) { in zend_parse_arg_impl()
955 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters()
992 if (ce && !instanceof_function(Z_OBJCE_P(this_ptr), ce TSRMLS_CC)) { in zend_parse_method_parameters_ex()
1079 ce = ce->parent; in zval_update_class_constant()
1080 } while (ce); in zval_update_class_constant()
2588 ce->refcount++; in zend_register_class_alias_ex()
3182 memcpy(*callable_name, ce->name, ce->name_length); in zend_is_callable_ex()
3435 ce->static_members_table = ce->default_static_members_table; in zend_declare_property_ex()
3445ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval*) * ce->default… in zend_declare_property_ex()
[all …]
H A Dzend.h313 zend_class_entry *ce; member
446 zend_class_entry *ce; member
510 zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
512 …union _zend_function *(*get_static_method)(zend_class_entry *ce, char* method, int method_len TSRM…
516 …int (*unserialize)(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_le…
/PHP-5.5/
H A DNEWS8466 (Ilia, ce at netage dot bg)
H A D.gdbinit424 set $ce = $arg0
425 if $ce->ce_flags & 0x10 || $ce->ce_flags & 0x20
428 if $ce->ce_flags & 0x40
433 if $ce->parent != 0
447 set $ce = $ce->parent
451 set $ce = $arg0
454 set $ce = $ce->interfaces[0]
457 set $ce = 0
462 set $ce = $arg0
464 while $ce != 0
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dbug49785.phpt232 string(2) "ce"
/PHP-5.5/ext/reflection/tests/
H A Dbug43926.phpt25 $ce = $re->newInstance();
42 print("Is? A ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof A) ? …
43 print("Is? C ". ($rc->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof C) ? …
44 print("Is? D ". ($rd->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof D) ? …
45 print("Is? E ". ($re->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof E) ? …

Completed in 128 milliseconds

123456