Searched defs:min (Results 1 - 23 of 23) sorted by relevance

/ast/src/lib/libast/string/
H A Dfmtre.c38 short min; member in struct:Stack_s
118 if (p->min = *s == '-')
151 p->min = 0;
158 if (p->min = *s == '-')
187 p->min = 0;
198 if (p->min)
/ast/src/cmd/dsslib/ip_t/
H A Dptopen.c42 if (a->max < b->min)
44 if (a->min > b->max)
56 b->min = a->min;
111 * insert prefix range min..max into tab
116 ptinsert(Pt_t* tab, Ptaddr_t min, Ptaddr_t max) argument
123 key.min = key.max = min ? (min - 1) : min;
157 ptdelete(Pt_t* tab, Ptaddr_t min, Ptaddr_t max) argument
[all...]
H A Dpt.h52 Ptaddr_t min; member in struct:Ptprefix_s
H A Dptv.h50 unsigned char* min; member in struct:Ptvprefix_s
H A Dptvopen.c50 if (fvcmp(p->size, a->max, b->min) < 0)
52 if (fvcmp(p->size, a->min, b->max) > 0)
65 fvcpy(p->size, b->min = (unsigned char*)(b + 1), a->min);
66 fvcpy(p->size, b->max = b->min + p->size, a->max);
130 * insert prefix range min..max into tab
135 ptvinsert(Ptv_t* tab, Ptvaddr_t min, Ptvaddr_t max) argument
143 if (fvcmp(tab->size, min, tab->r[2]) >= 0)
145 fvsub(tab->size, tab->r[3], min, tab->r[2]);
146 key.min
190 ptvdelete(Ptv_t* tab, Ptvaddr_t min, Ptvaddr_t max) argument
[all...]
/ast/src/cmd/sort/
H A Dgen.c48 unsigned long min; member in struct:__anon217
66 if (state.part >= state.range['d'].min)
86 state.range['d'].min = sizeof(state.seed) * CHAR_BIT;
87 state.range['r'].min = 0x00001000;
88 state.range['s'].min = 0x00100000;
136 state.range[c].min = strton(opt_info.arg, &e, NiL, 0);
147 if (state.range['l'].min)
148 ROUND(state.range['s'].min, state.range['l'].min);
152 state.range['r'].min
[all...]
/ast/src/lib/libvcodex/Vchuff/
H A Dvchsize.c69 ssize_t k, c, notz, max, min; local
79 max = min = freq[c = 0];
87 if(min > f->freq)
88 min = f->freq;
106 if((max -= min) > VCH_MAXWEIGHT)
108 sort[k]->freq = (sort[k]->freq - min)*(VCH_MAXWEIGHT/max) + 1;
/ast/src/lib/libz/
H A Dinftrees.c48 unsigned min, max; /* minimum and maximum code lengths */ local
132 for (min = 1; min <= MAXBITS; min++)
133 if (count[min] != 0) break;
134 if (root < min) root = min;
209 len = min; /* starting code length */
241 min = fill; /* save offset to next table */
272 next += min; /* her
[all...]
/ast/src/lib/libast/tm/
H A Dtmxscan.c49 int min; member in struct:__anon314
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
113 tm->tm_min = (set->min >= 0) ? set->min : 0;
116 else if (set->min >= 0)
118 tm->tm_min = set->min;
295 set.min = n;
/ast/src/cmd/pzip/
H A Drectify.c66 "[m:min?Minimum record length to consider.]#[min:=8]"
116 unsigned long min; member in struct:__anon198
190 if (state.run && p->run >= state.run && p->index >= state.min)
202 if (state.mod[i].index >= state.min)
502 state.min = 8;
524 state.min = opt_info.num;
/ast/src/lib/libast/port/
H A Dlc.c128 lcindex(int category, int min) argument
132 case LC_ALL: return min ? -1 : AST_LC_ALL;
/ast/src/lib/libbz/
H A Dblocksort.c277 #define min(a,b) ((a) < (b)) ? (a) : (b) macro
367 n = min(ltLo-lo, unLo-ltLo); vswap(zptr, lo, unLo-n, n);
368 m = min(hi-gtHi, gtHi-unHi); vswap(zptr, unLo, hi-m+1, m);
/ast/src/lib/libvcodex/
H A Dvcio.c655 Vcint_t vcintcode(Vcint_t v, Vcint_t near, Vcint_t min, Vcint_t max, int type) argument
657 Vcint_t vcintcode(v, near, min, max, type)
660 Vcint_t min; /* range is [min,max) */
667 if(min >= max || near < min || near >= max)
671 { if(v < min || v >= max)
675 near -= min; max -= min;
682 { near -= min; ma
[all...]
H A Dvcsfxsort.c114 Vcsfxint_t *min = idx+lo, *max = idx+hi; local
117 for(i = min; i <= max; ++i)
119 min = min == sfx->idx ? min+1 : min;
121 for(; min <= max; ++min)
122 DEBUG_ASSERT(cmpsfx(sfx, min[-1], min[
170 sfxswap(Vcsfxint_t* min, Vcsfxint_t* mid, Vcsfxint_t* max) argument
187 sfxqsort(Vcsfx_t* sfx, Vcsfxint_t* min, Vcsfxint_t* max, Vcsfxint_t hdr, int period) argument
[all...]
/ast/src/cmd/dsslib/stats/
H A Dstats.c76 Cxnumber_t min; member in struct:Total_s
259 r->value.number = print->total->min;
589 if (total->min > val.value.number || total->count == 1)
590 total->min = val.value.number;
659 number(op, total->min, FW);
/ast/src/lib/libtksh/tcl/
H A Dregexp.c1020 register int min; local
1029 min = (OP(scan) == STAR) ? 0 : 1;
1032 while (no >= min) {
/ast/src/lib/libast/regex/
H A Dregcomp.c81 unsigned long l; /* min length to left of x */
82 unsigned long k; /* min length to left of y */
83 unsigned long m; /* min length */
100 unsigned long min; member in struct:Token_s
622 if ((env->stats.m += e->re.trie.min) < cm)
628 if (!env->stats.y || env->stats.y->re.trie.min < e->re.trie.min)
685 env->token.min = n;
701 else if (n < env->token.min)
1824 m = env->token.min;
[all...]
H A Dreglib.h285 short min; member in struct:Celt_s
486 int min; member in struct:Trie_s
540 size_t min; /* minimum match length */ member in struct:reglib_s
/ast/src/cmd/coshell/
H A Devent.c192 int min; /* min #args */ member in struct:Request_s
754 if (r->min && n < r->min)
755 sfprintf(state->usrf, "E %s: at least %d argument%s expected\n", s, r->min, r->min == 1 ? "" : "s");
758 else if (r->min == r->max && n != r->max)
/ast/src/lib/libdss/
H A Dcx.h377 Cxvalue_t* min; /* numeric minimum */ member in struct:Cxconstraint_s
/ast/src/cmd/ksh93/sh/
H A Dxec.c188 register int min, sec, frac; local
198 min = t%60;
202 sfprintf(outfile,"%dm%d%c%0*ds",min,sec,GETDECIMAL(0),p,frac);
204 sfprintf(outfile,"%dm%ds",min,sec);
/ast/src/lib/libast/sfio/
H A Dsfhdr.h1132 #undef min macro
1134 #define min(x,y) ((x) < (y) ? (x) : (y)) macro
/ast/src/cmd/INIT/
H A Dratz.c1715 unsigned min, max; /* minimum and maximum code lengths */ local
1799 for (min = 1; min <= MAXBITS; min++)
1800 if (count[min] != 0) break;
1801 if (root < min) root = min;
1876 len = min; /* starting code length */
1908 min = fill; /* save offset to next table */
1939 next += min; /* her
[all...]

Completed in 79 milliseconds