Lines Matching refs:ce

51 static php_sxe_object* php_sxe_object_new(zend_class_entry *ce, zend_function *fptr_count);
67 subnode = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in _node_as_zval()
952 subnode = php_sxe_object_new(sxe_ref->zo.ce, sxe_ref->fptr_count); in _get_base_node_value()
1949 zend_call_method_with_0_params(object, intern->zo.ce, &intern->fptr_count, "count", &rv); in sxe_count_elements()
2115 clone = php_sxe_object_new(sxe->zo.ce, sxe->fptr_count); in sxe_object_clone()
2202 static zend_function* php_sxe_find_fptr_count(zend_class_entry *ce) in php_sxe_find_fptr_count() argument
2205 zend_class_entry *parent = ce; in php_sxe_find_fptr_count()
2217 fptr_count = zend_hash_str_find_ptr(&ce->function_table, "count", sizeof("count") - 1); in php_sxe_find_fptr_count()
2228 static php_sxe_object* php_sxe_object_new(zend_class_entry *ce, zend_function *fptr_count) in php_sxe_object_new() argument
2232 intern = zend_object_alloc(sizeof(php_sxe_object), ce); in php_sxe_object_new()
2239 zend_object_std_init(&intern->zo, ce); in php_sxe_object_new()
2240 object_properties_init(&intern->zo, ce); in php_sxe_object_new()
2249 sxe_object_new(zend_class_entry *ce) in sxe_object_new() argument
2253 intern = php_sxe_object_new(ce, php_sxe_find_fptr_count(ce)); in sxe_object_new()
2268 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local
2272 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|C!lsb", &filename, &filename_len, &ce, &options, &ns… in PHP_FUNCTION()
2289 if (!ce) { in PHP_FUNCTION()
2290 ce = sxe_class_entry; in PHP_FUNCTION()
2293 fptr_count = php_sxe_find_fptr_count(ce); in PHP_FUNCTION()
2295 sxe = php_sxe_object_new(ce, fptr_count); in PHP_FUNCTION()
2315 zend_class_entry *ce= sxe_class_entry; in PHP_FUNCTION() local
2319 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_le… in PHP_FUNCTION()
2344 if (!ce) { in PHP_FUNCTION()
2345 ce = sxe_class_entry; in PHP_FUNCTION()
2348 fptr_count = php_sxe_find_fptr_count(ce); in PHP_FUNCTION()
2350 sxe = php_sxe_object_new(ce, fptr_count); in PHP_FUNCTION()
2496 zend_object_iterator *php_sxe_get_iterator(zend_class_entry *ce, zval *object, int by_ref) /* {{{ */ in php_sxe_get_iterator() argument
2621 zend_class_entry *ce = sxe_class_entry; in PHP_FUNCTION() local
2624 if (zend_parse_parameters(ZEND_NUM_ARGS(), "o|C!", &node, &ce) == FAILURE) { in PHP_FUNCTION()
2645 if (!ce) { in PHP_FUNCTION()
2646 ce = sxe_class_entry; in PHP_FUNCTION()
2649 fptr_count = php_sxe_find_fptr_count(ce); in PHP_FUNCTION()
2654 sxe = php_sxe_object_new(ce, fptr_count); in PHP_FUNCTION()
2696 zend_class_entry ce; in PHP_MINIT_FUNCTION() local
2698 INIT_CLASS_ENTRY(ce, "SimpleXMLElement", class_SimpleXMLElement_methods); in PHP_MINIT_FUNCTION()
2699 sxe_class_entry = zend_register_internal_class(&ce); in PHP_MINIT_FUNCTION()
2733 INIT_CLASS_ENTRY(ce, "SimpleXMLIterator", NULL); in PHP_MINIT_FUNCTION()
2734 ce_SimpleXMLIterator = zend_register_internal_class_ex(&ce, ce_SimpleXMLElement); in PHP_MINIT_FUNCTION()