Lines Matching refs:indices
48 zval **indices; member
58 LONG *indices; member
68 MAKE_STD_ZVAL(dest->indices[i]); in clone_indices()
69 *dest->indices[i] = *src->indices[i]; in clone_indices()
70 zval_copy_ctor(dest->indices[i]); in clone_indices()
113 args[i-1] = proxy->indices[i]; in saproxy_read_dimension()
117 convert_to_string(proxy->indices[0]); in saproxy_read_dimension()
120 res = php_com_do_invoke(proxy->obj, Z_STRVAL_P(proxy->indices[0]), in saproxy_read_dimension()
121 Z_STRLEN_P(proxy->indices[0]), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, in saproxy_read_dimension()
163 LONG *indices; in saproxy_read_dimension() local
170 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension()
174 convert_to_long(proxy->indices[i]); in saproxy_read_dimension()
175 indices[i] = Z_LVAL_P(proxy->indices[i]); in saproxy_read_dimension()
179 indices[dims-1] = Z_LVAL_P(offset); in saproxy_read_dimension()
187 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension()
190 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension()
193 efree(indices); in saproxy_read_dimension()
225 args[i-1] = proxy->indices[i]; in saproxy_write_dimension()
230 convert_to_string(proxy->indices[0]); in saproxy_write_dimension()
232 if (SUCCESS == php_com_do_invoke(proxy->obj, Z_STRVAL_P(proxy->indices[0]), in saproxy_write_dimension()
233 Z_STRLEN_P(proxy->indices[0]), DISPATCH_PROPERTYPUT, &v, proxy->dimensions + 1, in saproxy_write_dimension()
241 LONG *indices; in saproxy_write_dimension() local
245 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension()
248 convert_to_long(proxy->indices[i]); in saproxy_write_dimension()
249 indices[i] = Z_LVAL_P(proxy->indices[i]); in saproxy_write_dimension()
254 indices[dims-1] = Z_LVAL_P(offset); in saproxy_write_dimension()
268 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v); in saproxy_write_dimension()
270 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v.lVal); in saproxy_write_dimension()
273 efree(indices); in saproxy_write_dimension()
410 if (proxy->indices) { in saproxy_free_storage()
411 FREE_ZVAL(proxy->indices[i]); in saproxy_free_storage()
416 efree(proxy->indices); in saproxy_free_storage()
429 cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval *), 0); in saproxy_clone()
453 proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0); in php_com_saproxy_create()
459 MAKE_STD_ZVAL(proxy->indices[proxy->dimensions-1]); in php_com_saproxy_create()
460 *proxy->indices[proxy->dimensions-1] = *index; in php_com_saproxy_create()
461 zval_copy_ctor(proxy->indices[proxy->dimensions-1]); in php_com_saproxy_create()
478 efree(I->indices); in saproxy_iter_dtor()
497 I->indices[I->proxy->dimensions-1] = I->key; in saproxy_iter_get_data()
507 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data()
510 SafeArrayGetElement(sa, I->indices, &v.lVal); in saproxy_iter_get_data()
573 I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0); in php_com_saproxy_iter_get()
575 convert_to_long(proxy->indices[i]); in php_com_saproxy_iter_get()
576 I->indices[i] = Z_LVAL_P(proxy->indices[i]); in php_com_saproxy_iter_get()