Lines Matching refs:indices
49 zval *indices; member
60 LONG *indices; member
70 ZVAL_DUP(&dest->indices[i], &src->indices[i]); in clone_indices()
108 args[i-1] = proxy->indices[i]; in saproxy_read_dimension()
112 convert_to_string(&proxy->indices[0]); in saproxy_read_dimension()
115 res = php_com_do_invoke(proxy->obj, Z_STRVAL(proxy->indices[0]), in saproxy_read_dimension()
116 Z_STRLEN(proxy->indices[0]), DISPATCH_METHOD|DISPATCH_PROPERTYGET, &v, in saproxy_read_dimension()
158 LONG *indices; in saproxy_read_dimension() local
165 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension()
169 convert_to_long(&proxy->indices[i]); in saproxy_read_dimension()
170 indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in saproxy_read_dimension()
174 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
182 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension()
185 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension()
188 efree(indices); in saproxy_read_dimension()
220 ZVAL_COPY_VALUE(&args[i-1], &proxy->indices[i]); in saproxy_write_dimension()
225 convert_to_string(&proxy->indices[0]); in saproxy_write_dimension()
227 if (SUCCESS == php_com_do_invoke(proxy->obj, Z_STRVAL(proxy->indices[0]), in saproxy_write_dimension()
228 Z_STRLEN(proxy->indices[0]), DISPATCH_PROPERTYPUT, &v, proxy->dimensions + 1, in saproxy_write_dimension()
236 LONG *indices; in saproxy_write_dimension() local
240 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension()
243 convert_to_long(&proxy->indices[i]); in saproxy_write_dimension()
244 indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in saproxy_write_dimension()
249 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()
263 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v); in saproxy_write_dimension()
265 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v.lVal); in saproxy_write_dimension()
268 efree(indices); in saproxy_write_dimension()
380 efree(proxy->indices); in saproxy_free_storage()
392 cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval *), 0); in saproxy_clone()
442 proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0); in php_com_saproxy_create()
448 ZVAL_DUP(&proxy->indices[proxy->dimensions-1], index); in php_com_saproxy_create()
465 efree(I->indices); in saproxy_iter_dtor()
483 I->indices[I->proxy->dimensions-1] = I->key; in saproxy_iter_get_data()
493 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data()
496 SafeArrayGetElement(sa, I->indices, &v.lVal); in saproxy_iter_get_data()
553 I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0); in php_com_saproxy_iter_get()
555 convert_to_long(&proxy->indices[i]); in php_com_saproxy_iter_get()
556 I->indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in php_com_saproxy_iter_get()