Searched defs:ctor (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/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);
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c80 spl_ptr_llist_ctor_func ctor; member in struct:_spl_ptr_llist
125 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
133 llist->ctor = ctor;
206 if (llist->ctor) {
207 llist->ctor(elem TSRMLS_CC);
230 if (llist->ctor) {
231 llist->ctor(elem TSRMLS_CC);
324 spl_ptr_llist_ctor_func ctor = from->ctor; local
[all...]
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);
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c774 return 1; /* no ctor no args is also ok */
2717 static zend_internal_function ctor = {0}; local
2719 ctor.type = ZEND_INTERNAL_FUNCTION;
2720 ctor.function_name = "__construct";
2721 ctor.scope = pdo_row_ce;
2722 ctor.handler = ZEND_FN(dbstmt_constructor);
2723 ctor.fn_flags = ZEND_ACC_PUBLIC;
2725 return (union _zend_function*)&ctor;
/PHP_TRUNK/Zend/
H A Dzend_API.c2037 zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL, *__debugInfo = NULL; local
2157 /* Look for ctor, dtor, clone
2161 if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name, lc_class_name, class_name_len+1)) {
2162 ctor = reg_function;
2164 ctor = reg_function;
2216 scope->constructor = ctor;
2227 if (ctor) {
2228 ctor->common.fn_flags |= ZEND_ACC_CTOR;
2229 if (ctor->common.fn_flags & ZEND_ACC_STATIC) {
2230 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor
[all...]

Completed in 16 milliseconds