Lines Matching refs:elements

42 	zval *elements;  member
72 if (array->elements) { in spl_fixedarray_empty()
83 array->elements = NULL; in spl_fixedarray_default_ctor()
91 zval *begin = array->elements + from, *end = array->elements + to; in spl_fixedarray_init_elems()
101 array->elements = size ? safe_emalloc(size, sizeof(zval), 0) : NULL; in spl_fixedarray_init_non_empty_struct()
124 zval *to = &array->elements[offset]; in spl_fixedarray_copy_range()
135 zval *begin = from->elements, *end = from->elements + size; in spl_fixedarray_copy_ctor()
146 zval *begin = array->elements + from, *end = array->elements + to; in spl_fixedarray_dtor_range()
158 zval *begin = array->elements, *end = array->elements + array->size; in spl_fixedarray_dtor()
159 array->elements = NULL; in spl_fixedarray_dtor()
192 array->elements = NULL; in spl_fixedarray_resize()
195 array->elements = safe_erealloc(array->elements, size, sizeof(zval), 0); in spl_fixedarray_resize()
201 array->elements = erealloc(array->elements, sizeof(zval) * size); in spl_fixedarray_resize()
217 *table = intern->array.elements; in spl_fixedarray_object_get_gc()
239 zval *const elements = intern->array.elements; in spl_fixedarray_object_get_properties_for() local
243 Z_TRY_ADDREF_P(&elements[i]); in spl_fixedarray_object_get_properties_for()
244 zend_hash_next_index_insert(ht, &elements[i]); in spl_fixedarray_object_get_properties_for()
375 return &intern->array.elements[index]; in spl_fixedarray_object_read_dimension_helper()
424 zval *ptr = &(intern->array.elements[index]); in spl_fixedarray_object_write_dimension_helper()
463 ZVAL_COPY_VALUE(&garbage, &intern->array.elements[index]); in spl_fixedarray_object_unset_dimension_helper()
464 ZVAL_NULL(&intern->array.elements[index]); in spl_fixedarray_object_unset_dimension_helper()
494 return zend_is_true(&intern->array.elements[index]); in spl_fixedarray_object_has_dimension_helper()
497 return Z_TYPE(intern->array.elements[index]) != IS_NULL; in spl_fixedarray_object_has_dimension_helper()
578 ZVAL_COPY(&intern->array.elements[index], data); in PHP_METHOD()
604 current = &intern->array.elements[i]; in PHP_METHOD()
644 ZVAL_COPY(&intern->array.elements[intern->array.size], elem); in PHP_METHOD()
654 intern->array.elements = erealloc(intern->array.elements, sizeof(zval) * intern->array.size); in PHP_METHOD()
656 efree(intern->array.elements); in PHP_METHOD()
657 intern->array.elements = NULL; in PHP_METHOD()
692 zend_hash_index_update(Z_ARRVAL_P(return_value), i, &intern->array.elements[i]); in PHP_METHOD()
693 Z_TRY_ADDREF(intern->array.elements[i]); in PHP_METHOD()
739 ZVAL_COPY_DEREF(&array.elements[num_index], element); in PHP_METHOD()
749 ZVAL_COPY_DEREF(&array.elements[i], element); in PHP_METHOD()
878 zend_hash_next_index_insert_new(Z_ARR_P(return_value), &intern->array.elements[i]); in PHP_METHOD()
879 Z_TRY_ADDREF(intern->array.elements[i]); in PHP_METHOD()