Lines Matching refs:length
3 zval *ds_allocate_zval_buffer(zend_long length) in ds_allocate_zval_buffer() argument
5 return ecalloc(length, sizeof(zval)); in ds_allocate_zval_buffer()
25 zend_long length, in ds_reallocate_zval_buffer() argument
29 if (length == current) { in ds_reallocate_zval_buffer()
34 if (length < used) { in ds_reallocate_zval_buffer()
37 for (i = length; i < used; i++) { in ds_reallocate_zval_buffer()
42 buffer = erealloc(buffer, length * sizeof(zval)); in ds_reallocate_zval_buffer()
45 if (length > current) { in ds_reallocate_zval_buffer()
46 memset(buffer + current, 0, (length - current) * sizeof(zval)); in ds_reallocate_zval_buffer()
116 zend_long *length, in ds_normalize_slice_args() argument
120 zend_long len = *length; in ds_normalize_slice_args()
125 *length = 0; in ds_normalize_slice_args()
145 *length = len; in ds_normalize_slice_args()