Lines Matching refs:pos
114 zval *pos = vector->buffer + index; in ds_vector_remove() local
117 ZVAL_COPY(return_value, pos); in ds_vector_remove()
120 if ( ! Z_ISUNDEF_P(pos)) { in ds_vector_remove()
121 zval_ptr_dtor(pos); in ds_vector_remove()
124 memmove(pos, pos + 1, sizeof(zval) * (vector->size - index)); in ds_vector_remove()
149 zval *pos = vector->buffer; in ds_vector_clear_buffer() local
152 for (; pos != end; ++pos) { in ds_vector_clear_buffer()
153 DTOR_AND_UNDEF(pos); in ds_vector_clear_buffer()
187 zval *pos = vector->buffer; in ds_vector_to_array() local
188 zval *end = pos + size; in ds_vector_to_array()
192 for (; pos != end; ++pos) { in ds_vector_to_array()
193 add_next_index_zval(return_value, pos); in ds_vector_to_array()
194 Z_TRY_ADDREF_P(pos); in ds_vector_to_array()
201 zval *pos = vector->buffer; in ds_vector_find_index() local
204 for (; pos != end; ++pos) { in ds_vector_find_index()
205 if (zend_is_identical(value, pos)) { in ds_vector_find_index()
206 return pos - vector->buffer; in ds_vector_find_index()