/php-src/ext/soap/ |
H A D | soap_arginfo.h | 320 zend_class_entry ce, *class_entry; in register_class_Soap_Url() local 322 INIT_NS_CLASS_ENTRY(ce, "Soap", "Url", NULL); in register_class_Soap_Url() 330 zend_class_entry ce, *class_entry; in register_class_Soap_Sdl() local 332 INIT_NS_CLASS_ENTRY(ce, "Soap", "Sdl", NULL); in register_class_Soap_Sdl() 340 zend_class_entry ce, *class_entry; in register_class_SoapParam() local 362 zend_class_entry ce, *class_entry; in register_class_SoapHeader() local 400 zend_class_entry ce, *class_entry; in register_class_SoapFault() local 452 zend_class_entry ce, *class_entry; in register_class_SoapVar() local 454 INIT_CLASS_ENTRY(ce, "SoapVar", class_SoapVar_methods); in register_class_SoapVar() 498 zend_class_entry ce, *class_entry; in register_class_SoapServer() local [all …]
|
/php-src/ext/pdo/ |
H A D | php_pdo.h | 26 PHPAPI extern zend_object *pdo_dbh_new(zend_class_entry *ce); 61 zend_throw_error(NULL, "%s object is uninitialized", ZSTR_VAL(Z_OBJ(EX(This))->ce->name)); \
|
/php-src/ext/zend_test/ |
H A D | test.c | 436 zend_class_entry *ce = NULL; in ZEND_FUNCTION() local 449 ce = obj->ce; in ZEND_FUNCTION() 451 ce = zend_lookup_class(Z_STR_P(class_or_object)); in ZEND_FUNCTION() 452 if (!ce) { in ZEND_FUNCTION() 468 zend_class_entry *ce = NULL; in ZEND_FUNCTION() local 474 Z_PARAM_CLASS(ce) in ZEND_FUNCTION() 848 fptr->scope = (*object)->ce; in zend_test_class_method_get() 872 fptr->scope = ce; in zend_test_class_static_method_get() 880 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get() 1139 instanceof_function(obj->ce, zend_ce_iterator) in ZEND_METHOD() [all …]
|
/php-src/ext/spl/ |
H A D | spl_array_arginfo.h | 259 zend_class_entry ce, *class_entry; in register_class_ArrayObject() local 261 INIT_CLASS_ENTRY(ce, "ArrayObject", class_ArrayObject_methods); in register_class_ArrayObject() 262 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ArrayObject() 282 zend_class_entry ce, *class_entry; in register_class_ArrayIterator() local 284 INIT_CLASS_ENTRY(ce, "ArrayIterator", class_ArrayIterator_methods); in register_class_ArrayIterator() 285 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_ArrayIterator() 305 zend_class_entry ce, *class_entry; in register_class_RecursiveArrayIterator() local 307 INIT_CLASS_ENTRY(ce, "RecursiveArrayIterator", class_RecursiveArrayIterator_methods); in register_class_RecursiveArrayIterator() 308 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_ArrayIterator, 0); in register_class_RecursiveArrayIterator()
|
/php-src/ext/intl/breakiterator/ |
H A D | breakiterator_arginfo.h | 156 zend_class_entry ce, *class_entry; in register_class_IntlBreakIterator() local 158 INIT_CLASS_ENTRY(ce, "IntlBreakIterator", class_IntlBreakIterator_methods); in register_class_IntlBreakIterator() 159 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_IntlBreakIterator() 281 zend_class_entry ce, *class_entry; in register_class_IntlRuleBasedBreakIterator() local 283 INIT_CLASS_ENTRY(ce, "IntlRuleBasedBreakIterator", class_IntlRuleBasedBreakIterator_methods); in register_class_IntlRuleBasedBreakIterator() 284 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_IntlBreakIterator, ZEND_ACC… in register_class_IntlRuleBasedBreakIterator() 291 zend_class_entry ce, *class_entry; in register_class_IntlCodePointBreakIterator() local 293 INIT_CLASS_ENTRY(ce, "IntlCodePointBreakIterator", class_IntlCodePointBreakIterator_methods); in register_class_IntlCodePointBreakIterator() 294 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_IntlBreakIterator, ZEND_ACC… in register_class_IntlCodePointBreakIterator()
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat_arginfo.h | 78 zend_class_entry ce, *class_entry; in register_class_MessageFormatter() local 80 INIT_CLASS_ENTRY(ce, "MessageFormatter", class_MessageFormatter_methods); in register_class_MessageFormatter() 81 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_MessageFormatter()
|
/php-src/ext/pdo_firebird/ |
H A D | pdo_firebird_arginfo.h | 16 zend_class_entry ce, *class_entry; in register_class_Pdo_Firebird() local 18 INIT_NS_CLASS_ENTRY(ce, "Pdo", "Firebird", class_Pdo_Firebird_methods); in register_class_Pdo_Firebird() 19 …class_entry = zend_register_internal_class_with_flags(&ce, class_entry_PDO, ZEND_ACC_NO_DYNAMIC_PR… in register_class_Pdo_Firebird()
|
/php-src/ext/intl/transliterator/ |
H A D | transliterator_arginfo.h | 58 zend_class_entry ce, *class_entry; in register_class_Transliterator() local 60 INIT_CLASS_ENTRY(ce, "Transliterator", class_Transliterator_methods); in register_class_Transliterator() 61 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_Transliterator()
|
/php-src/ext/mysqli/ |
H A D | mysqli.c | 268 ZSTR_VAL(object->ce->name), ZSTR_VAL(name)); in mysqli_write_property() 272 zend_property_info *prop = zend_get_property_info(object->ce, name, /* silent */ true); in mysqli_write_property() 414 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); in mysqli_convert_zv_to_mysqlnd() 752 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local 758 if (ce == NULL) { in php_mysqli_fetch_into_hash() 759 ce = zend_standard_class_def; in php_mysqli_fetch_into_hash() 762 zend_throw_error(NULL, "Class %s cannot be instantiated", ZSTR_VAL(ce->name)); in php_mysqli_fetch_into_hash() 793 object_init_ex(return_value, ce); in php_mysqli_fetch_into_hash() 796 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash() 803 if (ce->constructor) { in php_mysqli_fetch_into_hash() [all …]
|
H A D | php_mysqli_structs.h | 149 extern zend_object_iterator *php_mysqli_result_get_iterator(zend_class_entry *ce, zval *object, int… 185 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\ 190 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \ 199 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name));\ 204 zend_throw_error(NULL, "%s object is not fully initialized", ZSTR_VAL(intern->zo.ce->name)); \
|
/php-src/ext/ffi/ |
H A D | ffi_arginfo.h | 201 zend_class_entry ce, *class_entry; in register_class_FFI() local 203 INIT_CLASS_ENTRY(ce, "FFI", class_FFI_methods); in register_class_FFI() 217 zend_class_entry ce, *class_entry; in register_class_FFI_CData() local 219 INIT_NS_CLASS_ENTRY(ce, "FFI", "CData", NULL); in register_class_FFI_CData() 227 zend_class_entry ce, *class_entry; in register_class_FFI_CType() local 229 INIT_NS_CLASS_ENTRY(ce, "FFI", "CType", class_FFI_CType_methods); in register_class_FFI_CType() 467 zend_class_entry ce, *class_entry; in register_class_FFI_Exception() local 469 INIT_NS_CLASS_ENTRY(ce, "FFI", "Exception", NULL); in register_class_FFI_Exception() 470 class_entry = zend_register_internal_class_with_flags(&ce, class_entry_Error, 0); in register_class_FFI_Exception() 477 zend_class_entry ce, *class_entry; in register_class_FFI_ParserException() local [all …]
|
/php-src/Zend/ |
H A D | zend_object_handlers.h | 248 ZEND_API void zend_class_init_statics(zend_class_entry *ce); 249 ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name… 250 ZEND_API zval *zend_std_get_static_property_with_info(zend_class_entry *ce, zend_string *property_n… 251 ZEND_API zval *zend_std_get_static_property(zend_class_entry *ce, zend_string *property_name, int t… 252 ZEND_API ZEND_COLD bool zend_std_unset_static_property(zend_class_entry *ce, zend_string *property_… 254 ZEND_API struct _zend_property_info *zend_get_property_info(const zend_class_entry *ce, zend_string… 307 ZEND_API bool zend_check_protected(const zend_class_entry *ce, const zend_class_entry *scope); 311 ZEND_API zend_function *zend_get_call_trampoline_func(const zend_class_entry *ce, zend_string *meth…
|
H A D | zend_API.h | 328 #define CE_STATIC_MEMBERS(ce) \ argument 331 #define CE_CONSTANTS_TABLE(ce) \ argument 332 zend_class_constants_table(ce) 452 if ((ce->ce_flags & ZEND_ACC_HAS_AST_CONSTANTS) && ZEND_MAP_PTR(ce->mutable_data)) { in zend_class_constants_table() 461 return &ce->constants_table; in zend_class_constants_table() 466 if ((ce->ce_flags & ZEND_ACC_HAS_AST_PROPERTIES) && ZEND_MAP_PTR(ce->mutable_data)) { in zend_class_default_properties_table() 477 if (ZEND_MAP_PTR(ce->mutable_data) && ce->type == ZEND_USER_CLASS) { in zend_class_set_backed_enum_table() 487 if (ZEND_MAP_PTR(ce->mutable_data) && ce->type == ZEND_USER_CLASS) { in zend_class_backed_enum_table() 491 return ce->backed_enum_table; in zend_class_backed_enum_table() 2422 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object() [all …]
|
H A D | zend_attributes.c | 452 ZEND_API zend_internal_attribute *zend_mark_internal_attribute(zend_class_entry *ce) in zend_mark_internal_attribute() argument 457 if (ce->type != ZEND_INTERNAL_CLASS) { in zend_mark_internal_attribute() 461 ZEND_HASH_FOREACH_PTR(ce->attributes, attr) { in zend_mark_internal_attribute() 464 internal_attr->ce = ce; in zend_mark_internal_attribute() 468 zend_string *lcname = zend_string_tolower_ex(ce->name, 1); in zend_mark_internal_attribute() 479 ZEND_API zend_internal_attribute *zend_internal_attribute_register(zend_class_entry *ce, uint32_t f… in zend_internal_attribute_register() argument 481 zend_attribute *attr = zend_add_class_attribute(ce, zend_ce_attribute->name, 1); in zend_internal_attribute_register() 484 return zend_mark_internal_attribute(ce); in zend_internal_attribute_register()
|
H A D | zend_observer.h | 142 typedef void (*zend_observer_class_linked_cb)(zend_class_entry *ce, zend_string *name); 145 ZEND_API void ZEND_FASTCALL _zend_observer_class_linked_notify(zend_class_entry *ce, zend_string *n… 146 static inline void zend_observer_class_linked_notify(zend_class_entry *ce, zend_string *name) { in zend_observer_class_linked_notify() argument 148 _zend_observer_class_linked_notify(ce, name); in zend_observer_class_linked_notify()
|
/php-src/Zend/Optimizer/ |
H A D | zend_optimizer.c | 807 && (!ce->info.user.filename || ce->info.user.filename != filename); in zend_optimizer_ignore_class() 834 if (ce) { in zend_optimizer_get_class_entry() 835 return ce; in zend_optimizer_get_class_entry() 883 ce = Z_PTR_P(ce_zv); in zend_fetch_class_const_info() 892 ce = op_array->scope; in zend_fetch_class_const_info() 894 ce = op_array->scope; in zend_fetch_class_const_info() 902 if (!ce || (ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_fetch_class_const_info() 957 if (ce) { in zend_optimizer_get_called_func() 1024 if (ce && ce->type == ZEND_USER_CLASS) { in zend_optimizer_get_called_func() 1025 return ce->constructor; in zend_optimizer_get_called_func() [all …]
|
/php-src/ext/json/ |
H A D | json_encoder.c | 145 && Z_OBJ_P(val)->ce->num_hooked_props == 0 in php_json_encode_array() 149 zend_class_entry *ce = obj->ce; in php_json_encode_array() local 165 for (int i = 0; i < ce->default_properties_count; i++) { in php_json_encode_array() 166 prop_info = ce->properties_info_table[i]; in php_json_encode_array() 224 if (obj->ce->num_hooked_props == 0) { in php_json_encode_array() 286 zend_read_property_ex(prop_info->ce, Z_OBJ_P(val), prop_info->name, /* silent */ true, &tmp); in php_json_encode_array() 584 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_object() local 606 zend_throw_exception_ex(NULL, 0, "Failed calling %s::jsonSerialize()", ZSTR_VAL(ce->name)); in php_json_encode_serializable_object() 649 zend_class_entry *ce = Z_OBJCE_P(val); in php_json_encode_serializable_enum() local 650 if (ce->enum_backing_type == IS_UNDEF) { in php_json_encode_serializable_enum()
|
/php-src/ext/tokenizer/ |
H A D | tokenizer_arginfo.h | 67 zend_class_entry ce, *class_entry; in register_class_PhpToken() local 69 INIT_CLASS_ENTRY(ce, "PhpToken", class_PhpToken_methods); in register_class_PhpToken() 70 class_entry = zend_register_internal_class_with_flags(&ce, NULL, 0); in register_class_PhpToken()
|
/php-src/ext/intl/common/ |
H A D | common_enum.cpp | 170 zend_class_entry *ce, zval *object, int by_ref) in IntlIterator_get_iterator() argument 191 static zend_object *IntlIterator_object_create(zend_class_entry *ce) in IntlIterator_object_create() argument 195 …intern = (IntlIterator_object*)ecalloc(1, sizeof(IntlIterator_object) + sizeof(zval) * (ce->defaul… in IntlIterator_object_create() 197 zend_object_std_init(&intern->zo, ce); in IntlIterator_object_create() 198 object_properties_init(&intern->zo, ce); in IntlIterator_object_create()
|
/php-src/ext/fileinfo/ |
H A D | fileinfo_arginfo.h | 103 zend_class_entry ce, *class_entry; in register_class_finfo() local 105 INIT_CLASS_ENTRY(ce, "finfo", class_finfo_methods); in register_class_finfo() 106 class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_NOT_SERIALIZABLE); in register_class_finfo()
|
/php-src/ext/dba/ |
H A D | dba_arginfo.h | 110 zend_class_entry ce, *class_entry; in register_class_Dba_Connection() local 112 INIT_NS_CLASS_ENTRY(ce, "Dba", "Connection", NULL); in register_class_Dba_Connection() 113 …class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMI… in register_class_Dba_Connection()
|
/php-src/ext/enchant/ |
H A D | enchant_arginfo.h | 223 zend_class_entry ce, *class_entry; in register_class_EnchantBroker() local 225 INIT_CLASS_ENTRY(ce, "EnchantBroker", NULL); in register_class_EnchantBroker() 226 …class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMI… in register_class_EnchantBroker() 233 zend_class_entry ce, *class_entry; in register_class_EnchantDictionary() local 235 INIT_CLASS_ENTRY(ce, "EnchantDictionary", NULL); in register_class_EnchantDictionary() 236 …class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMI… in register_class_EnchantDictionary()
|
/php-src/ext/zlib/ |
H A D | zlib_arginfo.h | 232 zend_class_entry ce, *class_entry; in register_class_InflateContext() local 234 INIT_CLASS_ENTRY(ce, "InflateContext", NULL); in register_class_InflateContext() 235 …class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMI… in register_class_InflateContext() 242 zend_class_entry ce, *class_entry; in register_class_DeflateContext() local 244 INIT_CLASS_ENTRY(ce, "DeflateContext", NULL); in register_class_DeflateContext() 245 …class_entry = zend_register_internal_class_with_flags(&ce, NULL, ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMI… in register_class_DeflateContext()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_study.c | 139 PCRE2_UCHAR op, *cs, *ce; in find_minlength() local 501 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength() 505 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength() 507 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength() 560 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength() 562 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength() 565 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength() 567 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength() 646 cs = ce = (PCRE2_UCHAR *)startcode + GET(cc, 1); in find_minlength() 654 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength() [all …]
|
/php-src/ext/dom/ |
H A D | html_collection.c | 104 zend_throw_error(NULL, "Cannot append to %s", ZSTR_VAL(object->ce->name)); in dom_html_collection_read_dimension() 110 zend_illegal_container_offset(object->ce->name, offset, type); in dom_html_collection_read_dimension() 131 zend_illegal_container_offset(object->ce->name, member, BP_VAR_IS); in dom_html_collection_has_dimension()
|