Lines Matching refs:indices

44 	zval *indices;  member
55 LONG *indices; member
65 ZVAL_DUP(&dest->indices[i], &src->indices[i]); in clone_indices()
104 args[i-1] = proxy->indices[i]; in saproxy_read_dimension()
108 if (!try_convert_to_string(&proxy->indices[0])) { in saproxy_read_dimension()
114 res = php_com_do_invoke(proxy->obj, Z_STR(proxy->indices[0]), in saproxy_read_dimension()
159 LONG *indices; in saproxy_read_dimension() local
166 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension()
170 convert_to_long(&proxy->indices[i]); in saproxy_read_dimension()
171 indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in saproxy_read_dimension()
175 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
183 res = SafeArrayGetElement(sa, indices, &v); in saproxy_read_dimension()
186 res = SafeArrayGetElement(sa, indices, &v.lVal); in saproxy_read_dimension()
189 efree(indices); in saproxy_read_dimension()
221 ZVAL_COPY_VALUE(&args[i-1], &proxy->indices[i]); in saproxy_write_dimension()
226 if (!try_convert_to_string(&proxy->indices[0])) { in saproxy_write_dimension()
231 if (SUCCESS == php_com_do_invoke(proxy->obj, Z_STR(proxy->indices[0]), in saproxy_write_dimension()
240 LONG *indices; in saproxy_write_dimension() local
244 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension()
247 convert_to_long(&proxy->indices[i]); in saproxy_write_dimension()
248 indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in saproxy_write_dimension()
253 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()
267 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v); in saproxy_write_dimension()
269 res = SafeArrayPutElement(V_ARRAY(&proxy->obj->v), indices, &v.lVal); in saproxy_write_dimension()
272 efree(indices); in saproxy_write_dimension()
372 efree(proxy->indices); in saproxy_free_storage()
384 cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval), 0); in saproxy_clone()
434 proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval), 0); in php_com_saproxy_create()
440 ZVAL_DUP(&proxy->indices[proxy->dimensions-1], index); in php_com_saproxy_create()
454 efree(I->indices); in saproxy_iter_dtor()
472 I->indices[I->proxy->dimensions-1] = I->key; in saproxy_iter_get_data()
482 SafeArrayGetElement(sa, I->indices, &v); in saproxy_iter_get_data()
485 SafeArrayGetElement(sa, I->indices, &v.lVal); in saproxy_iter_get_data()
545 I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0); in php_com_saproxy_iter_get()
547 convert_to_long(&proxy->indices[i]); in php_com_saproxy_iter_get()
548 I->indices[i] = (LONG)Z_LVAL(proxy->indices[i]); in php_com_saproxy_iter_get()