Searched refs:freq (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libvcodex/Vchuff/
H A Dvchsize.c35 { ssize_t freq; /* frequency of a symbol */ member in struct:_vchtree_s
54 if((d = o->freq - t->freq) != 0 )
60 ssize_t vchsize(ssize_t nsym, ssize_t* freq, ssize_t* size, int* runb) argument
62 ssize_t vchsize(nsym, freq, size, runb)
64 ssize_t* freq; /* code frequencies */
79 max = min = freq[c = 0];
84 if((f->freq = freq[c]) == 0 )
87 if(min > f->freq)
[all...]
H A Dvchuffpart.c41 static double entropy(ssize_t* freq, Vcchar_t* data, size_t size) argument
43 static double entropy(freq, data, size)
44 ssize_t* freq;
52 CLRTABLE(freq, VCH_SIZE);
53 ADDFREQ(freq, Vcchar_t*, data, size);
56 e += freq[i]*vclog(freq[i]);
63 static double eupdate(double e, ssize_t* freq, ssize_t* fr, int add) argument
65 static double eupdate(e, freq, fr, add)
67 ssize_t* freq; /* curren
88 addpart(Part_t* pt, Void_t* data, size_t size, ssize_t* freq) argument
173 ssize_t n, c, freq[VCH_SIZE]; local
[all...]
H A Dvchuffgroup.c45 short freq; /* frequency */ member in struct:_obj_s
75 { case 16: fr[oo->obj] += oo->freq; oo++; case 15: fr[oo->obj] += oo->freq; oo++; \
76 case 14: fr[oo->obj] += oo->freq; oo++; case 13: fr[oo->obj] += oo->freq; oo++; \
77 case 12: fr[oo->obj] += oo->freq; oo++; case 11: fr[oo->obj] += oo->freq; oo++; \
78 case 10: fr[oo->obj] += oo->freq; oo++; case 9: fr[oo->obj] += oo->freq; oo++; \
79 case 8: fr[oo->obj] += oo->freq; o
142 ssize_t freq[VCH_SIZE], size[VCH_SIZE]; local
239 ssize_t freq[GRP_NTBL][VCH_SIZE], pfr[VCH_SIZE], psz[VCH_SIZE], *fr, *sz; local
442 ssize_t freq[VCH_SIZE], size[VCH_SIZE]; local
[all...]
H A Dvchuffman.c29 { ssize_t freq[VCH_SIZE]; /* frequencies of bytes */ member in struct:_vchuff_s
43 int vchcopy(Vcodex_t* vc, ssize_t* freq, ssize_t* size , ssize_t maxs) argument
45 int vchcopy(vc, freq, size, maxs )
47 ssize_t* freq; /* byte frequency table */
56 if(freq)
57 { memcpy(huff->freq, freq, VCH_SIZE*sizeof(freq[0]));
85 ssize_t *freq = huff->freq; local
[all...]
/ast/src/lib/libast/include/
H A Dmnt.h42 int freq; /* backup frequency */ member in struct:__anon271
/ast/src/cmd/codexlib/lzh/
H A Dlzh.c91 ui2 freq[TREESIZE]; member in struct:State_s
436 state->freq[j] = (state->freq[i] + 1) / 2;
450 state->freq[i] = state->freq[j];
455 f = state->freq[l] + state->freq[l + 1];
456 for (k = start; f < state->freq[k]; k++)
460 state->freq[i] = state->freq[
[all...]
/ast/src/lib/libvcodex/Vcwindow/
H A Dvcwngram.c29 int vcwngfreq(size_t* freq, Vcchar_t* data, size_t size) argument
31 int vcwngfreq(freq, data, size)
32 size_t* freq; /* frequency array size NG_FREQ */
40 freq[n] = 0;
47 { freq[NGINDEX(gram)] += 1;
/ast/src/lib/libbz/
H A Dhuffman.c105 Int32 *freq,
121 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8;
104 hbMakeCodeLengths( UChar *len, Int32 *freq, Int32 alphaSize, Int32 maxLen ) argument
/ast/src/lib/libz/
H A Ddeflate.h64 ush freq; /* frequency count */ member in union:ct_data_s::__anon448
73 #define Freq fc.freq
/ast/src/lib/libvcodex/
H A Dvcio.c406 ssize_t freq[VC_INTSIZE], size[VC_INTSIZE]; local
413 freq[i] = 0;
416 freq[NBITS(v)-1] += 1;
420 if((s = vchsize(VC_INTSIZE, freq, size, &run)) < 0 ||
/ast/src/cmd/std/
H A Dmount.c439 mnt->freq,
/ast/src/lib/libast/misc/
H A Dmagic.c1015 register int freq = 0; local
1027 freq += mp->count[toupper(*s)] + mp->count[*s];
1030 return 5 * vowl >= mp->fbsz - mp->count[' '] && freq >= 10 * rare;
/ast/src/cmd/pzip/
H A Dpin.c540 unsigned long freq; local
666 freq = state.stats[0].frequency * high / 100;
668 if (state.stats[j].frequency <= freq)
/ast/src/cmd/INIT/
H A Dratz.c1274 ush freq; /* frequency count */ member in union:ct_data_s::__anon28
1283 #define Freq fc.freq

Completed in 56 milliseconds