Lines Matching refs:dims
91 UINT dims, i; in saproxy_read_dimension() local
140 dims = SafeArrayGetDim(sa); in saproxy_read_dimension()
142 if ((UINT) proxy->dimensions >= dims) { in saproxy_read_dimension()
157 if (dims - 1 == proxy->dimensions) { in saproxy_read_dimension()
165 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension()
168 for (i = 0; i < dims; i++) { in saproxy_read_dimension()
174 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
209 UINT dims, i; in saproxy_write_dimension() local
239 dims = SafeArrayGetDim(V_ARRAY(&proxy->obj->v)); in saproxy_write_dimension()
240 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension()
242 for (i = 0; i < dims; i++) { in saproxy_write_dimension()
249 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()