Searched defs:range (Results 1 - 11 of 11) sorted by relevance

/ast/src/lib/libast/string/
H A Dwc2utf8.c37 uint32_t range; member in struct:Utf8_s
59 if (w < ops[i].range)
/ast/src/cmd/sort/
H A Dgen.c57 Range_t range[UCHAR_MAX+1]; member in struct:__anon218
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);
138 state.range[c].max = strton(e + 1, NiL, NiL, 0);
147 if (state.range['l'].min)
148 ROUND(state.range['s'].min, state.range['
[all...]
/ast/src/cmd/ksh93/bltins/
H A Dhist.c50 int range[2], incr, index2, indx= -1; local
89 range[++indx] = flag;
139 range[++flag] = (int)strtol(arg, (char**)0, 10);
141 range[flag] += (hist_max(hp)-1);
148 if((range[++flag] = location.hist_command) < 0)
154 /* set default starting range */
163 range[0] = flag;
167 if(range[0]<index2)
168 range[0] = index2;
170 /* set default termination range */
[all...]
/ast/src/lib/libast/astsa/
H A Dstrmatch.c348 char* range; local
352 range = 0;
431 else if (range)
436 range = oldp;
452 else if (range)
457 x = mbgetchar(range);
465 range = oldp;
468 range = 0;
474 range = oldp;
/ast/src/lib/libpz/
H A Dpzpart.c99 * parse a column range at s
102 * 0 not a range
107 range(Pz_t* pz, register Pzpart_t* pp, char* s, char** p, int* beg, int* end) function
146 (*pz->disc->errorf)(pz, pz->disc, 2, "invalid column range %d-%d", n, m);
196 * add fixed column range value to pz
453 switch (range(pz, pp, s, &e, &n, &x))
904 if (range(pz, pp, s, &e, &n, &x) <= 0)
/ast/src/cmd/ksh93/sh/
H A Dexpand.c278 char comma, range=0; local
286 range = comma = brace = 0;
346 range = 2;
367 range = 1;
413 if(range)
415 if(range==1)
462 if(!range)
/ast/src/lib/libast/tm/
H A Dtmxdate.c68 * parse cron range into set
73 range(register char* s, char** e, char* set, int lo, int hi) function
567 if ((k = range(t, &t, hit, 0, 59)) < 0)
588 if ((k = range(t, &t, hit, 0, 23)) < 0)
609 if ((k = range(t, &t, hit, 1, 31)) < 0)
618 if ((k = range(t, &t, mon, 1, 12)) < 0)
630 if ((k = range(t, &t, day, 0, 6)) < 0)
/ast/src/lib/libcmd/
H A Dcut.c136 register int range = 0; local
171 if(range)
173 --range;
174 if((n = (n ? (n-range) : (HUGE-1))) < 0)
175 error(ERROR_exit(1),"invalid range for c/f option");
176 *lp++ = range;
191 for(n=0,range= -2,dp=lp; *lp!=HUGE; lp+=2)
193 if(lp[0] <= range)
200 if((c = lp[0]+lp[1]-range)>0)
202 range
[all...]
/ast/src/cmd/3d/
H A Dstrmatch.c463 char* range; local
469 range = p - 1;
472 range = 0;
569 else if (range)
574 range = oldp;
588 if (p - range > sizeof(pat) - 2)
590 memcpy(pat, range, p - range);
591 pat[p - range] = '*';
592 pat[p - range
[all...]
/ast/src/cmd/dsslib/stats/
H A Dstats.c25 " deviation, and minimum and maximum range values of the numeric"
29 " \b--deviation\b, \b--range\b or \b--sum\b are specified then only"
42 "[r:range?List the minimum and maximum values.]"
532 int range; local
579 range = !!(state->op & STATS_RANGE);
587 if (range)
/ast/src/lib/libtk/generic/
H A DtkCanvas.c3499 * Given the range that's visible in the window and the "100%
3500 * range" for what's in the canvas, print a string containing
3525 double range, f1, f2;
3527 range = object2 - object1;
3528 if (range <= 0) {
3532 f1 = (screen1 - object1)/range;
3536 f2 = (screen2 - object1)/range;
3497 double range, f1, f2; local

Completed in 663 milliseconds