Lines Matching refs:dims
87 UINT dims, i; in saproxy_read_dimension() local
141 dims = SafeArrayGetDim(sa); in saproxy_read_dimension()
143 if ((UINT) proxy->dimensions >= dims) { in saproxy_read_dimension()
158 if (dims - 1 == proxy->dimensions) { in saproxy_read_dimension()
166 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_read_dimension()
169 for (i = 0; i < dims; i++) { in saproxy_read_dimension()
175 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_read_dimension()
210 UINT dims, i; in saproxy_write_dimension() local
243 dims = SafeArrayGetDim(V_ARRAY(&proxy->obj->v)); in saproxy_write_dimension()
244 indices = safe_emalloc(dims, sizeof(LONG), 0); in saproxy_write_dimension()
246 for (i = 0; i < dims; i++) { in saproxy_write_dimension()
253 indices[dims-1] = (LONG)Z_LVAL_P(offset); in saproxy_write_dimension()