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

/PHP_TRUNK/TSRM/
H A DTSRM.c39 ts_allocate_ctor ctor; member in struct:__anon1
219 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
243 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].ctor = ctor;
258 if (resource_types_table[j].ctor) {
259 resource_types_table[j].ctor(p->storage[j]);
300 if (resource_types_table[i].ctor) {
301 resource_types_table[i].ctor((*thread_resources_ptr)->storage[i]);
/PHP_TRUNK/ext/date/
H A Dphp_date.c667 PHP_GINIT(date), /* globals ctor */
2483 PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor) /* {{{ */ argument
2505 if (ctor && err && err->error_count) {
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c763 return 1; /* no ctor no args is also ok */
2643 static zend_internal_function ctor = {0}; local
2645 ctor.type = ZEND_INTERNAL_FUNCTION;
2646 ctor.function_name = zend_string_init("__construct", sizeof("__construct") - 1, 0);
2647 ctor.scope = pdo_row_ce;
2648 ctor.handler = ZEND_FN(dbrow_constructor);
2649 ctor.fn_flags = ZEND_ACC_PUBLIC;
2651 return (union _zend_function*)&ctor;
/PHP_TRUNK/ext/spl/
H A Dspl_dllist.c78 spl_ptr_llist_ctor_func ctor; member in struct:_spl_ptr_llist
132 static spl_ptr_llist *spl_ptr_llist_init(spl_ptr_llist_ctor_func ctor, spl_ptr_llist_dtor_func dtor) /* {{{ */ argument
140 llist->ctor = ctor;
213 if (llist->ctor) {
214 llist->ctor(elem);
237 if (llist->ctor) {
238 llist->ctor(elem);
327 //??? spl_ptr_llist_ctor_func ctor = from->ctor;
[all...]
H A Dspl_heap.c59 spl_ptr_heap_ctor_func ctor; member in struct:_spl_ptr_heap
223 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
228 heap->ctor = ctor;
316 heap->ctor = from->ctor;
326 heap->ctor(&heap->elements[i]);
/PHP_TRUNK/Zend/
H A Dzend_API.c2134 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
2270 /* Look for ctor, dtor, clone
2274 if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, class_name_len+1)) {
2275 ctor = reg_function;
2277 ctor = reg_function;
2334 scope->constructor = ctor;
2345 if (ctor) {
2346 ctor->common.fn_flags |= ZEND_ACC_CTOR;
2347 if (ctor->common.fn_flags & ZEND_ACC_STATIC) {
2348 zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor
[all...]

Completed in 25 milliseconds