Searched defs:hi (Results 1 - 25 of 25) sorted by relevance

/ast/src/lib/libcs/
H A Dmsgindex.c36 register const char** hi; local
44 hi = msg_info.name + MSG_STD;
45 while (lo <= hi)
47 mid = lo + (hi - lo) / 2;
65 hi = mid - 1;
/ast/src/lib/libast/string/
H A Dstrpsearch.c56 register char* hi = lo + (num - 1) * siz; local
71 while (lo <= hi)
73 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz);
122 hi = mid - siz;
H A Dstrsearch.c43 register char* hi = lo + (num - 1) * siz; local
47 while (lo <= hi)
49 mid = lo + (((hi - lo) / siz) / 2) * siz;
54 else hi = mid - siz;
/ast/src/lib/libast/uwin/
H A Dexpm1.c116 double z,hi,lo,c; local
133 hi=x-k*ln2hi ;
134 z=hi-(lo=k*ln2lo);
135 c=(hi-z)-lo;
H A Dexp.c126 double z,hi,lo,c; local
139 /* express x-k*ln2 as hi-lo and let x=hi-lo rounded */
141 hi=x-k*ln2hi;
142 x=hi-(lo=k*ln2lo);
147 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
173 double z,hi,lo; local
186 /* express (x+c)-k*ln2 as hi-lo and let x=hi-lo rounded */
188 hi
[all...]
H A Dlgamma.c212 double y, z, t, r = 0, p, q, hi, lo; local
249 hi = (double)(float) (p+a1_hi);
250 lo = a1_hi - hi; lo += p; lo += a1_lo;
251 r = lo*y + z*hi; /* q + r = y*(a0+p/q) */
252 q = hi*t;
/ast/src/cmd/dsslib/ip_t/
H A Dtestiv.c80 unsigned char* hi; local
148 hi = fvphi(iv->size, prefix[iv->size], iv->r2, prefix);
150 sfprintf(sfstdout, "set %-42s %-42s %-42s %s\n", ivfmt(iv, lo, prefix[size]), ivfmt(iv, lo, -1), ivfmt(iv, hi, -1), v);
151 if (ivset(iv, lo, hi, hop))
H A Div-flat.c61 fvcpy(size, sg->seg.hi = sg->seg.lo + size, ((Ivseg_t*)obj)->hi);
93 if (fvcmp(size, ((Ivseg_t*)o1)->hi, ((Ivseg_t*)o2)->lo) < 0)
95 else if (fvcmp(size, ((Ivseg_t*)o1)->lo, ((Ivseg_t*)o2)->hi) > 0)
102 flatset(Iv_t* iv, unsigned char* lo, unsigned char* hi, void* data) argument
121 seg.hi = hi;
128 if ((sg = dtprev(dt, &seg)) && fvcmp(size, fvcpy(size, pt = iv->r2, sg->hi), lo) >= 0)
130 if (fvcmp(size, pt, hi) >= 0)
135 fvsub(size, sg->hi, l
201 flatdel(Iv_t* iv, unsigned char* lo, unsigned char* hi) argument
[all...]
H A Div-nested.c34 /* a segment [lo,hi] and associated "data". */
39 unsigned char* hi; /* high point */ member in struct:Itvl_s
65 fvcpy(size, np->hi = np->lo + size, op->hi);
91 if (fvcmp(size, i1->hi, i2->lo) < 0) /* i1 is to the left of i2 */
93 if (fvcmp(size, i1->lo, i2->hi) > 0) /* i1 is to the right of i2 */
95 h = fvcmp(size, i1->hi, i2->hi);
122 static int nestset(Iv_t* iv, unsigned char* lo, unsigned char* hi, void* data) argument
132 itvl.hi
151 nestdel(Iv_t* iv, unsigned char* lo, unsigned char* hi) argument
[all...]
H A Div.h28 ** ivset(iv, lo, hi, data): specifies an interval [lo,hi]
31 ** ivdel(iv, lo, hi): deletes the specified interval [lo,hi].
55 unsigned char* hi; member in struct:Ivseg_s
95 #define ivset(iv,lo,hi,dt) (*(iv)->meth->setf)((iv),(lo),(hi),(dt))
97 #define ivdel(iv,lo,hi) (*(iv)->meth->delf)((iv),(lo),(hi))
H A Dire.c60 int hi; member in struct:Re_s
77 ((Re_t*)r)->lo = ((Re_t*)r)->hi = 1;
244 sfprintf(sfstderr, " id=%05u n=%d invert=%d lo=%d hi=%d\n", re->id[0], re->n, re->invert, re->lo, re->hi);
336 re->hi = 0;
339 re->hi = 0;
348 re->hi = (int)irenum(s + 1, &e);
352 re->hi = re->lo;
353 if (*s != '}' || re->lo > re->hi && re->hi)
[all...]
/ast/src/cmd/INIT/
H A Drelease.c93 fprintf(stderr, "Usage: release [-V] [-h hi-date] [-l lo-date] [-r count] [ file ...]\n");
204 unsigned long hi; local
210 lo = hi = 0;
228 if (!(hi = date(opt_info.arg, &e)) || *e)
286 hi = t;
338 if (hi && t > hi)
/ast/src/lib/libast/tm/
H A Dtmxscan.c179 int hi; local
219 hi = pedantic ? TM_DAY : TM_TIME;
223 hi = TM_TIME;
225 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
234 hi = pedantic ? TM_MONTH : TM_DAY_ABBREV;
238 hi = TM_DAY_ABBREV;
240 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0)
H A Dtmxdate.c73 range(register char* s, char** e, char* set, int lo, int hi) argument
87 memset(set, 0, hi + 1);
91 if (s == t || n < lo || n > hi)
97 if (s == t || m < n || m > hi)
/ast/src/cmd/3d/
H A Dlib.c345 register Map_t* hi; local
359 hi = end;
360 while (lo < hi)
395 hi = end - 1;
396 while (lo <= hi)
398 mid = lo + (hi - lo) / 2;
429 hi = mid - 1;
443 for (hi = end; hi > lo; hi
[all...]
/ast/src/lib/libbz/
H A Dblocksort.c177 static void simpleSort ( EState* s, Int32 lo, Int32 hi, Int32 d ) argument
190 bigN = hi - lo + 1;
203 if (i > hi) break;
216 if (i > hi) break;
229 if (i > hi) break;
310 Int32 sp, lo, hi, d; local
326 pop ( lo, hi, d );
328 if (hi - lo < SMALL_THRESH || d > DEPTH_THRESH) {
329 simpleSort ( s, lo, hi, d );
335 block[zptr[ hi ]
518 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1; local
545 Int32 hi = (ftab[sbn+1] & CLEARMASK) - 1; local
[all...]
/ast/src/lib/libpz/
H A Dpzlib.h55 size_t hi; /* num hi frequency rows in buf */ member in struct:Pzrs_s
61 unsigned char* bp; /* hi freq buf ptr */
/ast/src/cmd/dsslib/num_t/
H A Dnum_t.c770 register unsigned int hi; local
797 hi = elementsof(ibm_exp) - 1;
798 while (lo != hi + 1)
800 ex = lo + ((hi - lo) >> 1);
804 hi = ex - 1;
868 hi = elementsof(ibm_exp) - 1;
869 while (lo != hi + 1)
871 ex = lo + ((hi - lo) >> 1);
875 hi = ex - 1;
/ast/src/cmd/mailx/
H A Dlocal.c733 register char* hi = lo + (num - 1) * siz; local
742 while (lo <= hi) {
743 mid = lo + (sequential ? 0 : (((hi - lo) / siz) / 2) * siz);
783 hi = mid - siz;
804 register char* hi = lo + (num - 1) * siz; local
808 while (lo <= hi)
810 mid = lo + (((hi - lo) / siz) / 2) * siz;
815 else hi = mid - siz;
/ast/src/lib/libcmd/
H A Djoin.c626 #define outrec(p,n) (sfprintf(sfstdout, "[R#%d,%d,%lld,%lld:%-.*s{%d}:%-.*s{%d}]", __LINE__, i1=n, lo, hi, jp->file[0].fieldlen, cp1, jp->file[0].hit, jp->file[1].fieldlen, cp2, jp->file[1].hit), outrec(p, i1))
641 Sfoff_t hi = -1; local
654 sfprintf(sfstdout, "[C#%d:%d(%c-%c),%d,%lld,%lld%s]", __LINE__, cmp, *cp1, *cp2, same, lo, hi, (jp->outmode & C_COMMON) ? ",COMMON" : "");
693 sfprintf(sfstdout, "[2#%d:0,%lld,%lld]", __LINE__, lo, hi);
719 if (hi >= 0)
721 if (sfseek(jp->file[1].iop, hi, SEEK_SET) != hi)
726 hi = -1;
737 sfprintf(sfstdout, "[2#%d:0,%lld,%lld]", __LINE__, lo, hi);
750 if ((hi
[all...]
/ast/src/lib/libvcodex/
H A Dvcsfxsort.c55 static int chktodo(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi) argument
61 if(lo > hi)
66 return (lo == 0 && hi == sfx->nstr-1) ? 1 : 0;
74 static int chkdata(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi) argument
79 if(lo > hi || !chktodo(sfx,lo,hi))
82 if(!(ary = (Vcsfxint_t*)malloc((hi-lo+1)*sizeof(Vcsfxint_t))) )
84 for(k = 0, i = lo; i <= hi; ++i, ++k)
91 for(i = lo; i <= hi; i = k) /* check inversion relations */
112 static int chksorted(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi) argument
[all...]
/ast/src/lib/libast/port/
H A Dastconf.c869 register Conf_t* hi = mid + conf_elements; local
929 while (lo <= hi)
931 mid = lo + (hi - lo) / 2;
937 hi = mid;
946 mid = hi;
947 hi = lo + conf_elements - 1;
948 while (++mid < hi && streq(mid->name, look->name))
960 hi = mid - 1;
/ast/src/lib/libast/regex/
H A Dregcomp.c145 node(Cenv_t* env, int type, int lo, int hi, size_t extra) argument
149 DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0));
156 e->hi = hi;
334 unsigned int n = e->hi + f->hi;
338 if (e->hi > RE_DUP_MAX || f->hi > RE_DUP_MAX)
347 e->hi = n;
434 if (e->hi !
[all...]
H A Dreglib.h503 int hi; /* hi dup count */ member in struct:Rex_s
/ast/src/cmd/nmake/
H A Dexpand.c207 * $(s:H[>]) sort [hi to lo]
295 register Edit_map_t* hi = mid + elementsof(editmap) - 1; local
297 while (lo <= hi)
299 mid = lo + (hi - lo) / 2;
317 hi = mid - 1;

Completed in 145 milliseconds