Searched refs:range (Results 1 - 18 of 18) sorted by relevance

/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/string/
H A Dwc2utf8.c37 uint32_t range; member in struct:Utf8_s
59 if (w < ops[i].range)
/ast/src/lib/libtksh/lib/tksh7.6/
H A DldAout.tcl106 lappend libdirs [string range $a 2 end]
122 set lname [string range $lib 2 end]
143 if [string compare [string range $m $l end] $shlib_suffix] {
146 set modName [string tolower [string range $m 0 [expr $l-1]]]
148 set modName [string range $modName 3 end]
151 set modName [string range $modName 0 [expr [string length $modName]-[string length $match]-1]]
153 set modName "[string toupper [string index $modName 0]][string range $modName 1 end]"
/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/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/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/libtk/library/
H A Dentry.tcl182 %W selection range 0 end
354 $w selection range $cur $anchor
356 $w selection range $anchor $cur
364 $w selection range [string wordstart [$w get] $cur] \
367 $w selection range [string wordstart [$w get] $anchor] \
372 $w selection range 0 end
477 set range [$w xview]
478 set left [lindex $range 0]
479 set right [lindex $range 1]
H A Dmsgbox.tcl167 [string index $name 0]][string range $name 1 end]
H A Dtkfbox.tcl580 set sub [string range $textList($i) 0 $len0]
/ast/src/lib/libtk/library/demos/
H A Dtcolor288 set range [expr $max-$min]
297 set rc [expr {($max - $red)/$range}]
298 set gc [expr {($max - $green)/$range}]
299 set bc [expr {($max - $blue)/$range}]
343 error "i value $i is out of range"
H A Dwidget282 set demo [string range [lindex $tags $i] 5 end]
304 set demo [string range [lindex $tags $i] 5 end]
324 set file [string range $w 1 end].tcl
H A Dtext.tcl39 4. Select. Press mouse button 1 and drag to select a range of characters.
/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/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/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/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 35 milliseconds