Lines Matching refs:sort
27 /* sort by code lengths */
53 ssize_t **sort;
56 if(!(sort = (ssize_t**)malloc(nsym*sizeof(ssize_t*))) )
62 sort[notz++] = size+i;
64 vcqsort(sort, notz, sizeof(ssize_t*), sizecmp, 0);
67 { s = *sort[i];
68 for(k = i; k < notz && *sort[k] == s; ++k)
69 bits[sort[k]-size] = (b++) << (VC_BITSIZE - s);
71 b <<= (*sort[k] - s);
75 s = notz <= 0 ? 0 : *sort[notz-1];
77 free(sort);