Home
last modified time | relevance | path

Searched refs:ce (Results 51 – 75 of 173) sorted by relevance

1234567

/PHP-7.1/ext/pdo/
H A Dpdo_stmt.c725 zend_class_entry *ce = stmt->fetch.cls.ce; in do_fetch_class_prepare() local
731 if (!ce) { in do_fetch_class_prepare()
736 if (ce->constructor) { in do_fetch_class_prepare()
748 fcc->called_scope = ce; in do_fetch_class_prepare()
934 ce = stmt->fetch.cls.ce; in do_fetch()
935 if (!ce) { in do_fetch()
1110 if (!ce->unserialize) { in do_fetch()
1308 old_ce = stmt->fetch.cls.ce; in PHP_METHOD()
1324 if (!stmt->fetch.cls.ce) { in PHP_METHOD()
1340 stmt->fetch.cls.ce = old_ce; in PHP_METHOD()
[all …]
/PHP-7.1/ext/spl/
H A Dspl_iterators.c270 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
332 ce = object->iterators[object->level].ce; in spl_recursive_it_move_forward_ex()
364 sub_iter = ce->get_iterator(ce, &child, 0); in spl_recursive_it_move_forward_ex()
367 object->iterators[object->level].ce = ce; in spl_recursive_it_move_forward_ex()
774 zend_class_entry *ce; in SPL_METHOD() local
785 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
803 zend_class_entry *ce; in SPL_METHOD() local
810 SPL_FETCH_SUB_ELEMENT(ce, object, ce); in SPL_METHOD()
1518 ce = ce_cast; in spl_dual_it_construct()
1604 intern->inner.ce = dit_type == DIT_IteratorIterator ? ce : Z_OBJCE_P(zobject); in spl_dual_it_construct()
[all …]
H A Dphp_spl.c65 zend_class_entry *ce; in spl_find_ce_by_name() local
76 if (ce == NULL) { in spl_find_ce_by_name()
81 return ce; in spl_find_ce_by_name()
106 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
110 parent_class = ce->parent; in PHP_FUNCTION()
124 zend_class_entry *ce; in PHP_FUNCTION() local
139 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
153 zend_class_entry *ce; in PHP_FUNCTION() local
168 ce = Z_OBJCE_P(obj); in PHP_FUNCTION()
371 zend_class_entry *ce; member
[all …]
H A Dspl_directory.c435 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_info()
437 zend_update_class_constants(ce); in spl_filesystem_object_create_info()
444 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_info()
477 ce = ce ? ce : source->info_class; in spl_filesystem_object_create_type()
489 zend_call_method_with_1_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1); in spl_filesystem_object_create_type()
499 ce = ce ? ce : source->file_class; in spl_filesystem_object_create_type()
514 …zend_call_method_with_2_params(return_value, ce, &ce->constructor, "__construct", NULL, &arg1, &ar… in spl_filesystem_object_create_type()
1331 intern->file_class = ce; in SPL_METHOD()
1343 zend_class_entry *ce = spl_ce_SplFileInfo; in SPL_METHOD() local
1349 intern->info_class = ce; in SPL_METHOD()
[all …]
/PHP-7.1/ext/readline/
H A Dreadline_cli.c475 zend_class_entry *ce; in cli_completion_generator_class() local
476 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
479 retval = strdup(ZSTR_VAL(ce->name)); in cli_completion_generator_class()
524 zend_class_entry *ce = NULL; in cli_completion_generator() local
531 if ((ce = zend_lookup_class(class_name)) == NULL) { in cli_completion_generator()
544 …retval = cli_completion_generator_func(lc_text, textlen, &cli_completion_state, ce ? &ce->function… in cli_completion_generator()
550 …retval = cli_completion_generator_define(text, textlen, &cli_completion_state, ce ? &ce->constants… in cli_completion_generator()
551 if (retval || ce) { in cli_completion_generator()
565 if (ce && retval) { in cli_completion_generator()
569 snprintf(tmp, len, "%s::%s", ZSTR_VAL(ce->name), retval); in cli_completion_generator()
/PHP-7.1/ext/xsl/
H A Dphp_xsl.c131 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
138 …REGISTER_XSL_CLASS(ce, "XSLTProcessor", NULL, php_xsl_xsltprocessor_class_functions, xsl_xsltproce… in PHP_MINIT_FUNCTION()
206 zend_class_entry *ce; in php_xsl_create_object() local
226 ce = xsl_xsltprocessor_class_entry; in php_xsl_create_object()
229 object_init_ex(wrapper, ce); in php_xsl_create_object()
/PHP-7.1/Zend/
H A Dzend_API.h240 …efine CE_STATIC_MEMBERS(ce) (((ce)->type==ZEND_USER_CLASS)?(ce)->static_members_table:CG(static_me… argument
242 # define CE_STATIC_MEMBERS(ce) ((ce)->static_members_table) argument
298 #define zend_register_class_alias(name, ce) \ argument
299 zend_register_class_alias_ex(name, sizeof(name)-1, ce)
300 #define zend_register_ns_class_alias(ns, name, ce) \ argument
383 #define object_init_ex(arg, ce) _object_init_ex((arg), (ce) ZEND_FILE_LINE_CC) argument
384 #define object_and_properties_init(arg, ce, properties) _object_and_properties_init((arg), (ce), (p… argument
387 ZEND_API int _object_init_ex(zval *arg, zend_class_entry *ce ZEND_FILE_LINE_DC);
553 ZEND_API zend_string *zend_find_alias_name(zend_class_entry *ce, zend_string *name);
556 ZEND_API const char *zend_get_object_type(const zend_class_entry *ce);
[all …]
H A Dzend_constants.c259 return (c->ce == scope); in zend_verify_const_access()
262 return zend_check_protected(c->ce, scope); in zend_verify_const_access()
313 zend_class_entry *ce = NULL; in zend_get_constant_ex() local
338 ce = scope; in zend_get_constant_ex()
347 ce = scope->parent; in zend_get_constant_ex()
350 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
351 if (UNEXPECTED(!ce)) { in zend_get_constant_ex()
356 ce = zend_fetch_class(class_name, flags); in zend_get_constant_ex()
358 if (ce) { in zend_get_constant_ex()
359 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex()
[all …]
H A Dzend_execute.h300 void zend_verify_abstract_class(zend_class_entry *ce);
337 #define CACHED_POLYMORPHIC_PTR(num, ce) \ argument
338 (EXPECTED(((void**)((char*)EX_RUN_TIME_CACHE() + (num)))[0] == (void*)(ce)) ? \
342 #define CACHE_POLYMORPHIC_PTR(num, ce, ptr) do { \ argument
344 slot[0] = (ce); \
355 #define CACHED_POLYMORPHIC_PTR_EX(slot, ce) \ argument
356 (EXPECTED((slot)[0] == (ce)) ? (slot)[1] : NULL)
358 #define CACHE_POLYMORPHIC_PTR_EX(slot, ce, ptr) do { \ argument
359 (slot)[0] = (ce); \
H A Dzend_vm_execute.h5573 ce = object->ce;
7583 ce = object->ce;
9510 ce = object->ce;
11489 ce = object->ce;
19927 ce = object->ce;
21822 ce = object->ce;
24775 ce = object->ce;
27616 ce = object->ce;
29694 ce = object->ce;
30492 ce = object->ce;
[all …]
H A Dzend_vm_def.h3313 fbc = ce->get_static_method(ce, Z_STR_P(function_name));
3358 ce = object->ce;
4269 ce = EG(exception)->ce;
4594 if (!ce || !ce->get_iterator) {
4598 iter = ce->get_iterator(ce, args, 0);
5019 ce,
5069 clone = ce->clone;
5824 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 0);
5979 zend_object_iterator *iter = ce->get_iterator(ce, array_ptr, 1);
7099 result = ce && instanceof_function(Z_OBJCE_P(expr), ce);
[all …]
H A Dzend_execute.c615 zend_class_entry *ce; in zend_verify_internal_arg_class_kind() local
622 return ce; in zend_verify_internal_arg_class_kind()
650 if (ce) { in zend_verify_type_error_common()
710 zf, arg_info, ce, value, in zend_verify_arg_error()
819 return *ce && instanceof_function(Z_OBJCE_P(arg), *ce); in zend_check_internal_type()
901 if (UNEXPECTED(!*ce)) { in zend_check_type()
924 if (*ce) { in zend_check_type()
948 zend_class_entry *ce; in zend_verify_arg_type() local
999 zf, arg_info, ce, value, in zend_verify_return_error()
1015 zf, arg_info, ce, value, in zend_verify_internal_return_error()
[all …]
H A Dzend_closures.c190 zend_class_entry *ce, *called_scope; in ZEND_METHOD() local
200 ce = Z_OBJCE_P(scope_arg); in ZEND_METHOD()
202 ce = NULL; in ZEND_METHOD()
206 ce = closure->func.common.scope; in ZEND_METHOD()
215 ce = closure->func.common.scope; in ZEND_METHOD()
218 if (!zend_valid_closure_binding(closure, newthis, ce)) { in ZEND_METHOD()
225 called_scope = ce; in ZEND_METHOD()
606 zend_class_entry ce; in zend_register_closure_ce() local
608 INIT_CLASS_ENTRY(ce, "Closure", closure_functions); in zend_register_closure_ce()
609 zend_ce_closure = zend_register_internal_class(&ce); in zend_register_closure_ce()
[all …]
/PHP-7.1/ext/curl/
H A Dcurl_file.c170 zend_class_entry ce; in curlfile_register_class() local
171 INIT_CLASS_ENTRY( ce, "CURLFile", curlfile_funcs ); in curlfile_register_class()
172 curl_CURLFile_class = zend_register_internal_class(&ce); in curlfile_register_class()
/PHP-7.1/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp94 zend_class_entry *ce, zval *object, int by_ref) in _breakiterator_get_iterator() argument
237 U_CFUNC zend_object *IntlPartsIterator_object_create(zend_class_entry *ce) in IntlPartsIterator_object_create() argument
239 zend_object *retval = IntlIterator_ce_ptr->create_object(ce); in IntlPartsIterator_object_create()
306 zend_class_entry ce; in breakiterator_register_IntlPartsIterator_class() local
309 INIT_CLASS_ENTRY(ce, "IntlPartsIterator", IntlPartsIterator_class_functions); in breakiterator_register_IntlPartsIterator_class()
310 IntlPartsIterator_ce_ptr = zend_register_internal_class_ex(&ce, in breakiterator_register_IntlPartsIterator_class()
H A Dbreakiterator_iterators.h39 zend_class_entry *ce, zval *object, int by_ref);
/PHP-7.1/ext/standard/
H A Dvar_unserializer.c487 if (ce->unserialize == NULL) { in object_custom()
489 object_init_ex(rval, ce); in object_custom()
511 if (ce->serialize == NULL) { in object_common1()
512 object_init_ex(rval, ce); in object_common1()
1156 zend_class_entry *ce; in php_var_unserialize_internal() local
1202 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
1208 ce = zend_lookup_class(class_name); in php_var_unserialize_internal()
1209 if (ce) { in php_var_unserialize_internal()
1227 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
1246 ce = PHP_IC_ENTRY; in php_var_unserialize_internal()
[all …]
H A Dvar_unserializer.re491 if (ce->unserialize == NULL) {
493 object_init_ex(rval, ce);
515 if (ce->serialize == NULL) {
516 object_init_ex(rval, ce);
835 zend_class_entry *ce;
881 ce = PHP_IC_ENTRY;
887 ce = zend_lookup_class(class_name);
888 if (ce) {
906 ce = PHP_IC_ENTRY;
925 ce = PHP_IC_ENTRY;
[all …]
/PHP-7.1/ext/pcre/pcrelib/
H A Dpcre_study.c104 pcre_uchar *cs, *ce; in find_minlength() local
396 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); in find_minlength()
398 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
399 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
436 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
438 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
439 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
506 cs = ce = (pcre_uchar *)startcode + GET(cc, 1); in find_minlength()
507 do ce += GET(ce, 1); while (*ce == OP_ALT); in find_minlength()
508 if (cc > cs && cc < ce) /* Simple recursion */ in find_minlength()
/PHP-7.1/ext/opcache/Optimizer/
H A Dpass1_5.c297 zend_class_entry *ce = NULL; in zend_optimizer_pass1() local
305 ce = op_array->scope; in zend_optimizer_pass1()
307 if ((ce = zend_hash_find_ptr(EG(class_table), in zend_optimizer_pass1()
309 (ce->type == ZEND_INTERNAL_CLASS && in zend_optimizer_pass1()
310 ce->info.internal.module->type != MODULE_PERSISTENT) || in zend_optimizer_pass1()
311 (ce->type == ZEND_USER_CLASS && in zend_optimizer_pass1()
312 ce->info.user.filename != op_array->filename)) { in zend_optimizer_pass1()
320 ce = op_array->scope; in zend_optimizer_pass1()
328 ce = op_array->scope; in zend_optimizer_pass1()
331 if (ce) { in zend_optimizer_pass1()
[all …]
/PHP-7.1/ext/intl/timezone/
H A Dtimezone_class.cpp372 static zend_object *TimeZone_object_create(zend_class_entry *ce) in TimeZone_object_create() argument
376 …intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_proper… in TimeZone_object_create()
378 zend_object_std_init(&intern->zo, ce); in TimeZone_object_create()
379 object_properties_init(&intern->zo, ce); in TimeZone_object_create()
502 zend_class_entry ce; in timezone_register_IntlTimeZone_class() local
505 INIT_CLASS_ENTRY(ce, "IntlTimeZone", TimeZone_class_functions); in timezone_register_IntlTimeZone_class()
506 ce.create_object = TimeZone_object_create; in timezone_register_IntlTimeZone_class()
507 TimeZone_ce_ptr = zend_register_internal_class(&ce); in timezone_register_IntlTimeZone_class()
/PHP-7.1/ext/com_dotnet/
H A Dcom_handlers.c278 f.scope = obj->ce; in com_method_get()
400 f.function_name = obj->ce->name; \ in com_constructor_get()
401 f.scope = obj->ce; \ in com_constructor_get()
408 switch (obj->ce->name->val[0]) { in com_constructor_get()
429 return zend_string_copy(obj->ce->name); in com_class_name_get()
644 zend_object* php_com_object_new(zend_class_entry *ce) in php_com_object_new() argument
654 obj->ce = ce; in php_com_object_new()
656 zend_object_std_init(&obj->zo, ce); in php_com_object_new()
/PHP-7.1/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.h34 zend_object_iterator *resourcebundle_get_iterator( zend_class_entry *ce, zval *object, int byref );
/PHP-7.1/ext/dom/
H A Dxml_common.h70 ZSTR_VAL(__intern->std.ce->name));\
79 php_error_docref(NULL, E_WARNING, "Couldn't fetch %s", __intern->std.ce->name);\
/PHP-7.1/ext/intl/
H A Dintl_error.c235 zend_class_entry ce; in intl_register_IntlException_class() local
238 INIT_CLASS_ENTRY_EX( ce, "IntlException", sizeof( "IntlException" ) - 1, NULL ); in intl_register_IntlException_class()
239 IntlException_ce_ptr = zend_register_internal_class_ex( &ce, in intl_register_IntlException_class()

Completed in 323 milliseconds

1234567