Home
last modified time | relevance | path

Searched refs:ce (Results 101 – 125 of 289) sorted by relevance

12345678910>>...12

/php-src/ext/simplexml/
H A Dsimplexml_arginfo.h165 zend_class_entry ce, *class_entry; in register_class_SimpleXMLElement() local
167 INIT_CLASS_ENTRY(ce, "SimpleXMLElement", class_SimpleXMLElement_methods); in register_class_SimpleXMLElement()
168 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SimpleXMLElement()
177 zend_class_entry ce, *class_entry; in register_class_SimpleXMLIterator() local
179 INIT_CLASS_ENTRY(ce, "SimpleXMLIterator", class_SimpleXMLIterator_methods); in register_class_SimpleXMLIterator()
180 class_entry = zend_register_internal_class_ex(&ce, class_entry_SimpleXMLElement); in register_class_SimpleXMLIterator()
/php-src/ext/pdo/
H A Dpdo_stmt_arginfo.h141 zend_class_entry ce, *class_entry; in register_class_PDOStatement() local
143 INIT_CLASS_ENTRY(ce, "PDOStatement", class_PDOStatement_methods); in register_class_PDOStatement()
144 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_PDOStatement()
159 zend_class_entry ce, *class_entry; in register_class_PDORow() local
161 INIT_CLASS_ENTRY(ce, "PDORow", class_PDORow_methods); in register_class_PDORow()
162 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_PDORow()
/php-src/ext/pdo_firebird/
H A Dpdo_firebird_arginfo.h10 zend_class_entry ce, *class_entry; in register_class_PdoFirebird() local
12 INIT_CLASS_ENTRY(ce, "PdoFirebird", class_PdoFirebird_methods); in register_class_PdoFirebird()
13 class_entry = zend_register_internal_class_ex(&ce, class_entry_PDO); in register_class_PdoFirebird()
/php-src/ext/zend_test/
H A Dtest.c434 zend_class_entry *ce = NULL; in ZEND_FUNCTION() local
447 ce = obj->ce; in ZEND_FUNCTION()
449 ce = zend_lookup_class(Z_STR_P(class_or_object)); in ZEND_FUNCTION()
450 if (!ce) { in ZEND_FUNCTION()
763 fptr->scope = (*object)->ce; in zend_test_class_method_get()
787 fptr->scope = ce; in zend_test_class_static_method_get()
795 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get()
1024 instanceof_function(obj->ce, zend_ce_iterator) in ZEND_METHOD()
1081 instanceof_function(obj->ce, zend_ce_iterator) in ZEND_NAMED_FUNCTION()
1083 instanceof_function(obj->ce, zend_ce_traversable) in ZEND_NAMED_FUNCTION()
[all …]
/php-src/ext/intl/breakiterator/
H A Dbreakiterator_arginfo.h156 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_ex(&ce, NULL); in register_class_IntlBreakIterator()
282 zend_class_entry ce, *class_entry; in register_class_IntlRuleBasedBreakIterator() local
284 INIT_CLASS_ENTRY(ce, "IntlRuleBasedBreakIterator", class_IntlRuleBasedBreakIterator_methods); in register_class_IntlRuleBasedBreakIterator()
285 class_entry = zend_register_internal_class_ex(&ce, class_entry_IntlBreakIterator); in register_class_IntlRuleBasedBreakIterator()
293 zend_class_entry ce, *class_entry; in register_class_IntlCodePointBreakIterator() local
295 INIT_CLASS_ENTRY(ce, "IntlCodePointBreakIterator", class_IntlCodePointBreakIterator_methods); in register_class_IntlCodePointBreakIterator()
296 class_entry = zend_register_internal_class_ex(&ce, class_entry_IntlBreakIterator); in register_class_IntlCodePointBreakIterator()
/php-src/ext/spl/
H A Dspl_array_arginfo.h259 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_ex(&ce, NULL); 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_ex(&ce, NULL); 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_ex(&ce, class_entry_ArrayIterator); in register_class_RecursiveArrayIterator()
H A Dspl_fixedarray_arginfo.h94 zend_class_entry ce, *class_entry; in register_class_SplFixedArray() local
96 INIT_CLASS_ENTRY(ce, "SplFixedArray", class_SplFixedArray_methods); in register_class_SplFixedArray()
97 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SplFixedArray()
/php-src/ext/ffi/
H A Dffi_arginfo.h213 zend_class_entry ce, *class_entry; in register_class_FFI() local
215 INIT_CLASS_ENTRY(ce, "FFI", class_FFI_methods); in register_class_FFI()
216 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_FFI()
230 zend_class_entry ce, *class_entry; in register_class_FFI_CData() local
232 INIT_NS_CLASS_ENTRY(ce, "FFI", "CData", class_FFI_CData_methods); in register_class_FFI_CData()
233 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_FFI_CData()
241 zend_class_entry ce, *class_entry; in register_class_FFI_CType() local
243 INIT_NS_CLASS_ENTRY(ce, "FFI", "CType", class_FFI_CType_methods); in register_class_FFI_CType()
244 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_FFI_CType()
482 zend_class_entry ce, *class_entry; in register_class_FFI_Exception() local
[all …]
/php-src/ext/mysqli/
H A Dmysqli.c269 ZSTR_VAL(object->ce->name), ZSTR_VAL(name)); in mysqli_write_property()
273 zend_property_info *prop = zend_get_property_info(object->ce, name, /* silent */ true); in mysqli_write_property()
415 zend_throw_error(NULL, "%s object is already closed", ZSTR_VAL(intern->zo.ce->name)); in mysqli_convert_zv_to_mysqlnd()
753 zend_class_entry *ce = NULL; in php_mysqli_fetch_into_hash() local
759 if (ce == NULL) { in php_mysqli_fetch_into_hash()
760 ce = zend_standard_class_def; in php_mysqli_fetch_into_hash()
763 zend_throw_error(NULL, "Class %s cannot be instantiated", ZSTR_VAL(ce->name)); in php_mysqli_fetch_into_hash()
794 object_init_ex(return_value, ce); in php_mysqli_fetch_into_hash()
797 if (!ce->default_properties_count && !ce->__set) { in php_mysqli_fetch_into_hash()
804 if (ce->constructor) { in php_mysqli_fetch_into_hash()
[all …]
H A Dphp_mysqli_structs.h149 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/intl/msgformat/
H A Dmsgformat_arginfo.h78 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_ex(&ce, NULL); in register_class_MessageFormatter()
/php-src/Zend/
H A Dzend_compile.c1269 return ce; in zend_bind_class_in_slot()
1273 if (ce) { in zend_bind_class_in_slot()
1276 return ce; in zend_bind_class_in_slot()
1786 zend_class_entry *ce = c->ce; in zend_verify_ct_const_access() local
1795 ce = ce->parent; in zend_verify_ct_const_access()
1818 if (ce) { in zend_try_ct_eval_class_const()
7617 ce->interface_names[ce->num_interfaces - 1].name = in add_stringable_interface()
8206 ce->trait_names[ce->num_traits].name = in zend_compile_use_trait()
8208ce->trait_names[ce->num_traits].lc_name = zend_string_tolower(ce->trait_names[ce->num_traits].name… in zend_compile_use_trait()
8406 if (!ce->num_interfaces && !ce->num_traits in zend_compile_class_decl()
[all …]
H A Dzend_API.h328 #define CE_STATIC_MEMBERS(ce) \ argument
331 #define CE_CONSTANTS_TABLE(ce) \ argument
332 zend_class_constants_table(ce)
451 if ((ce->ce_flags & ZEND_ACC_HAS_AST_CONSTANTS) && ZEND_MAP_PTR(ce->mutable_data)) { in zend_class_constants_table()
460 return &ce->constants_table; in zend_class_constants_table()
465 if ((ce->ce_flags & ZEND_ACC_HAS_AST_PROPERTIES) && ZEND_MAP_PTR(ce->mutable_data)) { in zend_class_default_properties_table()
476 if (ZEND_MAP_PTR(ce->mutable_data) && ce->type == ZEND_USER_CLASS) { in zend_class_set_backed_enum_table()
486 if (ZEND_MAP_PTR(ce->mutable_data) && ce->type == ZEND_USER_CLASS) { in zend_class_backed_enum_table()
490 return ce->backed_enum_table; in zend_class_backed_enum_table()
2417 (!ce || EXPECTED(instanceof_function(Z_OBJCE_P(arg), ce) != 0))) { in zend_parse_arg_object()
[all …]
H A Dzend_execute.h448 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
449 (EXPECTED(((void**)((char*)EX(run_time_cache) + (num)))[0] == (void*)(ce)) ? \
453 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
455 slot[0] = (ce); \
466 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
467 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
469 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
470 (slot)[0] = (ce); \
498 #define ZEND_CLASS_HAS_TYPE_HINTS(ce) ((ce->ce_flags & ZEND_ACC_HAS_TYPE_HINTS) == ZEND_ACC_HAS_TYP… argument
499 #define ZEND_CLASS_HAS_READONLY_PROPS(ce) ((ce->ce_flags & ZEND_ACC_HAS_READONLY_PROPS) == ZEND_ACC… argument
H A Dzend_execute.c931 if (!ce) { in zend_ce_from_type()
934 return ce; in zend_ce_from_type()
947 if (!ce || !instanceof_function(value_ce, ce)) { in zend_check_intersection_for_property_or_class_constant_class_type()
972 if (ce && instanceof_function(value_ce, ce)) { in zend_check_and_resolve_property_or_class_constant_class_type()
987 return ce && instanceof_function(value_ce, ce); in zend_check_and_resolve_property_or_class_constant_class_type()
1079 if (!ce) { in zend_fetch_ce_from_cache_slot()
1096 return ce; in zend_fetch_ce_from_cache_slot()
1112 if (!ce || !instanceof_function(arg_ce, ce)) { in zend_check_intersection_type_from_cache_slot()
1157 if (ce && instanceof_function(Z_OBJCE_P(arg), ce)) { in zend_check_type_slow()
2644 zend_class_entry *ce = obj->ce; in zend_fetch_dimension_address() local
[all …]
/php-src/ext/tokenizer/
H A Dtokenizer_arginfo.h67 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_ex(&ce, NULL); in register_class_PhpToken()
/php-src/ext/intl/transliterator/
H A Dtransliterator_arginfo.h58 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_ex(&ce, NULL); in register_class_Transliterator()
/php-src/ext/intl/common/
H A Dcommon_enum.cpp170 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 Dfileinfo_arginfo.h103 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_ex(&ce, NULL); in register_class_finfo()
/php-src/Zend/Optimizer/
H A Dzend_optimizer.c799 if (ce) { in zend_optimizer_get_class_entry()
800 return ce; in zend_optimizer_get_class_entry()
804 if (ce in zend_optimizer_get_class_entry()
807 return ce; in zend_optimizer_get_class_entry()
851 ce = tmp; in zend_fetch_class_const_info()
855 ce = tmp; in zend_fetch_class_const_info()
865 ce = op_array->scope; in zend_fetch_class_const_info()
867 ce = op_array->scope; in zend_fetch_class_const_info()
875 if (!ce || (ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_fetch_class_const_info()
936 if (ce) { in zend_optimizer_get_called_func()
[all …]
/php-src/ext/zlib/
H A Dzlib_arginfo.h240 zend_class_entry ce, *class_entry; in register_class_InflateContext() local
242 INIT_CLASS_ENTRY(ce, "InflateContext", class_InflateContext_methods); in register_class_InflateContext()
243 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_InflateContext()
251 zend_class_entry ce, *class_entry; in register_class_DeflateContext() local
253 INIT_CLASS_ENTRY(ce, "DeflateContext", class_DeflateContext_methods); in register_class_DeflateContext()
254 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_DeflateContext()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_study.c139 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/soap/
H A Dsoap_arginfo.h315 zend_class_entry ce, *class_entry; in register_class_SoapParam() local
318 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SoapParam()
337 zend_class_entry ce, *class_entry; in register_class_SoapHeader() local
340 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SoapHeader()
377 zend_class_entry ce, *class_entry; in register_class_SoapFault() local
429 zend_class_entry ce, *class_entry; in register_class_SoapVar() local
431 INIT_CLASS_ENTRY(ce, "SoapVar", class_SoapVar_methods); in register_class_SoapVar()
432 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SoapVar()
475 zend_class_entry ce, *class_entry; in register_class_SoapServer() local
478 class_entry = zend_register_internal_class_ex(&ce, NULL); in register_class_SoapServer()
[all …]
/php-src/ext/dom/
H A Dphp_dom.c257 if (ce == NULL) { in dom_set_doc_classmap()
263 if (ce) { in dom_set_doc_classmap()
277 if (ce) { in dom_get_doc_classmap()
278 return ce; in dom_get_doc_classmap()
1499 zend_class_entry *ce; in php_dom_create_iterator() local
1514 object_init_ex(return_value, ce); in php_dom_create_iterator()
1529 zend_class_entry *ce; in php_dom_create_object() local
1554 ce = dom_get_attr_ce(modern); in php_dom_create_object()
1559 ce = dom_get_text_ce(modern); in php_dom_create_object()
1580 ce = dom_get_entity_ce(modern); in php_dom_create_object()
[all …]
H A Dhtml_collection.c104 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()

Completed in 138 milliseconds

12345678910>>...12