Lines Matching refs:glen
68 g2int *ifld,*gref,*glen,*gwidth; in compack() local
106 glen=calloc(ndpts,sizeof(g2int)); in compack()
107 if( ifld == NULL || gref == NULL || gwidth == NULL || glen == NULL ) in compack()
112 free(glen); in compack()
228 for (j=0;j<ngroups;j++) glen[j]=10; in compack()
232 glen[ngroups-1]=itemp; in compack()
254 free(glen); in compack()
260 jmin,jmax,lbit,glen,&maxgrps,&ngroups,&ibit,&jbit, in compack()
263 for ( ng=0; ng<ngroups; ng++) glen[ng]=glen[ng]+novref; in compack()
272 free(glen); in compack()
287 for (lg=1;lg<glen[ng];lg++) { in compack()
301 for (lg=0;lg<glen[ng];lg++) { in compack()
306 n=n+glen[ng]; in compack()
366 ilmax=glen[0]; in compack()
367 nglenref=glen[0]; in compack()
369 if (glen[j] > ilmax) ilmax=glen[j]; in compack()
370 if (glen[j] < nglenref) nglenref=glen[j]; in compack()
372 nglenlast=glen[ngroups-1]; in compack()
376 for (i=0;i<ngroups-1;i++) glen[i]=glen[i]-nglenref; in compack()
377 sbits(cpack,glen,iofst,nbitsglen,0,ngroups); in compack()
389 for (i=0;i<ngroups;i++) glen[i]=0; in compack()
396 glength=glen[ng]+nglenref; in compack()
416 free(glen); in compack()