Searched refs:ctor (Results 1 - 10 of 10) sorted by relevance

/PHP_5_3/TSRM/
H A DTSRM.c35 ts_allocate_ctor ctor; member in struct:__anon1
215 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor) argument
239 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor;
254 if (resource_types_table[j].ctor) {
255 resource_types_table[j].ctor(p->storage[j], &p->storage);
293 if (resource_types_table[i].ctor) {
294 resource_types_table[i].ctor((*thread_resources_ptr)->storage[i], &(*thread_resources_ptr)->storage);
H A DTSRM.h107 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c786 return 1; /* no ctor no args is also ok */
2727 static zend_internal_function ctor = {0}; local
2729 ctor.type = ZEND_INTERNAL_FUNCTION;
2730 ctor.function_name = "__construct";
2731 ctor.scope = pdo_row_ce;
2732 ctor.handler = ZEND_FN(dbstmt_constructor);
2734 return (union _zend_function*)&ctor;
/PHP_5_3/ext/spl/
H A Dspl_functions.h52 void spl_register_std_class(zend_class_entry ** ppce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list TSRMLS_DC);
53 void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, create_object_func_t ctor, const zend_function_entry * function_list TSRMLS_DC);
H A Dspl_heap.c60 spl_ptr_heap_ctor_func ctor; member in struct:_spl_ptr_heap
224 static spl_ptr_heap *spl_ptr_heap_init(spl_ptr_heap_cmp_func cmp, spl_ptr_heap_ctor_func ctor, spl_ptr_heap_dtor_func dtor) /* {{{ */ argument
229 heap->ctor = ctor;
249 heap->ctor(elem TSRMLS_CC);
321 heap->ctor = from->ctor;
331 heap->ctor(heap->elements[i] TSRMLS_CC);
H A Dspl_dllist.c77 spl_ptr_llist_ctor_func ctor; member in struct:_spl_ptr_llist
122 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
130 llist->ctor = ctor;
203 if (llist->ctor) {
204 llist->ctor(elem TSRMLS_CC);
227 if (llist->ctor) {
228 llist->ctor(elem TSRMLS_CC);
321 spl_ptr_llist_ctor_func ctor = from->ctor; local
[all...]
/PHP_5_3/Zend/
H A Dzend_API.c1807 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; local
1908 /* Look for ctor, dtor, clone
1912 if ((fname_len == class_name_len) && !memcmp(lowercase_name, lc_class_name, class_name_len+1) && !ctor) {
1913 ctor = reg_function;
1915 ctor = reg_function;
1965 scope->constructor = ctor;
1975 if (ctor) {
1976 ctor->common.fn_flags |= ZEND_ACC_CTOR;
1977 if (ctor->common.fn_flags & ZEND_ACC_STATIC) {
1978 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor
[all...]
H A Dzend_execute_API.c1593 int ctor;
1603 if (!ai->ctor) {
1605 ai->ctor = 1;
/PHP_5_3/ext/date/
H A Dphp_date.c605 PHP_GINIT(date), /* globals ctor */
2427 PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int time_str_len, char *format, zval *timezone_object, int ctor TSRMLS_DC)
2449 if (ctor && err && err->error_count) {
H A Dphp_date.h187 PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int time_str_len, char *format, zval *timezone_object, int ctor TSRMLS_DC);

Completed in 48 milliseconds