Lines Matching defs:dim
65 unsigned char dim;
1068 dot = fp->dim;
1078 dot= --fp->dim;
1237 fp->dim = 0;
1254 for(fp->dim=0;size>0 && fp->dim<fp->ndim; fp->dim++)
1256 fp->cur[fp->dim] = size/fp->incr[fp->dim];
1257 size -= fp->incr[fp->dim]*fp->cur[fp->dim];
1259 while(fp->dim < fp->ndim)
1260 fp->cur[fp->dim++] = 0;
1261 fp->dim = ap->header.nelem;
1264 else if(fp->dim< fp->ndim)
1266 fp->curi += (size-fp->cur[fp->dim])*fp->incr[fp->dim];
1267 fp->cur[fp->dim] = size;
1301 int nv_arrfixed(Namval_t *np, Sfio_t *out, int flag, char *dim)
1310 for(n=0; n < fp->dim; n++)
1313 if(dim)
1314 *dim = fp->dim;
1322 fp->dim = 0;
1397 n = fp->dim;
1424 fp->dim = n;
1520 int n = fp->dim;
1521 if((fp->dim+1) < fp->ndim)
1523 fp->dim++;