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

123456

/illumos-gate/usr/src/boot/lib/libstand/
H A Drandom.c54 long x, hi, lo, t; local
63 hi = x / 127773;
65 t = 16807 * lo - 2836 * hi;
/illumos-gate/usr/src/lib/efcode/upa/
H A Dupa.c47 fstack_t hi, mid, lo; local
51 hi = POP(DS);
53 hi = ((hi >> 1) & 0x1f);
54 sprintf(buf, "%x,%x", hi, lo);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcatgets.c44 int hi, lo, mid; local
68 hi = p->__nsets - 1;
75 while (hi >= lo) {
76 mid = (hi + lo) / 2;
83 hi = lo + q->__nmsgs - 1;
84 while (hi >= lo) {
85 mid = (hi + lo) / 2;
115 hi = mid - 1;
124 hi = mid - 1;
/illumos-gate/usr/src/cmd/eqn/
H A Dpile.c22 int bi, hi, i, gap, h, b, nlist, nlist2, mid; local
63 hi = eht[lp[i]];
69 -bi, lp[i], lp[i], hi-bi+gap);
73 -bi, lp[i], lp[i], hi-bi+gap);
80 yyval, lp[i], hi-bi+gap);
/illumos-gate/usr/src/lib/libast/common/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;
/illumos-gate/usr/src/lib/libast/common/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...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcharsets.c82 unsigned hi, lo; local
90 if ((hi = xtoi(s[1])) > 15 || (lo = xtoi(s[2])) > 15)
92 s[0] = hi*16 + lo;
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_comm.c43 ilb_handle_impl_t *hi = (ilb_handle_impl_t *)h; local
47 hi->h_valid = B_FALSE;
48 hi->h_error = err;
54 ilb_handle_impl_t *hi = NULL; local
63 hi = calloc(sizeof (*hi), 1);
64 if (hi == NULL)
67 if (cond_init(&hi->h_cv, USYNC_THREAD, NULL) != 0) {
72 if (mutex_init(&hi->h_lock, USYNC_THREAD | LOCK_ERRORCHECK, NULL)
78 hi
121 ilb_handle_impl_t *hi = (ilb_handle_impl_t *)h; local
173 ilb_handle_impl_t *hi = (ilb_handle_impl_t *)h; local
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwnoutref.c57 boty, sminy, smaxy, minx, maxx, lo, hi; local
131 hi = (doall || *bch == _REDRAW || *ech > maxx) ? maxx : *ech;
135 /* adjust lo and hi so they contain whole characters */
150 if (ISMBIT(wc[hi])) {
153 for (x = hi; x >= lo; --x)
159 hi = (x+w) <= maxx+1 ? x+w-1 : x;
163 if (hi < lo)
170 if (ISMBIT(sc[hi + xorg]))
171 (void) _mbclrch(_virtscr, y + yorg, hi + xorg);
180 if (*sech < hi
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dqsort.c58 char c, *i, *j, *lo, *hi; local
70 hi = base + thresh;
72 hi = max;
80 for (j = lo = base; (lo += qsz) < hi; )
85 for (i = base, hi = base + qsz; i < hi; ) {
94 * set hi to the index of the element AFTER which this one goes.
98 for (min = base; (hi = min += qsz) < max; ) {
99 while (qcmp(hi -= qsz, min) > 0)
101 if ((hi
133 int lo, hi; local
[all...]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexpm1.c163 double y, hi, lo, c = 0.0L, t, e, hxs, hfx, r1; local
201 hi = x - ln2_hi;
206 hi = x + ln2_hi;
214 hi = x - t * ln2_hi; /* t*ln2_hi is exact here */
217 x = hi - lo;
218 c = (hi - x) - lo; /* still at |x| > 0.5 ln2 */
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_cexp.c42 * Here r will be represented as r = hi-lo for better
120 double hi = 0.0L, lo = 0.0L, c, t; local
147 hi = x - ln2HI[xsb];
153 hi = x - t * ln2HI[0];
157 x = hi - lo;
170 t = one - ((lo - (x * c) / (2.0 - c)) - hi);
/illumos-gate/usr/src/lib/efcode/engine/
H A Dinterface.c119 fstack_t lo, hi; local
122 hi = DFORTH_HI(d);
124 PUSH(DS, hi);
133 fstack_t lo, hi; local
135 hi = POP(DS);
137 return (MAKE_DFORTH(hi, lo));
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfpparts.h49 unsigned hi :20; member in struct:__anon2969::__anon2970
56 unsigned hi :19; member in struct:__anon2969::__anon2971
60 unsigned hi; member in struct:__anon2969::__anon2972
91 unsigned hi :20; member in struct:__anon2976::__anon2977
97 unsigned hi :19; member in struct:__anon2976::__anon2978
104 unsigned hi :32; member in struct:__anon2976::__anon2979
131 #define HIFRACTION(X) (((_dval *)&(X))->fparts.hi)
134 #define HIWORD(X) (((_dval *)&(X))->fwords.hi)
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A Dquad.h113 unsigned int hi; member in struct:xdouble::__anon3080
/illumos-gate/usr/src/tools/pmodes/
H A Dbinsearch.c131 int hi = l->nused - 1; local
138 while (lo <= hi) {
139 int mid = (lo + hi) / 2;
145 hi = mid - 1;
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fdvma.c140 ulong_t hi = lim_p->dlim_addr_hi; local
153 if ((lo >= hi) || (hi < mmu_p->mmu_dvma_base))
178 counter_max, (void *)lo, (void *)(hi + 1),
/illumos-gate/usr/src/uts/sun4u/io/
H A Diocache.c198 uint_t hi, lo; local
199 hi = (uint_t)(reg >> 32);
204 (void *)reg_addr, hi, lo));
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_fdvma.c187 ulong_t hi = lim_p->dlim_addr_hi; local
200 if ((lo >= hi) || (hi < iommu_p->iommu_dvma_base))
226 counter_max, (void *)lo, (void *)(hi + 1),
/illumos-gate/usr/src/lib/efcode/gp2/
H A Dgp2.c39 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) argument
58 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt);
156 fstack_t hi, mid, lo; local
160 hi = POP(DS);
163 hi = (hi & 0x00000001); /* get high order agent id bit */
164 id = (hi << 9) | (lo >> 23); /* build extended agent id */
173 (int)hi, (int)lo, enc_buf);
180 uint32_t lo, hi; local
193 hi
204 fc_cell_t lo, hi; local
[all...]
/illumos-gate/usr/src/lib/efcode/jupiter/
H A Djupiter.c44 #define DO_GET_IO_PORTID(env, lo, hi, portid) \
46 PUSH(DS, hi); \
51 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t lo, fstack_t len) argument
70 fc_uint32_t2cell(hi), fc_uint32_t2cell(lo), &virt);
174 fstack_t hi, lo; local
180 hi = POP(DS);
182 off = (long long)(((hi & 0x1F) << 32) | lo);
185 DO_GET_IO_PORTID(env, lo, hi, id);
194 (uint32_t)hi, (uint32_t)lo, enc_buf);
202 uint32_t hi; local
234 uint32_t hi; local
[all...]
/illumos-gate/usr/src/lib/efcode/pci/
H A Dpci.c39 mem_map_in(fcode_env_t *env, fstack_t hi, fstack_t mid, fstack_t lo, argument
57 fc_size2cell(requested_len), fc_uint32_t2cell(hi),
234 uint32_t hi; local
238 hi = POP(DS);
242 fn = ((hi >> 8) & 0x7);
243 dev = ((hi >> 11) & 0x1f);
251 hi, enc_buf);
258 int lo, hi, unit; local
263 if (sscanf(buf, "%x,%x", &hi, &lo) != 2) {
266 unit = ((hi
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c266 topo_instance_t hi)
273 if ((ntn = hb_tnode_create(mod, parent, HOSTBRIDGE, hi, din)) == NULL)
265 pciexhostbridge_declare(topo_mod_t *mod, tnode_t *parent, di_node_t din, topo_instance_t hi) argument

Completed in 3214 milliseconds

123456