Lines Matching refs:methods
63 spl_fixedarray_methods *methods; member
280 if (intern->methods) { in spl_fixedarray_object_free_storage()
281 efree(intern->methods); in spl_fixedarray_object_free_storage()
314 spl_fixedarray_methods methods; in spl_fixedarray_object_new_ex() local
315 …methods.fptr_offset_get = zend_hash_str_find_ptr(&class_type->function_table, "offsetget", sizeof(… in spl_fixedarray_object_new_ex()
316 if (methods.fptr_offset_get->common.scope == parent) { in spl_fixedarray_object_new_ex()
317 methods.fptr_offset_get = NULL; in spl_fixedarray_object_new_ex()
319 …methods.fptr_offset_set = zend_hash_str_find_ptr(&class_type->function_table, "offsetset", sizeof(… in spl_fixedarray_object_new_ex()
320 if (methods.fptr_offset_set->common.scope == parent) { in spl_fixedarray_object_new_ex()
321 methods.fptr_offset_set = NULL; in spl_fixedarray_object_new_ex()
323 …methods.fptr_offset_has = zend_hash_str_find_ptr(&class_type->function_table, "offsetexists", size… in spl_fixedarray_object_new_ex()
324 if (methods.fptr_offset_has->common.scope == parent) { in spl_fixedarray_object_new_ex()
325 methods.fptr_offset_has = NULL; in spl_fixedarray_object_new_ex()
327 …methods.fptr_offset_del = zend_hash_str_find_ptr(&class_type->function_table, "offsetunset", sizeo… in spl_fixedarray_object_new_ex()
328 if (methods.fptr_offset_del->common.scope == parent) { in spl_fixedarray_object_new_ex()
329 methods.fptr_offset_del = NULL; in spl_fixedarray_object_new_ex()
331 …methods.fptr_count = zend_hash_str_find_ptr(&class_type->function_table, "count", sizeof("count") … in spl_fixedarray_object_new_ex()
332 if (methods.fptr_count->common.scope == parent) { in spl_fixedarray_object_new_ex()
333 methods.fptr_count = NULL; in spl_fixedarray_object_new_ex()
338 …if (methods.fptr_offset_get || methods.fptr_offset_set || methods.fptr_offset_del || methods.fptr_… in spl_fixedarray_object_new_ex()
339 intern->methods = emalloc(sizeof(spl_fixedarray_methods)); in spl_fixedarray_object_new_ex()
340 *intern->methods = methods; in spl_fixedarray_object_new_ex()
429 if (UNEXPECTED(intern->methods && intern->methods->fptr_offset_get)) { in spl_fixedarray_object_read_dimension()
435 …zend_call_method_with_1_params(object, intern->std.ce, &intern->methods->fptr_offset_get, "offsetG… in spl_fixedarray_object_read_dimension()
485 if (UNEXPECTED(intern->methods && intern->methods->fptr_offset_set)) { in spl_fixedarray_object_write_dimension()
490 …zend_call_method_with_2_params(object, intern->std.ce, &intern->methods->fptr_offset_set, "offsetS… in spl_fixedarray_object_write_dimension()
523 if (UNEXPECTED(intern->methods && intern->methods->fptr_offset_del)) { in spl_fixedarray_object_unset_dimension()
524 …zend_call_method_with_1_params(object, intern->std.ce, &intern->methods->fptr_offset_del, "offsetU… in spl_fixedarray_object_unset_dimension()
557 if (UNEXPECTED(intern->methods && intern->methods->fptr_offset_has)) { in spl_fixedarray_object_has_dimension()
561 …zend_call_method_with_1_params(object, intern->std.ce, &intern->methods->fptr_offset_has, "offsetE… in spl_fixedarray_object_has_dimension()
575 if (UNEXPECTED(intern->methods && intern->methods->fptr_count)) { in spl_fixedarray_object_count_elements()
577 …zend_call_method_with_0_params(object, intern->std.ce, &intern->methods->fptr_count, "count", &rv); in spl_fixedarray_object_count_elements()